From 003982deb170e7ef948ca0262dafc92bbdae746f Mon Sep 17 00:00:00 2001 From: Iaroslav Ciupin Date: Fri, 16 Sep 2022 17:34:05 +0300 Subject: [PATCH 01/10] Cluster Pool execution placement Signed-off-by: Haytham Abuelfutuh --- protos/docs/admin/admin.rst | 87 +------------------ .../flyteidl/admin/cluster_assignment.proto | 42 +-------- 2 files changed, 2 insertions(+), 127 deletions(-) diff --git a/protos/docs/admin/admin.rst b/protos/docs/admin/admin.rst index 177c3f246..000dd9765 100644 --- a/protos/docs/admin/admin.rst +++ b/protos/docs/admin/admin.rst @@ -14,27 +14,6 @@ flyteidl/admin/cluster_assignment.proto -.. _ref_flyteidl.admin.Affinity: - -Affinity ------------------------------------------------------------------- - -Defines a set of constraints used to select eligible objects based on labels they possess. - - - -.. csv-table:: Affinity type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "selectors", ":ref:`ref_flyteidl.admin.Selector`", "repeated", "Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects." - - - - - - - .. _ref_flyteidl.admin.ClusterAssignment: ClusterAssignment @@ -48,52 +27,7 @@ Encapsulates specifications for routing an execution onto a specific cluster. :header: "Field", "Type", "Label", "Description" :widths: auto - "affinity", ":ref:`ref_flyteidl.admin.Affinity`", "", "" - "toleration", ":ref:`ref_flyteidl.admin.Toleration`", "", "" - - - - - - - -.. _ref_flyteidl.admin.Selector: - -Selector ------------------------------------------------------------------- - -A Selector is a specification for identifying a set of objects with corresponding labels. - - - -.. csv-table:: Selector type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "The label key." - "value", ":ref:`ref_string`", "repeated", "One or more values used to match labels. For equality (or inequality) requirements, values must contain a single element. For set-based requirements, values may contain one or more elements." - "operator", ":ref:`ref_flyteidl.admin.Selector.Operator`", "", "" - - - - - - - -.. _ref_flyteidl.admin.Toleration: - -Toleration ------------------------------------------------------------------- - -Defines a set of specific label selectors that the execution can tolerate on a cluster. - - - -.. csv-table:: Toleration type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "selectors", ":ref:`ref_flyteidl.admin.Selector`", "repeated", "A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS." + "cluster_pool_name", ":ref:`ref_string`", "", "" @@ -104,25 +38,6 @@ Defines a set of specific label selectors that the execution can tolerate on a c end messages - -.. _ref_flyteidl.admin.Selector.Operator: - -Selector.Operator ------------------------------------------------------------------- - -Defines how a label with a corresponding key and value is selected or excluded. - -.. csv-table:: Enum Selector.Operator values - :header: "Name", "Number", "Description" - :widths: auto - - "EQUALS", "0", "" - "NOT_EQUALS", "1", "" - "IN", "2", "" - "NOT_IN", "3", "" - "EXISTS", "4", "A label key with any value" - - .. end enums diff --git a/protos/flyteidl/admin/cluster_assignment.proto b/protos/flyteidl/admin/cluster_assignment.proto index 3f279424a..867def7ff 100644 --- a/protos/flyteidl/admin/cluster_assignment.proto +++ b/protos/flyteidl/admin/cluster_assignment.proto @@ -6,45 +6,5 @@ option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin"; // Encapsulates specifications for routing an execution onto a specific cluster. message ClusterAssignment { - Affinity affinity = 1; - - Toleration toleration = 2; -} - -// Defines a set of constraints used to select eligible objects based on labels they possess. -message Affinity { - // Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects. - repeated Selector selectors = 1; -} - -// Defines a set of specific label selectors that the execution can tolerate on a cluster. -message Toleration { - - // A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS. - repeated Selector selectors = 1; + string cluster_pool_name = 1; } - -// A Selector is a specification for identifying a set of objects with corresponding labels. -message Selector { - - // The label key. - string key = 1; - - // One or more values used to match labels. - // For equality (or inequality) requirements, values must contain a single element. - // For set-based requirements, values may contain one or more elements. - repeated string value = 2; - - // Defines how a label with a corresponding key and value is selected or excluded. - enum Operator { - EQUALS = 0; - NOT_EQUALS = 1; - IN = 2; - NOT_IN = 3; - EXISTS = 4; // A label key with any value - - // K8s supports more operators, we can consider adding them if necessary - } - Operator operator = 3; -} - From 90e2f452dce8071460c5e9ff8764e65a4ffa4142 Mon Sep 17 00:00:00 2001 From: Haytham Abuelfutuh Date: Fri, 16 Sep 2022 12:13:03 -0700 Subject: [PATCH 02/10] Make generate Signed-off-by: Haytham Abuelfutuh --- .../flyteidl/admin/cluster_assignment.pb.cc | 1294 +----- .../flyteidl/admin/cluster_assignment.pb.h | 819 +--- gen/pb-cpp/flyteidl/admin/execution.pb.cc | 2 +- .../flyteidl/admin/matchable_resource.pb.cc | 2 +- .../flyteidl/admin/cluster_assignment.pb.go | 234 +- .../admin/cluster_assignment.pb.validate.go | 246 +- gen/pb-go/flyteidl/service/admin.swagger.json | 95 +- .../flyteidl/service/flyteadmin/README.md | 6 +- .../service/flyteadmin/api/swagger.yaml | 437 +- .../flyteadmin/model_admin_affinity.go | 16 - .../model_admin_cluster_assignment.go | 3 +- .../flyteadmin/model_admin_selector.go | 19 - .../model_admin_selector_operator.go | 21 - .../flyteadmin/model_admin_toleration.go | 16 - .../model_comparison_expression_operator.go | 22 + .../model_core_comparison_expression.go | 2 +- ...del_core_comparison_expression_operator.go | 22 - gen/pb-go/flyteidl/service/openapi.go | 4 +- .../admin/ClusterAssignmentOuterClass.java | 3424 +------------- gen/pb-js/flyteidl.d.ts | 194 +- gen/pb-js/flyteidl.js | 461 +- .../flyteidl/admin/cluster_assignment_pb2.py | 187 +- .../flyteidl/service/flyteadmin/README.md | 6 +- .../service/flyteadmin/flyteadmin/__init__.py | 6 +- .../flyteadmin/flyteadmin/models/__init__.py | 6 +- .../flyteadmin/models/admin_affinity.py | 119 - .../models/admin_cluster_assignment.py | 63 +- .../flyteadmin/models/admin_selector.py | 173 - .../models/admin_selector_operator.py | 96 - .../flyteadmin/models/admin_toleration.py | 119 - ...r.py => comparison_expression_operator.py} | 8 +- .../models/core_comparison_expression.py | 8 +- .../flyteadmin/test/test_admin_selector.py | 40 - .../test/test_admin_selector_operator.py | 40 - .../flyteadmin/test/test_admin_toleration.py | 40 - ...=> test_comparison_expression_operator.py} | 12 +- ...est_core_comparison_expression_operator.py | 40 - protos/docs/admin/admin.rst | 4053 ----------------- protos/docs/core/core.rst | 3794 --------------- protos/docs/datacatalog/datacatalog.rst | 1269 ------ protos/docs/event/event.rst | 727 --- protos/docs/plugins/plugins.rst | 685 --- protos/docs/service/service.rst | 433 -- 43 files changed, 355 insertions(+), 18908 deletions(-) delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_affinity.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_selector.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_selector_operator.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_toleration.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression_operator.go delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_affinity.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_selector.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_selector_operator.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_toleration.py rename gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/{core_comparison_expression_operator.py => comparison_expression_operator.py} (89%) delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_selector.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_selector_operator.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_toleration.py rename gen/pb_python/flyteidl/service/flyteadmin/test/{test_admin_affinity.py => test_comparison_expression_operator.py} (59%) delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression_operator.py delete mode 100644 protos/docs/admin/admin.rst delete mode 100644 protos/docs/core/core.rst delete mode 100644 protos/docs/datacatalog/datacatalog.rst delete mode 100644 protos/docs/event/event.rst delete mode 100644 protos/docs/plugins/plugins.rst delete mode 100644 protos/docs/service/service.rst diff --git a/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.cc b/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.cc index 5d23b38db..3824c3f90 100644 --- a/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.cc +++ b/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.cc @@ -16,27 +16,12 @@ // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcluster_5fassignment_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Selector_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcluster_5fassignment_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Affinity_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcluster_5fassignment_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Toleration_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; namespace flyteidl { namespace admin { class ClusterAssignmentDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _ClusterAssignment_default_instance_; -class AffinityDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Affinity_default_instance_; -class TolerationDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Toleration_default_instance_; -class SelectorDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Selector_default_instance_; } // namespace admin } // namespace flyteidl static void InitDefaultsClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto() { @@ -50,64 +35,15 @@ static void InitDefaultsClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignmen ::flyteidl::admin::ClusterAssignment::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<2> scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto}, { - &scc_info_Affinity_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base, - &scc_info_Toleration_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base,}}; - -static void InitDefaultsAffinity_flyteidl_2fadmin_2fcluster_5fassignment_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Affinity_default_instance_; - new (ptr) ::flyteidl::admin::Affinity(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Affinity::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Affinity_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsAffinity_flyteidl_2fadmin_2fcluster_5fassignment_2eproto}, { - &scc_info_Selector_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base,}}; - -static void InitDefaultsToleration_flyteidl_2fadmin_2fcluster_5fassignment_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Toleration_default_instance_; - new (ptr) ::flyteidl::admin::Toleration(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Toleration::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Toleration_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsToleration_flyteidl_2fadmin_2fcluster_5fassignment_2eproto}, { - &scc_info_Selector_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base,}}; - -static void InitDefaultsSelector_flyteidl_2fadmin_2fcluster_5fassignment_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Selector_default_instance_; - new (ptr) ::flyteidl::admin::Selector(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Selector::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Selector_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSelector_flyteidl_2fadmin_2fcluster_5fassignment_2eproto}, {}}; +::google::protobuf::internal::SCCInfo<0> scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto}, {}}; void InitDefaults_flyteidl_2fadmin_2fcluster_5fassignment_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Affinity_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Toleration_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Selector_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); } -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fcluster_5fassignment_2eproto[4]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto[1]; +::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fcluster_5fassignment_2eproto[1]; +constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = nullptr; constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = nullptr; const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fcluster_5fassignment_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { @@ -116,68 +52,33 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fcluster_5fassign ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterAssignment, affinity_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterAssignment, toleration_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Affinity, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Affinity, selectors_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Toleration, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Toleration, selectors_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Selector, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Selector, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Selector, value_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Selector, operator__), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterAssignment, cluster_pool_name_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::flyteidl::admin::ClusterAssignment)}, - { 7, -1, sizeof(::flyteidl::admin::Affinity)}, - { 13, -1, sizeof(::flyteidl::admin::Toleration)}, - { 19, -1, sizeof(::flyteidl::admin::Selector)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::flyteidl::admin::_ClusterAssignment_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Affinity_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Toleration_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Selector_default_instance_), }; ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = { {}, AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, "flyteidl/admin/cluster_assignment.proto", schemas, file_default_instances, TableStruct_flyteidl_2fadmin_2fcluster_5fassignment_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, 4, file_level_enum_descriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, + file_level_metadata_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, 1, file_level_enum_descriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, }; const char descriptor_table_protodef_flyteidl_2fadmin_2fcluster_5fassignment_2eproto[] = "\n\'flyteidl/admin/cluster_assignment.prot" - "o\022\016flyteidl.admin\"o\n\021ClusterAssignment\022*" - "\n\010affinity\030\001 \001(\0132\030.flyteidl.admin.Affini" - "ty\022.\n\ntoleration\030\002 \001(\0132\032.flyteidl.admin." - "Toleration\"7\n\010Affinity\022+\n\tselectors\030\001 \003(" - "\0132\030.flyteidl.admin.Selector\"9\n\nToleratio" - "n\022+\n\tselectors\030\001 \003(\0132\030.flyteidl.admin.Se" - "lector\"\243\001\n\010Selector\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - "e\030\002 \003(\t\0223\n\010operator\030\003 \001(\0162!.flyteidl.adm" - "in.Selector.Operator\"F\n\010Operator\022\n\n\006EQUA" - "LS\020\000\022\016\n\nNOT_EQUALS\020\001\022\006\n\002IN\020\002\022\n\n\006NOT_IN\020\003" - "\022\n\n\006EXISTS\020\004B7Z5github.com/flyteorg/flyt" - "eidl/gen/pb-go/flyteidl/adminb\006proto3" + "o\022\016flyteidl.admin\".\n\021ClusterAssignment\022\031" + "\n\021cluster_pool_name\030\001 \001(\tB7Z5github.com/" + "flyteorg/flyteidl/gen/pb-go/flyteidl/adm" + "inb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = { false, InitDefaults_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, descriptor_table_protodef_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, - "flyteidl/admin/cluster_assignment.proto", &assign_descriptors_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, 517, + "flyteidl/admin/cluster_assignment.proto", &assign_descriptors_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, 170, }; void AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto() { @@ -191,59 +92,17 @@ void AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto() { static bool dynamic_init_dummy_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto(); return true; }(); namespace flyteidl { namespace admin { -const ::google::protobuf::EnumDescriptor* Selector_Operator_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto); - return file_level_enum_descriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto[0]; -} -bool Selector_Operator_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const Selector_Operator Selector::EQUALS; -const Selector_Operator Selector::NOT_EQUALS; -const Selector_Operator Selector::IN; -const Selector_Operator Selector::NOT_IN; -const Selector_Operator Selector::EXISTS; -const Selector_Operator Selector::Operator_MIN; -const Selector_Operator Selector::Operator_MAX; -const int Selector::Operator_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 // =================================================================== void ClusterAssignment::InitAsDefaultInstance() { - ::flyteidl::admin::_ClusterAssignment_default_instance_._instance.get_mutable()->affinity_ = const_cast< ::flyteidl::admin::Affinity*>( - ::flyteidl::admin::Affinity::internal_default_instance()); - ::flyteidl::admin::_ClusterAssignment_default_instance_._instance.get_mutable()->toleration_ = const_cast< ::flyteidl::admin::Toleration*>( - ::flyteidl::admin::Toleration::internal_default_instance()); } class ClusterAssignment::HasBitSetters { public: - static const ::flyteidl::admin::Affinity& affinity(const ClusterAssignment* msg); - static const ::flyteidl::admin::Toleration& toleration(const ClusterAssignment* msg); }; -const ::flyteidl::admin::Affinity& -ClusterAssignment::HasBitSetters::affinity(const ClusterAssignment* msg) { - return *msg->affinity_; -} -const ::flyteidl::admin::Toleration& -ClusterAssignment::HasBitSetters::toleration(const ClusterAssignment* msg) { - return *msg->toleration_; -} #if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ClusterAssignment::kAffinityFieldNumber; -const int ClusterAssignment::kTolerationFieldNumber; +const int ClusterAssignment::kClusterPoolNameFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 ClusterAssignment::ClusterAssignment() @@ -255,15 +114,9 @@ ClusterAssignment::ClusterAssignment(const ClusterAssignment& from) : ::google::protobuf::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_affinity()) { - affinity_ = new ::flyteidl::admin::Affinity(*from.affinity_); - } else { - affinity_ = nullptr; - } - if (from.has_toleration()) { - toleration_ = new ::flyteidl::admin::Toleration(*from.toleration_); - } else { - toleration_ = nullptr; + cluster_pool_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.cluster_pool_name().size() > 0) { + cluster_pool_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cluster_pool_name_); } // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ClusterAssignment) } @@ -271,9 +124,7 @@ ClusterAssignment::ClusterAssignment(const ClusterAssignment& from) void ClusterAssignment::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); - ::memset(&affinity_, 0, static_cast( - reinterpret_cast(&toleration_) - - reinterpret_cast(&affinity_)) + sizeof(toleration_)); + cluster_pool_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ClusterAssignment::~ClusterAssignment() { @@ -282,8 +133,7 @@ ClusterAssignment::~ClusterAssignment() { } void ClusterAssignment::SharedDtor() { - if (this != internal_default_instance()) delete affinity_; - if (this != internal_default_instance()) delete toleration_; + cluster_pool_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void ClusterAssignment::SetCachedSize(int size) const { @@ -301,14 +151,7 @@ void ClusterAssignment::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaNoVirtual() == nullptr && affinity_ != nullptr) { - delete affinity_; - } - affinity_ = nullptr; - if (GetArenaNoVirtual() == nullptr && toleration_ != nullptr) { - delete toleration_; - } - toleration_ = nullptr; + cluster_pool_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); _internal_metadata_.Clear(); } @@ -325,30 +168,20 @@ const char* ClusterAssignment::_InternalParse(const char* begin, const char* end ptr = ::google::protobuf::io::Parse32(ptr, &tag); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); switch (tag >> 3) { - // .flyteidl.admin.Affinity affinity = 1; + // string cluster_pool_name = 1; case 1: { if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Affinity::_InternalParse; - object = msg->mutable_affinity(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.Toleration toleration = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Toleration::_InternalParse; - object = msg->mutable_toleration(); - if (size > end - ptr) goto len_delim_till_end; + ctx->extra_parse_data().SetFieldName("flyteidl.admin.ClusterAssignment.cluster_pool_name"); + object = msg->mutable_cluster_pool_name(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); break; } default: { @@ -366,6 +199,10 @@ const char* ClusterAssignment::_InternalParse(const char* begin, const char* end } // switch } // while return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; len_delim_till_end: return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, {parser_till_end, object}, size); @@ -381,22 +218,15 @@ bool ClusterAssignment::MergePartialFromCodedStream( tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.Affinity affinity = 1; + // string cluster_pool_name = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_affinity())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Toleration toleration = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_toleration())); + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_cluster_pool_name())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->cluster_pool_name().data(), static_cast(this->cluster_pool_name().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.ClusterAssignment.cluster_pool_name")); } else { goto handle_unusual; } @@ -430,16 +260,14 @@ void ClusterAssignment::SerializeWithCachedSizes( ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - // .flyteidl.admin.Affinity affinity = 1; - if (this->has_affinity()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::affinity(this), output); - } - - // .flyteidl.admin.Toleration toleration = 2; - if (this->has_toleration()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::toleration(this), output); + // string cluster_pool_name = 1; + if (this->cluster_pool_name().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->cluster_pool_name().data(), static_cast(this->cluster_pool_name().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.ClusterAssignment.cluster_pool_name"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->cluster_pool_name(), output); } if (_internal_metadata_.have_unknown_fields()) { @@ -455,18 +283,15 @@ ::google::protobuf::uint8* ClusterAssignment::InternalSerializeWithCachedSizesTo ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - // .flyteidl.admin.Affinity affinity = 1; - if (this->has_affinity()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::affinity(this), target); - } - - // .flyteidl.admin.Toleration toleration = 2; - if (this->has_toleration()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::toleration(this), target); + // string cluster_pool_name = 1; + if (this->cluster_pool_name().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->cluster_pool_name().data(), static_cast(this->cluster_pool_name().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.ClusterAssignment.cluster_pool_name"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->cluster_pool_name(), target); } if (_internal_metadata_.have_unknown_fields()) { @@ -490,18 +315,11 @@ size_t ClusterAssignment::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .flyteidl.admin.Affinity affinity = 1; - if (this->has_affinity()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *affinity_); - } - - // .flyteidl.admin.Toleration toleration = 2; - if (this->has_toleration()) { + // string cluster_pool_name = 1; + if (this->cluster_pool_name().size() > 0) { total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *toleration_); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->cluster_pool_name()); } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); @@ -531,11 +349,9 @@ void ClusterAssignment::MergeFrom(const ClusterAssignment& from) { ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - if (from.has_affinity()) { - mutable_affinity()->::flyteidl::admin::Affinity::MergeFrom(from.affinity()); - } - if (from.has_toleration()) { - mutable_toleration()->::flyteidl::admin::Toleration::MergeFrom(from.toleration()); + if (from.cluster_pool_name().size() > 0) { + + cluster_pool_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cluster_pool_name_); } } @@ -564,8 +380,8 @@ void ClusterAssignment::Swap(ClusterAssignment* other) { void ClusterAssignment::InternalSwap(ClusterAssignment* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); - swap(affinity_, other->affinity_); - swap(toleration_, other->toleration_); + cluster_pool_name_.Swap(&other->cluster_pool_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); } ::google::protobuf::Metadata ClusterAssignment::GetMetadata() const { @@ -574,979 +390,6 @@ ::google::protobuf::Metadata ClusterAssignment::GetMetadata() const { } -// =================================================================== - -void Affinity::InitAsDefaultInstance() { -} -class Affinity::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Affinity::kSelectorsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Affinity::Affinity() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Affinity) -} -Affinity::Affinity(const Affinity& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - selectors_(from.selectors_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Affinity) -} - -void Affinity::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Affinity_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); -} - -Affinity::~Affinity() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Affinity) - SharedDtor(); -} - -void Affinity::SharedDtor() { -} - -void Affinity::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Affinity& Affinity::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Affinity_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); - return *internal_default_instance(); -} - - -void Affinity::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Affinity) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - selectors_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Affinity::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // repeated .flyteidl.admin.Selector selectors = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Selector::_InternalParse; - object = msg->add_selectors(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Affinity::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Affinity) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // repeated .flyteidl.admin.Selector selectors = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_selectors())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Affinity) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Affinity) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Affinity::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Affinity) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Selector selectors = 1; - for (unsigned int i = 0, - n = static_cast(this->selectors_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->selectors(static_cast(i)), - output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Affinity) -} - -::google::protobuf::uint8* Affinity::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Affinity) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Selector selectors = 1; - for (unsigned int i = 0, - n = static_cast(this->selectors_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->selectors(static_cast(i)), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Affinity) - return target; -} - -size_t Affinity::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Affinity) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .flyteidl.admin.Selector selectors = 1; - { - unsigned int count = static_cast(this->selectors_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->selectors(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Affinity::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Affinity) - GOOGLE_DCHECK_NE(&from, this); - const Affinity* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Affinity) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Affinity) - MergeFrom(*source); - } -} - -void Affinity::MergeFrom(const Affinity& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Affinity) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - selectors_.MergeFrom(from.selectors_); -} - -void Affinity::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Affinity) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Affinity::CopyFrom(const Affinity& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Affinity) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Affinity::IsInitialized() const { - return true; -} - -void Affinity::Swap(Affinity* other) { - if (other == this) return; - InternalSwap(other); -} -void Affinity::InternalSwap(Affinity* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&selectors_)->InternalSwap(CastToBase(&other->selectors_)); -} - -::google::protobuf::Metadata Affinity::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcluster_5fassignment_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Toleration::InitAsDefaultInstance() { -} -class Toleration::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Toleration::kSelectorsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Toleration::Toleration() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Toleration) -} -Toleration::Toleration(const Toleration& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - selectors_(from.selectors_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Toleration) -} - -void Toleration::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Toleration_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); -} - -Toleration::~Toleration() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Toleration) - SharedDtor(); -} - -void Toleration::SharedDtor() { -} - -void Toleration::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Toleration& Toleration::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Toleration_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); - return *internal_default_instance(); -} - - -void Toleration::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Toleration) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - selectors_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Toleration::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // repeated .flyteidl.admin.Selector selectors = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Selector::_InternalParse; - object = msg->add_selectors(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Toleration::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Toleration) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // repeated .flyteidl.admin.Selector selectors = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_selectors())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Toleration) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Toleration) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Toleration::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Toleration) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Selector selectors = 1; - for (unsigned int i = 0, - n = static_cast(this->selectors_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->selectors(static_cast(i)), - output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Toleration) -} - -::google::protobuf::uint8* Toleration::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Toleration) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Selector selectors = 1; - for (unsigned int i = 0, - n = static_cast(this->selectors_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->selectors(static_cast(i)), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Toleration) - return target; -} - -size_t Toleration::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Toleration) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .flyteidl.admin.Selector selectors = 1; - { - unsigned int count = static_cast(this->selectors_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->selectors(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Toleration::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Toleration) - GOOGLE_DCHECK_NE(&from, this); - const Toleration* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Toleration) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Toleration) - MergeFrom(*source); - } -} - -void Toleration::MergeFrom(const Toleration& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Toleration) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - selectors_.MergeFrom(from.selectors_); -} - -void Toleration::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Toleration) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Toleration::CopyFrom(const Toleration& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Toleration) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Toleration::IsInitialized() const { - return true; -} - -void Toleration::Swap(Toleration* other) { - if (other == this) return; - InternalSwap(other); -} -void Toleration::InternalSwap(Toleration* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&selectors_)->InternalSwap(CastToBase(&other->selectors_)); -} - -::google::protobuf::Metadata Toleration::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcluster_5fassignment_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Selector::InitAsDefaultInstance() { -} -class Selector::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Selector::kKeyFieldNumber; -const int Selector::kValueFieldNumber; -const int Selector::kOperatorFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Selector::Selector() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Selector) -} -Selector::Selector(const Selector& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - value_(from.value_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.key().size() > 0) { - key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); - } - operator__ = from.operator__; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Selector) -} - -void Selector::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Selector_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); - key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - operator__ = 0; -} - -Selector::~Selector() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Selector) - SharedDtor(); -} - -void Selector::SharedDtor() { - key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Selector::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Selector& Selector::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Selector_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); - return *internal_default_instance(); -} - - -void Selector::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Selector) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - value_.Clear(); - key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - operator__ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Selector::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string key = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Selector.key"); - object = msg->mutable_key(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // repeated string value = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Selector.value"); - object = msg->add_value(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1)); - break; - } - // .flyteidl.admin.Selector.Operator operator = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_operator_(static_cast<::flyteidl::admin::Selector_Operator>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Selector::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Selector) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string key = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_key())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Selector.key")); - } else { - goto handle_unusual; - } - break; - } - - // repeated string value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_value())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value(this->value_size() - 1).data(), - static_cast(this->value(this->value_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Selector.value")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Selector.Operator operator = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_operator_(static_cast< ::flyteidl::admin::Selector_Operator >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Selector) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Selector) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Selector::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Selector) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string key = 1; - if (this->key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Selector.key"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->key(), output); - } - - // repeated string value = 2; - for (int i = 0, n = this->value_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value(i).data(), static_cast(this->value(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Selector.value"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->value(i), output); - } - - // .flyteidl.admin.Selector.Operator operator = 3; - if (this->operator_() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->operator_(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Selector) -} - -::google::protobuf::uint8* Selector::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Selector) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string key = 1; - if (this->key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Selector.key"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->key(), target); - } - - // repeated string value = 2; - for (int i = 0, n = this->value_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value(i).data(), static_cast(this->value(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Selector.value"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(2, this->value(i), target); - } - - // .flyteidl.admin.Selector.Operator operator = 3; - if (this->operator_() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->operator_(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Selector) - return target; -} - -size_t Selector::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Selector) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string value = 2; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->value_size()); - for (int i = 0, n = this->value_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->value(i)); - } - - // string key = 1; - if (this->key().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->key()); - } - - // .flyteidl.admin.Selector.Operator operator = 3; - if (this->operator_() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->operator_()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Selector::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Selector) - GOOGLE_DCHECK_NE(&from, this); - const Selector* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Selector) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Selector) - MergeFrom(*source); - } -} - -void Selector::MergeFrom(const Selector& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Selector) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - value_.MergeFrom(from.value_); - if (from.key().size() > 0) { - - key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); - } - if (from.operator_() != 0) { - set_operator_(from.operator_()); - } -} - -void Selector::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Selector) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Selector::CopyFrom(const Selector& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Selector) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Selector::IsInitialized() const { - return true; -} - -void Selector::Swap(Selector* other) { - if (other == this) return; - InternalSwap(other); -} -void Selector::InternalSwap(Selector* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - value_.InternalSwap(CastToBase(&other->value_)); - key_.Swap(&other->key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(operator__, other->operator__); -} - -::google::protobuf::Metadata Selector::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcluster_5fassignment_2eproto[kIndexInFileMessages]; -} - - // @@protoc_insertion_point(namespace_scope) } // namespace admin } // namespace flyteidl @@ -1555,15 +398,6 @@ namespace protobuf { template<> PROTOBUF_NOINLINE ::flyteidl::admin::ClusterAssignment* Arena::CreateMaybeMessage< ::flyteidl::admin::ClusterAssignment >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::admin::ClusterAssignment >(arena); } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Affinity* Arena::CreateMaybeMessage< ::flyteidl::admin::Affinity >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Affinity >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Toleration* Arena::CreateMaybeMessage< ::flyteidl::admin::Toleration >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Toleration >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Selector* Arena::CreateMaybeMessage< ::flyteidl::admin::Selector >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Selector >(arena); -} } // namespace protobuf } // namespace google diff --git a/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.h b/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.h index 80b1f424f..d7b28e6ab 100644 --- a/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.h +++ b/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.h @@ -30,7 +30,6 @@ #include #include // IWYU pragma: export #include // IWYU pragma: export -#include #include // @@protoc_insertion_point(includes) #include @@ -42,7 +41,7 @@ struct TableStruct_flyteidl_2fadmin_2fcluster_5fassignment_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[4] + static const ::google::protobuf::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; @@ -51,55 +50,19 @@ struct TableStruct_flyteidl_2fadmin_2fcluster_5fassignment_2eproto { void AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto(); namespace flyteidl { namespace admin { -class Affinity; -class AffinityDefaultTypeInternal; -extern AffinityDefaultTypeInternal _Affinity_default_instance_; class ClusterAssignment; class ClusterAssignmentDefaultTypeInternal; extern ClusterAssignmentDefaultTypeInternal _ClusterAssignment_default_instance_; -class Selector; -class SelectorDefaultTypeInternal; -extern SelectorDefaultTypeInternal _Selector_default_instance_; -class Toleration; -class TolerationDefaultTypeInternal; -extern TolerationDefaultTypeInternal _Toleration_default_instance_; } // namespace admin } // namespace flyteidl namespace google { namespace protobuf { -template<> ::flyteidl::admin::Affinity* Arena::CreateMaybeMessage<::flyteidl::admin::Affinity>(Arena*); template<> ::flyteidl::admin::ClusterAssignment* Arena::CreateMaybeMessage<::flyteidl::admin::ClusterAssignment>(Arena*); -template<> ::flyteidl::admin::Selector* Arena::CreateMaybeMessage<::flyteidl::admin::Selector>(Arena*); -template<> ::flyteidl::admin::Toleration* Arena::CreateMaybeMessage<::flyteidl::admin::Toleration>(Arena*); } // namespace protobuf } // namespace google namespace flyteidl { namespace admin { -enum Selector_Operator { - Selector_Operator_EQUALS = 0, - Selector_Operator_NOT_EQUALS = 1, - Selector_Operator_IN = 2, - Selector_Operator_NOT_IN = 3, - Selector_Operator_EXISTS = 4, - Selector_Operator_Selector_Operator_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - Selector_Operator_Selector_Operator_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool Selector_Operator_IsValid(int value); -const Selector_Operator Selector_Operator_Operator_MIN = Selector_Operator_EQUALS; -const Selector_Operator Selector_Operator_Operator_MAX = Selector_Operator_EXISTS; -const int Selector_Operator_Operator_ARRAYSIZE = Selector_Operator_Operator_MAX + 1; - -const ::google::protobuf::EnumDescriptor* Selector_Operator_descriptor(); -inline const ::std::string& Selector_Operator_Name(Selector_Operator value) { - return ::google::protobuf::internal::NameOfEnum( - Selector_Operator_descriptor(), value); -} -inline bool Selector_Operator_Parse( - const ::std::string& name, Selector_Operator* value) { - return ::google::protobuf::internal::ParseNamedEnum( - Selector_Operator_descriptor(), name, value); -} // =================================================================== class ClusterAssignment final : @@ -197,449 +160,26 @@ class ClusterAssignment final : // accessors ------------------------------------------------------- - // .flyteidl.admin.Affinity affinity = 1; - bool has_affinity() const; - void clear_affinity(); - static const int kAffinityFieldNumber = 1; - const ::flyteidl::admin::Affinity& affinity() const; - ::flyteidl::admin::Affinity* release_affinity(); - ::flyteidl::admin::Affinity* mutable_affinity(); - void set_allocated_affinity(::flyteidl::admin::Affinity* affinity); - - // .flyteidl.admin.Toleration toleration = 2; - bool has_toleration() const; - void clear_toleration(); - static const int kTolerationFieldNumber = 2; - const ::flyteidl::admin::Toleration& toleration() const; - ::flyteidl::admin::Toleration* release_toleration(); - ::flyteidl::admin::Toleration* mutable_toleration(); - void set_allocated_toleration(::flyteidl::admin::Toleration* toleration); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ClusterAssignment) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::Affinity* affinity_; - ::flyteidl::admin::Toleration* toleration_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; -}; -// ------------------------------------------------------------------- - -class Affinity final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Affinity) */ { - public: - Affinity(); - virtual ~Affinity(); - - Affinity(const Affinity& from); - - inline Affinity& operator=(const Affinity& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Affinity(Affinity&& from) noexcept - : Affinity() { - *this = ::std::move(from); - } - - inline Affinity& operator=(Affinity&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const Affinity& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Affinity* internal_default_instance() { - return reinterpret_cast( - &_Affinity_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(Affinity* other); - friend void swap(Affinity& a, Affinity& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Affinity* New() const final { - return CreateMaybeMessage(nullptr); - } - - Affinity* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const Affinity& from); - void MergeFrom(const Affinity& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Affinity* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .flyteidl.admin.Selector selectors = 1; - int selectors_size() const; - void clear_selectors(); - static const int kSelectorsFieldNumber = 1; - ::flyteidl::admin::Selector* mutable_selectors(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Selector >* - mutable_selectors(); - const ::flyteidl::admin::Selector& selectors(int index) const; - ::flyteidl::admin::Selector* add_selectors(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Selector >& - selectors() const; - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Affinity) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Selector > selectors_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; -}; -// ------------------------------------------------------------------- - -class Toleration final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Toleration) */ { - public: - Toleration(); - virtual ~Toleration(); - - Toleration(const Toleration& from); - - inline Toleration& operator=(const Toleration& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Toleration(Toleration&& from) noexcept - : Toleration() { - *this = ::std::move(from); - } - - inline Toleration& operator=(Toleration&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const Toleration& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Toleration* internal_default_instance() { - return reinterpret_cast( - &_Toleration_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(Toleration* other); - friend void swap(Toleration& a, Toleration& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Toleration* New() const final { - return CreateMaybeMessage(nullptr); - } - - Toleration* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const Toleration& from); - void MergeFrom(const Toleration& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Toleration* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .flyteidl.admin.Selector selectors = 1; - int selectors_size() const; - void clear_selectors(); - static const int kSelectorsFieldNumber = 1; - ::flyteidl::admin::Selector* mutable_selectors(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Selector >* - mutable_selectors(); - const ::flyteidl::admin::Selector& selectors(int index) const; - ::flyteidl::admin::Selector* add_selectors(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Selector >& - selectors() const; - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Toleration) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Selector > selectors_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; -}; -// ------------------------------------------------------------------- - -class Selector final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Selector) */ { - public: - Selector(); - virtual ~Selector(); - - Selector(const Selector& from); - - inline Selector& operator=(const Selector& from) { - CopyFrom(from); - return *this; - } + // string cluster_pool_name = 1; + void clear_cluster_pool_name(); + static const int kClusterPoolNameFieldNumber = 1; + const ::std::string& cluster_pool_name() const; + void set_cluster_pool_name(const ::std::string& value); #if LANG_CXX11 - Selector(Selector&& from) noexcept - : Selector() { - *this = ::std::move(from); - } - - inline Selector& operator=(Selector&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } + void set_cluster_pool_name(::std::string&& value); #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const Selector& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Selector* internal_default_instance() { - return reinterpret_cast( - &_Selector_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; + void set_cluster_pool_name(const char* value); + void set_cluster_pool_name(const char* value, size_t size); + ::std::string* mutable_cluster_pool_name(); + ::std::string* release_cluster_pool_name(); + void set_allocated_cluster_pool_name(::std::string* cluster_pool_name); - void Swap(Selector* other); - friend void swap(Selector& a, Selector& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Selector* New() const final { - return CreateMaybeMessage(nullptr); - } - - Selector* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const Selector& from); - void MergeFrom(const Selector& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Selector* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef Selector_Operator Operator; - static const Operator EQUALS = - Selector_Operator_EQUALS; - static const Operator NOT_EQUALS = - Selector_Operator_NOT_EQUALS; - static const Operator IN = - Selector_Operator_IN; - static const Operator NOT_IN = - Selector_Operator_NOT_IN; - static const Operator EXISTS = - Selector_Operator_EXISTS; - static inline bool Operator_IsValid(int value) { - return Selector_Operator_IsValid(value); - } - static const Operator Operator_MIN = - Selector_Operator_Operator_MIN; - static const Operator Operator_MAX = - Selector_Operator_Operator_MAX; - static const int Operator_ARRAYSIZE = - Selector_Operator_Operator_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Operator_descriptor() { - return Selector_Operator_descriptor(); - } - static inline const ::std::string& Operator_Name(Operator value) { - return Selector_Operator_Name(value); - } - static inline bool Operator_Parse(const ::std::string& name, - Operator* value) { - return Selector_Operator_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // repeated string value = 2; - int value_size() const; - void clear_value(); - static const int kValueFieldNumber = 2; - const ::std::string& value(int index) const; - ::std::string* mutable_value(int index); - void set_value(int index, const ::std::string& value); - #if LANG_CXX11 - void set_value(int index, ::std::string&& value); - #endif - void set_value(int index, const char* value); - void set_value(int index, const char* value, size_t size); - ::std::string* add_value(); - void add_value(const ::std::string& value); - #if LANG_CXX11 - void add_value(::std::string&& value); - #endif - void add_value(const char* value); - void add_value(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& value() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_value(); - - // string key = 1; - void clear_key(); - static const int kKeyFieldNumber = 1; - const ::std::string& key() const; - void set_key(const ::std::string& value); - #if LANG_CXX11 - void set_key(::std::string&& value); - #endif - void set_key(const char* value); - void set_key(const char* value, size_t size); - ::std::string* mutable_key(); - ::std::string* release_key(); - void set_allocated_key(::std::string* key); - - // .flyteidl.admin.Selector.Operator operator = 3; - void clear_operator_(); - static const int kOperatorFieldNumber = 3; - ::flyteidl::admin::Selector_Operator operator_() const; - void set_operator_(::flyteidl::admin::Selector_Operator value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Selector) + // @@protoc_insertion_point(class_scope:flyteidl.admin.ClusterAssignment) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> value_; - ::google::protobuf::internal::ArenaStringPtr key_; - int operator__; + ::google::protobuf::internal::ArenaStringPtr cluster_pool_name_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; }; @@ -654,343 +194,68 @@ class Selector final : #endif // __GNUC__ // ClusterAssignment -// .flyteidl.admin.Affinity affinity = 1; -inline bool ClusterAssignment::has_affinity() const { - return this != internal_default_instance() && affinity_ != nullptr; -} -inline void ClusterAssignment::clear_affinity() { - if (GetArenaNoVirtual() == nullptr && affinity_ != nullptr) { - delete affinity_; - } - affinity_ = nullptr; -} -inline const ::flyteidl::admin::Affinity& ClusterAssignment::affinity() const { - const ::flyteidl::admin::Affinity* p = affinity_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ClusterAssignment.affinity) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Affinity_default_instance_); -} -inline ::flyteidl::admin::Affinity* ClusterAssignment::release_affinity() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ClusterAssignment.affinity) - - ::flyteidl::admin::Affinity* temp = affinity_; - affinity_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Affinity* ClusterAssignment::mutable_affinity() { - - if (affinity_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Affinity>(GetArenaNoVirtual()); - affinity_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ClusterAssignment.affinity) - return affinity_; -} -inline void ClusterAssignment::set_allocated_affinity(::flyteidl::admin::Affinity* affinity) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete affinity_; - } - if (affinity) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - affinity = ::google::protobuf::internal::GetOwnedMessage( - message_arena, affinity, submessage_arena); - } - - } else { - - } - affinity_ = affinity; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ClusterAssignment.affinity) -} - -// .flyteidl.admin.Toleration toleration = 2; -inline bool ClusterAssignment::has_toleration() const { - return this != internal_default_instance() && toleration_ != nullptr; -} -inline void ClusterAssignment::clear_toleration() { - if (GetArenaNoVirtual() == nullptr && toleration_ != nullptr) { - delete toleration_; - } - toleration_ = nullptr; -} -inline const ::flyteidl::admin::Toleration& ClusterAssignment::toleration() const { - const ::flyteidl::admin::Toleration* p = toleration_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ClusterAssignment.toleration) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Toleration_default_instance_); +// string cluster_pool_name = 1; +inline void ClusterAssignment::clear_cluster_pool_name() { + cluster_pool_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline ::flyteidl::admin::Toleration* ClusterAssignment::release_toleration() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ClusterAssignment.toleration) - - ::flyteidl::admin::Toleration* temp = toleration_; - toleration_ = nullptr; - return temp; +inline const ::std::string& ClusterAssignment::cluster_pool_name() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.ClusterAssignment.cluster_pool_name) + return cluster_pool_name_.GetNoArena(); } -inline ::flyteidl::admin::Toleration* ClusterAssignment::mutable_toleration() { +inline void ClusterAssignment::set_cluster_pool_name(const ::std::string& value) { - if (toleration_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Toleration>(GetArenaNoVirtual()); - toleration_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ClusterAssignment.toleration) - return toleration_; -} -inline void ClusterAssignment::set_allocated_toleration(::flyteidl::admin::Toleration* toleration) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete toleration_; - } - if (toleration) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - toleration = ::google::protobuf::internal::GetOwnedMessage( - message_arena, toleration, submessage_arena); - } - - } else { - - } - toleration_ = toleration; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ClusterAssignment.toleration) -} - -// ------------------------------------------------------------------- - -// Affinity - -// repeated .flyteidl.admin.Selector selectors = 1; -inline int Affinity::selectors_size() const { - return selectors_.size(); -} -inline void Affinity::clear_selectors() { - selectors_.Clear(); -} -inline ::flyteidl::admin::Selector* Affinity::mutable_selectors(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Affinity.selectors) - return selectors_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Selector >* -Affinity::mutable_selectors() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.Affinity.selectors) - return &selectors_; -} -inline const ::flyteidl::admin::Selector& Affinity::selectors(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Affinity.selectors) - return selectors_.Get(index); -} -inline ::flyteidl::admin::Selector* Affinity::add_selectors() { - // @@protoc_insertion_point(field_add:flyteidl.admin.Affinity.selectors) - return selectors_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Selector >& -Affinity::selectors() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.Affinity.selectors) - return selectors_; -} - -// ------------------------------------------------------------------- - -// Toleration - -// repeated .flyteidl.admin.Selector selectors = 1; -inline int Toleration::selectors_size() const { - return selectors_.size(); -} -inline void Toleration::clear_selectors() { - selectors_.Clear(); -} -inline ::flyteidl::admin::Selector* Toleration::mutable_selectors(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Toleration.selectors) - return selectors_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Selector >* -Toleration::mutable_selectors() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.Toleration.selectors) - return &selectors_; -} -inline const ::flyteidl::admin::Selector& Toleration::selectors(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Toleration.selectors) - return selectors_.Get(index); -} -inline ::flyteidl::admin::Selector* Toleration::add_selectors() { - // @@protoc_insertion_point(field_add:flyteidl.admin.Toleration.selectors) - return selectors_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Selector >& -Toleration::selectors() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.Toleration.selectors) - return selectors_; -} - -// ------------------------------------------------------------------- - -// Selector - -// string key = 1; -inline void Selector::clear_key() { - key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Selector::key() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Selector.key) - return key_.GetNoArena(); -} -inline void Selector::set_key(const ::std::string& value) { - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Selector.key) + cluster_pool_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.ClusterAssignment.cluster_pool_name) } #if LANG_CXX11 -inline void Selector::set_key(::std::string&& value) { +inline void ClusterAssignment::set_cluster_pool_name(::std::string&& value) { - key_.SetNoArena( + cluster_pool_name_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Selector.key) + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ClusterAssignment.cluster_pool_name) } #endif -inline void Selector::set_key(const char* value) { +inline void ClusterAssignment::set_cluster_pool_name(const char* value) { GOOGLE_DCHECK(value != nullptr); - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Selector.key) + cluster_pool_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.ClusterAssignment.cluster_pool_name) } -inline void Selector::set_key(const char* value, size_t size) { +inline void ClusterAssignment::set_cluster_pool_name(const char* value, size_t size) { - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + cluster_pool_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Selector.key) + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ClusterAssignment.cluster_pool_name) } -inline ::std::string* Selector::mutable_key() { +inline ::std::string* ClusterAssignment::mutable_cluster_pool_name() { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Selector.key) - return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + // @@protoc_insertion_point(field_mutable:flyteidl.admin.ClusterAssignment.cluster_pool_name) + return cluster_pool_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline ::std::string* Selector::release_key() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Selector.key) +inline ::std::string* ClusterAssignment::release_cluster_pool_name() { + // @@protoc_insertion_point(field_release:flyteidl.admin.ClusterAssignment.cluster_pool_name) - return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return cluster_pool_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Selector::set_allocated_key(::std::string* key) { - if (key != nullptr) { +inline void ClusterAssignment::set_allocated_cluster_pool_name(::std::string* cluster_pool_name) { + if (cluster_pool_name != nullptr) { } else { } - key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Selector.key) -} - -// repeated string value = 2; -inline int Selector::value_size() const { - return value_.size(); -} -inline void Selector::clear_value() { - value_.Clear(); -} -inline const ::std::string& Selector::value(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Selector.value) - return value_.Get(index); -} -inline ::std::string* Selector::mutable_value(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Selector.value) - return value_.Mutable(index); -} -inline void Selector::set_value(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.Selector.value) - value_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void Selector::set_value(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.Selector.value) - value_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void Selector::set_value(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - value_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Selector.value) -} -inline void Selector::set_value(int index, const char* value, size_t size) { - value_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Selector.value) -} -inline ::std::string* Selector::add_value() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.admin.Selector.value) - return value_.Add(); -} -inline void Selector::add_value(const ::std::string& value) { - value_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.admin.Selector.value) -} -#if LANG_CXX11 -inline void Selector::add_value(::std::string&& value) { - value_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.admin.Selector.value) -} -#endif -inline void Selector::add_value(const char* value) { - GOOGLE_DCHECK(value != nullptr); - value_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.admin.Selector.value) -} -inline void Selector::add_value(const char* value, size_t size) { - value_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.admin.Selector.value) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -Selector::value() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.Selector.value) - return value_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -Selector::mutable_value() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.Selector.value) - return &value_; -} - -// .flyteidl.admin.Selector.Operator operator = 3; -inline void Selector::clear_operator_() { - operator__ = 0; -} -inline ::flyteidl::admin::Selector_Operator Selector::operator_() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Selector.operator) - return static_cast< ::flyteidl::admin::Selector_Operator >(operator__); -} -inline void Selector::set_operator_(::flyteidl::admin::Selector_Operator value) { - - operator__ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.Selector.operator) + cluster_pool_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cluster_pool_name); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ClusterAssignment.cluster_pool_name) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - // @@protoc_insertion_point(namespace_scope) } // namespace admin } // namespace flyteidl -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::admin::Selector_Operator> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::admin::Selector_Operator>() { - return ::flyteidl::admin::Selector_Operator_descriptor(); -} - -} // namespace protobuf -} // namespace google - // @@protoc_insertion_point(global_scope) #include diff --git a/gen/pb-cpp/flyteidl/admin/execution.pb.cc b/gen/pb-cpp/flyteidl/admin/execution.pb.cc index 4fecff833..a66940761 100644 --- a/gen/pb-cpp/flyteidl/admin/execution.pb.cc +++ b/gen/pb-cpp/flyteidl/admin/execution.pb.cc @@ -16,7 +16,7 @@ // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcluster_5fassignment_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcluster_5fassignment_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AuthRole_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto; diff --git a/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc b/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc index bed95d865..9eb2d776e 100644 --- a/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc +++ b/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc @@ -16,7 +16,7 @@ // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcluster_5fassignment_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcluster_5fassignment_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto; diff --git a/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go b/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go index 98b3be0fc..8886600fa 100644 --- a/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go +++ b/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go @@ -20,48 +20,12 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package -// Defines how a label with a corresponding key and value is selected or excluded. -type Selector_Operator int32 - -const ( - Selector_EQUALS Selector_Operator = 0 - Selector_NOT_EQUALS Selector_Operator = 1 - Selector_IN Selector_Operator = 2 - Selector_NOT_IN Selector_Operator = 3 - Selector_EXISTS Selector_Operator = 4 -) - -var Selector_Operator_name = map[int32]string{ - 0: "EQUALS", - 1: "NOT_EQUALS", - 2: "IN", - 3: "NOT_IN", - 4: "EXISTS", -} - -var Selector_Operator_value = map[string]int32{ - "EQUALS": 0, - "NOT_EQUALS": 1, - "IN": 2, - "NOT_IN": 3, - "EXISTS": 4, -} - -func (x Selector_Operator) String() string { - return proto.EnumName(Selector_Operator_name, int32(x)) -} - -func (Selector_Operator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c5699de6e686ea15, []int{3, 0} -} - // Encapsulates specifications for routing an execution onto a specific cluster. type ClusterAssignment struct { - Affinity *Affinity `protobuf:"bytes,1,opt,name=affinity,proto3" json:"affinity,omitempty"` - Toleration *Toleration `protobuf:"bytes,2,opt,name=toleration,proto3" json:"toleration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ClusterPoolName string `protobuf:"bytes,1,opt,name=cluster_pool_name,json=clusterPoolName,proto3" json:"cluster_pool_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ClusterAssignment) Reset() { *m = ClusterAssignment{} } @@ -89,168 +53,15 @@ func (m *ClusterAssignment) XXX_DiscardUnknown() { var xxx_messageInfo_ClusterAssignment proto.InternalMessageInfo -func (m *ClusterAssignment) GetAffinity() *Affinity { - if m != nil { - return m.Affinity - } - return nil -} - -func (m *ClusterAssignment) GetToleration() *Toleration { - if m != nil { - return m.Toleration - } - return nil -} - -// Defines a set of constraints used to select eligible objects based on labels they possess. -type Affinity struct { - // Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects. - Selectors []*Selector `protobuf:"bytes,1,rep,name=selectors,proto3" json:"selectors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Affinity) Reset() { *m = Affinity{} } -func (m *Affinity) String() string { return proto.CompactTextString(m) } -func (*Affinity) ProtoMessage() {} -func (*Affinity) Descriptor() ([]byte, []int) { - return fileDescriptor_c5699de6e686ea15, []int{1} -} - -func (m *Affinity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Affinity.Unmarshal(m, b) -} -func (m *Affinity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Affinity.Marshal(b, m, deterministic) -} -func (m *Affinity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Affinity.Merge(m, src) -} -func (m *Affinity) XXX_Size() int { - return xxx_messageInfo_Affinity.Size(m) -} -func (m *Affinity) XXX_DiscardUnknown() { - xxx_messageInfo_Affinity.DiscardUnknown(m) -} - -var xxx_messageInfo_Affinity proto.InternalMessageInfo - -func (m *Affinity) GetSelectors() []*Selector { - if m != nil { - return m.Selectors - } - return nil -} - -// Defines a set of specific label selectors that the execution can tolerate on a cluster. -type Toleration struct { - // A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS. - Selectors []*Selector `protobuf:"bytes,1,rep,name=selectors,proto3" json:"selectors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Toleration) Reset() { *m = Toleration{} } -func (m *Toleration) String() string { return proto.CompactTextString(m) } -func (*Toleration) ProtoMessage() {} -func (*Toleration) Descriptor() ([]byte, []int) { - return fileDescriptor_c5699de6e686ea15, []int{2} -} - -func (m *Toleration) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Toleration.Unmarshal(m, b) -} -func (m *Toleration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Toleration.Marshal(b, m, deterministic) -} -func (m *Toleration) XXX_Merge(src proto.Message) { - xxx_messageInfo_Toleration.Merge(m, src) -} -func (m *Toleration) XXX_Size() int { - return xxx_messageInfo_Toleration.Size(m) -} -func (m *Toleration) XXX_DiscardUnknown() { - xxx_messageInfo_Toleration.DiscardUnknown(m) -} - -var xxx_messageInfo_Toleration proto.InternalMessageInfo - -func (m *Toleration) GetSelectors() []*Selector { - if m != nil { - return m.Selectors - } - return nil -} - -// A Selector is a specification for identifying a set of objects with corresponding labels. -type Selector struct { - // The label key. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // One or more values used to match labels. - // For equality (or inequality) requirements, values must contain a single element. - // For set-based requirements, values may contain one or more elements. - Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` - Operator Selector_Operator `protobuf:"varint,3,opt,name=operator,proto3,enum=flyteidl.admin.Selector_Operator" json:"operator,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Selector) Reset() { *m = Selector{} } -func (m *Selector) String() string { return proto.CompactTextString(m) } -func (*Selector) ProtoMessage() {} -func (*Selector) Descriptor() ([]byte, []int) { - return fileDescriptor_c5699de6e686ea15, []int{3} -} - -func (m *Selector) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Selector.Unmarshal(m, b) -} -func (m *Selector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Selector.Marshal(b, m, deterministic) -} -func (m *Selector) XXX_Merge(src proto.Message) { - xxx_messageInfo_Selector.Merge(m, src) -} -func (m *Selector) XXX_Size() int { - return xxx_messageInfo_Selector.Size(m) -} -func (m *Selector) XXX_DiscardUnknown() { - xxx_messageInfo_Selector.DiscardUnknown(m) -} - -var xxx_messageInfo_Selector proto.InternalMessageInfo - -func (m *Selector) GetKey() string { +func (m *ClusterAssignment) GetClusterPoolName() string { if m != nil { - return m.Key + return m.ClusterPoolName } return "" } -func (m *Selector) GetValue() []string { - if m != nil { - return m.Value - } - return nil -} - -func (m *Selector) GetOperator() Selector_Operator { - if m != nil { - return m.Operator - } - return Selector_EQUALS -} - func init() { - proto.RegisterEnum("flyteidl.admin.Selector_Operator", Selector_Operator_name, Selector_Operator_value) proto.RegisterType((*ClusterAssignment)(nil), "flyteidl.admin.ClusterAssignment") - proto.RegisterType((*Affinity)(nil), "flyteidl.admin.Affinity") - proto.RegisterType((*Toleration)(nil), "flyteidl.admin.Toleration") - proto.RegisterType((*Selector)(nil), "flyteidl.admin.Selector") } func init() { @@ -258,26 +69,15 @@ func init() { } var fileDescriptor_c5699de6e686ea15 = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcb, 0x4a, 0x3b, 0x31, - 0x18, 0xc5, 0xff, 0x99, 0xf9, 0x5b, 0xa6, 0x9f, 0x50, 0xc6, 0xe0, 0x62, 0x70, 0x35, 0xce, 0xc6, - 0x6e, 0x9c, 0x40, 0xbd, 0x81, 0xe0, 0xa2, 0xf5, 0x02, 0x05, 0x69, 0x31, 0x53, 0x41, 0xdc, 0x94, - 0x69, 0x9b, 0x8e, 0xc1, 0x34, 0x29, 0x99, 0x54, 0xe8, 0x03, 0xf8, 0x50, 0xbe, 0x9d, 0xcc, 0xb5, - 0x56, 0x74, 0xe3, 0x2e, 0xdf, 0x97, 0xdf, 0x39, 0x27, 0x84, 0x03, 0x47, 0x73, 0xb1, 0x36, 0x8c, - 0xcf, 0x04, 0x89, 0x67, 0x0b, 0x2e, 0xc9, 0x54, 0xac, 0x52, 0xc3, 0xf4, 0x38, 0x4e, 0x53, 0x9e, - 0xc8, 0x05, 0x93, 0x26, 0x5c, 0x6a, 0x65, 0x14, 0x6e, 0x55, 0x60, 0x98, 0x83, 0xc1, 0x3b, 0x82, - 0xbd, 0xeb, 0x02, 0xee, 0xd6, 0x2c, 0x3e, 0x05, 0x27, 0x9e, 0xcf, 0xb9, 0xe4, 0x66, 0xed, 0x21, - 0x1f, 0xb5, 0x77, 0x3b, 0x5e, 0xb8, 0x2d, 0x0c, 0xbb, 0xe5, 0x3d, 0xad, 0x49, 0x7c, 0x09, 0x60, - 0x94, 0x60, 0x3a, 0x36, 0x5c, 0x49, 0xcf, 0xca, 0x75, 0x07, 0xdf, 0x75, 0xa3, 0x9a, 0xa0, 0x5f, - 0xe8, 0xa0, 0x07, 0x4e, 0xe5, 0x88, 0xcf, 0xa1, 0x99, 0x32, 0xc1, 0xa6, 0x46, 0xe9, 0xd4, 0x43, - 0xbe, 0xfd, 0x53, 0x7c, 0x54, 0x02, 0x74, 0x83, 0x06, 0x37, 0x00, 0x1b, 0xf7, 0x3f, 0xbb, 0x7c, - 0x20, 0x70, 0xaa, 0x3d, 0x76, 0xc1, 0x7e, 0x65, 0xc5, 0x1f, 0x34, 0x69, 0x76, 0xc4, 0xfb, 0xb0, - 0xf3, 0x16, 0x8b, 0x15, 0xf3, 0x2c, 0xdf, 0x6e, 0x37, 0x69, 0x31, 0xe0, 0x2b, 0x70, 0xd4, 0x32, - 0x4b, 0x56, 0xda, 0xb3, 0x7d, 0xd4, 0x6e, 0x75, 0x0e, 0x7f, 0xcb, 0x0a, 0x87, 0x25, 0x48, 0x6b, - 0x49, 0x70, 0x07, 0x4e, 0xb5, 0xc5, 0x00, 0x8d, 0xdb, 0x87, 0xc7, 0xee, 0x7d, 0xe4, 0xfe, 0xc3, - 0x2d, 0x80, 0xc1, 0x70, 0x34, 0x2e, 0x67, 0x84, 0x1b, 0x60, 0xf5, 0x07, 0xae, 0x95, 0x31, 0xd9, - 0xbe, 0x3f, 0x70, 0xed, 0x9c, 0x7f, 0xea, 0x47, 0xa3, 0xc8, 0xfd, 0xdf, 0xbb, 0x78, 0x3e, 0x4b, - 0xb8, 0x79, 0x59, 0x4d, 0xc2, 0xa9, 0x5a, 0x90, 0xfc, 0x01, 0x4a, 0x27, 0xa4, 0x2e, 0x47, 0xc2, - 0x24, 0x59, 0x4e, 0x8e, 0x13, 0x45, 0xb6, 0xfb, 0x32, 0x69, 0xe4, 0xed, 0x38, 0xf9, 0x0c, 0x00, - 0x00, 0xff, 0xff, 0x3e, 0x04, 0xfd, 0xc4, 0x48, 0x02, 0x00, 0x00, + // 156 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0xcb, 0xa9, 0x2c, + 0x49, 0xcd, 0x4c, 0xc9, 0xd1, 0x4f, 0x4c, 0xc9, 0xcd, 0xcc, 0xd3, 0x4f, 0xce, 0x29, 0x2d, 0x2e, + 0x49, 0x2d, 0x8a, 0x4f, 0x2c, 0x2e, 0xce, 0x4c, 0xcf, 0xcb, 0x4d, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, + 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0x29, 0xd4, 0x03, 0x2b, 0x54, 0xb2, 0xe7, 0x12, 0x74, 0x86, + 0xa8, 0x75, 0x84, 0x2b, 0x15, 0xd2, 0xe2, 0x12, 0x84, 0x19, 0x50, 0x90, 0x9f, 0x9f, 0x13, 0x9f, + 0x97, 0x98, 0x9b, 0x2a, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0xc4, 0x0f, 0x95, 0x08, 0xc8, 0xcf, + 0xcf, 0xf1, 0x4b, 0xcc, 0x4d, 0x75, 0x32, 0x8f, 0x32, 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, + 0x4b, 0xce, 0xcf, 0xd5, 0x07, 0x9b, 0x9e, 0x5f, 0x94, 0xae, 0x0f, 0x77, 0x4f, 0x7a, 0x6a, 0x9e, + 0x7e, 0x41, 0x92, 0x6e, 0x7a, 0xbe, 0x3e, 0xaa, 0x13, 0x93, 0xd8, 0xc0, 0x0e, 0x32, 0x06, 0x04, + 0x00, 0x00, 0xff, 0xff, 0xf1, 0x42, 0xf7, 0x66, 0xbb, 0x00, 0x00, 0x00, } diff --git a/gen/pb-go/flyteidl/admin/cluster_assignment.pb.validate.go b/gen/pb-go/flyteidl/admin/cluster_assignment.pb.validate.go index 0d5850b04..abd1ac873 100644 --- a/gen/pb-go/flyteidl/admin/cluster_assignment.pb.validate.go +++ b/gen/pb-go/flyteidl/admin/cluster_assignment.pb.validate.go @@ -44,25 +44,7 @@ func (m *ClusterAssignment) Validate() error { return nil } - if v, ok := interface{}(m.GetAffinity()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ClusterAssignmentValidationError{ - field: "Affinity", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetToleration()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ClusterAssignmentValidationError{ - field: "Toleration", - reason: "embedded message failed validation", - cause: err, - } - } - } + // no validation rules for ClusterPoolName return nil } @@ -122,229 +104,3 @@ var _ interface { Cause() error ErrorName() string } = ClusterAssignmentValidationError{} - -// Validate checks the field values on Affinity with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Affinity) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetSelectors() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return AffinityValidationError{ - field: fmt.Sprintf("Selectors[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// AffinityValidationError is the validation error returned by -// Affinity.Validate if the designated constraints aren't met. -type AffinityValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e AffinityValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e AffinityValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e AffinityValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e AffinityValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e AffinityValidationError) ErrorName() string { return "AffinityValidationError" } - -// Error satisfies the builtin error interface -func (e AffinityValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sAffinity.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = AffinityValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = AffinityValidationError{} - -// Validate checks the field values on Toleration with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Toleration) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetSelectors() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TolerationValidationError{ - field: fmt.Sprintf("Selectors[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// TolerationValidationError is the validation error returned by -// Toleration.Validate if the designated constraints aren't met. -type TolerationValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TolerationValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TolerationValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TolerationValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TolerationValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TolerationValidationError) ErrorName() string { return "TolerationValidationError" } - -// Error satisfies the builtin error interface -func (e TolerationValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sToleration.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TolerationValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TolerationValidationError{} - -// Validate checks the field values on Selector with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Selector) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Key - - // no validation rules for Operator - - return nil -} - -// SelectorValidationError is the validation error returned by -// Selector.Validate if the designated constraints aren't met. -type SelectorValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SelectorValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SelectorValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SelectorValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SelectorValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SelectorValidationError) ErrorName() string { return "SelectorValidationError" } - -// Error satisfies the builtin error interface -func (e SelectorValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSelector.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SelectorValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SelectorValidationError{} diff --git a/gen/pb-go/flyteidl/service/admin.swagger.json b/gen/pb-go/flyteidl/service/admin.swagger.json index 65957c6d6..fc2e75ea3 100644 --- a/gen/pb-go/flyteidl/service/admin.swagger.json +++ b/gen/pb-go/flyteidl/service/admin.swagger.json @@ -2913,6 +2913,20 @@ "default": "RESERVATION_DISABLED", "description": "Indicates the status of a catalog reservation operation.\n\n - RESERVATION_DISABLED: Used to indicate that reservations are disabled\n - RESERVATION_ACQUIRED: Used to indicate that a reservation was successfully acquired or extended\n - RESERVATION_EXISTS: Used to indicate that an active reservation currently exists\n - RESERVATION_RELEASED: Used to indicate that the reservation has been successfully released\n - RESERVATION_FAILURE: Used to indicate that a reservation operation resulted in failure" }, + "ComparisonExpressionOperator": { + "type": "string", + "enum": [ + "EQ", + "NEQ", + "GT", + "GTE", + "LT", + "LTE" + ], + "default": "EQ", + "description": "- GT: Greater Than\n - LT: Less Than", + "title": "Binary Operator for each expression" + }, "ConjunctionExpressionLogicalOperator": { "type": "string", "enum": [ @@ -3177,19 +3191,6 @@ }, "description": "Specifies metadata around an aborted workflow execution." }, - "adminAffinity": { - "type": "object", - "properties": { - "selectors": { - "type": "array", - "items": { - "$ref": "#/definitions/adminSelector" - }, - "description": "Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects." - } - }, - "description": "Defines a set of constraints used to select eligible objects based on labels they possess." - }, "adminAnnotations": { "type": "object", "properties": { @@ -3234,11 +3235,8 @@ "adminClusterAssignment": { "type": "object", "properties": { - "affinity": { - "$ref": "#/definitions/adminAffinity" - }, - "toleration": { - "$ref": "#/definitions/adminToleration" + "cluster_pool_name": { + "type": "string" } }, "description": "Encapsulates specifications for routing an execution onto a specific cluster." @@ -4453,38 +4451,6 @@ }, "description": "Defines complete set of information required to trigger an execution on a schedule." }, - "adminSelector": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "The label key." - }, - "value": { - "type": "array", - "items": { - "type": "string" - }, - "description": "One or more values used to match labels.\nFor equality (or inequality) requirements, values must contain a single element.\nFor set-based requirements, values may contain one or more elements." - }, - "operator": { - "$ref": "#/definitions/adminSelectorOperator" - } - }, - "description": "A Selector is a specification for identifying a set of objects with corresponding labels." - }, - "adminSelectorOperator": { - "type": "string", - "enum": [ - "EQUALS", - "NOT_EQUALS", - "IN", - "NOT_IN", - "EXISTS" - ], - "default": "EQUALS", - "description": "Defines how a label with a corresponding key and value is selected or excluded." - }, "adminSlackNotification": { "type": "object", "properties": { @@ -4753,19 +4719,6 @@ }, "description": "Represents a structure that encapsulates the user-configured specification of the task." }, - "adminToleration": { - "type": "object", - "properties": { - "selectors": { - "type": "array", - "items": { - "$ref": "#/definitions/adminSelector" - }, - "description": "A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS." - } - }, - "description": "Defines a set of specific label selectors that the execution can tolerate on a cluster." - }, "adminUrlBlob": { "type": "object", "properties": { @@ -5213,7 +5166,7 @@ "type": "object", "properties": { "operator": { - "$ref": "#/definitions/coreComparisonExpressionOperator" + "$ref": "#/definitions/ComparisonExpressionOperator" }, "left_value": { "$ref": "#/definitions/coreOperand" @@ -5224,20 +5177,6 @@ }, "description": "Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables.\nEach expression results in a boolean result." }, - "coreComparisonExpressionOperator": { - "type": "string", - "enum": [ - "EQ", - "NEQ", - "GT", - "GTE", - "LT", - "LTE" - ], - "default": "EQ", - "description": "- GT: Greater Than\n - LT: Less Than", - "title": "Binary Operator for each expression" - }, "coreCompiledTask": { "type": "object", "properties": { diff --git a/gen/pb-go/flyteidl/service/flyteadmin/README.md b/gen/pb-go/flyteidl/service/flyteadmin/README.md index 58d495a1f..53dad0bee 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/README.md +++ b/gen/pb-go/flyteidl/service/flyteadmin/README.md @@ -76,7 +76,6 @@ Class | Method | HTTP request | Description ## Documentation For Models - [AdminAbortMetadata](docs/AdminAbortMetadata.md) - - [AdminAffinity](docs/AdminAffinity.md) - [AdminAnnotations](docs/AdminAnnotations.md) - [AdminAuth](docs/AdminAuth.md) - [AdminAuthRole](docs/AdminAuthRole.md) @@ -153,8 +152,6 @@ Class | Method | HTTP request | Description - [AdminProjects](docs/AdminProjects.md) - [AdminRawOutputDataConfig](docs/AdminRawOutputDataConfig.md) - [AdminSchedule](docs/AdminSchedule.md) - - [AdminSelector](docs/AdminSelector.md) - - [AdminSelectorOperator](docs/AdminSelectorOperator.md) - [AdminSlackNotification](docs/AdminSlackNotification.md) - [AdminSort](docs/AdminSort.md) - [AdminSystemMetadata](docs/AdminSystemMetadata.md) @@ -171,7 +168,6 @@ Class | Method | HTTP request | Description - [AdminTaskResourceAttributes](docs/AdminTaskResourceAttributes.md) - [AdminTaskResourceSpec](docs/AdminTaskResourceSpec.md) - [AdminTaskSpec](docs/AdminTaskSpec.md) - - [AdminToleration](docs/AdminToleration.md) - [AdminUrlBlob](docs/AdminUrlBlob.md) - [AdminVersion](docs/AdminVersion.md) - [AdminWorkflow](docs/AdminWorkflow.md) @@ -192,6 +188,7 @@ Class | Method | HTTP request | Description - [AdminWorkflowSpec](docs/AdminWorkflowSpec.md) - [BlobTypeBlobDimensionality](docs/BlobTypeBlobDimensionality.md) - [CatalogReservationStatus](docs/CatalogReservationStatus.md) + - [ComparisonExpressionOperator](docs/ComparisonExpressionOperator.md) - [ConjunctionExpressionLogicalOperator](docs/ConjunctionExpressionLogicalOperator.md) - [ConnectionSetIdList](docs/ConnectionSetIdList.md) - [ContainerArchitecture](docs/ContainerArchitecture.md) @@ -210,7 +207,6 @@ Class | Method | HTTP request | Description - [CoreCatalogCacheStatus](docs/CoreCatalogCacheStatus.md) - [CoreCatalogMetadata](docs/CoreCatalogMetadata.md) - [CoreComparisonExpression](docs/CoreComparisonExpression.md) - - [CoreComparisonExpressionOperator](docs/CoreComparisonExpressionOperator.md) - [CoreCompiledTask](docs/CoreCompiledTask.md) - [CoreCompiledWorkflow](docs/CoreCompiledWorkflow.md) - [CoreCompiledWorkflowClosure](docs/CoreCompiledWorkflowClosure.md) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml b/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml index 25df1a580..0c61d5f19 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml +++ b/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml @@ -2609,6 +2609,18 @@ definitions: - "RESERVATION_RELEASED" - "RESERVATION_FAILURE" default: "RESERVATION_DISABLED" + ComparisonExpressionOperator: + type: "string" + title: "Binary Operator for each expression" + description: "- GT: Greater Than\n - LT: Less Than" + enum: + - "EQ" + - "NEQ" + - "GT" + - "GTE" + - "LT" + - "LTE" + default: "EQ" ConjunctionExpressionLogicalOperator: type: "string" title: "Nested conditions. They can be conjoined using AND / OR\nOrder of evaluation\ @@ -2878,29 +2890,6 @@ definitions: example: principal: "principal" cause: "cause" - adminAffinity: - type: "object" - properties: - selectors: - type: "array" - description: "Multiples selectors are 'and'-ed together to produce the list\ - \ of matching, eligible objects." - items: - $ref: "#/definitions/adminSelector" - description: "Defines a set of constraints used to select eligible objects based\ - \ on labels they possess." - example: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} adminAnnotations: type: "object" properties: @@ -2952,37 +2941,12 @@ definitions: adminClusterAssignment: type: "object" properties: - affinity: - $ref: "#/definitions/adminAffinity" - toleration: - $ref: "#/definitions/adminToleration" + cluster_pool_name: + type: "string" description: "Encapsulates specifications for routing an execution onto a specific\ \ cluster." example: - toleration: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} - affinity: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} + cluster_pool_name: "cluster_pool_name" adminClusterResourceAttributes: type: "object" properties: @@ -3167,30 +3131,7 @@ definitions: raw_output_data_config: output_location_prefix: "output_location_prefix" cluster_assignment: - toleration: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} - affinity: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} + cluster_pool_name: "cluster_pool_name" notifications: notifications: - pager_duty: @@ -3563,30 +3504,7 @@ definitions: raw_output_data_config: output_location_prefix: "output_location_prefix" cluster_assignment: - toleration: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} - affinity: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} + cluster_pool_name: "cluster_pool_name" notifications: notifications: - pager_duty: @@ -3775,30 +3693,7 @@ definitions: raw_output_data_config: output_location_prefix: "output_location_prefix" cluster_assignment: - toleration: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} - affinity: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} + cluster_pool_name: "cluster_pool_name" notifications: notifications: - pager_duty: @@ -4078,30 +3973,7 @@ definitions: raw_output_data_config: output_location_prefix: "output_location_prefix" cluster_assignment: - toleration: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} - affinity: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} + cluster_pool_name: "cluster_pool_name" notifications: notifications: - pager_duty: @@ -6624,30 +6496,7 @@ definitions: values: key: "values" cluster_assignment: - toleration: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} - affinity: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} + cluster_pool_name: "cluster_pool_name" cluster_resource_attributes: attributes: key: "attributes" @@ -6746,30 +6595,7 @@ definitions: values: key: "values" cluster_assignment: - toleration: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} - affinity: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} + cluster_pool_name: "cluster_pool_name" cluster_resource_attributes: attributes: key: "attributes" @@ -6901,30 +6727,7 @@ definitions: values: key: "values" cluster_assignment: - toleration: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} - affinity: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} + cluster_pool_name: "cluster_pool_name" cluster_resource_attributes: attributes: key: "attributes" @@ -7063,30 +6866,7 @@ definitions: values: key: "values" cluster_assignment: - toleration: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} - affinity: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} + cluster_pool_name: "cluster_pool_name" cluster_resource_attributes: attributes: key: "attributes" @@ -13819,30 +13599,7 @@ definitions: values: key: "values" cluster_assignment: - toleration: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} - affinity: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} + cluster_pool_name: "cluster_pool_name" cluster_resource_attributes: attributes: key: "attributes" @@ -13965,30 +13722,7 @@ definitions: values: key: "values" cluster_assignment: - toleration: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} - affinity: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} + cluster_pool_name: "cluster_pool_name" cluster_resource_attributes: attributes: key: "attributes" @@ -14127,40 +13861,6 @@ definitions: rate: unit: {} value: 0 - adminSelector: - type: "object" - properties: - key: - type: "string" - description: "The label key." - value: - type: "array" - description: "One or more values used to match labels.\nFor equality (or inequality)\ - \ requirements, values must contain a single element.\nFor set-based requirements,\ - \ values may contain one or more elements." - items: - type: "string" - operator: - $ref: "#/definitions/adminSelectorOperator" - description: "A Selector is a specification for identifying a set of objects with\ - \ corresponding labels." - example: - value: - - "value" - - "value" - key: "key" - operator: {} - adminSelectorOperator: - type: "string" - description: "Defines how a label with a corresponding key and value is selected\ - \ or excluded." - enum: - - "EQUALS" - - "NOT_EQUALS" - - "IN" - - "NOT_IN" - - "EXISTS" - default: "EQUALS" adminSlackNotification: type: "object" properties: @@ -15708,29 +15408,6 @@ definitions: $ref: "#/definitions/coreTaskTemplate" description: "Represents a structure that encapsulates the user-configured specification\ \ of the task." - adminToleration: - type: "object" - properties: - selectors: - type: "array" - description: "A toleration selector is similar to that of an affinity but\ - \ the only valid operators are EQUALS AND EXISTS." - items: - $ref: "#/definitions/adminSelector" - description: "Defines a set of specific label selectors that the execution can\ - \ tolerate on a cluster." - example: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} adminUrlBlob: type: "object" properties: @@ -21866,30 +21543,7 @@ definitions: values: key: "values" cluster_assignment: - toleration: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} - affinity: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} + cluster_pool_name: "cluster_pool_name" cluster_resource_attributes: attributes: key: "attributes" @@ -22015,30 +21669,7 @@ definitions: values: key: "values" cluster_assignment: - toleration: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} - affinity: - selectors: - - value: - - "value" - - "value" - key: "key" - operator: {} - - value: - - "value" - - "value" - key: "key" - operator: {} + cluster_pool_name: "cluster_pool_name" cluster_resource_attributes: attributes: key: "attributes" @@ -40937,7 +40568,7 @@ definitions: type: "object" properties: operator: - $ref: "#/definitions/coreComparisonExpressionOperator" + $ref: "#/definitions/ComparisonExpressionOperator" left_value: $ref: "#/definitions/coreOperand" right_value: @@ -40965,18 +40596,6 @@ definitions: integer: "integer" var: "var" operator: {} - coreComparisonExpressionOperator: - type: "string" - title: "Binary Operator for each expression" - description: "- GT: Greater Than\n - LT: Less Than" - enum: - - "EQ" - - "NEQ" - - "GT" - - "GTE" - - "LT" - - "LTE" - default: "EQ" coreCompiledTask: type: "object" properties: diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_affinity.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_affinity.go deleted file mode 100644 index 25ae61b6f..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_affinity.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a set of constraints used to select eligible objects based on labels they possess. -type AdminAffinity struct { - // Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects. - Selectors []AdminSelector `json:"selectors,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go index 3ff5b26b6..de9cf5bf8 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go @@ -11,6 +11,5 @@ package flyteadmin // Encapsulates specifications for routing an execution onto a specific cluster. type AdminClusterAssignment struct { - Affinity *AdminAffinity `json:"affinity,omitempty"` - Toleration *AdminToleration `json:"toleration,omitempty"` + ClusterPoolName string `json:"cluster_pool_name,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_selector.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_selector.go deleted file mode 100644 index 79e209647..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_selector.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A Selector is a specification for identifying a set of objects with corresponding labels. -type AdminSelector struct { - // The label key. - Key string `json:"key,omitempty"` - // One or more values used to match labels. For equality (or inequality) requirements, values must contain a single element. For set-based requirements, values may contain one or more elements. - Value []string `json:"value,omitempty"` - Operator *AdminSelectorOperator `json:"operator,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_selector_operator.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_selector_operator.go deleted file mode 100644 index 3d9a19153..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_selector_operator.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// AdminSelectorOperator : Defines how a label with a corresponding key and value is selected or excluded. -type AdminSelectorOperator string - -// List of adminSelectorOperator -const ( - AdminSelectorOperatorEQUALS AdminSelectorOperator = "EQUALS" - AdminSelectorOperatorNOT_EQUALS AdminSelectorOperator = "NOT_EQUALS" - AdminSelectorOperatorIN AdminSelectorOperator = "IN" - AdminSelectorOperatorNOT_IN AdminSelectorOperator = "NOT_IN" - AdminSelectorOperatorEXISTS AdminSelectorOperator = "EXISTS" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_toleration.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_toleration.go deleted file mode 100644 index 8c779869a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_toleration.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a set of specific label selectors that the execution can tolerate on a cluster. -type AdminToleration struct { - // A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS. - Selectors []AdminSelector `json:"selectors,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go b/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go new file mode 100644 index 000000000..f12c82ff7 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin +// ComparisonExpressionOperator : - GT: Greater Than - LT: Less Than +type ComparisonExpressionOperator string + +// List of ComparisonExpressionOperator +const ( + ComparisonExpressionOperatorEQ ComparisonExpressionOperator = "EQ" + ComparisonExpressionOperatorNEQ ComparisonExpressionOperator = "NEQ" + ComparisonExpressionOperatorGT ComparisonExpressionOperator = "GT" + ComparisonExpressionOperatorGTE ComparisonExpressionOperator = "GTE" + ComparisonExpressionOperatorLT ComparisonExpressionOperator = "LT" + ComparisonExpressionOperatorLTE ComparisonExpressionOperator = "LTE" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go index 591c6d9de..86e9586a7 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go @@ -11,7 +11,7 @@ package flyteadmin // Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables. Each expression results in a boolean result. type CoreComparisonExpression struct { - Operator *CoreComparisonExpressionOperator `json:"operator,omitempty"` + Operator *ComparisonExpressionOperator `json:"operator,omitempty"` LeftValue *CoreOperand `json:"left_value,omitempty"` RightValue *CoreOperand `json:"right_value,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression_operator.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression_operator.go deleted file mode 100644 index 08e9aab9f..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression_operator.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// CoreComparisonExpressionOperator : - GT: Greater Than - LT: Less Than -type CoreComparisonExpressionOperator string - -// List of coreComparisonExpressionOperator -const ( - CoreComparisonExpressionOperatorEQ CoreComparisonExpressionOperator = "EQ" - CoreComparisonExpressionOperatorNEQ CoreComparisonExpressionOperator = "NEQ" - CoreComparisonExpressionOperatorGT CoreComparisonExpressionOperator = "GT" - CoreComparisonExpressionOperatorGTE CoreComparisonExpressionOperator = "GTE" - CoreComparisonExpressionOperatorLT CoreComparisonExpressionOperator = "LT" - CoreComparisonExpressionOperatorLTE CoreComparisonExpressionOperator = "LTE" -) diff --git a/gen/pb-go/flyteidl/service/openapi.go b/gen/pb-go/flyteidl/service/openapi.go index d97a2988b..b26a41217 100644 --- a/gen/pb-go/flyteidl/service/openapi.go +++ b/gen/pb-go/flyteidl/service/openapi.go @@ -78,7 +78,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _adminSwaggerJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x79\x73\x23\xb9\x95\x2f\xfa\xff\x7c\x0a\xdc\xf2\x8d\xa8\x2e\x0f\x25\x75\xdb\x33\x7e\x1e\x4d\xdc\x78\x8f\x2d\xb1\xaa\x75\x5b\x25\xc9\x5a\xba\xa7\xdf\xe5\x04\x1b\xcc\x04\x49\x58\x99\x00\x9d\x40\x4a\x45\x3b\xfc\xdd\x6f\xe0\x1c\x00\x89\xdc\xc8\xe4\xa2\xad\x9a\x33\x11\x6e\x15\x33\x13\xeb\xc1\xc1\x59\x7f\xe7\x1f\xff\x42\xc8\x3b\xf5\x48\xa7\x53\x96\xbd\x3b\x26\xef\xfe\x70\xf8\xed\xbb\x9e\xf9\x8d\x8b\x89\x7c\x77\x4c\xcc\x73\x42\xde\x69\xae\x13\x66\x9e\x4f\x92\x85\x66\x3c\x4e\x8e\x14\xcb\x1e\x78\xc4\x8e\x68\x9c\x72\x71\x38\xcf\xa4\x96\xf0\x21\x21\xef\x1e\x58\xa6\xb8\x14\xe6\x75\xfb\x27\x11\x52\x13\xc5\xf4\xbb\x7f\x21\xe4\x9f\xd0\xbc\x8a\x66\x2c\x65\xea\xdd\x31\xf9\x3f\xf8\xd1\x4c\xeb\xb9\x6b\xc0\xfc\xad\xcc\xbb\xff\x0d\xef\x46\x52\xa8\xbc\xf4\x32\x9d\xcf\x13\x1e\x51\xcd\xa5\x38\xfa\xab\x92\xa2\x78\x77\x9e\xc9\x38\x8f\x3a\xbe\x4b\xf5\x4c\x15\x73\x3c\xa2\x73\x7e\xf4\xf0\xdd\x11\x8d\x34\x7f\x60\xa3\x84\xe6\x22\x9a\x8d\xe6\x09\x15\xea\xe8\x1f\x3c\x36\x73\xfc\x2b\x8b\xf4\x3f\xe1\x1f\xb1\x4c\x29\x17\xf8\xb7\xa0\x29\xfb\xa7\x6f\x87\x90\x77\x53\xa6\x83\x7f\x9a\xd9\xe6\x69\x4a\xb3\x85\x59\x91\x8f\x4c\x47\x33\xa2\x67\x8c\x60\x3f\xc4\x2d\x91\x9c\x10\x4a\x8e\x33\x36\x39\xfe\x35\x63\x93\x91\x5b\xe8\x43\x5c\xe0\x73\x18\xcd\x55\x42\xc5\xaf\x87\x76\x99\xa0\xe5\x98\xa9\x28\xe3\x73\x6d\xd7\xfb\x9a\xe9\x8c\xb3\x07\x16\x76\x80\x13\x21\x66\x22\xbe\x33\x35\x67\x11\x9f\x70\x16\x93\xf1\x82\x70\x31\xcf\x35\xc9\xd8\xdf\x72\xa6\x34\x99\xf0\x44\xb3\x4c\x95\x7a\x91\x73\x96\xc1\x0a\x9e\xc5\xa6\x97\x4f\x4c\xf7\xa1\xed\x62\x54\xe1\xdb\x19\x53\x73\x29\x14\x53\xa5\x45\x20\xe4\xdd\x1f\xbe\xfd\xb6\xf2\x53\x7d\x06\x7d\xa2\xf2\x28\x62\x4a\x4d\xf2\x84\xb8\x96\xc2\xc1\xe0\x82\x1a\xf2\xa1\xb5\xc6\x08\x79\xf7\x3f\x33\x36\x31\xed\xfc\xee\x28\x66\x13\x2e\xb8\x69\x57\x21\x95\x06\xa3\x2d\x7d\xf5\xcf\x7f\x69\xfa\xfb\x9f\xc1\x8c\xe6\x34\xa3\x29\x33\xcb\xe2\xe9\x0a\xff\xaf\x32\x17\x43\x09\xa6\xf3\x82\x5a\xaa\x03\xaf\xcc\xf6\x82\xa6\xcc\xec\xbc\xd9\x2e\xfb\x05\xfc\x9d\x31\x25\xf3\x2c\x62\x64\xcc\x12\x29\xa6\x8a\x68\x59\x5b\x03\x0e\x2d\x18\x22\xae\x3e\x31\x5b\xc9\x33\x66\xf6\x4a\x67\x39\xab\x3c\xd5\x8b\x39\x0c\x52\xe9\x8c\x8b\x69\xb8\x14\xff\xec\x75\x9a\x1a\xd2\xfe\x1a\x33\xc3\x0f\x5a\x27\x36\x14\x7d\xf7\x4a\x44\x05\x19\x33\x62\x4e\x3c\x8f\x59\xc6\x62\x42\x15\xa1\x44\xe5\x63\xc5\x34\x79\xe4\x7a\xc6\x85\xf9\x37\x92\x6f\xe4\xd6\xec\xf5\xac\x0d\xfc\xb9\x7c\x65\xee\x14\xcb\xcc\xc0\x1f\x78\xcc\x62\xf2\x40\x93\x9c\x91\x89\xcc\x4a\xcb\x73\x38\x14\xb7\x33\xb3\x0e\xe9\x98\x0b\x38\x79\x66\x2d\x1d\x85\xfc\xab\x5b\xae\x7f\x25\xa6\x3f\x92\x0b\xfe\xb7\x9c\x25\x0b\xc2\x63\x26\xb4\x39\xd7\xaa\xda\xda\xbf\x4a\xe8\x9f\x26\xe4\x80\x98\x75\x66\x99\x86\xf5\x96\x42\xb3\x2f\x5a\x91\x03\x92\xf0\x7b\x46\xde\x9f\x73\xa5\x49\xff\xea\xec\x7d\x8f\xbc\x3f\x2f\x18\x87\x7a\xff\x0c\x2b\xec\xff\xfe\xef\xe0\xe8\x69\x3a\xad\x1e\xba\x77\x7d\x73\x9a\x6f\xf0\x02\x2a\x5a\xf8\xef\x7f\x09\xdb\xb1\xfb\xb5\x9c\xab\x17\x2c\xdd\xf2\xf3\xae\x5c\x1c\x96\xa9\xcc\xc0\x95\xd9\xa1\x6d\xf9\x77\xed\x76\x68\x60\xde\x6a\x4b\xee\x6d\xc6\x5e\x65\xdf\xea\x6d\xf1\x6f\x33\x85\xa7\xe6\xe1\xdb\x30\x70\xaa\xe1\x64\x51\x2e\xf0\x20\xfa\x73\x99\x29\x73\x16\xdd\x09\x79\x25\x6c\x6b\x1b\x7e\x1e\xcc\x2c\x60\xe9\x8e\x53\x07\xab\xf2\x0a\xe7\x9d\xf0\x94\xaf\xda\xdf\x33\x11\x1b\xe1\xd1\x32\x54\x91\xa7\x63\x96\x99\x65\x70\xac\x15\x66\x3b\x36\xac\x56\xe7\x99\x60\x71\x87\x69\xfe\x2d\x67\xd9\x62\xc9\x3c\x27\x34\x51\x6d\x13\xe5\x42\x33\x23\xa9\x57\x1e\x4f\x64\x96\x52\x6d\x5f\xf8\xd3\xbf\xad\xbb\x10\x5a\xde\xb3\x55\xfb\x7f\x86\xbb\x19\x51\x05\x64\x90\xe6\x89\xe6\xf3\x84\x91\x39\x9d\x32\x65\x57\x24\x4f\xb4\xea\xc1\x6b\x46\x3b\x60\xd9\x81\xbf\xe5\xa0\x07\x77\xbb\xe7\x0a\x7e\x21\x13\xcf\xec\x04\xfb\xa2\xa1\xa5\xa1\x80\xfb\x1d\x96\x28\xbc\xb5\x9e\x60\x29\x37\xa3\x19\x25\x33\x3d\x1a\x2f\x0e\xef\x59\xad\xdf\x56\xca\xa1\x82\x50\xad\x33\x3e\xce\x35\x33\xf3\x36\x6d\xb8\xfb\x19\xd8\x23\x0a\x01\x5d\x58\xc3\xcb\x4d\x38\xe6\x19\x8b\x60\x6e\xeb\x1c\x18\xff\x95\x99\xb7\xd1\xc4\x16\x38\xfb\x7b\xb6\x00\x99\xa7\x61\x05\xfc\x96\x0f\xc5\x50\x90\x03\x72\x3a\xb8\x39\x19\x5c\x9c\x9e\x5d\x7c\x3a\x26\xdf\x2f\x48\xcc\x26\x34\x4f\x74\x8f\x4c\x38\x4b\x62\x45\x68\xc6\xa0\x49\x16\x1b\xb9\xc6\x0c\x86\x89\x98\x8b\x29\x91\x59\xcc\xb2\xa7\x5b\xc6\xca\x53\x26\xf2\xb4\x72\xaf\xc0\xef\xc5\xe8\x2b\x5f\x18\x31\xc6\x3f\x2a\x3d\xf9\xef\xda\x02\xc3\x8c\x4d\xdf\x41\x6b\xcf\x26\x38\x45\x33\x9e\xc4\x19\x13\x47\x9a\xaa\xfb\x11\xfb\xc2\xa2\x1c\xef\xe4\x7f\x94\x7f\x18\x19\xe9\x57\xc6\xac\xfc\x4b\xe9\x1f\x85\xb8\xb5\xf6\xa7\x5e\xdf\x5e\xfb\x4b\xd0\xce\xbb\x7d\x07\xbf\xf0\xb8\xf1\x6d\xf8\x65\xc5\x1c\xdc\x3b\x4b\x06\xeb\x5e\x69\x1d\x95\x7b\xc1\x0a\x7b\x8d\xef\x64\x4c\x67\x8b\x11\xd5\x9a\xa5\x73\xbd\xa6\xe5\x81\x92\xc4\xc8\xae\xcb\x64\xd5\x0b\x19\xb3\x81\xeb\xef\x57\x2b\x82\xa2\xb0\x89\x5c\x6b\xc2\x32\x26\x22\xd6\xde\xc2\x2d\x55\xf7\x45\x0b\xab\x05\x5e\xa0\x31\x62\x96\x9f\x14\x04\x56\xeb\xb8\x10\x7b\xcd\x92\x14\x6f\xae\x12\x76\x4b\xf3\x51\x1f\x65\x66\x86\xf7\x16\x04\xde\xd2\xc0\x9f\x43\xe6\xdd\xf4\x44\x7f\x75\x56\x8e\x0d\xf9\xd3\xde\x26\xb2\xfd\x4a\x76\xb5\xa0\xc8\x8c\xa8\x85\xd2\x2c\x5d\x69\x4b\x79\x3b\x0b\x61\x2f\xa0\xd7\x3a\xe0\xca\x1d\xf8\x1b\x38\xf5\xe5\x1b\x7d\x7f\xbc\xd7\x58\xb2\x5d\x59\x42\x5f\xfb\x3c\x9d\xb7\x6b\xf9\x54\x6f\xdc\xf6\x05\xee\x9e\x37\x31\xcd\x92\xac\xb9\xeb\x41\x3e\x91\x39\xa3\x75\xaf\xdc\x6a\x8f\x60\x00\x2b\x14\xd9\xb2\x2d\xdd\x9f\x3f\xf3\x69\x68\x01\x42\x73\x9f\x9e\x71\x15\x18\xc3\x48\x24\x33\x94\x05\x63\x7b\xde\x51\x97\xed\xdf\xf6\x6f\x06\xb7\xc7\xa4\x4f\x62\xaa\xa9\x39\xe0\x19\x9b\x67\x4c\x31\xa1\xc1\x4e\x60\xbe\xd7\x0b\x92\xca\x98\x25\xa8\xd1\x7e\x34\x92\x35\x39\xa5\x9a\x9e\x50\x4d\x13\x39\x3d\x24\x7d\xf8\xa7\xf9\x98\x2b\x42\x13\x25\x09\x75\x64\xc5\x62\xd7\x04\x15\xb1\x63\x2d\x94\x44\x32\x9d\xf3\xc4\xfb\x11\xbc\xf1\x86\x8b\x98\x3f\xf0\x38\xa7\x09\x91\x63\xc3\x55\x8c\x06\x3e\x78\x60\x42\xe7\x34\x49\x16\x84\x26\x09\xb1\xdd\xba\x17\x88\x9a\xc9\x3c\x89\x4d\xbb\x6e\x94\x8a\xa7\x3c\xa1\x99\x51\xf1\x71\xb4\x97\xb6\x2d\x72\x3b\x63\x7e\xac\x30\x2e\xb3\x9a\x29\xbd\x67\x8a\x70\x4d\xe6\x52\x29\x3e\x4e\x8a\x33\x7f\x77\x46\x60\xdc\x27\xe7\x67\x60\x2f\x88\x34\x91\xc8\x43\x5d\xe7\xd6\x3e\xe4\x7a\x4c\xa9\x10\x0c\x3a\x96\x7a\xc6\x32\xdb\xbd\x7d\xf9\xa5\x55\xff\xbb\x8b\x9b\xab\xc1\xc9\xd9\xc7\xb3\xc1\x69\x5d\xf7\xbf\xed\xdf\xfc\x58\xff\xf5\xe7\xcb\xeb\x1f\x3f\x9e\x5f\xfe\x5c\x7f\x72\xde\xbf\xbb\x38\xf9\x61\x74\x75\xde\xbf\xa8\x3f\xb4\x64\xd5\xd9\x8c\x10\x8e\x6c\xcd\xb3\xb5\xb7\x99\x3e\x95\xcd\xb4\xf7\xf5\x1a\x4d\xad\x53\xaa\xbb\xc1\xd4\xdb\x28\xec\x97\x64\x4e\x95\x42\xc9\x08\x47\x70\x38\x14\x9f\x65\x66\x18\xd8\x44\x1a\x1e\x61\xa4\x27\x9d\xe5\x91\xe6\x62\xea\x3f\x3a\x26\xc3\xfc\xdb\x6f\xff\x18\x9d\x73\x71\x0f\x7f\xb1\xd7\xb8\x38\x7b\x8b\xf2\xde\xa2\xfc\xdb\xb2\x28\x1b\xd1\xe7\x28\x34\x24\xef\x36\xb8\xca\x08\x17\xe0\x13\x37\xa2\x84\xcc\xb5\xf9\xd3\x74\x09\xe4\xb1\x24\xc4\xaa\x9b\xc1\xd2\x47\x58\xb5\xf4\x91\xc9\x14\x04\xb9\x2f\x5c\x01\x33\x7a\x94\xd9\xfd\x24\x91\x8f\xdd\xcc\x95\x9f\x98\xf6\xc3\x30\x82\xd3\x5b\xb0\x52\xfe\x6c\x67\xe8\x07\xfe\x89\x69\x33\xf6\x6b\xdb\xcb\x3e\xd8\x6a\x1f\x6c\xf5\xb2\xc1\x56\xaf\xca\x54\xf8\xf4\xac\xb5\x6c\x57\x44\xfe\xda\xe2\x87\x6b\x75\xb3\xb5\x78\xd1\x02\x27\xd9\xb3\xf0\xe4\xb2\x2b\x6a\x97\x7c\xb9\xec\x6c\x5a\xc1\x93\x4b\xc3\x78\x2b\x7c\xb9\x34\xe8\xe7\xe7\xc9\xbf\x09\x3f\xd1\xde\x0d\xb4\xe1\x42\xbd\x49\xd6\xdd\xf1\x56\x7a\x36\x27\xce\xd3\x5f\x25\xb5\x98\x8f\x75\x82\x3c\xd6\x88\xea\xe8\x1c\xc6\xb1\x22\x6e\xa3\x31\x50\xa3\x29\x32\xa3\x1e\x8a\xd1\x18\x7b\xb1\x5d\xb0\xc5\xa6\xb7\x5e\xf7\xf0\x89\x75\x6f\xbd\xee\x81\x13\x9f\x98\x2e\x0d\xe3\xad\xdc\x7a\xa5\x41\x3f\xff\xad\xf7\x1b\x8d\x97\xd8\x07\x48\x3c\xe1\xd2\x7d\xed\x77\xe5\xeb\x0d\x81\xf8\x0d\xc4\x3c\xec\x83\x1c\xd6\x5a\xa3\xaf\x2b\xaa\xe1\x6b\x0d\x63\x78\x9b\x71\x0b\xfb\x40\x85\x7d\xa0\xc2\x4b\x78\x94\xde\x5e\xa0\xc2\x93\x2a\xbe\xcc\x90\x95\x02\x2b\x6a\xa8\xdc\xbc\x9b\x4b\xd5\xae\xef\x85\xce\xeb\x06\xbd\x0e\xda\x2c\x5b\x33\x81\x7a\x7f\x25\x33\xaa\x88\x8c\xa2\x3c\xab\xb8\x68\xab\xa7\xfc\x24\x63\x54\x9b\x23\x52\x36\x5c\x12\x68\x99\x64\x2c\x92\x19\x38\x29\x29\x99\xcf\xa8\x62\x44\x67\x54\x28\xbe\x4a\xcb\xc3\x56\x61\x5c\xa6\x9d\xb7\xa0\xe0\xd5\x17\xf1\xb9\xd4\xbb\xb1\x8c\x6b\x07\x12\xcf\x6a\xd3\x93\xe5\x37\xc9\xce\xa6\x0e\x69\xbf\x5d\x66\xfe\x84\x47\xc5\xdc\x5a\x3b\x3e\x2a\x25\x35\x7e\xd3\xa3\x52\xb6\x76\xec\xe4\xa8\xc0\xb8\xde\xca\x51\xa9\x2f\xe2\x6f\xe6\xa8\x34\x4d\xfd\x35\x1c\x15\x17\x0e\xb0\xe3\xe3\x52\xf3\xc1\x6f\x7a\x64\xea\xe1\x0a\x3b\x39\x36\x7e\x7c\x6f\xe5\xe8\x34\x2f\xe8\x6f\xe6\xf8\xb4\x4d\xff\x65\x8f\x90\xf7\x43\x74\x3e\x3c\xb7\x19\x9f\x4e\x59\x86\x9a\x51\x64\x48\x71\x35\xd4\x52\x61\x79\xdf\xec\xc0\xac\x3e\x0d\xbe\x87\xb7\x70\x12\xfc\x60\x71\xec\xbf\x99\x23\x50\x9b\xf7\x2b\xa1\xfd\x23\xc3\x89\x1f\x00\xad\xad\xdb\x19\xb8\x66\x40\xf8\x70\x81\xcc\x33\xf6\xc0\x65\xae\x92\xc5\x41\x96\x8b\x26\x6e\x0f\x46\x82\x47\x9e\x24\x44\x8a\x64\x41\x94\xa6\x99\x76\x8f\xc5\x14\x3d\x4a\xe6\x30\x25\x54\x69\x72\x2f\xe4\xa3\x20\x13\xca\x93\x3c\x63\x64\x2e\xb9\xd0\x87\x43\x71\x26\xc8\x35\x8e\x11\x34\xef\x1e\xc9\x95\x39\x82\x11\x15\x42\x6a\x12\xcd\xa8\x98\x32\x42\x85\x83\xae\x29\x28\x83\xc8\x8c\xe4\xf3\xd8\x1c\x2c\xd3\x45\xc5\xc6\x54\x1c\xb0\xa1\xb8\x05\x2b\x86\x22\xec\x8b\xce\x58\xca\x92\x85\xe9\xc3\xd0\xbe\x96\xc4\xae\x0f\x0e\xd5\x1a\xc4\x59\x96\xc9\x4c\x81\xce\x3e\x5e\xfc\x9d\x0a\xcd\x05\x23\xa0\x66\x2a\x04\x3e\x3a\x20\xe7\x52\x41\x4c\xf6\x8f\x7f\x56\x24\x4a\x72\xa5\x59\xd6\x23\xe3\x7c\xaa\x08\x17\x64\x9e\x50\x3d\x91\x59\x6a\x46\xc8\x85\xd2\x74\xcc\x13\xae\x17\x3d\x92\xd2\x68\x86\x6d\xc1\x1a\xa8\xde\x50\xc4\xf2\x51\x28\x9d\x31\xea\x7b\x77\x0f\xc9\x37\xe1\x33\x24\x00\xf5\xa1\x07\x86\x7b\x9e\xce\x93\x45\x38\xfc\x20\x11\x1a\xf6\xc4\x34\xc2\x62\x32\x66\x11\xcd\x95\x35\xec\xe8\x6c\x41\xd8\x97\x19\xcd\x15\xec\x9d\x99\x9e\xb5\x7a\x44\x32\x9d\x27\x4c\x33\xc2\x27\x44\x67\x9c\xc5\x84\x4e\x29\x37\x4b\x77\xc3\x96\x24\x6e\x7b\xa2\xb7\x1b\x68\xa9\xfe\x57\xb0\x7c\xa4\x32\x63\x24\x66\x9a\xf2\x44\x2d\x77\x4a\x3e\x2b\xc1\x91\x27\xa7\x37\xf2\x7a\xc9\x8d\xbc\x6a\x6a\x5b\x72\x13\xda\x1d\xdb\x5f\x85\x6f\xe9\x2a\x2c\x73\x85\x57\x71\x17\x22\x48\xc4\x0e\x04\x42\x61\xad\xe2\x11\x4d\xb6\x94\x0d\xaf\xed\xa0\xd6\x96\x0e\xdd\x87\xfb\x43\xf1\xb6\x0e\x05\xee\xda\xeb\x39\x15\x6d\x09\x15\x3b\x47\x8a\x59\x07\xe3\x65\x49\x46\x84\x22\x29\xd5\xe6\x62\x9b\xda\x2b\xba\x23\x8a\x61\x01\xea\xf2\xa6\x0e\xca\x73\x20\xb9\x7c\xdd\x11\x0b\xfb\x48\x85\xdf\x20\x02\xed\xab\x49\x60\xdc\xe7\x40\x3f\x51\x0e\x34\x57\xfb\x1c\xe8\x7d\x0e\x74\xd7\x05\xda\xe7\x40\xef\x73\xa0\xdf\x6c\x0e\xf4\x93\xa6\x3f\xef\x2e\xc9\x79\x37\x99\xcc\x6f\x4a\x3a\xdf\x4b\xe6\x7b\xc9\x7c\x9f\xae\xec\xa7\xb6\x2b\x2e\xe8\xbe\x7e\x17\xb3\x84\x69\xd6\x6e\xa0\x63\x59\x6a\x14\x0e\xbc\xe1\xb9\x30\xa2\xe0\x34\x63\x4a\x6d\xcb\xd3\x7c\xc3\x61\x79\x85\x06\x7f\x44\x81\x32\xeb\xc9\x12\xec\x3a\xcb\x98\x9d\x6f\xfb\x6d\xb2\x3c\x3f\xfc\x3d\x64\xc3\x9e\x07\xee\x79\xe0\x26\x53\x7b\x3d\xe6\xe8\xe0\x30\x3f\x97\x3d\xda\xf3\xf6\x79\xde\x2e\x9c\xde\xa1\xa3\xb5\x60\xb4\x48\xe1\x90\x95\x2a\xfd\xe1\xb6\x74\xbe\x25\xaf\x5f\xa7\xaf\x65\x7c\x1d\xdb\x79\x9b\x4c\x1d\xc7\xbe\xe7\xe8\x7b\x8e\xbe\xe7\xe8\x6f\x9b\xa3\xbb\x93\xfc\xa2\xee\xc5\xa0\x70\xda\x88\xc7\xdb\xd4\x4e\xeb\x5e\x87\x82\xa6\x2c\x1e\x40\x96\x98\xcf\x71\xcb\x7e\x35\x9f\x84\x55\xd1\x5c\x3e\x58\x77\x07\x64\xf8\x75\xb1\xea\xa5\x52\x56\x9b\xf9\x23\x8b\x02\x65\x67\xf1\x9b\x70\x49\x36\xae\xf0\x57\x52\x5c\xed\x75\x70\x91\x67\xaf\xad\xf6\x3a\xa6\xbd\x77\x91\xed\x4b\xab\xed\x9d\x40\x1d\x27\xbc\x77\x02\xbd\x5e\x27\x50\x87\x6d\x7c\x12\xcf\xee\x33\x1f\xcf\xe7\x12\x1d\xbb\x67\xee\xb8\x04\x1b\x11\x93\x7c\x9e\x48\x1a\x77\xac\x8e\x1e\x48\x74\x1d\xd2\x77\x44\x4c\x32\x36\xe5\x4a\xb3\xcc\xec\x4b\xa3\x60\xb8\x3a\x9f\xe7\xad\x96\x41\xef\x1c\xb1\x19\x76\xfb\xee\xdf\x3a\x0c\xff\xda\xde\xd9\xc0\x89\xc6\x34\xf6\xf5\x89\x41\x7c\x4b\xe9\x82\xcc\xe8\x03\x73\x51\xe6\x0f\x34\xe1\x31\xad\xae\x75\x65\x86\xcb\x06\xf4\x1f\xeb\x0d\x88\x96\x87\xe3\x0b\xda\xa9\x72\x14\xb0\x05\xa8\x80\x77\x66\x46\x2b\x4f\x32\x46\xe3\x05\x19\x33\x26\x3c\xd9\x34\xdc\x27\x2d\x63\xde\x89\xe0\xfc\xe2\x5a\x69\x9d\x7a\x5e\x8b\x5a\xfa\x8c\x71\xaf\xcd\xfc\x66\x7b\x1d\x74\x7b\xc5\x53\xfd\xe1\x6d\xb1\xa0\x7d\x2c\xec\xde\x36\xf9\xf2\xb6\xc9\x7d\x2c\xec\x5e\xd1\x7f\x65\x8a\xfe\x3e\x16\x76\x1f\x0b\xbb\x37\x83\x2c\x9f\xf6\xde\x0c\xf2\x55\xc4\xc2\x76\x92\xe1\x37\x8c\x86\x7d\xe3\xd2\xfc\x5e\x98\x77\xef\xed\x85\xf9\xbd\x30\xff\x95\x0a\xf3\xaf\x63\x85\xf7\x92\xfc\x5e\x92\xdf\x4b\xf2\x7b\x49\x7e\x2f\xc9\xef\x7c\x19\xf7\x92\x7c\xb3\x24\x0f\x7f\xb9\x62\x3b\xeb\x8a\xf5\x6b\x8a\xf3\x6b\xa7\xbb\xad\xef\x0c\xfc\xc4\xf4\x5b\xf5\x04\xee\xa5\xf6\xbd\xd4\xfe\xba\xa5\xf6\x57\x33\xa1\xaf\xaf\x50\xc6\xbe\xd4\xc4\xbe\xd4\xc4\xbe\xd4\xc4\x13\x97\x9a\x70\x5f\x77\xc8\x91\xb2\x87\x4b\x53\x9d\x2b\xc4\x2a\x2e\x82\x4d\x3a\x89\x3d\x1d\x52\xa3\x2a\x3d\xac\x96\x7b\x48\x5f\x93\x54\x1a\xdd\x4d\xb0\xd2\x3b\x8e\xc1\x61\x60\xcd\x94\x3f\x30\x41\x5c\x72\x40\xcf\x5e\x63\x3d\x30\xa6\xfc\xd3\x1f\x3e\x4c\xbe\xa5\x9a\x50\xa2\x79\xca\x0e\xc9\xd9\x04\xb9\x45\x64\x4e\x97\x62\x5a\x55\xa2\xb1\x90\xf2\xe1\x23\x11\x17\x63\x75\x7d\xf3\x22\x38\x07\x5f\xeb\x39\x66\x9b\x27\x1a\x59\xaf\x6b\x1c\x90\x46\xc7\x9e\x43\xc1\x41\x4b\x59\x96\xb8\x2f\x4b\xdd\xba\x97\x53\x1a\x1b\xc6\x10\x0c\xa1\xc8\x12\x0e\xdf\x87\x3b\x9d\x2b\x1f\x5e\x54\xfa\x1e\xbf\x06\xb8\x52\x80\x17\x05\x58\xf5\x4e\xc3\x98\x41\xf4\x9b\x11\xf1\xe2\x3c\x61\x84\x2a\x25\x23\x4e\x41\x8d\x41\x19\x80\x70\xed\x2c\x0d\xee\x25\xd7\x75\xcc\x15\x1d\x27\x2c\xb6\x6b\xcc\x8a\x68\xa7\xa5\x23\xe7\x8a\x8c\x99\x59\x62\xc3\xa6\xca\xab\x3f\x43\x09\xa4\x61\x34\xc1\x50\x58\x7d\x24\x4c\xe0\x40\x96\x48\xd0\x48\x9c\x6f\x55\x88\xde\x67\xdc\xf9\xa7\x7b\x91\x7a\x2f\x52\xff\x46\x45\xea\x57\x14\xa1\xf9\x2a\x12\x07\xc1\x07\x6a\x38\xff\xc8\x1b\x36\x55\x57\x5b\xcf\x39\x57\x5a\x91\x28\x57\x5a\xa6\xed\x92\xcf\x67\xd7\x43\xdf\x77\x70\x22\xc5\x84\x4f\x73\xbc\x5b\x7e\xb5\xb2\x89\x3f\xd1\x85\x9a\xb2\x98\xb3\x6e\x86\x21\x6f\xb7\x5e\xd5\x59\x63\x3e\x62\x83\x93\xb7\xa1\x9d\x37\x71\xdb\x35\x0f\xfd\xb9\x2e\xbd\x75\x94\xd5\xc2\x3e\x6e\x35\x4d\xa3\x5f\x8c\xae\x07\x37\x97\x77\xd7\x27\x83\x63\xd2\x9f\xcf\x13\x8e\x2e\x2b\xa4\x30\xfe\x77\x33\x29\xac\x1a\xe5\x49\xc4\x0a\x44\x08\xe6\x0e\x3e\x32\xa3\x0f\x92\x03\x72\x72\x7e\x77\x73\x3b\xb8\x6e\x69\xd0\x92\x04\x20\x0e\xb0\x74\x9e\x80\x7c\x74\x9f\x8f\x59\x26\x98\x91\xf0\x2d\xe4\x7b\xe1\x39\xc3\x46\x07\xff\x35\x38\xb9\xbb\x3d\xbb\xbc\x18\xfd\xe5\x6e\x70\x37\x38\x26\x8e\xb6\x4c\xb3\x66\x5c\x66\x14\xf1\x42\xd0\xd4\x68\xdd\xe5\xf2\x56\x7f\xcb\x59\x0e\xe2\x18\x9f\x8a\x94\x41\x25\x86\x52\x8b\x6e\xc0\xe7\xfd\xef\x07\xe7\xe5\x96\x67\x2c\xc4\xa1\x27\x09\x1d\xb3\xc4\xba\xf2\xc0\x3b\x65\xce\x4f\x80\xd8\x8f\x3e\xbe\x1c\x57\xf5\x2f\x77\xfd\xf3\xb3\xdb\x5f\x46\x97\x1f\x47\x37\x83\xeb\x9f\xce\x4e\x06\x23\xab\x49\x9d\xf4\x4d\xbf\xa5\x9e\xac\xc2\x45\xfe\x96\xd3\xc4\x68\xe4\x72\xe2\x90\xe9\xc9\xe3\x8c\x09\x92\x0b\xa0\x38\x54\xf3\x41\x2b\x09\x61\x79\x70\x46\x57\xe7\x77\x9f\xce\x2e\x46\x97\x3f\x0d\xae\xaf\xcf\x4e\x07\xc7\xe4\x86\x25\xa0\x08\xbb\x45\x87\x5d\x9c\x27\xf9\x94\x0b\xc2\xd3\x79\xc2\xcc\x6a\x50\x8b\x03\x31\xa3\x0f\x5c\x66\x25\x6d\x05\xd6\x11\x58\x01\xb4\xef\x14\xce\x51\xb0\x74\x97\x17\x1f\xcf\x3e\x1d\x93\x7e\x1c\xfb\x39\x28\x68\xa3\x44\x39\x0e\x4d\xe8\xa0\x86\x26\x14\x51\x0c\x08\x81\x02\xed\x0f\x2c\xcb\x78\xcc\x2a\x74\xd4\xbf\xb9\x39\xfb\x74\xf1\x79\x70\x71\x0b\x2b\xa6\x33\x99\x28\x32\x93\x8f\xe0\x05\x82\x19\x82\x73\xe8\x81\xf2\x04\x3a\x73\x9b\x25\x05\x79\x9c\x71\xf0\x1c\x42\x85\x02\xdf\x33\xda\x24\xb2\xbc\x9e\x54\xf1\xdc\x5a\x7f\xe9\xe0\xd5\x55\xf5\xea\x49\xaa\xbf\x51\x39\x16\xcb\x5e\x28\x51\x79\xfd\xc5\x55\xd4\x5a\xff\xa2\x42\x6e\xed\x06\x8a\x1a\xbd\xb4\xcf\xb4\xd8\xeb\xce\xf6\x89\xf2\x1a\x3e\xdb\xed\x6d\x18\x6f\x3c\x72\x76\xaa\xa3\x7f\x94\x18\xf0\x3f\x77\x18\xad\x85\x09\x3a\x4b\xb1\x0b\x83\x6c\xf5\x5f\xed\x35\xdb\xf1\xf2\x0e\xbe\x6c\xfa\xb0\xee\xc7\x09\x3e\x78\x0b\xb7\x72\x38\xdc\x57\x74\x03\x5f\x87\x72\x96\x13\xd7\x53\xa6\x69\x4c\x35\x35\x7c\x6d\xca\xf4\x21\xb9\x14\xf0\xec\x96\xaa\xfb\x1e\x71\x85\xc7\x88\xcc\x48\x21\xc8\x3e\x43\x82\xfb\x1b\x31\x60\xae\xaf\x5c\xed\x8d\x04\x7b\x23\x41\xf3\xca\xec\xa3\xe5\x5a\x56\x78\x57\x37\xea\x5a\x36\xff\xdd\x5d\x7c\x81\x89\xdf\x05\xbe\x54\x6c\xb4\xa5\x1b\x71\xa5\x3d\xf6\xed\x5e\x86\xcf\x6b\x91\xdd\xe9\xd5\x88\x75\xc9\xf6\xf7\x1e\xfe\xdf\xfe\xde\xdb\xdf\x7b\xfb\x7b\xef\x15\xac\xf0\x8b\x5b\xb7\x1b\xb8\xfb\x8b\x9a\xb7\x57\x29\xc8\x1b\xc3\xe4\x15\x0a\xf1\x3a\x40\x79\xbf\x76\xc1\xc3\x6b\x30\x6b\xd7\x35\x64\x45\xd4\x8c\x66\x58\xf0\x3b\x92\x69\x2a\x45\xd9\x6e\xde\x23\xde\xc9\x0f\x46\xc9\x95\x60\xaa\x86\xb2\x8b\x6e\xf8\xdb\xb0\x77\x07\xeb\xf2\x1c\xd9\x4d\x3b\x15\x21\x30\x6d\x60\xaf\x5f\x3f\xa1\x9c\xb1\xc7\x31\xdc\x29\x8e\xe1\xeb\x98\xeb\x93\x64\x42\xed\xde\x06\xff\x36\xb2\x9f\xf6\x80\x85\xfb\xfc\x9e\x7d\x7e\x0f\xfc\xbe\x07\x2c\xdc\x1d\xb5\x3e\xad\x4c\x2f\x63\x36\xaa\x54\xe8\xf2\xff\x1c\x55\x5d\x5e\xa5\x27\xa1\xff\xab\xf4\xa0\x48\x78\x82\xd6\x79\xbc\xcb\xaa\x5e\x17\x32\x66\x5b\x54\xf6\x32\x23\xea\x5c\xd5\xab\xd4\xd7\x2b\x17\xe1\xdd\x32\xa1\x28\x5f\x1a\xf8\x13\x0b\xf2\x2d\x14\xf3\x35\x5a\xa3\x1a\xe8\x7f\x6f\x9a\x5a\xb9\x50\x5f\x6b\xd9\x84\x82\xc1\xbd\x21\x47\x4d\xb7\x5b\xc0\x85\xf7\x8c\x5a\xee\x82\xe6\xe7\xfe\x46\x68\x7e\xfc\x34\x90\x36\xdd\x2f\x84\x0a\x92\x4d\xf9\x2a\xd8\x14\xc1\xa6\xd4\xfd\xdb\xb0\xf3\x84\x23\x7e\x0e\x4b\xcf\x52\x62\xfa\xea\xae\x89\x65\x47\x63\x7f\x59\x74\x5c\xae\xaf\xf5\xca\xd8\x23\xcf\x2c\xb3\xbd\xec\xa1\x5d\xf6\xa6\x9f\xd7\x33\xe1\xbd\xe9\xe7\x4d\x9b\x7e\xd0\x51\x3d\x9a\xd3\x8c\x09\xdd\x20\xa3\x57\xaf\x13\x78\x3d\xcc\xe1\x77\x52\x07\x34\x80\xd2\xa2\xbd\x90\xfd\x55\xf5\x75\xd9\x82\xac\x60\x30\x42\xb9\x22\xc8\x61\x3a\xfa\x47\xf1\x77\xa0\x04\x04\x3f\x36\x38\x7c\x97\x05\x82\x21\x9e\xbe\x32\xd7\x77\x6e\x63\xc2\x76\x95\xf9\xe4\x84\xc4\x16\x47\x6d\x7b\xfc\x98\x4b\x6f\x60\x71\x21\x70\x15\x33\x6c\x88\x2b\xb3\x3d\x1d\x38\x31\xac\x88\x9f\x58\x19\x66\x76\x85\x9f\x9e\xc2\x97\x6f\x2b\x2b\xaa\x65\xe8\xcf\x1b\x7e\x56\x27\xc7\x6e\xa7\xdb\x11\x07\xc7\x3c\x9f\x20\x99\xc4\x88\xca\x72\x12\x6e\xb8\xcb\xe5\xa6\x90\xea\xd4\x76\x3d\x3d\xb7\x00\x59\x3b\x73\xdd\x26\x6e\x69\xf4\xed\xce\xfb\xc5\x83\x71\x56\xd0\xfd\x8b\x06\xe6\x2c\x61\xdc\xdb\x95\xae\x7c\x31\xbe\xec\x6d\xf7\xcf\xc7\x99\x3f\x31\xfd\xf5\xb1\xe5\x4f\x4c\x3f\x17\x4f\xde\x94\x11\x2f\x65\x46\x45\xbd\xa2\x37\x1a\x27\x52\xe3\xbf\x6f\x76\xba\xeb\xc4\x6b\xfd\x8c\x93\xb4\xc1\x5a\x3e\x2d\x3e\x9c\xaa\x96\xd6\x80\x51\xd2\x01\xf7\xe9\xcb\xfb\xf4\xe5\x7d\xfa\x72\xf5\xa8\xef\xd3\x97\xf7\xe9\xcb\x8d\xc9\x56\x31\x4b\x98\x66\xad\x32\xdc\x29\x3c\x7e\x29\x19\x0e\x7b\x7f\x46\x09\x0e\x3b\xfc\xfa\x84\x38\x9c\xd7\x5e\x8e\xdb\xcb\x71\xbb\x98\xee\x6b\xd5\xa4\x1d\x95\xbf\x06\x4d\xba\x33\x6a\x53\x11\xb0\xb6\x32\x4e\xc1\x4e\xfb\xd7\x95\x01\x0a\x01\x02\xa6\x1b\xce\xaa\x20\x84\x2b\x37\xec\xb7\xc3\xe4\xd4\x53\xf3\xb1\x6d\x5c\xad\x6e\xdd\xbf\x5a\x4f\xeb\xbe\xc6\x47\xe3\x5a\xed\x1d\xc1\x4b\x16\x67\xef\x08\xde\x3b\x82\x5f\x9d\x23\x78\xe7\x2a\xd5\xd2\x4a\xfd\xd7\xf6\x6a\x5e\x1a\xa1\xee\x2e\x7a\xd4\x65\x0c\x29\x20\x2e\x79\xcc\xe6\x89\x5c\x80\xbd\x67\xa9\xe5\xdb\xd7\xe8\x6f\x08\xd4\xaa\x5e\xfe\xee\xed\xab\x9a\xd0\xfe\xda\xef\x7f\x37\xf2\xe7\x52\x6b\x5e\x8b\xd8\x5b\xcc\xfb\x55\x08\xba\x47\xff\xa8\xa4\x67\x74\xc2\x6f\x09\x12\x2a\x56\x1f\x83\xa1\x68\x7e\x12\x94\x12\xb0\xb7\xe6\x38\xd7\x41\xec\xa3\x32\x07\x60\xce\x32\xbd\x08\xde\x64\xe9\x5c\x2f\xfe\x73\x28\x78\x81\x38\xce\xa7\x42\x66\xc8\x03\xcd\xc7\x33\x2a\xe2\xc4\x9c\x1f\xe5\xdb\x89\xa8\x10\x52\x83\x70\x02\x33\x88\xc9\x03\xa7\x28\xca\xf4\xaf\xce\x3a\xc4\x07\x74\x3a\x8b\x25\xd7\xfe\x1b\x3a\x89\xcf\x8d\xe5\xbd\xe2\x16\xfd\x94\xc8\x31\x54\x9f\xc8\xcb\x26\x06\xd3\xc0\xde\x19\x5d\xda\xb9\x97\x62\x1e\x9a\xaa\xfb\x6a\xd2\x58\x39\x85\x60\xb4\x34\x8d\x6c\xc5\xbb\x25\x60\xc5\xe5\xaf\x56\x52\xcd\xca\xcf\x6c\xf2\x19\x3c\x86\x21\x57\xc7\xe1\x7e\x0c\x3b\x74\xbf\x15\x2d\xbb\x5f\x5c\xf5\x2e\xf8\x31\x63\x3a\x5b\x8c\xa8\xd6\x86\x21\xed\x32\xbf\xed\x96\xaa\xfb\x2d\xf2\xdb\xca\x9e\xa6\x15\xf9\x6d\xa5\xbe\x5e\x39\xc7\x2a\xe5\xb7\x95\x07\xfe\xe4\x1c\xab\x23\x71\x7f\x75\xa9\x0c\x5d\x8f\xea\x3e\xad\x61\x83\xa5\xfb\x5a\x53\x1c\x96\xf1\xe2\x57\x33\xc2\xca\x75\xf0\x35\x9e\xdc\xf2\xe5\xb6\x3f\xa2\xcb\xd6\xe8\xab\x2b\x33\x52\x91\x59\x56\xcc\xed\x8d\x94\x1b\xa9\x8a\x5d\xbb\x1e\xd5\xd3\xd8\xdf\x83\xdd\xd8\xd7\x1f\xdc\xd7\x1f\xdc\xd7\x1f\x7c\xf2\xfa\x83\xdd\x74\xd6\xce\x0a\x6b\x57\x6d\xb5\x9b\xaa\xda\xae\xa7\x3e\x81\xcf\xb9\xbb\x32\x59\xc9\x8d\x2f\xab\x91\x9b\xe6\xc6\x97\xba\x7f\x13\xce\xe9\xd2\x88\x9f\x23\x37\xfe\x37\xaa\x59\xee\xd5\xca\x27\x59\xb7\xaf\x55\xa7\x7c\xe5\x0a\xe5\x3e\xab\x7f\x8f\xa8\xb8\x0f\x35\xd9\xe1\xe2\xec\x43\x4d\xf6\xa1\x26\x5f\x6d\xa8\x49\xbb\x7a\xc2\xe3\xad\x33\x36\xd7\xc4\x50\xf7\x56\x86\xec\x57\x10\xa5\x8c\xd8\xdf\x01\x55\xbd\x49\x5b\x28\x64\xe9\x12\x0a\xf2\xe6\x9a\xc3\x59\xfc\x26\x54\x86\xc6\xd5\x7c\x0e\xd5\x61\x0f\xc8\xbd\x53\x40\xee\x57\x37\xed\xbd\x54\xb9\x97\x2a\xf7\x82\x53\xc7\x09\xef\x05\xa7\xd7\x2b\x38\xbd\x94\x36\xf4\x35\x61\x33\x19\x11\xab\x94\x95\xb4\x34\x4e\x19\xf1\x95\xc0\x99\x91\xcf\x13\x49\xe3\x55\x11\x47\xbf\x06\xe2\xdb\x12\xb9\x2f\x68\x37\x2b\xe2\x94\x2b\xe2\xdf\x32\xd9\x0e\x1b\x30\x3d\xbe\x05\xd1\xce\x8c\x13\x47\xdc\x21\x3a\x32\xec\xf0\xdd\xbf\x75\x18\xf8\xb5\xbd\x93\x81\xd3\x8c\x69\xec\x00\x0c\x50\x3c\x4b\xe9\x82\xcc\xe8\x03\x23\x13\xca\x13\xb4\xcf\xf1\x98\x56\xd7\xb7\x32\xb7\x65\x03\xfa\x8f\xf5\x06\x44\xcb\xc3\x29\x32\x1a\xcd\x7d\x81\x52\x55\x44\x13\xe7\xee\x83\x77\x66\x54\x11\x9a\x64\x8c\xc6\x0b\x32\x66\x4c\x04\x99\x6c\x5d\xc7\xbc\x13\xc1\xf8\xc5\xc3\x33\x43\xba\x79\xd1\x28\x6f\xe0\x1a\xad\x95\xab\x77\xae\x58\x56\x39\xc9\x16\x3a\xe4\x36\x8a\xa3\xfa\xc3\x5b\x61\x2e\xcf\xa1\x26\x7e\xc5\x5e\xa4\xbd\xa7\xe8\xb7\x59\x1f\xf2\xd5\x68\x1f\x7b\x15\x7d\x9f\x64\xbc\xf7\xfc\xec\x0d\x18\x7b\x03\xc6\xce\x97\xf1\x35\x19\x30\x5e\x50\x46\xc7\xdc\xa6\x27\x29\x9c\xf2\x5a\xa4\xf5\xbd\xb0\xbe\x17\xd6\xf7\xc2\xfa\x57\x2b\xac\xbf\x8e\x15\xde\x4b\xea\x7b\x49\x7d\x2f\xa9\xef\x25\xf5\xbd\xa4\xbe\xf3\x65\xdc\x4b\xea\x15\x49\x1d\xfe\x72\x68\x01\xeb\x8a\xed\x9d\xc5\xf5\xcd\xa0\x01\xba\xb9\xe9\x2c\x36\xc0\x5b\x91\xcc\xf7\x52\xf9\x5e\x2a\x7f\xdd\x52\xf9\xab\x99\xd0\xd7\x97\x10\xbc\x4f\xa9\xdd\xa7\xd4\xee\x53\x6a\x5f\x22\xa5\xd6\xf1\x92\x65\x12\xce\xb2\xba\x3e\x3f\x59\xe6\xf2\x0d\x17\x51\x92\x83\xa8\x6a\x7e\xfe\x3e\xe7\x49\x4c\x40\x45\x32\x9a\x2e\x97\xe2\x03\xd0\x13\x90\x02\x8c\xd3\x55\xa2\x58\x2e\xc1\xfc\x54\x63\x75\xaf\x56\x88\x29\x46\xbb\x29\x0c\xdb\xae\xf6\xd4\x97\xe3\xdd\xa0\xfa\x5f\xe9\x37\xd7\xd0\x2b\xaa\x09\xd8\x73\x62\x89\xe1\x48\x6e\x7c\x4f\x5c\x1d\xb0\xb1\xcf\xb5\x6a\x05\xfe\x6c\x3f\x7a\x5b\xa5\x0c\xea\xa3\xde\x57\x08\x24\xc1\xae\xed\x2b\x04\x3e\xe1\xbc\xdd\x39\x5b\x31\x73\x47\xa3\x68\x0b\x7f\xa3\xd3\x7e\xf1\x60\xc7\xf6\x93\xfe\xa2\xa1\x8f\x8d\x17\x59\x2d\xb7\xee\xe8\x1f\x8d\xf7\xd4\x0b\x14\x46\x5c\xfb\x72\xda\x49\x89\xc4\x6d\xae\xa7\x4f\x4c\x7f\x2d\x77\xd3\xbe\x4c\xe2\xbe\xbc\xce\x8e\xa6\xbb\xd1\xdd\xf3\x66\x67\xbb\x2f\x0a\xb9\x2f\x0a\xb9\x2f\x0a\xb9\x2f\x0a\xb9\x2f\x0a\x49\x7e\xe3\x45\x21\xd7\x96\x5f\x77\x50\x1e\x72\x1b\xe9\x15\xbb\xff\x5a\x04\xd8\x7d\x89\xc8\xbd\x0c\xbb\xbb\xe9\xfe\xb6\x64\xd8\x57\x68\x41\x79\x15\xb5\x30\xbd\x05\xe5\xc5\x61\x89\x3c\x6b\xef\x0c\x4d\x14\xc6\xbd\xf8\xaf\x77\x8a\x50\xe4\x36\x6d\x8f\x52\x64\xff\x6f\x8f\x52\xb4\x47\x29\x6a\x99\xf5\x3e\xb0\x7a\x8f\x52\x44\xf6\xa1\xc3\xfb\xd0\xe1\xd7\x1c\x3a\xdc\x61\x1b\xf7\x28\x45\x1d\x45\xc6\x27\x42\x2a\x72\x32\xd7\x56\x68\x45\x0d\xe2\xe0\x6a\xc4\xa2\x9f\xeb\x1a\xd1\xab\x15\xf5\xdc\x58\xf7\xc8\x45\x7b\xe4\xa2\x6d\x69\xe7\x55\x28\xa0\xcf\x88\x60\xd4\xc4\x61\xd6\xc9\x8b\x6e\x60\x2e\xdb\x2a\x98\x6f\x03\xcd\xc8\x8d\x76\x9f\x24\xbd\x4f\xc7\x78\xfd\xe9\x18\xaf\x2e\x49\xfa\xd5\x68\x2a\x7b\x75\x7e\x9f\x27\xbd\xcf\x93\xde\x1b\x3b\xf6\xc6\x8e\x9d\x2f\xe3\x6b\x32\x76\xbc\xb0\xdc\xfe\x84\xa8\x46\xaf\x51\x82\xdf\x0b\xf0\xf8\xde\x5e\x80\xdf\x0b\xf0\x5f\xa9\x00\xff\x3a\x56\x78\x2f\xbd\xef\xa5\xf7\xbd\xf4\xbe\x97\xde\xf7\xd2\xfb\xce\x97\x71\x2f\xbd\x3f\x1b\xd2\x51\x93\x08\xbf\x36\xda\xd1\x9a\x6e\xbe\x20\x99\xed\x2d\x49\xeb\x7b\x49\x7d\x2f\xa9\xbf\x6e\x49\xfd\xd5\x4c\x68\x8f\x7c\xb4\x47\x3e\xda\x23\x1f\xed\x91\x8f\x36\x92\x91\xfe\xc5\x1e\xcb\x77\xc1\x4d\xec\xaf\xec\x77\xdf\x27\x72\x7c\xbb\x98\x33\xf3\xdf\x53\x9e\x32\xa1\x40\xa2\xe5\x7a\x11\xca\x44\x2d\x2b\x5f\x5f\xf3\x77\x37\x67\x17\x9f\xce\xc3\x54\xb5\x77\x9f\xef\xce\x6f\xcf\xae\xfa\xd7\x7e\x5d\xfc\xac\xc2\xb5\xb0\xdf\x95\xc4\x3a\x4b\xf2\xd7\xcc\xe8\xaf\x70\x6a\x6e\x34\xd5\xb9\xda\x6c\x64\xd7\x83\x9b\xc1\xf5\x4f\x90\x6a\x37\x3a\x3d\xbb\xe9\x7f\x7f\x5e\x22\x88\xd2\xf3\xfe\xc9\x5f\xee\xce\xae\xdb\x9f\x0f\xfe\xeb\xec\xe6\xf6\xa6\xed\xe9\xf5\xe0\x7c\xd0\xbf\x69\xff\xfa\x63\xff\xec\xfc\xee\x7a\xb0\x74\x3d\x96\x8e\x76\xb9\x22\xa3\x60\x91\x20\x8b\x85\x44\x96\x6b\x64\xc5\x1a\x12\x2f\x3e\x3a\x76\xd8\xd4\xd7\x31\xb9\xb3\x76\x01\x6e\x1b\x77\x21\x49\xbe\x21\x54\x68\x62\xae\xe8\x38\x61\x71\xad\x25\xb7\x86\x6d\x2d\xd1\xd2\xa0\x1e\x8d\x06\xee\x45\x4e\xc3\xf3\x22\xe4\x05\x04\x12\x80\x35\x13\x71\x43\x1f\xb8\x0f\xad\x3d\x08\xc3\xbb\xf8\x03\x2b\xf5\x14\xe5\x59\xc6\x84\x4e\x16\x28\x70\xab\x5a\xa3\x6e\xfb\xda\x9a\xb5\x77\xaa\x6f\x70\x46\x15\x46\x5e\x95\xc6\x9f\xb1\x84\x51\xd5\x30\x66\xbb\xfb\xdd\x96\xc5\xef\x95\xb5\xe8\xe0\x65\x34\xa1\x3c\xc9\x33\x56\x39\x2d\x52\xfc\x35\x17\xa0\xc1\x0e\xbe\x98\xcb\xcc\x9c\xe4\x73\x39\xe5\x11\x4d\x2e\xa1\x19\x99\x6d\x76\x72\xfa\x17\x25\x52\xbe\xbc\x5e\x4a\xb9\xe1\xdb\x55\x42\x3d\x20\xfd\x8b\x53\x48\x32\x76\x43\x2d\x5e\xd5\x5c\x27\x30\xa0\x0b\xa6\xcc\x3c\x23\x29\x62\xeb\x02\x31\x17\xd8\x22\x90\x4b\xff\x2a\x21\x51\x3b\x57\x46\x5b\xea\x5f\x9c\x92\x23\x72\x79\x3d\x14\x97\x46\x8d\x36\x74\xcf\x8c\x40\x87\xcb\xc6\x15\x11\x52\x13\x9e\xce\x65\xa6\xa9\xd0\x46\x96\x85\x9b\xcc\xae\x08\x12\xf1\x89\x4c\xd3\x5c\x53\x43\x2b\xb5\x45\x15\x68\x15\xb8\x61\xfa\x2c\x06\x0f\x43\xc3\x1a\xe2\x55\x57\xcc\x65\x9e\x99\xf6\xcd\x35\x5b\x56\x25\x79\x5c\xd3\xc6\x5c\x13\x34\xcb\x68\xf9\x42\x7c\xc7\x35\x4b\xab\xef\x77\x8c\x90\xfd\x67\xa3\x9e\x7c\x82\x19\x29\x2c\xeb\x67\xd1\x8c\x6b\x16\x69\x43\x45\x1b\xd1\xc4\xdd\xc5\x8f\x17\x97\x3f\x87\x97\xe0\xbb\xfe\xe7\xd3\x3f\xfd\x5b\xe9\x87\xeb\xcf\xb5\x1f\x46\x3f\xfd\xa9\xf6\xcb\xff\xb3\x94\x9e\xaa\x3d\xd5\x54\xd5\x60\x2e\x07\x20\x15\x82\x69\xd4\x4d\x95\xf0\x94\x4e\x19\x51\xf9\xdc\x50\x80\x3a\x2c\xef\xaf\x91\x8a\xce\x25\x8d\xb9\x98\x62\x86\xf0\x39\xd7\x2c\xa3\xc9\x67\x3a\xff\xe8\xcc\xb8\x1b\xac\xce\xff\xbe\x29\xe5\x73\xbf\xfb\xa5\xff\x39\xcc\x08\x7f\x77\x75\x7d\x79\x7b\xb9\x74\xd6\xa5\x16\xea\xc7\xc8\x3c\x3e\x86\xff\x25\x47\xc4\xb4\xee\x85\xb7\x94\x69\x6a\x84\x5a\xf2\x0d\x66\x35\xfa\x2c\x24\x2e\x12\x38\x35\xf3\x8c\xa7\x1c\xb8\x22\x1a\xb2\x3e\xa0\x7c\xe8\x05\x60\x7f\x6e\xf0\x03\xcc\x5b\xb6\xf7\x8a\x88\x69\x16\x93\xbf\xaa\x2a\xbc\x00\xd8\x4f\xf1\x07\x16\x93\x03\x32\xd3\x7a\xae\x8e\x8f\x8e\x1e\x1f\x1f\x0f\xcd\xdb\x87\x32\x9b\x1e\x99\x3f\x0e\x98\x38\x9c\xe9\x34\x41\x38\x05\xb3\x0a\xc7\xe4\x2a\x93\x86\x0b\x82\x8e\xc9\x32\x4e\x13\xc8\xa6\x1e\x73\x41\x33\x80\x69\xf8\x35\x92\x19\x3b\x2c\x36\xc6\xda\x56\x2c\x2b\xb4\xf6\x97\x23\xf3\x52\x03\x33\xa9\xee\x27\x89\x59\xc4\x63\x7b\x53\x32\x11\x49\x30\xc0\xa1\xc9\xde\xb4\xe7\x52\x41\x99\xf5\x97\xfa\xe5\x0c\xe4\x6d\x1a\xb3\x00\x0d\x41\xcb\x32\xc1\x19\xd9\xfd\x0c\x35\xaf\xdc\x68\x99\x10\xa0\x0b\x17\x83\x7b\x75\x6e\x26\x1c\xc9\x84\x8c\xf3\xc9\x84\x65\xa1\xbb\xb6\x67\x04\x72\xae\x48\xc6\x22\x99\xa6\x70\xe9\x99\xaf\x72\x85\x54\x0d\x2b\x66\x47\x7b\x38\x14\xb0\xff\x46\x52\x07\x0a\x88\x25\xb0\x3a\xc1\x8c\xc6\x2e\x16\xd8\xcd\x38\x9f\x94\xdc\xc1\x00\x53\x42\x63\xc2\xf5\x50\xf4\x93\x84\x64\x2c\x95\x9a\x85\x91\xc6\xe0\x3b\x2a\x2d\x38\xb0\xc8\x8c\xcd\x13\x1a\xb9\x3c\xf6\x44\x46\x34\x21\x13\x9e\x30\xb5\x50\x9a\xa5\x61\x03\xdf\x80\xb9\xc1\xac\x19\x57\x24\x96\x8f\x22\x91\xd4\xce\xa3\xfa\xd9\x87\xf2\x69\x1c\x38\x08\x89\x41\x96\xc9\x0c\xfe\xe7\x47\x2e\xe2\x9d\x71\xa8\xbb\x9b\xc1\x75\xf8\xef\x9b\x5f\x6e\x6e\x07\x9f\xd7\xe3\x3e\x9e\xb2\x60\x78\xa0\x86\x1e\x93\x1b\x5c\x04\x99\x99\x4b\x3d\x6b\x99\xd4\x67\x4b\x4a\xc5\x0f\x32\xde\x90\xfb\x7e\xee\x5f\xdc\xf5\x4b\x1c\xe5\xe6\xe4\x87\xc1\xe9\x5d\x45\xa4\xb5\xf3\x2b\x89\xa1\xa8\xc1\x84\xbf\x9d\xfc\x70\x76\x7e\x3a\x6a\xd0\x79\xde\x5d\x0f\x4e\x2e\x7f\x1a\x5c\x17\xea\x49\xe3\x12\x55\x06\x53\x65\x56\xb7\xc8\x94\x66\x32\x26\xe3\x45\x33\x60\x88\x11\xfe\x12\x70\x49\x16\x90\x39\xd8\xea\x31\xf0\x26\x87\xdd\x52\x7c\x61\x74\xde\x9e\x7d\x07\x90\x56\xd0\x3e\x80\x42\x5f\x73\xc3\xa6\x77\x2a\x02\x5d\x1b\x41\x50\xfc\xc2\x1d\x93\x3e\x51\xe6\xc5\xdc\x1c\xea\x8c\x4f\xa7\x60\xfb\xaa\x0c\x15\x5b\xb3\x9f\xc2\xf2\xc2\x77\xb8\xff\xf3\x4c\xc2\x39\x37\xdd\x5a\xa3\xa9\x57\xac\xf1\x43\x04\x8a\x2d\xb5\x98\x51\xd0\x99\x1b\x86\xe6\x36\xcb\x2c\x42\xeb\x7a\xe1\x79\x2c\x72\x03\x80\x6d\x29\x34\xd9\xcd\x33\xf6\xc0\x65\x1e\x7c\x6a\x81\x5f\x4a\x3b\xde\xd8\x7c\xb1\x00\xb0\x6c\xa8\xd7\x57\x9a\xf1\xe4\xd1\xd8\x82\x61\x61\x0f\xd0\xc2\x24\x93\x69\x43\x1b\xe5\x63\x72\x76\x79\xa3\x33\xaa\xd9\x74\x71\x6a\x59\xc6\xe6\xc7\xe3\xf4\xf2\xe7\x8b\xf3\xcb\xfe\xe9\x68\xd0\xff\x54\x3e\xf1\xfe\xc9\xcd\xed\xf5\xa0\xff\xb9\xfc\x68\x74\x71\x79\x3b\x72\x6f\x2c\x25\xf9\x96\x0e\xea\xf7\x74\xf9\xc5\x63\x62\x58\x2e\xb0\x46\x87\xc8\x18\xf0\xc7\x31\x9b\xc8\x0c\xf9\x7c\xea\x3c\xf8\x56\x84\x71\x6b\x6b\xd5\x89\xca\x2c\x8e\xc1\xb8\xd3\xd4\x24\x1a\x6e\x75\xc6\x68\x0a\xf7\x04\x15\x64\x20\xe2\x83\xcb\xc9\xc1\x0d\xfe\x98\xd2\xec\x9e\x65\xfe\xd3\xc7\x8c\x6b\xcd\x44\x49\x2b\xa1\x6e\xc8\x5e\xcf\x29\x3a\x38\x24\xd7\x86\xef\x9b\xf7\xfd\xa5\x66\x88\x3d\x66\x9a\xf2\x44\xd9\xc1\x96\xd6\xf5\x98\x9c\xd3\x6c\x5a\x98\x92\xbe\x91\x93\x09\x36\xf6\x01\x87\x61\xee\xb0\xd2\x2c\x1a\x78\xaf\x21\x0d\x77\x2f\x42\x7f\xf6\x65\x2f\x0f\xd7\xa9\xea\x6e\xbe\x1d\x4d\xdd\x5d\xc1\x8a\xa3\xd2\x79\x5b\xba\x55\xae\xda\x68\x0d\x26\x8e\x8f\x97\x5f\x32\xcd\x6d\xd7\xc9\xa9\xfc\x62\x03\x39\x61\x22\x9a\xd9\xf9\x89\x66\x59\x13\x2d\xb1\x2f\xdc\xea\xbc\xe1\xb8\x2b\x24\x54\x34\x03\x16\x42\x3a\x9f\x33\x9a\xa9\xa6\xdd\x2e\x8b\x81\x2d\x7b\x8f\x3d\x85\x7d\xd8\x4d\x76\xfd\xf4\x88\x14\xa0\x33\x7b\x21\xa2\x42\x91\x1d\x68\x00\xdb\xaa\x51\xc0\x15\xa0\x71\x5d\x5a\xe4\xab\xcf\x5c\x19\xa5\x11\x7f\xfc\xde\x42\x72\x6d\x46\x10\x46\x8f\xaf\x08\x17\xa3\xd3\xc1\xc7\xfe\xdd\xf9\x72\x4b\x57\xe9\xbb\xea\x16\x93\x03\x62\x9e\x97\xdd\xc7\x7c\x82\x77\x86\x03\x16\x43\x95\x96\x09\xb0\xbb\xd8\xbc\x31\x34\xb9\xc6\x6c\x9e\xc8\x45\xca\x04\x58\x29\x4a\x37\xa1\x59\xcf\x09\xe5\xf6\x6a\x09\x06\x0b\x86\x08\x6b\x39\x82\x6b\xec\xc0\xa1\x99\xb1\xd8\xdf\xbc\x65\x30\xb3\x0a\xeb\xbe\x42\x07\x90\xfd\xcf\x8d\xa6\x7a\xc3\x33\xd6\x3f\xb9\x3d\xfb\x69\x50\xd6\x0f\x4f\x7e\x38\xfb\xa9\x49\xaa\x19\x7d\x1a\x5c\x0c\xae\xfb\xb7\x2b\x84\x93\x4a\x93\x4d\xc2\x89\x32\x03\xae\x3a\x00\xb9\xf2\x81\x31\x11\x42\xa2\x11\xae\x15\x79\xe0\x8a\x8f\x39\x00\xc8\x59\x67\xda\xdd\x19\x70\x56\xc8\x14\xe4\x7a\xe1\xc4\x17\xec\xb7\xbc\x8f\x86\x93\xda\xf6\xd1\xec\x10\xba\xd8\xc0\x50\x85\x9b\xe3\x26\x7d\x4c\x40\xb7\x7d\x00\xa5\x2d\xf8\x4c\x18\x41\x5a\x4c\x59\x86\xc3\x01\x07\x42\x38\x96\xe0\xb9\x19\x55\x28\xac\x14\xab\xe6\x85\xd6\x29\x13\x2c\x03\x84\x2a\xdf\x09\x0a\x52\x19\x13\xef\x8d\xcc\x35\x4f\x78\xc4\x75\xb2\x20\x11\x64\xd6\x81\x45\x2e\xa5\x82\x4e\xad\x70\x00\x6a\x4e\x85\x24\xfe\x82\x28\x7b\x97\x13\x6b\x9d\xbe\xe5\x6c\xc3\x63\x76\x77\x71\x3a\xf8\x78\x76\x51\x26\x81\x1f\xce\x3e\x95\x44\xd8\xcf\x83\xd3\xb3\xbb\xd2\x6d\x6e\x24\xd9\xe5\x72\x7d\xb5\xd9\x86\xa3\xe8\x5f\x3a\x26\xa7\xf8\xe9\xb1\x59\xdc\x06\x08\x41\xaf\xfc\x56\xd6\xe1\xda\x45\xa6\xb9\x3f\x06\x42\x67\x8d\xa6\xf5\xae\x26\x24\xeb\x46\x2b\xd9\x90\x9a\xbd\xed\xb5\xbe\x2f\xaa\x7e\xd1\x7a\x34\x82\xf5\xa5\x99\x4e\x0e\x0b\xcb\x52\xe8\x86\x07\xa3\x41\x9b\x11\xab\xc1\x33\x53\x30\xec\x9f\xc0\xcb\x9a\xe6\x4a\xa3\x37\x0c\x88\x93\xdc\xff\x59\x99\x05\x05\x6f\xd9\x21\xb9\x61\x6c\x28\x9c\xf5\x60\xca\xf5\x2c\x1f\x1f\x46\x32\x3d\x2a\xf0\x2b\x8f\xe8\x9c\xa7\xd4\x48\xd2\x2c\x5b\x1c\x8d\x13\x39\x3e\x4a\xa9\xd2\x2c\x3b\x9a\xdf\x4f\x21\x10\xc4\x79\x04\x8f\x7c\xb3\x53\xf9\xbb\xf3\x3f\x7e\x7b\x70\xfe\xe7\x6f\xdf\xd5\x2d\x64\x6d\xfb\x3f\x10\x11\x9d\xab\x3c\xb1\x81\x63\x59\xb8\x36\xee\xc8\xe7\x6c\xd5\x7e\x5f\x94\xb7\x6b\x3b\xfd\xf5\xe4\xea\x2e\xfc\xe7\xa7\xf2\x3f\x3f\x0f\x3e\x5f\x5e\xff\x52\xe2\x94\xb7\x97\xd7\xfd\x4f\x25\x86\x3a\xb8\xfa\x61\xf0\x79\x70\xdd\x3f\x1f\xb9\x87\xdb\xd8\xde\x7e\x14\xf2\x51\x94\x97\x46\x39\x0e\x58\xeb\xe9\x98\x7c\x94\x19\xf9\xd1\xef\xe4\xc1\x98\x2a\xb8\x62\xdc\x9d\xa5\x7a\x64\x2e\x63\x60\xbc\x84\xcd\x67\x2c\x65\x19\x4d\xac\xcd\x40\x69\x99\xd1\x29\xde\xf4\x2a\xca\xa8\x8e\x66\x44\xcd\x69\xc4\x7a\x24\x02\x6a\x98\xf6\x60\x53\x40\xd5\x92\xd3\xaa\x9d\xef\x3a\x17\x9a\xa7\xcc\xa9\xe0\xf6\x9f\xb7\xb8\x19\x1b\x6c\xce\xe5\xed\x0f\x65\x61\xef\xe3\xf9\x2f\xb7\x83\xd1\xcd\xe9\x8f\x4b\xd7\x13\x3f\x2b\x8d\xec\x06\x62\x68\x4e\x64\x92\xa7\x22\xfc\x7b\xf3\xb1\x9d\x5d\xdc\x0e\x3e\x55\x47\x77\xd9\xbf\x2d\x53\xc6\x75\x39\xce\xeb\xdd\xf7\x97\x97\xe7\x83\x92\x57\xf3\xdd\x69\xff\x76\x70\x7b\xf6\xb9\x44\x3f\xa7\x77\xd7\x88\x56\xb9\x6c\x9a\x6e\x04\x0d\x13\x35\xd3\x0a\xa7\xb9\x6b\x56\xd8\x89\x13\xf5\x6d\x5c\x35\x9e\xe5\x83\x00\xab\x08\x23\x9a\xc0\xaa\x73\xe0\x4d\xaa\x11\x8e\xb4\x91\x1d\xea\xf2\x36\x91\x76\x76\xbc\x74\xa3\x97\x71\xe5\x5b\x3f\x04\x84\x8a\x45\x65\x9b\x26\x89\x7c\xc4\x88\xd6\x94\x9b\x5b\xd9\x22\xd7\x99\x57\x54\xe1\xe4\x3a\x6c\xe0\x78\xe5\x6d\x61\x51\xc6\xf4\x67\x99\x0b\xbd\x39\xc9\xf5\x2f\x4a\x7c\x67\x70\xf1\xd3\xe8\xa7\x7e\x99\x02\xcf\xce\x97\xb3\x9a\xb0\x89\x86\xab\xb8\x7f\xf1\x8b\xbf\x84\x21\xee\xb9\xe7\x35\x54\x94\x5d\xa3\x84\x1b\xb1\x37\xa2\x46\x7b\x4d\x40\xa2\x21\x8c\x83\xc9\x21\x35\x93\x83\x38\xcb\x39\xfa\x93\x90\x3f\xe1\x20\x8f\xdd\x1f\x95\xf6\x14\xac\x0b\x58\x53\x5d\x58\x39\xb4\x63\xb5\x6a\x41\x98\x78\xe0\x99\x04\xbc\x63\xf2\x40\x33\x6e\xa4\x71\x6c\xd9\xcc\xf5\x18\xfe\x77\xbd\x36\xc1\x30\x5a\x61\x5c\x37\x32\xd3\xa7\x3e\x9e\x75\x33\x6b\x48\x53\x5c\x67\x3d\xa2\xb3\xd9\xd0\x51\xff\xb6\x61\x73\xb6\x8c\x7b\x2d\x4f\xf8\x6f\xc9\x29\xa7\x89\x61\x00\xbb\x93\x17\xfb\x17\x37\x67\x65\xf9\xb1\xac\x66\x04\x7c\x79\x63\x79\x11\x0c\x95\x38\x72\xa7\x4c\xdc\xfc\xe5\x1c\xb5\x0b\x00\xc5\xc6\x73\x1b\x28\x16\x16\x5d\x04\xa5\x89\x39\xcd\x54\xe5\x0b\x45\x00\x45\xae\x88\x19\x32\x77\x16\x44\xe4\x3c\x48\x1e\x0f\x05\xfb\x32\x67\x42\x81\x7f\x1b\xef\xb3\xc2\x5d\xac\x0e\xc9\xd9\x04\x58\x82\x79\x5d\x90\x5c\x58\x07\x98\xb9\x70\x71\x90\x3d\x23\xca\x16\x00\x27\x81\xf9\x48\x30\x17\xef\x53\x0c\x7e\x28\x7e\xf6\x4e\x34\x78\x34\x91\x86\x01\x99\x5d\xb4\xed\x1d\x13\x2a\x14\xef\x11\xa3\xb0\x54\xf7\x14\x22\xe8\x8d\x42\x69\xa3\x90\x0c\xa7\xb1\x7f\x3e\xff\x35\x50\x0b\x75\x0d\x2f\x83\xe6\xbb\xa0\x72\x15\xb4\x88\xc6\x09\x7a\x4c\x46\xdd\xef\x84\x48\x66\xcc\xfa\x59\xd6\xbe\x06\x56\x31\xf6\x5b\xaa\xee\x6b\xbe\x87\x33\xa1\x34\x15\x11\x3b\x49\xa8\xda\x30\x8e\xc6\xd9\x38\x7a\x65\x89\xe3\xfa\xfa\xee\xea\xf6\xec\xfb\x15\x5c\xbe\xfa\x71\x3d\x92\x25\x4a\x72\xe7\x9e\x1b\x67\x92\xc6\xc4\xb0\xcf\xa9\x44\x57\xa0\x15\xfc\x0b\x68\x78\x4c\x6f\xf1\x31\x81\x25\x58\xfa\x22\x2a\xdf\xda\x39\x42\x57\x02\xb7\x0b\x41\x22\xb3\x12\x24\x30\x79\xb8\xad\x06\xcf\x22\x56\xcc\xb1\xd6\xad\x79\x42\xf5\x44\x66\x29\x72\xf9\xd2\xa4\xb1\xf1\xe5\x8d\x72\xa1\x59\x96\xe5\x73\xcd\x1d\xd6\x7f\x55\x4a\x35\x5b\x76\x2e\xa7\x9f\x99\x52\x74\xca\xb6\x71\x40\x37\x29\x0f\x37\x3f\x85\xff\x04\x07\x73\x17\xd9\xbf\x34\x42\x17\xbc\xed\xe8\xe9\x52\x7c\xc4\x58\x94\x2b\x99\xf0\x68\xc3\x98\xb1\x8f\xfd\xb3\xf3\xd1\xd9\x67\xa3\xc4\xf7\x6f\x07\xe7\x25\x51\x02\x9e\xf5\x3f\xde\x0e\xae\x2d\xc8\x79\xff\xfb\xf3\xc1\xe8\xe2\xf2\x74\x70\x33\x3a\xb9\xfc\x7c\x75\x3e\xb8\x5d\x4e\x71\xad\x8d\xd7\xad\xab\xd5\x57\x8f\x6b\xbf\xc0\x0e\x1b\x5e\x16\xda\xcb\x20\x79\x8a\xf2\x04\x9c\xe0\x12\x9d\xe1\x94\x08\x19\x23\x8c\x94\x72\xd6\x19\x8f\x2c\x4e\xce\xf4\xfb\x24\x21\x34\xd7\x32\xa5\xe0\xb5\x49\x16\x43\x41\xc7\x86\xb5\xd2\x24\x09\x22\x94\xb2\x5c\x08\xc3\x62\x4d\x63\x08\xe1\x1f\x25\xcc\xb0\xf3\x79\x90\xf3\x66\xfd\x06\x13\x2e\x20\x58\x34\xa5\xd9\xbd\xab\x47\xe8\x33\x09\xfc\xa1\x50\x84\xaa\xa1\x40\x78\x2b\x2b\xad\x74\x58\xe1\xe3\x4e\x6f\xb5\xae\x4e\x4a\xef\x99\x59\x95\x34\x8f\x66\x64\x9e\xc9\x69\xc6\x94\xb2\xb6\xe5\x88\x0a\x0c\x40\xb0\xaf\x9b\x6b\x68\x28\x84\x34\x4b\xe1\x4c\xd8\x31\x9b\x33\x11\x33\x11\x71\xcc\x6e\x03\xdf\xbd\x37\x6d\x4e\x33\x3a\x9f\x11\x25\xc1\xe9\x0d\xcb\x0e\xf6\x2b\xfc\xc8\xdd\x64\x16\xd0\x0b\x1e\x87\x16\xe8\x2c\x37\x7c\xe2\x12\xe4\x44\x5c\x65\xf8\xd8\x5d\x86\xce\xed\x82\x76\xc0\x74\x9e\x30\x8d\xc5\x1c\x60\xc9\x61\x33\xcc\x5a\x97\xf6\xc3\x6c\x53\xd3\x26\x98\x0b\xdb\x8d\x99\x2a\x3b\xa2\xc3\x06\xcb\xb6\x3d\x52\xe4\x07\x2a\xe2\xc4\xb4\xe2\x7c\x18\xe5\xb3\x08\xd9\x14\x7d\x43\x35\xee\x34\x6e\x73\x8b\x46\x34\x57\xdb\x5c\xa3\x95\x94\x44\xb4\x0a\x1e\x14\x41\x21\x40\xde\x36\x1f\x11\x56\x77\x6e\x58\x24\x4d\xa4\x5d\x25\x7c\x3d\xc7\x02\x65\x04\x46\xd3\x72\xcd\xce\x33\x2e\x22\x3e\xa7\xc9\x46\xba\x5f\x25\x9e\xdc\x86\x69\x7f\xc3\x27\x86\x7c\x3e\xd4\xdc\xb6\x9a\x65\x29\xe4\xe9\xda\x61\xfa\x2d\x5c\xc3\x92\x64\x03\xf3\x99\x2a\xa2\x49\x68\x26\x73\xf4\xc7\xc1\xba\xb0\xb8\xe1\xa8\x1e\x36\x6d\xf7\x04\x84\x87\xad\x2c\x88\x58\xd2\x43\x66\x3b\x08\x45\x5b\x92\xe6\x73\x63\x7b\x69\x4d\x0f\xa8\xae\xd2\x67\x1b\x0d\xaf\x88\x1f\x20\x68\x0e\xef\xa9\x88\xdf\x1f\xc0\x11\x9c\x32\x38\xa7\xe8\x7f\x8a\xf3\x08\x9d\xa5\x2e\xa5\xd3\x21\x1d\xf4\x08\x4b\xf8\x14\x76\xd0\x83\x6e\x77\xdf\xac\x53\x88\x2d\xc2\x60\x24\x68\x16\x33\x40\x29\x37\xf2\xb8\x93\xdc\x6d\x55\x94\x6a\x3f\x04\x2d\x5a\x10\x26\x30\x66\x09\x50\xd8\x02\xe2\xeb\x99\xaa\xde\xf5\xb8\x9d\x86\xd1\xd1\x72\x48\xf6\x06\x3b\x8a\x81\x5c\x6d\xdb\x59\x69\xc5\xf6\x8e\xb1\x95\x34\xb9\x6a\x6e\xb3\xe9\x40\x75\xde\x49\x3a\x87\x85\xc3\x2a\x1d\xb4\x98\xa3\xd5\x79\x6d\x15\x42\x17\x0e\x15\x84\x42\xf8\x4c\x95\xee\xfb\x55\x2c\xa1\x8d\x67\xab\x77\x52\x0a\x09\x09\x32\xe7\x2d\xcb\x9a\xe4\x46\x35\x21\x14\x82\x4a\xc8\x37\xec\x70\x7a\x48\x5c\xcd\x95\x1e\xe9\x5f\x5d\x0d\x2e\x4e\x7b\x84\xe9\xe8\x83\x0b\x41\xb5\xf1\x67\x43\x61\x48\x01\x0e\xf7\xc2\xd5\xcb\x49\x59\x36\x65\xa5\x39\xbb\x60\x35\x08\x9e\x9e\x72\x43\x4b\x78\x05\x88\x38\xac\x6c\xc4\xd3\xaa\xd6\x84\x14\x92\xeb\xd9\x36\xa4\x41\x95\xca\x53\x3a\x4e\xd8\x88\xd3\x74\x94\xc9\x64\x1b\x1e\xef\xcf\x86\x20\x1e\x74\x80\xd3\x94\x98\x66\x6d\x64\x8f\xf7\x20\x7b\x09\xdd\xc8\xb9\xe6\x9a\x35\x62\x50\x20\x86\x38\x67\x92\x0d\x2f\xe4\x2e\xa2\x05\x40\x09\x5a\x38\x7f\xe1\x05\x18\x59\xc7\xcb\x88\x46\x91\xcc\x85\xde\xf1\xa4\x82\x72\x59\xce\xc3\x63\x3b\x7a\xb2\x69\x76\xe5\x4b\x73\x73\x21\x41\x6c\x77\xbd\xba\x4c\x43\xbf\xe3\x45\xad\x57\x57\xd0\xea\x4e\x79\x0b\x19\xca\x54\x8a\xc1\x4e\x2a\x2c\x88\x05\xbc\x0b\xc0\x50\xc3\x2e\x5d\x8a\x8e\x69\x78\x21\xf3\xac\xe9\xde\x1a\x8a\x53\x36\xcf\x98\x51\xdc\xaa\xfe\x30\x4f\xd3\xd7\x65\x4a\xdc\xd3\xf5\x9e\xae\xdf\x3c\x5d\x9f\x60\x5d\xb4\xbe\xaf\x83\xb7\x15\x81\xd7\x25\x3d\xb2\x42\xe4\xf2\xc2\x61\x23\x91\x59\xab\x78\xd9\x8c\xbc\xaa\xc9\xdb\xe2\xa3\xee\x5b\x5a\xf2\x9c\x56\xca\xd0\x01\x92\x82\xcc\x41\x9e\x2e\xdd\xcb\xd2\x5c\xa6\x41\x56\xb1\x2d\x32\xb7\x64\x9d\x9d\x8b\x35\x28\x80\xb5\xcd\x7a\x37\xb5\xb2\xac\x25\xf2\xe4\x72\xd4\x09\x0a\x50\x4d\x75\xc5\xca\xa7\xd5\xc9\x3a\x5c\xd4\xaa\x3b\xe2\x81\x31\x0b\x8c\x82\xcd\xdf\x72\xa9\xa9\xfa\x70\x38\x14\x46\x4a\xbb\x67\x0b\x14\xb2\x8d\x1c\xf4\x7b\xa3\xbb\x1d\x28\x26\x14\xa4\x07\xfc\x1e\xdd\xb9\xe6\x0c\x39\xf7\x06\x9a\x32\xb0\xa8\x64\xb9\xe4\x19\x84\x74\xdb\x46\xad\x18\x56\x04\xcc\x17\x75\xd2\xdc\x33\x1c\xfe\x94\x69\xc8\x2a\xd7\x5c\x83\x8e\x1d\x63\xd5\xca\xda\xd0\x57\x9a\x3a\x91\x2a\x32\x09\x7e\xb5\x38\xdf\xee\x66\x51\xf5\x36\x9a\x36\xb1\x59\xbb\xbc\xb1\x39\x12\x47\xce\xce\x18\x65\xb2\x56\x0a\x92\x2a\x82\x3b\x3d\x46\x7e\xe3\xe2\x1d\x98\x38\x7c\xe4\xf7\x7c\xce\x62\x4e\x21\x63\xc2\xfc\xeb\xc8\xcc\xeb\x77\x27\xd7\x97\x17\x23\xe6\xd3\xba\xfe\x73\x28\xfa\x89\x92\x3e\xab\x85\x08\x29\x7c\x7a\xc6\x3c\x63\x4e\xe6\xb4\x73\x01\x2b\x7d\x71\xb4\x87\xa2\x6d\x04\xb1\x8c\xd4\x21\x7d\x54\x87\x34\xa5\x7f\x97\x02\x42\x2f\xfa\xf0\xe7\x49\x22\xf3\xf8\x67\xa3\x61\x1d\xc1\xb9\xd6\x47\xec\x81\x09\x8d\x6e\x4d\xb3\x5c\x31\xe4\x2b\x2b\xc8\xee\xf8\x9d\x19\x73\x91\x84\xa6\x86\x82\x7d\x89\xd8\x5c\x93\xff\x2f\x63\x63\x29\x75\x33\x83\x92\x93\x89\x62\x6b\xdd\x78\x85\x52\x7f\x73\x49\xfe\xfc\xa7\x6f\xbf\x33\x24\xb4\xc9\x1a\x9f\xdd\x5c\x8e\xcc\xf7\xbf\x3b\xb5\xdf\xab\x35\xd8\xdd\xe5\xbc\x60\x6d\x8e\x78\x30\xd1\x22\x17\x70\xbd\x66\xe0\xec\x02\xf6\x06\xe4\x50\xec\x63\x13\x77\x3b\x45\x64\x87\xad\xb2\xcc\xb6\x10\x1b\x3e\x25\x72\x0c\x76\xc4\xbc\x54\x13\x6e\x49\x44\xd0\x96\xfe\x97\x53\xae\xe6\x09\x5d\xd4\x7a\x58\xb5\xec\x17\x86\x3b\xcd\x69\xc4\x0a\x48\x0a\x17\xbc\x17\xc9\x34\x85\x80\x52\xa7\xaf\xc7\x7c\x02\x91\xa5\xda\x08\x15\x64\xcc\xf4\x23\xc4\x31\xbb\x5f\xbd\x30\xe4\x0c\xf8\x86\x95\x01\xbb\x1c\xbe\x43\x4b\x83\xe9\x74\xf8\xae\x47\x86\xef\x62\xf6\xc0\x12\x39\x37\xa7\xd9\xfc\xc0\x74\xd4\xb4\x89\x83\x94\xf2\xe4\x42\x6a\x7f\xf3\x6d\xb3\x9f\x19\x8b\xf8\x9c\x9b\xd3\x35\x62\xa6\xdd\x27\x4d\x21\x6c\x3e\x60\xb7\x81\x9d\x05\xc6\x40\x68\x1c\x1b\x22\x86\x02\x79\x6e\x78\x85\x4b\x46\x04\x53\x2f\x15\x7e\xda\xc0\x10\x23\x6c\x8f\x61\x9b\x65\xb1\xa2\x71\x07\xbc\xa1\x6e\xa7\x27\xa9\xdd\x8f\xe7\x5c\x23\xbe\xe3\xa2\x58\xd9\x52\xfa\xb7\xb5\x17\x03\xd0\x0a\x6b\xe1\x6e\xb5\x08\x56\x0f\xa0\x59\x8b\x35\x64\x3a\x3f\xc0\x1b\xf3\xdd\xd2\xa1\xa9\x10\x35\x2e\x0a\x4b\xa8\x82\xf9\xc2\xe6\x9a\x54\xd3\x5b\xd8\xca\x11\x47\x89\x54\xe5\xd4\xd3\xce\x83\x3e\xb1\x9f\x2e\x1b\xf7\x20\xb4\xf6\xe4\xc9\x7a\x06\xc0\x7e\xc3\xc2\x57\xe0\x41\x90\x4d\x68\xab\xa1\xd8\xb7\x7b\x84\x83\xf3\x12\x24\xdb\xa4\x48\xc4\x11\x31\x29\xa4\xc4\xa1\x28\x4c\xc0\x8a\x3c\xb2\x04\xbc\x46\x91\x4c\xe7\x20\x01\xd9\xe1\xda\x96\xcc\x05\xae\xa9\x66\x3d\x22\x73\x6d\x1a\xc3\x10\x37\x77\xc7\xd9\xf8\xb9\x42\x2a\x44\xdd\xc7\xc6\x92\x78\xb8\x32\xa4\x75\x64\x85\x5c\x90\x4f\x4c\x43\x2b\x00\x07\x19\x4e\x10\x8b\x8d\x2f\x3d\x4a\x27\xb5\x6d\x5b\xfb\x44\xd9\x99\xac\xb1\xf3\x45\x1e\xe2\xf7\x89\x1c\x2f\xdd\xf7\x4b\x68\x9c\xdc\x5d\x9f\x39\x9f\x5b\xe1\x8e\x08\xf0\xac\x4a\x1a\xdd\xe0\xea\x7a\x70\xd2\xbf\x1d\x9c\x1e\x12\xa3\x38\x7e\x62\xda\x4f\x17\xd2\x15\x3c\x32\x22\x8e\xdc\x26\x36\x0a\xa5\x19\x8d\x5b\xa8\x9b\x65\x59\x29\xa9\x60\x05\xe3\x28\x67\x3d\x2e\x27\x6c\xc8\x39\xe4\x02\x33\x40\x21\x4f\xb7\x3a\x4f\xeb\xe8\x5a\x75\x02\xc1\xed\x30\x7a\x3b\x4e\x1f\x1c\x6f\x5a\x77\x74\xad\x22\x9f\xb2\x83\xec\xa9\x27\x03\x47\x4b\xcf\x18\xcf\x48\xa7\x69\x21\x51\x8d\xba\xcf\x29\x88\x18\xf9\x4c\xe7\xcb\xa3\xb9\xe9\x63\x89\x68\xad\xcf\xa4\xb0\x9d\x3c\xf5\x39\x70\x6c\x6d\x84\xac\x70\xfb\x09\x16\xf2\x3e\xf2\x56\xcf\x37\x31\x80\x4a\x39\xa3\x55\x38\xb1\xca\x20\xac\x5b\x58\x11\x38\x3b\xf0\x0b\x17\xa4\x74\x25\xf6\xc8\x84\x7f\xb1\x8d\x16\xe1\x22\xee\xd5\xc0\xe0\xd4\xe2\x9e\x9c\xd1\xfa\x99\x5a\x43\x6c\xb8\x82\xef\x97\xfa\x57\xa4\xd2\x46\xea\x32\x92\x6b\xc6\x8c\x7e\xc1\x62\x02\xdd\xfa\xe0\x95\x95\x22\x83\xa6\x99\x59\x14\xba\x96\xbe\x55\x20\xdb\xc6\x54\xb3\x03\xcd\x57\xe6\x13\xd8\x90\x33\x08\x4e\xa3\x3a\xc8\xae\x2f\x6e\x9e\x31\x9b\x52\xe1\x22\x1d\x5a\x86\xeb\xae\xbc\x2d\x58\x95\x91\x60\x29\x44\x5b\x82\x7c\x05\x91\x74\xa5\x71\xa8\x39\xac\xe7\xd2\x71\x58\xeb\xe3\x6b\x58\xb6\x47\xea\x8d\xa1\x2d\x83\xcd\xe7\xf1\x6b\x1a\x6c\x42\x95\x26\x76\x4c\x6d\x9a\x64\x20\xe1\x3f\xad\x77\xba\xa4\x9a\x75\xb5\xc7\x19\x12\x2a\x2b\x21\x4c\x6b\x6e\x0b\xde\xe6\x8a\xd9\xa4\xcb\x94\x65\x53\x27\x08\x63\x31\x32\x7f\xb6\x6d\x55\x32\x77\x4b\x84\xcc\x04\x62\x5e\xea\x4d\x1f\x92\xbe\xa8\xa5\x9f\x3b\xbb\x78\x69\xbd\xf0\x4e\xa2\xc9\x23\x5d\x28\x32\xcf\x30\x53\x13\x03\x61\xdc\xe4\xc1\x61\x59\xfe\xc8\x5b\x8a\xb4\x8b\x44\x22\xa0\x4a\xaf\x76\x5a\x04\x35\xb6\xbb\x73\xbb\x8e\x3a\x51\x25\x48\xa3\xa9\x0c\xb6\x57\x35\x3b\xb0\x3a\xcd\x46\xd1\x8c\x8a\x29\x1b\xd9\xe4\xd4\x8d\xb4\x25\xd3\xce\x09\x34\x73\x6a\x5b\x69\xbe\x9c\xae\x50\x61\xb2\xa8\xc2\xf8\xaa\xd3\xe9\xe0\x10\x28\x4d\xa7\x8c\xe0\x88\x96\x29\x26\x05\xd4\x44\x68\x50\xb7\xf0\x53\xa0\x27\xd8\x56\x07\xe5\xa0\x94\x36\xe1\x1d\x2c\xc3\xe7\x74\xcc\x92\xad\x83\x0d\x36\xb2\xd2\x41\xd7\x16\x6c\x53\x4b\xb3\x34\x10\x5c\xc3\xc8\xe3\x8c\x65\x55\x76\xec\x6c\xdb\x59\xde\xe4\x7a\x58\x36\xcf\x52\xfd\xbf\x2d\x26\xea\xd0\x63\x37\x99\x6a\x1b\xa6\x6c\x78\xed\x05\xd8\xab\x4d\xf6\x91\xf0\xfa\xab\x9a\x04\x37\x1b\x48\x00\x01\xdb\x32\x8e\xad\x31\x60\x57\x4e\x65\xe3\x9c\x9d\x8e\xb5\x15\xce\x26\x44\x48\xc1\x08\x57\xc5\xcb\xba\x1c\x5d\xe8\x33\x5e\x8d\x88\x8f\xc6\x97\x7a\x45\xdb\xa7\xb6\xb4\x14\xb9\x48\xde\x36\xe0\xd2\x25\x04\x33\x8a\x2a\xcd\x16\x80\x98\x83\x7c\xb8\x2c\xd3\xad\x1c\xe7\xce\x05\xee\x5b\x07\x88\x14\x78\x4a\xb5\x24\x20\x46\x56\x06\x47\x10\x56\xc8\xbe\x64\x3f\xb2\x59\x9f\x43\xe1\x2d\x1b\x40\x88\x5c\x91\x94\xce\x21\x57\x41\x48\x5d\x7c\x85\x59\xcc\xda\x6f\x61\xcf\x09\xe2\x0a\x91\xd9\x5b\x56\x60\x95\x69\xc7\x5d\xbf\xc5\xba\x96\xd1\x62\x1c\xd2\xd5\x94\x3f\x30\xe1\x68\xba\xe7\xce\x84\x19\x94\xeb\x34\x59\x1c\x50\x70\xf3\xb2\x38\x34\x5c\x2f\xe7\x48\xb6\x9a\xed\x2b\xb0\x47\x76\x5f\x32\xb3\xf1\x79\xcd\x42\x89\x98\x03\x25\xbc\x43\xe7\x98\x0f\xa9\xd4\xc2\x60\x61\x62\x05\x55\xe4\xf7\x42\xea\xdf\x07\x40\x61\xce\x78\x81\xc5\x8e\xad\x09\xaa\x57\x03\xf1\x85\x43\x6b\x09\x87\xd0\x20\x61\x7d\xe5\xca\x6f\x8b\xd7\x57\x04\x1e\x3c\xa9\x34\x3a\xa8\x07\x95\xb6\xa1\xa0\x63\x75\x90\x9d\x59\x6c\x9e\xa3\x8c\x3f\x41\x32\xc8\x98\x03\x2f\x48\x65\xc6\x2a\x15\x4a\x90\x9f\xfb\xa8\xeb\x74\xae\x1b\x33\x17\xeb\xa2\x51\x83\xc1\x13\x8b\x35\x14\x27\xbd\x64\xe8\x54\x87\x43\x71\xc3\x58\x3b\x82\xbf\xdf\x8b\x5f\xa1\x21\x18\xab\x93\x1a\x97\x50\xda\x2e\x42\xb0\xd3\x32\x38\xcd\x12\xaa\x59\x81\x29\xd6\x6c\x97\xd8\x24\x6c\xba\x4d\x2e\xf7\x4e\x8a\xb0\x14\x75\x1b\x68\xd6\xe1\x50\x7c\x94\x99\xbd\x82\x95\x85\xed\x1c\xd3\xe8\xfe\x80\x89\x98\xd0\x5c\xcf\x10\xbc\xca\xfa\x15\x16\x96\x1a\x8c\xa4\x01\x64\xe3\x33\xd3\xb8\x8a\x68\x16\x3b\x0c\xd4\x07\xe9\x46\x31\x14\x41\x23\x00\x0c\x0a\xd0\xdf\x50\x00\xa9\x4d\xd5\x64\x50\x6b\xa1\x6d\x2d\x9a\x4a\xfb\xd4\x0a\xfb\x2c\x3f\x67\xa5\x52\x45\x00\x69\x2a\x98\xb2\x22\x7b\x65\x75\xce\x9c\xb5\xd1\xe9\x77\x2a\x2c\xf6\xee\xdf\xec\x59\x8d\x02\x4d\x52\x76\x06\x46\xd2\xf9\xd6\xf1\xda\x12\x08\xd7\x24\xcf\x20\x08\xaa\xa9\xcd\x6f\xa2\x19\x4f\x0a\xdf\xc5\x87\x9e\x1f\xa6\x69\x32\x61\x0f\x2c\x41\x08\xc8\x28\x83\xc0\x05\xb4\x1a\x7e\x4b\xfe\x17\x96\xbb\x21\xdf\x0d\xc5\x27\x60\xc3\x49\xb2\x00\x80\x1a\xdf\x32\xd5\x95\x66\xee\x1b\x07\xa0\x6d\x28\x16\x29\x0f\x04\xf7\x7a\x46\x1f\xd8\x50\xb8\x66\xfe\x17\xb9\x27\xff\x4a\xbe\x6b\x53\xef\x5c\xfc\xc1\x13\xdb\x39\x3e\x06\xde\xfd\xe0\x96\xb3\x8c\xd2\xf2\x1b\x67\x06\x29\x19\x21\x1b\x12\xd5\x3c\xce\x1c\x17\x0f\x32\xaa\x05\xb9\x84\xa7\x96\x66\x4c\xe8\x91\x90\x31\x1b\xb1\x06\x97\xe6\x12\x26\x61\x84\x80\x0b\x19\xb3\x95\x0e\x49\xcf\x4c\x7f\x06\xd3\x8d\xca\xc7\x7e\x3b\x20\x5f\xc6\x27\x47\x78\xeb\x43\x99\xd2\x9a\x47\xee\xc1\x9c\x36\x19\xf7\xa6\xce\xd4\x4b\x2b\x9f\xf5\xe0\x42\xb0\x03\x68\x76\xe8\x25\x54\xbb\x18\xf4\xea\x71\xac\x3a\x02\xcc\xcb\x66\xe6\xf6\xb2\x0a\x60\xaa\x00\x4a\x38\xe3\x53\x6e\xe4\xf7\xee\x0e\x5b\xe0\x84\x9b\x78\x33\x10\xb3\xa7\x93\x3b\xa3\x58\x0a\x97\xb7\x78\xe0\xe9\xaf\x70\x42\x8e\x65\x5e\x15\xe0\xed\x02\x70\x15\x46\xc7\x5b\x59\x7d\x61\xf8\xf0\x14\x23\x30\xd9\x8c\x63\x0a\x4b\xff\xe4\x9c\x98\xd3\x21\x53\xcc\xf3\x86\x45\xcb\xf5\x4c\x66\xfc\xef\xad\x01\x5c\xed\x32\x7a\xe1\x69\x2d\xe2\xdd\x70\x9c\x65\x69\x1d\x88\x15\x45\x0a\x5d\xd2\x4a\x9a\x74\x26\x32\xce\x01\xd2\xc8\xb0\xd9\x49\x9e\x20\x0e\x6a\x24\xb3\x18\xeb\xf1\xa9\x52\x74\x9d\x79\xcf\x8b\xf7\x54\xfb\x06\xb9\x45\x7e\xb1\x48\xab\x68\xc1\x59\x2a\x80\xfe\x25\x67\xf9\x8e\x02\x14\x6d\x01\x80\x67\x8a\xfc\xa8\xaa\x01\x74\xaa\x8a\xa0\x60\x5c\x1b\xc3\x9b\x8b\xf5\xfd\x9b\x99\xa9\x0a\x62\x86\x9d\x65\xd1\x67\x54\xa3\x4a\x8e\xa5\x62\xd6\xb2\xe8\x5c\x23\x92\xe4\x0e\x4c\x3a\xcf\x11\xcf\x51\x97\x91\x1a\xd8\x8f\x25\xbf\x07\x1f\xe0\x5a\x65\x11\x4f\x64\x27\x71\x90\x9c\x15\xe9\xe3\x09\x4d\x26\x1b\x30\xb9\xba\x50\xbd\x6c\xbd\x03\x03\x8a\x67\x6b\x0d\xc1\xec\x5a\x12\x33\xf7\xc7\x8c\x03\xe0\xc2\xa2\x78\xd9\x57\x45\x72\xd7\x45\xc8\x63\x8c\x94\x82\x62\x2d\xc4\x75\xb8\x25\x5c\x34\xf3\xf8\x35\x0c\x10\xb6\xa1\x72\xd7\x75\xbf\x7d\xdb\x89\x40\x96\xf4\x5a\x8f\x44\x3d\xdb\x72\xe5\x61\xf0\xc0\xba\x2f\x63\x40\xf4\xa2\xcd\x13\x9f\x8c\xb5\x28\x24\xb8\xc8\xd6\x26\x91\x9b\xb2\xa9\x72\x6d\xba\xc0\xbe\x47\xe0\xe7\xde\xda\xbd\x13\xb8\x00\x8a\x74\x0d\xcc\xd3\x73\x19\xd6\xcf\x64\xc8\x84\xc8\x81\x72\xa6\x60\x10\x38\xd0\x96\xe1\xfb\xa4\xfc\xac\x40\x34\x75\x1c\xa9\xe3\x50\x96\xba\x4b\x3b\x3a\x3f\xc1\x42\xb6\x8c\xbd\x9e\xdb\xa8\xcf\xb2\xdb\xd0\x27\xba\x16\xa1\x76\xb6\xec\x8c\xce\x28\x24\x10\x40\xd8\xf7\xcf\xa8\xe5\x71\x85\x56\x18\x87\x5c\x9a\xce\xf5\xc2\x02\xdd\x03\x6f\xb6\x10\xd8\x7a\x46\x85\x4d\xe2\x6f\x72\x51\x56\xf9\x74\x5c\x72\x52\x36\x75\x06\x1d\x59\xd5\xb6\xb1\x49\xb7\xd0\x61\x16\x51\x25\xa9\xa2\x2d\x22\x01\xcb\xde\x8c\x68\xd2\x6a\x4f\x19\x4b\x99\x30\x2a\xda\xd4\xce\xc6\xc7\x35\xeb\x2b\x0f\x13\x29\x2c\x9e\x8f\xce\x72\x66\x74\x6e\x9a\x24\x95\x79\x51\xa8\x5c\xab\x7d\xdd\x80\x71\x51\x9f\xa7\xbb\xc3\x14\x73\x97\xd7\x89\xd0\xc3\x0f\x96\x52\x91\xcd\x87\x76\x95\x55\x3b\xa5\xfe\x86\xe1\x5f\x8d\x89\xd2\xab\x06\x16\xa6\x57\x2f\x15\x21\xca\x29\xca\x9b\x0d\x51\xb1\x28\xcf\xb8\x5e\x8c\xac\xe1\xa9\x3b\xd3\xba\xb1\x5f\x9e\xd8\x0f\xbb\x68\x75\xc7\xc4\xf5\xe7\x0c\x5d\x20\xde\x64\x1c\x41\x91\xed\x14\xba\x6c\xb7\xd1\xd4\x1a\x13\x28\x97\x2d\xac\xcb\xe0\xec\x36\x54\xd3\xc5\xa6\xc3\xb3\x60\xab\x23\x39\x71\xb9\x91\xdd\x17\xb6\x8a\x42\xbb\x86\xc5\xce\x21\x6a\xcd\x33\x2e\x33\x0b\xf6\xda\x25\xb0\x2a\xa5\x5f\x46\x73\x9a\xd1\x24\x61\x09\x57\xe9\xe6\xf6\xc5\x3f\xfe\x61\xe9\x68\x4f\x10\x94\x58\x59\x88\xef\x2f\x3c\xcd\xd3\xa0\x22\x3a\x20\x21\x05\x78\x26\xd6\x64\x6f\xf3\x38\xdd\x00\x8b\x8b\x46\x68\x9e\x05\x08\x35\x46\x27\xf6\x58\x65\x56\x5d\xa6\xd1\x0c\x2a\xd5\x4e\x28\xcf\x04\x53\xea\x90\x5c\x48\xcd\x8e\xc9\x67\x3a\xbf\x05\x85\x0f\xab\x84\x4c\xd1\x42\x4b\x15\x31\x92\x53\x2e\xb8\xee\x0d\x85\x05\x38\x73\xab\x72\x14\x49\x81\x20\x37\x11\x2c\xac\x6f\x02\x4c\x8e\x0e\xed\x45\x63\xe1\x00\x43\x25\x2d\x8b\x9d\xd1\xc7\x51\x10\x41\x39\xc2\x08\xf5\x35\xe8\xf8\x9a\x3e\x62\xcc\x30\x14\x76\xc4\xaf\x97\x48\x8f\x36\x28\xc7\x82\x42\x23\xb6\x93\x0b\x5e\x90\x00\x51\xca\x88\x87\xb3\xc7\x08\xc9\x6f\xf8\x21\x3b\x24\xdf\x27\x72\xac\x7a\x44\x79\x1c\x34\x57\x77\x52\xf5\xd0\x49\x02\xff\xc6\x6c\x92\x0f\x6e\xf5\x0b\xbe\x0f\x95\x1c\x26\xfc\x0b\x56\xf2\x57\x7f\x3c\x3e\x3a\x4a\x17\x07\xe3\x3c\xba\x67\xda\xfc\x05\x32\x45\xe3\x0a\xd9\x74\xc0\x11\x6d\xca\x49\x5d\xb5\x3a\xf5\x7c\xd6\x4e\x14\x69\x91\x10\x2c\x46\x86\xb9\xd2\x7d\xad\x1c\x97\x9d\x28\x45\x73\x21\x10\x3b\xe5\x2c\x6f\x3b\x5e\x25\x0c\xad\x27\xbc\x78\xfb\x88\xae\xe9\xce\x47\x19\xba\x6b\x92\xd0\x29\x1a\x06\x0b\x73\x36\xdc\xb5\x4e\xc1\xd4\x4c\x38\x17\x29\x17\xd3\xa4\x6c\x5c\xbb\x4c\xb9\xa5\x22\x33\x77\xf0\xf9\x9b\x53\x56\x8e\x74\x7a\xef\x5c\x62\xe0\xda\xb2\x26\xff\xc3\xa1\xe8\x2b\xf2\xc8\xb0\xc4\x0f\xa4\x35\x81\x85\x3c\xe7\x6a\xe6\x93\x9a\xc0\x66\x07\x8d\x22\xc2\x91\xe9\xc9\x2b\x2f\x90\xb4\x01\x41\xb0\xe8\x43\xb0\x5a\x10\xd4\xda\x34\x0d\x43\x5a\xb4\x0b\x66\x23\x8f\x19\x9d\xcf\x59\x36\x14\x16\xad\x06\x30\xd9\xa4\xb4\x81\x0a\xeb\x81\x74\x94\x43\x6c\xa1\xf2\x52\x0a\x82\xb7\x2a\x0a\x4c\x38\x3d\xdd\xab\x3d\xa5\xeb\x01\x40\xa2\xe0\xe3\x58\x32\x15\x18\xe0\x88\xd7\xa3\x13\x3e\x61\x86\x6b\x0f\x85\xd9\x9d\xd0\x58\x88\x58\x53\x0e\x7a\xca\x74\x1a\x65\x52\x29\x1b\x35\x8b\xed\x2c\xcf\x7d\xd8\x02\xd6\x1e\x01\xb3\xb0\x26\x62\x15\xe0\x3e\x78\xe6\xa0\xee\xed\xc3\x46\x34\xb3\xd6\xa6\x56\x02\xdb\x17\x6b\xb1\x06\xb4\xfd\xd1\xc9\xf9\x99\xc7\x73\xae\x74\x5d\xc7\xb6\x0f\x41\xc6\xda\xd1\xed\xeb\x33\x0e\x70\xee\x2b\x4d\x2c\x41\xba\x5f\xbd\x59\xe5\x58\xbd\x6d\x32\x82\x2b\x5b\xbf\x8a\x6f\x56\x68\x66\x55\x48\xe9\x8e\xb6\xa9\x25\xc1\x20\x82\x8b\xf6\xa9\xbd\x63\x70\x61\x99\xb7\x94\xa6\xe9\x3c\x4c\x97\x72\x98\x0b\x76\x9a\x78\xd4\xda\xb4\xaa\x67\x85\xf6\x8a\x28\x7a\xa2\xab\x83\xab\x6d\xc5\x7a\xd6\xea\x5b\x8b\x18\xb6\x8b\x10\xc4\xe7\xcb\x3f\x4c\x16\x45\xc4\x8d\xb2\x77\x9e\x2f\x4a\xdd\x6c\xb3\x1b\x33\x8f\x8e\xd6\xba\xa1\xdb\x26\x18\x39\x1d\x82\x64\x8c\x2a\xeb\x4a\x85\x3c\x9c\x4a\x8c\xfe\x1a\x66\x35\x3f\x66\xcc\xe4\x3b\xf0\x78\x84\xc1\x55\x63\x21\xb6\x23\x77\x10\x79\x96\x31\x28\xed\x8d\x18\xcf\x67\x95\xdb\x05\xe0\xb8\x33\x46\xe3\x45\xb0\x22\xde\x59\x88\x3d\x83\x59\x41\xf1\xd4\x28\x3e\x20\xd2\x09\x79\x20\xe7\x4e\xd6\x2b\xbd\x05\x60\x92\x7c\x62\x6e\xac\xc0\xd5\x68\xbe\x10\x07\x50\xb3\xd6\xc8\xc6\x0d\x71\x56\xae\x11\x88\xcb\x02\x88\xe9\x19\xb3\x37\xdc\xf0\x5d\xff\xfb\xcb\xeb\xdb\xc1\xe9\xf0\x5d\x11\x59\xeb\x52\x47\x9c\x94\xe3\xb1\xee\xa4\x18\x0a\x1f\x0c\xe7\xc1\x63\x60\x2f\x09\x8d\xe3\x02\xba\xcb\x0a\xdf\x18\xcb\xb3\x94\x23\x07\xa7\x62\x65\x18\xdc\x92\x66\xee\x20\x7f\xe0\xb5\x9e\xac\x25\x66\xef\xd2\xc9\xc1\x2c\x88\x25\xe1\xea\x3b\xba\x6c\x42\x58\x0a\x8d\x3a\x0a\xf3\x15\x70\x05\x7b\x74\x32\x26\xdc\xce\x47\x14\x2f\xe1\xf5\xb8\x9d\xdb\x90\x0d\x36\xf5\x23\xff\xc2\xe2\xeb\x16\xa9\x6a\x27\xd1\xe8\x9d\xa2\x78\x1a\x77\xc1\xe8\xad\x6b\x6c\x82\x9f\xca\x9d\xf9\xae\x3b\x5b\x42\xf6\x56\x41\x8e\x00\xd8\x08\x4d\x28\x89\x58\xa6\x29\x17\x64\x02\x07\xdb\xe8\xca\x80\x49\xc0\xc0\xff\xf4\x07\x92\x72\x01\x59\xbf\xcb\x96\xf6\xae\x3c\x8f\x75\x4a\x4c\x9e\x5d\xdc\xdd\x96\x44\xd5\x1f\x2e\xef\xca\xf5\xcd\xfa\xbf\x2c\x95\x55\x2b\x2d\x2c\x73\xf4\x07\x53\x2c\x32\x88\x2c\x80\x86\x5f\x99\xa6\x89\x7e\x62\xfa\x27\xc3\x97\xa5\xd8\x45\x78\xad\x95\xb3\xc0\xe9\xc1\x46\x0f\xd8\xf0\x1a\x64\x60\x87\xb2\x24\x86\xda\x49\x72\xd0\x03\xb1\x3d\x84\x09\xbd\x87\x58\xc9\x0b\x2a\xfb\x83\xba\xe6\x02\x55\x8c\xbe\x24\x85\x59\xae\x21\xbc\x4d\x74\xad\x39\x39\xc1\x8f\x3b\x05\x4e\x5e\x87\xe1\x92\xa6\xad\x62\x29\x49\xff\xea\xac\x61\xad\xcf\xab\x76\xe1\xaf\x0b\xa7\x32\xf1\x26\xea\x5d\x43\x54\x06\x79\x2f\xaf\x02\x9d\xd2\xce\x74\x3b\x60\x4a\xf4\xe4\x5d\x95\xdd\x83\x4f\x7a\x0d\x6f\x21\xcf\x96\xf2\xd9\xac\x62\xb0\x1b\x30\x8d\x62\x19\xd6\x44\xd3\x08\x07\x64\xe3\x8b\x43\x04\x89\x7a\xf0\x5a\x2f\x44\x94\xc0\x5a\xaa\xce\x17\xb9\x33\x94\x8d\x62\x36\x5d\x60\x36\x7e\x42\x8a\xf6\x59\xd8\x90\x57\xee\x80\xf3\x5d\xd0\x99\x4d\x8a\x0c\xa7\x1b\x52\xdb\x7a\xc8\x1c\xc5\xf8\x9c\x4d\xcb\x16\x7f\xa1\x73\x6a\x95\x62\x90\xf0\x1d\x42\x59\x13\x00\xfa\xe1\x50\x04\x5e\x68\x85\x32\xb9\x39\x23\x0e\x75\x10\x2a\x93\x18\x76\x6a\xa3\xbf\xfd\xcd\x5c\xda\x81\x6a\xee\xa5\x9e\x95\x71\x03\x6b\xfd\xd8\xd3\xa9\x66\xd4\x65\xb8\x38\xf5\xde\x06\x98\x84\xc6\x0f\x68\x2f\x00\xf2\xb2\x1d\xb3\x07\x66\x83\x52\x68\x00\x2b\x1e\x64\x45\xc6\x92\x29\xf1\x5e\xfb\x1c\x22\x9e\x58\xac\x43\x5a\xb5\xf9\x19\x91\x83\x72\xdb\xf2\xf2\x03\xbe\x03\xd8\x8f\x75\xa5\xda\xe0\x58\xad\xb4\xa1\x38\xc7\x0d\x50\x42\x18\x60\x00\x9d\xb6\x61\x74\x7c\x99\xb3\x68\x13\x6c\x82\x2b\x9a\xd1\x94\x69\x96\x2d\x8b\x31\x28\x17\xfd\x01\xff\xb9\xdb\x41\xdb\x2f\xee\x22\x22\xdc\x55\xa1\x10\xbd\xea\x75\xbe\x0a\x6b\xc0\xcf\x62\x2d\x58\x15\x33\x8d\x9f\x2c\xa4\xdf\x9a\xb3\xb0\xfd\x14\xd3\xb0\x21\x14\x01\xb4\xc4\xb6\x73\x7a\x9e\x1c\xfb\xdb\x5a\xb6\x7a\x29\x06\xe0\x95\x24\xd7\xaf\x1e\x65\x5b\x56\xfd\x2a\x5e\xba\x13\xde\xed\x42\x67\x5d\x6e\x56\xe5\x50\x95\x82\x72\x81\x4a\x40\xde\xc7\x04\xf3\xe6\xcc\x78\x10\x5a\x9a\xc2\x9e\x82\x04\x03\x8b\x9b\x54\x58\x1b\xad\x64\x55\x45\x8d\xad\x2c\xd7\x0a\x1e\xb7\xab\xac\xe1\xbd\x44\xb3\x6b\x89\x66\x0d\xdb\x1e\x52\x27\xcb\x2a\x00\x06\xb6\x38\x8f\xcd\x3c\x2d\x4f\x10\x82\xda\xed\x15\x69\x2b\x7c\xc0\xd5\xcf\x85\xff\x57\x99\x83\x3b\xa2\x0e\x49\xb5\x29\x5b\xe7\x30\xf0\x8f\x80\x7b\x24\x09\xa5\x01\xeb\x2c\x87\xd1\x62\x6c\x13\x9a\xa0\xcf\x2e\xd0\xbb\x02\x59\x73\x0b\x99\x93\x47\xae\x8c\x2e\x3c\x14\x10\xfc\xe3\x4d\xd5\x5a\xda\x12\xc3\x3d\x78\x0b\xf2\x6b\x55\x3e\x4e\xb9\x26\x34\x98\x61\xc9\x5e\xd6\xb3\xe7\xd9\x7c\x00\x33\x6e\x4c\xe0\x6c\xc2\x7e\x58\x71\x68\x36\x30\xfe\x14\x8d\x6c\x9b\xa3\x19\x04\x2a\x3e\x6d\x96\x66\xa0\xf1\x84\x1a\x66\xe3\x99\xdb\xa7\x69\x92\x66\x6b\x83\x45\xa3\x03\xc8\x40\xae\x74\xe5\x6e\xb1\x18\x74\x2b\x52\x34\x8b\x8d\xe8\x94\xa3\x59\xbc\xbe\x8b\x24\xcd\x36\x78\xe0\x65\x49\x3b\xee\x93\x16\xe3\xac\x4b\x06\xd3\xd2\x45\xc3\x86\x92\xd2\x55\xab\xa4\xf4\xda\xe0\x72\x8a\x28\xdf\xcd\x63\x46\xd7\x51\x07\x8b\xc0\xff\x90\x8a\x82\x3c\x9e\x32\xd8\x00\xab\x72\x7e\x21\x35\x04\x6b\x47\x50\x6a\xab\x96\x40\x34\x14\xcd\x12\xc8\x72\x9e\xb8\x6d\xdc\xf5\x4e\x61\x75\x82\xf3\xe7\x66\x61\x2d\x5a\x3f\xfb\xc8\x15\x54\x96\x6d\xd1\xac\xaa\x88\x59\xf8\x9f\x5a\x14\x10\x10\x3c\x36\xc9\x64\x6b\x38\x95\x1d\xa3\xa2\x57\x9e\x0b\x7b\xe9\xee\x50\xb5\xab\x71\xe7\xce\x41\xe4\x5e\x46\xb6\xdc\xd8\x45\x41\x3a\x35\xbe\xe2\x46\xdc\xa4\x7a\x04\xa0\xd5\xed\x0c\x63\xaf\x9a\xf6\x6a\x1a\xef\x81\xeb\xd1\x0e\x9d\x62\x18\x86\x47\x7e\xad\x6c\x49\x69\xc2\xb6\xc8\xda\x13\x4c\x7a\xdd\x8a\x1f\x81\x2b\x2c\xb3\x21\x7c\x3c\xb4\x1b\x40\xa9\x0f\x1b\xf9\x54\xe1\xc3\x5e\xb4\xcb\x45\xcc\x32\xc1\xa8\x9e\x3d\x5f\xe0\xf4\xc9\xb6\xc6\xe9\x67\x0b\xa2\x3e\xd9\x49\xb9\xa7\x4a\x60\xf2\x9a\x31\xc9\x6b\x04\xf8\x16\xc5\x3f\x6a\x8a\x63\x53\xd5\xc4\x02\xdb\x60\x1d\x2a\xdd\x2a\xb6\xba\x59\x99\x7b\x9a\x28\xf3\x06\xab\x4f\x2d\xbe\xdc\x1c\xf6\xb0\x64\xca\x8a\x25\xf9\x2a\xc2\xb9\x9f\x3e\xc2\x78\x59\xed\x94\x3c\x08\x3a\x86\x0a\x39\x9a\x72\x61\xb9\xd7\xb2\x38\x63\x2c\x2f\xdf\x14\x5a\xfc\xea\x83\xd6\xbf\xfa\x98\xf5\x7d\x04\xf3\x9b\x8c\x60\x5e\x66\xea\xf2\xde\x17\x28\xd0\x5b\x42\xc9\x47\x19\x71\x85\xc6\xb0\x79\x64\xb1\xb3\x16\x85\x61\x19\xf6\x17\xfb\x43\x63\x64\x46\xed\xb3\xea\x6c\x43\xcb\x95\x58\x54\x0d\xc0\x34\x8b\x13\x0b\x65\x63\xe3\x26\xcb\x96\x86\x65\x46\xb1\xa1\xf8\x41\x3e\xb2\x07\x96\xf5\x08\xd5\x24\x95\x46\x51\x0c\x22\x21\x80\x26\x4b\xa8\xa8\xe8\xf1\xa6\xe4\x82\xa6\x2c\x1e\x80\xba\x11\x44\x57\x59\xd3\x9c\x75\xaa\x35\x21\xb6\x01\xf8\x18\x6e\x83\xf3\x90\x0f\x05\x46\x3c\x61\x94\x0d\xdc\x0b\xdc\x4d\x0c\x84\x96\xdf\x7b\x97\xdf\xef\x0f\xc9\xad\xe1\x45\x5c\x95\xc7\x1b\x00\xb8\xb4\x8d\x6d\x28\xa6\x99\xcc\xe7\xde\x5a\x22\xc7\x60\xa6\x41\x12\x6e\x70\xf9\xc1\x60\x9c\xbf\x2f\xa2\xb1\xd1\xba\x96\x13\xce\x8b\x04\xc3\x6d\x84\x82\x10\x12\x90\x61\x2b\x3e\xc2\xc7\x46\xdc\xa2\xa7\x2e\xc8\xfd\x5e\x86\xe5\xfa\x44\x6e\xc4\x53\xa6\x40\xff\xf7\xf6\xd5\x52\x1a\x60\x39\xd5\xb4\x71\x9c\xcb\xac\x5f\xde\x42\xed\xac\xb8\xcd\x59\xac\x45\xe7\x36\xba\xc7\xd5\x8f\x07\x02\x7e\x32\xbb\x58\xe7\x20\xbe\x36\x7e\x71\x95\x67\x73\x09\xb7\x6e\xb2\x70\x59\xb7\x16\x2c\x66\x2e\xe7\x39\x46\x30\xf1\x30\xa0\xa5\x91\xb2\xb9\xd2\x9f\xa9\x8e\x66\x46\xc5\x2c\x40\x53\x76\x14\xd9\x55\x70\xe5\xa7\xb5\x95\x35\xcc\xe0\x24\xec\xbd\xc5\x78\xdc\xc1\x76\x8a\x17\xb2\x8b\xf2\x85\x7f\x25\x89\x2f\x7b\xdc\x58\x27\xce\x7d\x62\x9f\x98\x89\xae\xa2\xa2\x55\xe3\xef\x46\x5b\xe5\xa2\x1d\x3b\x8f\x19\xdb\x02\x01\xe0\xd4\x62\x7e\x14\x2f\x12\x2b\x59\x35\xb2\x9c\x3c\xe3\x9b\x25\x23\x58\xa0\xdd\x07\x23\x14\x7a\xdb\x5a\x4a\xe7\x46\x60\xd4\xd2\xdc\x92\xd9\x14\x65\x96\x8c\xe9\x3c\x33\xf7\x48\x9e\x71\x77\xf6\x2b\x29\x7d\xed\xd4\x01\xb6\xa8\xa3\xb0\x28\x43\x44\x83\x7a\x35\xe8\xda\xa5\x91\xce\xa9\x0f\x41\x03\x9a\x48\xb8\xb8\x37\x9d\x61\xfa\xa2\x73\xa1\x66\x0c\xd3\x18\xe3\x86\x3d\x5d\x49\xd8\x5b\xec\x72\x7b\xf5\xc5\x55\x27\x8d\x8b\x69\x80\xaf\xd4\x6c\x0f\xec\x02\x9f\xdc\xf8\x65\x37\x08\xe8\xc6\x4f\x9d\xec\xb3\xc9\xb7\x4b\xb0\x37\x5a\x3f\x5f\x25\xc0\x96\xc2\x6d\x6d\xc8\xa3\x95\x9e\x42\xe4\x2b\x6b\xab\x01\x00\x3b\xac\xa1\x4a\xad\x34\xf5\x9f\xfe\x2f\x2c\xb7\x81\x4b\xf3\x9f\x44\x66\x43\x81\xbf\xf7\x3c\xd4\xb5\x79\xa1\xc0\x90\xa3\x29\x2b\x50\xb6\xb2\x32\x1e\x0f\x64\x84\x5b\x3c\x15\xc4\x0b\xf4\x48\xbf\x66\x0c\x41\xc1\xda\x5a\x65\xcb\x94\x0a\x3a\x05\x74\xc2\x1e\xc4\x40\x81\xb8\x5a\x58\x97\x90\xa4\xb1\x64\x12\x70\x2b\xc3\x2c\x6d\xda\x5f\x51\xf9\x0d\xfa\x44\x51\xd6\x82\xa3\x15\x8e\xf4\x66\xea\x77\x65\x47\x37\x93\xd8\x6f\xfb\x37\x3f\x8e\xae\x07\x37\x97\x77\xd7\x27\x25\xb1\xfd\xe4\xfc\xee\xe6\x76\x70\xdd\xf8\xac\x48\x99\xfb\xcb\xdd\xe0\xae\xe5\x91\x6b\xe0\xbc\xff\xfd\xe0\x3c\x7c\xe5\x2f\x77\xfd\xf3\xb3\xdb\x5f\x46\x97\x1f\x47\x37\x83\xeb\x9f\xce\x4e\x06\xa3\x9b\xab\xc1\xc9\xd9\xc7\xb3\x93\xbe\xf9\x32\x7c\xf7\xea\xfc\xee\xd3\xd9\xc5\xc8\x05\x98\x86\x8f\x7e\xbe\xbc\xfe\xf1\xe3\xf9\xe5\xcf\xa3\xa0\xcb\xcb\x8b\x8f\x67\x9f\x9a\x66\xd1\xbf\xb9\x39\xfb\x74\xf1\x79\x70\x71\xbb\x54\x11\x69\x5e\x8d\xf6\x92\xfc\xc5\x45\x16\x18\x08\x02\x31\x69\xbc\xb0\xa4\xcd\xff\x0e\x66\xea\x2b\xa4\xc7\x83\x9e\xfb\x0b\x8b\x2b\x1e\x18\x16\xe8\x3c\x20\x05\xf7\x18\x0a\xef\xa2\xf2\x97\xaa\xa6\x53\xe5\x32\x20\x4b\xa3\x3d\x26\x7d\x38\x2b\xa0\x30\x94\x3a\x85\xdc\x7b\x3f\x52\xe7\xd4\x04\x3a\x4c\x78\xca\xc1\xbf\x49\x0e\x48\x75\xc3\xcb\x0d\xda\x39\xc1\x10\xac\x87\x26\x5e\x76\x1a\x54\x35\xb9\x12\x28\xe5\x98\x38\x0e\x6d\x9a\x35\xe3\x02\xf8\xba\x85\xa0\x29\x8f\xf0\x87\x0a\x82\x1b\x29\x32\xc5\xab\x2d\x96\x08\xac\xdc\xf2\x8c\x91\x1f\xff\x5c\x0c\x0a\xac\xd5\xd6\xa2\x90\xd7\x8a\xf2\xd8\x07\x59\x8e\xab\xba\x8a\x3c\x4b\x3d\xb9\x63\x6e\xcd\x88\x70\x6e\x6d\xed\x46\x70\x2d\xe4\x22\x40\x8b\x29\xf9\x19\x6c\x71\x68\x72\x40\x2a\x34\x7e\x4c\x6e\x20\x53\x5d\x15\xaa\xbb\xd9\xc5\x79\x92\x4f\x79\xad\x74\xeb\x98\xcd\xe8\x03\x97\x0e\x01\x1b\x81\xc2\x61\x1d\xad\x68\x45\x0e\x48\xeb\x41\x39\x26\xfd\x38\x56\x65\x06\x57\xa2\x1c\xc7\x32\x0f\xca\xc3\x0e\x01\x5e\x44\xec\xd9\x66\x85\x8e\x8a\x23\x07\x2b\xb6\xfb\x5c\xfc\x3a\x3b\x2c\xdf\xbd\x5b\x61\x1b\xaa\xfb\x91\x23\xe5\xd1\x46\xc2\xc0\x2d\x55\xf7\x0d\x15\xa1\x1b\xef\x57\x87\x8a\xb0\x5d\x8f\xed\x65\xa8\x1b\x3b\xf5\x2b\x3b\x82\x83\xb6\x59\x9f\xad\xc0\x92\x2b\xba\x74\x33\x4e\x2a\xd5\x3f\x3a\xf7\x57\xaa\x1e\xf2\xf4\x96\xfd\x66\x69\x0c\x8e\xe4\xc8\xd3\xff\x1a\xf3\xb8\x82\x4f\x2f\xfd\x97\x4b\x45\xb6\x51\xb0\x6e\xeb\xda\xfb\x6b\xb9\x82\xd6\xe6\xbf\x94\x0e\x77\x84\xce\xd1\x5d\x18\x04\xec\x66\x1e\x81\x6b\x87\x72\x61\x11\xfd\x99\xf7\x3d\xb8\x1a\x96\xe6\x1c\xfb\x2a\x33\x74\x2c\x1f\x4a\xca\x65\xca\x94\xa2\x2d\xb8\x09\x81\x49\x6c\x1b\xc6\xe0\x4f\xa8\xfd\xb0\x23\x3d\xb9\x33\x79\x6b\xbe\x5a\x66\xf4\xb9\x0e\x35\x63\x37\x51\x23\xb0\xc6\x2e\xa6\x92\x5c\x62\x66\x95\xe1\x2f\xbd\x22\x6c\x42\x66\x41\x34\x49\x9b\xa9\xbf\xa3\x59\xad\xba\x60\x8d\x85\x1a\x42\x77\xcd\xfa\xd1\x16\x41\xeb\x1b\x83\x6a\x5a\x1b\x3a\x2d\xaf\xcf\x1a\x54\x57\xf2\x6d\x85\x45\x2c\xb1\x5e\x33\x56\xc8\x0e\x46\xda\x23\x14\x13\xda\x0a\x69\x4a\xe5\xd1\x0c\x3d\x0a\xe6\xca\xe8\x0d\xc5\x63\xb0\x21\xa5\x90\xcf\x7e\xd8\x12\x80\xc1\x7d\x31\xc7\x8d\x3f\x94\x02\x69\x41\x64\xe4\x10\xd5\x19\x10\x02\x3a\x7f\x8a\x0a\x14\x2b\x08\x3c\xd8\xaf\x2d\x48\x7d\x83\x72\x43\x0d\x15\xb1\x9b\x8a\x0e\xf9\xb9\x05\xb5\x7e\xb6\xd0\x94\xbb\x0e\x21\x28\x37\xd4\x34\x82\x1d\x54\x1b\x7a\x56\x84\x50\x9f\x98\x87\x79\x9c\xe9\xd8\xa6\xca\x9b\xe9\xba\xd5\xfe\x57\x37\xa3\x7f\x45\xbf\x43\xde\x82\xad\x10\xb4\xe6\x41\x42\xc9\x81\x91\x59\x5d\xce\xaf\x75\xba\x2b\x72\x80\xa0\x4f\xef\x21\xa6\xae\x7f\x75\xf6\xbe\x47\xde\x87\x79\x45\xef\x37\x3a\x80\x76\xdc\xb6\xe2\x10\x68\x53\xa5\xe0\xf2\xf2\xb1\x83\xbd\xaa\x9c\x44\xbb\x67\xf6\x20\x92\xb6\x73\x68\xbe\x2c\x7d\x03\x8e\x48\xa8\xa0\x83\xbe\x3a\x1f\xda\x6a\x5d\x40\x28\xe3\x72\xd5\xb0\x76\xf1\x50\x8c\x17\x55\x27\x4f\xcf\x7b\x79\x3a\x9f\xd2\xad\xab\xc2\x98\xf6\xea\x89\xa8\x3b\x0e\xb9\x5c\x7e\x1f\xac\x48\x6d\xed\xfb\x6a\xed\x05\x17\x6b\xf3\x48\xef\x63\x95\x9b\x66\x55\xb2\x97\xb9\xc5\x6c\xdc\x94\x55\xf2\xcf\x5b\x23\xb7\x0e\x01\xbe\xfd\xa6\x15\xb1\xb1\xdd\x2d\xc2\xf5\x9e\xca\x9e\x96\xca\x76\x11\xdb\x5e\x1e\xdc\xfa\x17\xe8\x09\xca\x71\x41\x33\xce\xe0\x6a\x94\x09\xcf\xe0\x4b\xa5\x83\x56\xd7\xdc\x5b\xd3\xe7\x1b\xac\xc9\x6a\xa7\xef\x0d\x06\x0e\xa0\xdb\xb5\x3e\xd6\xea\x50\xfb\xda\xd6\x31\x90\x1c\xf3\xd8\x34\x4f\x59\x8f\x48\x91\x2c\x82\x60\x07\x7b\x5e\x81\xdc\x30\x1e\x05\x0b\x82\x63\x27\x16\xea\x6c\xad\xc4\xe7\x35\xa5\xf1\x36\x1a\xd9\x22\xd2\xe4\xa2\xff\x79\x70\x3a\x1a\x5c\xdc\x9e\xdd\xfe\xd2\x00\x63\x57\x7e\xec\x90\xec\x82\x17\x6e\x7e\xb9\xb9\x1d\x7c\x1e\x7d\x1a\x5c\x0c\xae\xfb\xb7\x2b\x50\xee\x96\x75\xd6\x86\xa0\x96\xab\x26\xf5\x6d\x1d\x14\x35\x67\xe6\x6d\xe8\xbd\x8e\x75\x17\x74\xc2\x59\x0b\xde\x1d\x26\x79\x8b\x98\x65\x24\x66\x0f\x2c\x91\xf3\xc2\xac\xda\xb8\x60\x01\x10\x5e\x43\xfb\xcb\xc0\xf0\xa0\xcd\xea\x1a\x1f\x13\x2c\x17\x13\x54\xcc\xf3\x0d\x82\xc8\x47\x33\x26\xde\x6b\xc2\xbe\xcc\x13\x1e\x71\x1d\x24\x81\xc9\xcc\xba\x57\xd0\x7d\x08\x91\x88\x2b\x88\x6b\x67\xd1\x28\x3b\xd7\xf9\x43\x4f\x7a\x5d\xdb\xf7\x27\xca\x03\x33\xad\xac\x41\xb0\x03\xc5\xbe\xc5\x69\x5c\xc3\x8d\xda\x60\x74\x4f\x61\x1e\xa8\x67\x63\xd8\x44\xae\x16\x4c\xa9\xe6\x41\xae\xbe\x0d\x97\xc5\xc9\x94\xce\xf5\xf2\x40\x99\x6e\x94\xfa\xc2\xe1\x2e\xa5\xda\x5c\x3b\xc0\x58\xb0\x71\xca\x6b\x06\x2c\xd4\xe0\xfe\xc5\x3d\x82\xa0\x93\x8c\xa5\x52\x1b\x05\x0c\x23\x02\x7a\x46\xa8\xe2\x34\xe1\x7f\x07\x34\xa2\x8c\x1d\x06\x11\x14\x90\xec\x15\x87\xc1\xfd\x16\x29\xe0\x70\x28\x4e\x07\x57\xd7\x83\x13\xc3\x90\x0e\xc9\x9d\x02\xa0\xa1\xd2\xd4\x4f\x2d\x79\xa3\x38\x16\x46\x32\x70\xa1\x34\xa3\x6d\xc1\x60\x2c\xcb\x64\xd6\x9d\x3f\xf8\xfe\x06\xf0\x5d\x33\x79\xc3\xb3\x92\x6d\xca\x19\x00\x2e\x5a\x0b\x2b\x06\xf1\xe1\x3b\x4f\xbf\xb9\xa6\x8f\xa5\x15\x09\x81\x16\x40\x12\x29\xaf\xfa\x13\xae\x36\xe0\x08\x76\x9f\x5f\xa9\xcf\x2b\xf8\x76\xd9\x3c\x6f\x5d\x6d\x74\x0f\x4a\x88\xb8\x85\xbe\x68\x41\x65\x9e\xad\xa2\x62\xf6\x12\xa0\x0c\x15\xd2\x1f\xb3\x29\x15\x24\xcb\x85\xa8\xa0\x54\x86\x96\xb6\x7a\xd0\xcc\xba\x47\xd5\xac\x19\x4d\x65\x2e\x40\x69\x80\x30\xd6\x86\xc1\xa8\x39\x13\x7a\xc5\x60\x5e\x0a\x72\xa3\x32\xd4\xd7\x8b\xba\xd1\x30\xd0\x36\xe0\x8d\x26\x7f\x12\x54\x6f\x5c\xef\x5a\x76\x41\x79\x25\xa7\x92\x39\x54\xfe\x7e\x6e\xd6\xb2\xa9\xba\xdf\xba\xbb\x5b\xaa\xee\x57\x77\x15\xb3\xe8\x7e\xdd\xcb\xa6\x9a\x85\x97\xd8\xe2\x97\x35\x63\xdf\xc2\x3c\xb5\xc8\xfa\x50\xf3\x34\xba\x27\x3f\xdc\x7e\x3e\x27\x13\x6e\xe4\x5e\x73\xad\x5c\x50\x23\x63\xdf\x65\x89\x2f\x28\x8d\x32\x48\x9e\x25\xfe\xee\x85\x8d\x77\xa2\x54\x20\x25\x98\x1b\x8d\x4e\x99\x33\xf6\x66\x16\x57\xad\x82\xac\x9f\x51\x11\xcb\x14\xe7\x71\xa4\xf2\xc9\x84\x7f\x39\xd4\x34\xfb\xb0\x86\x44\x73\x52\x72\xb0\x55\xc8\xc8\x86\x4f\x5a\x98\x3f\xb0\x2a\xac\x94\x13\x06\x0f\x4c\xe8\x9d\x08\xd9\xd0\x44\x43\x96\x71\x37\x53\x39\x96\xba\x3a\x3b\x2d\x38\xb4\x2f\xb9\x1c\x84\xe6\xe8\x8c\xc2\x65\x65\x33\x3b\xac\x5f\xb8\xcd\x5b\xfd\xd0\xd9\x01\x0a\xaf\xd6\xd7\x65\x45\x7c\xb7\x5d\xed\xa2\xe4\x65\x11\x9b\xe9\x60\xb2\x37\xc4\x1d\x51\x0c\x55\xf1\x20\xdf\xdd\x6a\x58\xd5\x3d\xc7\x3e\x67\x54\x55\xbb\x5c\xb9\xe5\x1b\x80\x6c\x94\x9a\xf9\xc4\x20\x07\x6d\x27\x65\xe8\xd7\xc8\x35\x86\x81\xdc\x65\x09\xc4\x01\x2f\x35\xc5\x60\xb9\x4d\x73\x7c\xbd\x78\x42\x3b\x08\x9a\x38\x18\x23\xf9\xb0\x79\xc6\xa0\x00\xf4\x31\xb9\x4a\x98\x11\x1f\x72\x23\x42\xe4\x49\xe2\x00\x89\x96\x8b\x38\x6b\x81\x68\x3d\xf9\xbc\x02\x01\x7a\xc9\xc4\x1c\x20\xd7\xf2\x99\x05\x6b\xb0\xfb\x0c\xf1\x60\x7d\xc1\x0e\x0a\xd6\xb0\xb2\x2a\x04\x0c\x78\x81\xc1\x9f\x60\x0f\xa1\x25\x6e\xcc\xff\x6e\xd8\x7c\xc6\xd4\x4c\x26\x4b\xa7\xb0\x36\xcc\xd9\x3a\x73\x70\x4b\xf9\x84\x93\xb0\x91\x77\xa3\xb6\xe0\xe0\x0e\x97\xf3\x29\x36\xd1\x28\x12\x2c\x9b\xa2\x47\x52\xf7\x21\x0c\x16\x1e\xd2\x86\xb2\xd9\xa1\x81\x63\xae\xb0\x17\x85\x50\x4d\x85\xfd\xbd\x90\xc8\x17\xe8\x40\xf4\x9f\x07\x85\xbc\x7d\x5c\x3b\xd7\xaa\xa8\x7c\x03\x15\xdd\xd7\xe3\xb2\x36\xfb\xa1\x68\xc2\x0c\xb8\x99\xb5\x59\x10\x75\x90\xdb\x6c\x6c\x8b\x2a\x81\x4c\xd9\x2d\xc6\x29\x37\xea\x14\xed\x0c\x74\x5b\x3f\x4e\xb9\x86\xf7\x93\xb9\x73\x4a\xd4\x52\x9a\xc0\x1e\xb6\x68\x7d\xd8\x22\x8b\xa8\xef\x69\x0f\x40\xc6\x74\x06\x59\xc5\x85\xc7\xa6\x7a\xc9\x5b\x2b\xeb\xaa\x54\x9b\xd2\xee\x74\xca\xab\x29\x7d\x61\xce\xfd\xe9\x96\x2e\x1f\x33\x99\xc5\x08\x32\x15\xb7\x09\xfb\x28\xcd\x1f\xcd\xd5\xd0\x26\x8b\x09\xa6\x46\x23\xa8\xaa\x5d\x3b\x6f\xaa\xc7\xea\xf6\x43\x71\x6d\x46\x81\x5f\x14\xae\xff\xa2\x72\x34\x2b\x6a\xdc\x4d\x08\xb5\x5f\xc1\xa2\xb7\x45\x5e\xa9\x51\x50\x38\xff\x09\xb3\xac\xbf\xc7\x77\x30\xa1\xda\x02\x8a\x98\xa9\xf2\x49\xa1\x37\x1a\x61\x2f\x9a\x71\xc8\x67\x8e\x99\xb2\x97\x07\xd7\x36\x61\xdd\x8b\xca\x39\x73\xd0\xae\xf0\x99\xe7\x5f\x4d\xcc\xd5\x69\xa6\xc2\x59\x84\xd4\x50\x04\x7d\x2c\x41\x02\x44\xed\x70\x43\xb1\x1f\xf6\x99\xc7\xde\xd3\x02\xff\xc4\x1d\xaa\x55\xc1\xb7\xd3\x4b\xe9\x1c\xec\x89\x78\x06\xe5\xc4\xdf\x3f\xb7\x36\xac\xfd\x10\x46\xfc\x7f\xfe\xeb\xbf\x0f\x79\x9b\xb9\x5d\x8d\xec\x0a\xbc\x86\x9d\x5c\x6f\x5b\xc2\x9d\x0f\x20\x0a\x5a\x52\xdf\x55\x3e\xf6\xf8\xc1\xa5\x50\xfd\xe2\x57\x7b\xb9\x19\xa2\x91\x7a\x86\xfe\xc5\x32\xb9\x83\x31\x3e\xcb\x97\xdf\xb2\x01\x8b\x2b\x3c\xd0\x85\x9b\x31\x88\xf2\x74\x00\xf4\x18\x9d\x67\xda\xaf\x5c\x28\x15\x06\x15\x20\x85\x6d\x13\x0d\x37\xa3\xea\xe9\x42\x1e\x1a\xab\x7a\xa0\x95\x32\xbc\x23\x57\x05\x3f\xe0\x20\x31\x8b\xce\xec\x4a\xae\x58\x86\x07\xda\x43\xca\x90\x7a\xf1\x59\x88\x7d\x5b\xe1\xc3\x61\x29\xe5\x6b\xc5\x69\x9b\xf7\x9b\x51\xda\x4a\x46\x5c\x3a\x65\xd9\x28\xce\x4b\x41\xb9\xab\xda\xbe\x32\x1f\x9d\xe6\x7a\xb1\xba\x7d\x95\xd0\xe8\x7e\x1d\x64\x3c\xf3\x7e\x4b\xb3\xab\x05\xc3\x20\x74\xa2\x2c\x1c\xb6\xe0\xce\xb1\x0a\xee\x9c\x8d\xe5\x2b\x69\xed\x70\xd1\x08\xa8\x1e\x1c\x08\xf7\xf6\x26\x42\x74\x5c\x18\x39\x19\xe7\x85\x95\xc3\xe3\x8d\xc7\x87\x43\xf1\x11\x01\xfb\x41\xf1\xc0\x01\x44\x90\x48\xc1\xbe\xcc\xa5\x62\xa5\xcc\x9e\x06\x0c\x71\x9b\x99\x67\x87\xd1\x2c\x93\x56\xaa\x37\x6f\x25\x92\xbe\x38\x82\x60\x7d\xc3\xeb\x53\x6e\xa6\xc0\xad\xa4\x9e\x88\xcf\xb9\xa1\x9d\x51\xe3\x49\x5b\x7f\xea\x5d\x4b\x50\x14\xb1\x32\x80\x25\xa3\x93\x45\x8f\xf8\xe9\x55\x08\x22\x61\x0f\x0c\xcc\x94\x30\xc6\x10\x29\xbe\x6c\x6a\x6a\x61\x27\xab\x0e\x50\x91\x56\x07\x6c\x81\xc4\xd5\x11\x94\x93\x8f\x9a\x68\xb1\x9c\x56\xb1\x75\x06\x50\x93\xc3\x7f\x0d\x29\xb4\x1f\x22\xe6\x2f\x98\x26\xec\x8b\x66\xb6\xe0\xdb\xad\xcb\xd1\xaa\x87\x75\x93\xe6\x34\x93\x76\x11\x69\xf7\x54\x51\x9b\x88\xcd\xcc\x75\x49\x68\xb1\xbb\xf7\x6d\x52\xd6\x8c\x8a\xd8\x66\x1a\x5a\x59\xda\xc8\x14\x30\x3b\xb4\x03\xf9\x18\x6c\x9b\x2f\x17\x40\x0d\x63\x9b\x88\x89\x0c\x17\x99\xd3\x8b\x8c\x64\x0e\x6e\x6b\x99\x19\x01\x35\x17\x9a\x27\x86\x38\xec\x18\x8c\xd6\x9c\x0b\x0f\xf6\x05\x11\xc3\x6d\x78\x52\x5c\x29\x2e\xa6\x23\xbb\x92\x2e\x69\xae\xdb\xc5\x50\xa6\xa9\xcf\xd8\x14\xfe\xf8\xbd\x6b\x68\xb9\x9d\x17\xc9\x1a\xb0\x7e\x5c\xba\x1e\x08\xd6\x42\xba\xc9\x58\x90\x26\x97\xe5\x37\xe2\x71\xa9\x40\x3d\x4c\x74\x1d\x23\x05\x88\x75\xf5\xfc\xf8\xe2\x0a\x51\x36\x05\x0f\x13\x6b\x20\x02\x5a\xb7\xe4\x18\xaa\xd6\xdc\xc2\x33\xe1\x45\x34\x5b\x38\xc6\x67\x50\x57\xd2\x14\xa9\xeb\xce\x86\x79\xd3\x24\x19\xd3\xe8\xde\x2b\x1b\x5e\xe5\x96\x99\x03\xde\x36\x02\x2a\x54\x16\x42\xe2\x32\x03\x8d\x40\xba\x09\xbd\x30\x88\x90\x62\x87\x5d\x74\x6e\xcb\xfa\x0b\x2c\x34\x0f\xca\x39\x8e\x1e\x63\xc6\x63\x36\x4f\xe4\x22\x6d\xb9\xcf\xaa\xa9\x59\xdb\x44\x40\xb4\x65\x86\xed\xf4\x2a\xab\x30\xbd\xb5\x2f\xb3\x5a\x9e\xc7\x0e\xf0\x7a\xd6\xe0\x92\x9f\x12\x39\x06\x2b\x9f\xd5\xb2\x5d\xee\x42\x10\x42\x5f\x3d\xcf\xeb\x66\x54\x54\x4f\x24\x57\xf3\x84\x2e\x96\xf5\x80\xb1\xfc\x4f\xbb\x6f\x98\xfb\xbd\xda\x08\xd6\x3d\x0a\xb6\xf1\xf3\xa7\x40\x01\x3d\x77\x92\x00\xbe\x8b\xfc\xcb\x1a\x93\x98\xb3\x26\x61\x16\xd5\xe1\x3c\x93\x46\x52\x90\x43\xa1\xe9\xd4\xed\xae\x95\x2e\xe5\xa3\x60\x99\x9a\xf1\x79\xa9\xe4\xd8\xd6\x71\xb7\x96\xa4\xed\x7f\x30\xca\x74\x0d\xe6\x29\xe7\x07\x08\xfd\x60\x08\x44\xcd\x69\x54\x58\xff\xa2\x84\x2a\xc5\x27\x8b\x00\xb1\xc1\x87\x30\x42\x5e\x4c\x59\x5d\x0e\xaa\xfc\x34\x71\x9a\x10\x03\x60\x37\x89\xcb\xdb\x27\x6d\xdd\x95\x4f\x21\x8f\x43\x80\x2c\x28\x03\x5f\x03\xe9\x70\x17\xb6\x05\xeb\x78\xaa\x5c\x2e\x3b\x32\x9b\xd1\xb4\xbb\x81\x39\x6c\x85\xcd\x32\xa0\x97\x82\xbe\xb4\x9b\x39\x0a\x61\xd7\x0e\xdb\x2a\x5a\x1e\xe8\x21\x9c\x06\xcc\x31\xb6\x5f\xf8\xec\xa5\x52\xde\x3e\x2d\x61\x9d\xe0\x1a\x19\xe5\xcf\x99\x70\xcd\xf9\xf2\x40\x12\x90\x6f\x5f\x74\xd0\x23\x6a\x2b\x00\xa6\xee\xa4\x7d\xca\x12\xb6\x93\x98\xdc\x0d\xe8\xbc\x1a\x2b\x10\x50\xf8\x52\x22\x2a\x20\xc7\x57\x9b\x49\xd6\xa7\xf1\xea\xa8\x0a\xea\xde\xd9\xa0\x36\x88\x5f\x6e\x41\x98\x69\x1e\xf9\xcf\x38\x50\x1b\xc2\xdc\x44\x60\x60\x5e\x84\xad\xef\xaa\x1a\x36\x41\xd5\x61\x0b\xf6\xc4\x14\xdd\xb8\x7d\x74\x58\x40\x5e\xd8\x75\xd2\xd7\xeb\x3d\x06\x2f\x1c\xf0\xdb\x32\xba\x4f\xac\x4b\x74\xc7\xca\x23\xba\x11\x37\x6d\xbb\x12\xbb\x91\x8a\xf5\xcc\x6a\x49\xa6\x4c\x63\x39\x6d\x5f\x33\xfc\x0d\x92\xc9\xce\x32\x18\x76\xba\x15\xcd\x4c\x60\xbd\x53\x7d\xc3\xb4\x72\x37\x5e\x0d\x1d\xd0\xee\xd4\x81\x4b\xc6\x2e\x52\x9b\x5f\xef\x16\xbd\x8e\x93\x7c\x6d\xad\x2a\x4f\x77\xc1\xae\xa6\x97\x9d\xd0\x07\xe0\x12\x51\x48\xdf\xc8\x2d\xd0\x31\x1c\xde\xc0\x03\x5b\x53\xe5\x57\xf8\xb6\xed\xf0\x3a\x79\xb5\x6b\xcb\xf9\x14\xdb\x6b\x63\x75\x3b\x6f\xee\x53\x92\xda\xba\x63\xd9\x85\x8e\xf2\xc4\x46\x11\x4b\x8d\x2b\xb5\xeb\x7d\x88\x09\x21\x6d\xfe\xd7\xc2\xb1\x68\xb7\x6c\x97\x87\xac\xa9\x12\xc1\xf6\xd9\x46\x2e\x82\x7b\x34\xcf\xd8\x84\x7f\xd9\x48\x14\xbf\x82\x4f\xad\x7a\x69\x96\xb9\x52\xdb\x00\xac\x1d\x50\x0b\x21\x70\x83\xdb\x95\xb6\x60\xf5\x43\x51\x04\x70\xdb\xe8\xed\x7b\xb6\x20\x32\x2b\xfd\xb4\x29\x56\xcd\xee\xeb\x30\xe0\xbe\xce\xb4\x9e\xab\xe3\xa3\xa3\x29\xd7\xb3\x7c\x7c\x18\xc9\x14\xa3\xb7\x64\x36\xc5\x3f\x8e\xb8\x52\x39\x53\x47\x7f\xf8\xee\xbb\x62\x8b\xc7\x34\xba\x9f\x62\xf6\x6f\xdd\x8a\x53\xda\xf2\x9b\x7a\xad\xb2\xf5\x91\x93\x33\x29\x46\xec\x8b\x21\xd2\xa6\x6a\xf8\x5d\x81\x55\x14\xe9\xff\x7c\x43\xd4\x42\x68\xfa\xe5\x98\x7c\xe6\x02\x04\x90\x1f\x64\x9e\x29\x72\x4a\x17\x07\x72\x72\x90\x4a\xa1\x67\xe4\x33\xfc\xaf\xfd\xe9\x91\xb1\x7b\xf2\x0b\xa3\x99\xdd\x5f\x5b\x92\xc0\x17\x4c\x9b\x51\x48\x6d\x81\xc2\xc8\xd9\x82\x7c\xf7\xef\x24\xc5\x96\x8f\xc9\xb7\x47\xdf\xfd\x3b\xf9\x3d\xfc\xff\xff\x4b\x7e\xdf\xa2\xa9\xad\x97\x59\x0e\xb5\x90\xae\xcb\xc6\xad\x5e\x65\xa5\x36\x28\x0f\x77\x92\xc9\x62\xa7\x1a\x5b\xbe\xe7\xd1\xbd\x9c\x4c\x46\x9a\xa7\x0c\x43\x6d\x47\x34\xab\xa1\x92\x6d\x08\xd3\xc3\x6d\x31\x2b\xac\x07\x5c\x40\x15\xdb\x4e\x31\xb1\xc8\x1d\x37\x95\x17\xc5\x7c\xc0\xa7\x52\x2a\x90\xc4\x15\x7c\xc5\x62\x73\x2a\xd6\xf1\x9f\x38\xeb\x4c\xbd\xe4\x66\x91\x88\x17\x16\x68\xf3\x7e\xd0\xd0\xa9\x8f\x7e\x0f\xbb\x90\x8d\xc7\x01\x7c\x22\x72\x2b\x94\xa6\x7b\x56\x0b\x9d\x58\x33\x65\x0b\xc1\x31\xef\x59\x5b\xb9\x56\xb8\x49\x5e\xcc\xf5\x78\x19\x14\x3e\xb7\xa0\xd0\xee\x9a\x04\xc9\xdf\x56\xa2\xb2\x9a\x01\x73\x38\x9c\xdf\x40\xd6\xa4\xfb\xe7\x07\xb7\x59\x46\x50\x54\x3d\xd7\x10\x14\x29\xb5\xf1\x53\x41\x65\x11\x74\x5c\xd9\x16\x15\xd3\x07\x18\xb0\xd1\xdc\x04\x5d\xf8\x16\xc2\x1a\xed\xb6\x91\xb6\xc0\x37\xb3\x97\x54\x77\xf5\x40\x96\x88\xe5\xd2\x7d\xda\x9d\x9a\xfb\xc4\x7d\x6c\x4e\x04\x2d\xbb\xd1\x81\x87\x85\x59\x4e\xde\x22\x69\xe1\x53\x6c\x1c\x88\xcc\x32\x10\x3d\x21\x72\xd2\x2e\xfa\x12\x9a\xbe\xac\xcf\x70\x0d\x74\x87\xc1\x5f\xee\xfa\xe7\x37\x25\x40\x87\xcb\xdb\x51\xfd\xd7\xb3\x8b\xea\x3b\xe5\x5f\x06\xff\x75\x76\x73\x7b\xb3\x14\xdb\xa1\xd2\x68\x1b\x27\x98\xc9\x47\xa8\x04\x62\xce\x0a\x2c\x08\xad\x2c\x89\xb9\xde\xa9\x70\x30\x5d\xdc\x39\x58\xd1\xa7\x09\x58\x6f\x71\x73\x6e\x4d\x3d\xe6\xe8\xab\x09\x24\x81\xa9\xbd\x54\x10\x89\xaa\x75\xbe\x3a\x7e\xe4\x46\x66\x5b\x69\xcd\x6b\x72\xe3\x86\x2a\x67\x61\xc1\x50\xc8\xe4\x92\x99\x07\xcd\x43\xeb\x96\x2d\xe1\xb3\xda\x16\xcd\x33\xf4\xb8\x77\x63\x32\x66\xea\xa7\xfe\x93\x55\xc3\x04\xf7\xbb\x7b\xbb\x28\x4e\x02\xa3\x35\x27\xc1\x30\x95\x86\x11\x37\x20\xeb\xac\xda\xd0\x1b\x9f\x4c\x09\x8d\x43\x2c\x08\xc4\xc1\x0a\xa7\x9f\xd8\x44\xbf\xc6\xfd\x04\xbc\x91\x5d\x40\x11\xd5\xa0\x6b\xb7\xb8\x75\xd1\x60\x5e\x08\x0a\x0e\xf9\xb8\x02\x78\x9c\x51\x73\xa7\x6c\x88\xde\x84\x10\xf6\x3d\x92\x51\x08\xa7\xd0\x33\x2a\xd0\x94\x32\xa1\x11\x17\xd3\x5e\x00\xdc\x03\xf9\x87\xa1\xe4\xd2\xb4\x92\xb7\x54\xdd\xef\x36\x44\x60\xeb\x92\x3e\x3c\x2e\xca\x4a\xd8\x54\x5b\xf4\xa1\xf0\x1a\x6a\x89\xa6\xea\xbe\x2d\xd7\xbc\x06\x74\xb1\x64\x74\x7e\x29\x1c\x3c\xc6\xb2\xf1\xb9\x7c\x26\x16\xaa\x6e\x80\x62\xeb\x0a\x8a\x59\xd8\x1b\x17\x92\x8e\x05\xdf\x79\xc2\xe2\x2a\xde\x53\x75\xfc\xab\x08\x01\x8d\x63\x81\x2f\x1a\xe0\x80\xd2\xb9\x84\xc8\xd3\x09\x49\xa9\x58\xe0\x51\x32\xa2\x14\x55\xf7\xca\xd7\x95\x22\x2a\xa5\x49\xd2\x23\x19\xcb\x95\x11\xc0\x7b\xe6\x22\x9b\x1c\x38\x64\xde\x98\x24\x72\xca\x23\x9a\x90\x71\x22\xa3\x7b\x35\x14\xe6\x2a\x11\x53\x14\xc9\xe6\x99\x8c\x98\x52\x81\x04\x5e\xe4\x3a\xd9\x08\x74\x28\x2a\xa5\x59\x96\x72\xc1\x95\xe6\x91\x97\x36\x7c\x7a\x21\x96\xb1\x8b\x28\x98\x7e\x21\x9e\x1f\x86\x6b\x34\x02\x86\x58\x41\xb9\xb0\x18\xee\xc0\xd0\x2d\x04\x88\x8b\xad\x6a\xa3\xde\x1d\x20\x9a\xb8\xed\x19\xe9\xf2\x69\x58\x41\xcf\x27\xf6\x33\x38\x43\xcb\x28\xe6\xba\x4c\xce\x9e\x1a\x3c\x99\x7b\xa0\x4c\x47\x14\x45\xe4\x58\x59\xa8\x73\x06\xa6\x57\x06\xb0\x00\x43\x6e\x81\x55\x58\x45\xd3\x66\x15\xe1\x52\x84\xb2\x01\x55\xef\xb8\x2d\xad\xed\xe4\x72\x73\x49\x3c\x18\x22\x71\xcb\x63\xd6\xde\x5c\x25\x3d\x42\x15\x79\x64\x49\x62\xfe\x8b\x81\x63\x07\x1e\xc7\xd5\xf0\x43\xc4\xda\x85\x4e\x1c\x8b\x6c\xa5\x28\x98\xc4\x2b\xa9\x77\xe6\x2f\xe9\x75\xd9\xe2\x4a\x41\x42\x95\x2b\x88\x2f\x19\x9f\x5f\x19\x28\x3a\xde\x3c\xbc\x0a\x8d\xd7\x75\x91\x25\x83\xaa\x91\x48\xb3\xd5\x32\x6b\xca\x92\x43\x8a\x83\xa7\x0f\xbc\xa8\xed\x67\x7b\x5b\x6a\xd5\x34\x33\xea\x64\xd2\x0c\x89\x62\x63\x33\x7d\x65\x2a\xb5\x6c\x53\x8e\x85\x49\x71\x42\x20\xd5\xe6\x51\xc4\x58\xdc\xa8\x8e\x99\x11\xbd\x3a\x4c\xa7\x2b\xaa\x67\x98\xb8\x98\x4a\x8d\xa5\xa5\x10\xd3\xc9\x99\x5b\x11\x04\x68\x9c\xc8\x31\x5c\x48\x00\xf7\xe4\x12\x9f\x82\xa4\x09\x9c\x37\x8b\xc9\x37\xc1\xfd\xe2\x93\x6a\x3f\x34\x83\x0f\x95\x56\xe4\x15\x40\x3d\x55\xed\xbc\xad\x80\x4f\xe5\xea\x28\x87\xe4\xaa\x92\x09\x1e\xac\xcc\x84\x9a\x6b\x63\x29\xaa\xc0\x0b\xc1\x43\x55\x26\xf1\x74\x3b\xb4\x26\x3c\x54\xa9\xcf\x1d\xc0\x43\x55\xe6\xd9\x12\x99\x29\xa7\x4f\x9a\x51\x66\x26\x75\x2e\xbb\xdb\xda\x10\x91\x04\x45\xbc\x12\x09\xba\x03\xb9\x68\x22\xc4\xd7\x05\x7d\x55\xa9\x21\xf4\xb2\xd0\x57\x95\xc1\xbc\x66\xe8\xab\xca\x50\x5f\x2f\xf4\x55\xc3\x40\x3b\x40\x5f\x61\xac\xc9\xc8\x10\x75\x37\xa6\x00\x51\xcb\xe3\x7c\x72\x03\xf7\xee\xd2\x31\x9e\x60\x1c\x0b\x5e\x63\x4e\x94\xb4\x48\x90\x30\x5a\x9b\xe1\xd2\x16\x9d\x47\xd5\x56\xb4\xe7\x9d\xc1\x5c\xa1\x16\x3f\x4f\xa8\x28\x5f\x1d\x50\x26\x38\x63\x91\x21\x3f\x64\x54\x3a\xa3\x42\xc1\x54\x7b\xd6\xba\x64\x46\x81\x6e\x95\x88\xce\x6d\xc6\x60\x1b\x40\xfb\xeb\xc9\x8d\x5a\x0f\x55\x0c\xc0\x8e\x4a\xac\xbe\x13\x54\xc9\xe7\x0a\xc6\x31\xda\x82\xbd\x2e\x83\xc4\xd8\x4a\x7a\xd0\xe9\xc8\x2a\xf4\x6d\x2b\xb6\x75\x29\xfb\x5b\x8f\x1f\xe5\x4c\x07\x01\xd2\xb0\x4d\x1f\xf7\x35\x0d\x58\x6c\x0b\x1d\x2b\xa3\x5d\x9b\xe9\xe0\x8d\xaa\x48\x4a\xb9\xd3\xf3\x73\xe5\x4a\xaa\x0f\x05\xc6\xf0\xdb\xfa\x3a\x87\x04\x5c\x2d\x5f\x68\x3a\x4f\x58\x8f\xf8\xf9\x71\x43\x41\xc3\xfc\xdb\x6f\xff\xc8\xc8\xb7\x24\x65\x54\x94\xec\x1b\xa0\xd5\x9b\x2b\x0f\xc0\x82\xf4\x8c\x0d\x45\xe3\x56\x90\xc1\x17\xac\xc8\xe0\xc2\x4e\xcf\xc4\x44\x3a\x7b\x09\x94\x05\xa2\xd1\x8c\xa8\x7c\x8c\x75\xed\x02\xfb\x96\xd3\xf3\xce\xe5\x14\xe2\x25\xe0\x26\x76\x83\xde\x18\x24\xad\xc2\x70\x3a\x82\xa4\x95\xa6\xb6\x07\x49\x6b\x3e\x7d\xaf\x16\x24\xad\xb2\xe7\xdd\x40\xd2\x9a\xb6\x7c\x03\x90\xb4\x52\x33\x5f\x0d\x48\x5a\x65\x45\xbf\x1a\x90\xb4\xca\xbc\xf6\x20\x69\x5f\x09\x48\xda\x6a\x3e\xd2\x08\x03\xd6\x7c\x78\xd7\x83\x01\x6b\xd4\xaf\xda\x59\xc4\xb6\x98\x0b\x20\xcd\x3d\x33\x0c\x58\x69\x02\xfb\x18\xcd\xf5\x63\x34\x1b\x89\xcf\xf6\x6d\x86\xe7\x02\x37\xab\x17\x59\x47\x20\xb0\xd2\xfe\x74\x36\x7d\xee\x82\x12\x9f\x36\x2a\x18\x3c\x30\x5d\xcd\x21\xfd\xd2\x2a\x2a\x0b\x1f\x68\x24\x23\x07\xe0\x82\x9a\x53\xe8\x7d\xde\x53\xee\x06\xd1\xc5\x95\xe5\xf5\x3e\x1b\xa4\xc5\x5d\x1a\xe7\x1b\x6a\xe3\x6e\x41\xaf\x2e\x01\x73\x4d\xe7\x88\x1b\x04\x38\x49\x9a\x0d\x83\x50\x96\x7b\x37\xcd\xae\xba\xc8\x3c\x3c\x45\xa9\x4a\xb8\xcf\x2d\x2d\xaa\x84\xa3\x6c\x5c\x49\xa9\x25\x54\xbb\x2f\xa7\x5c\xe9\xac\x35\xb2\xa6\x36\xc2\x6d\xdc\xb0\xf3\x7c\x93\x44\xf8\xe9\x66\x9f\xa5\x2c\x95\xd9\xaa\xb0\x9e\xc6\x2f\x2d\xaa\xf7\x26\x9f\xb2\xf9\x8c\xa5\x46\x08\x1a\xad\xdb\x48\xd7\xfd\x2e\xc2\xfc\x30\xff\xad\xa1\x54\x7c\xe0\x64\x35\xef\xc6\xb6\xfc\x7b\xd7\xed\xde\x76\x9b\x5d\x9d\xf9\xf5\xac\xf8\x0e\xc6\x6f\xb9\xb5\xc4\xbe\x54\x72\xa5\x03\x7d\x37\x06\x6b\xf8\x58\x99\x0d\xc3\x31\x5a\xa0\xc1\xea\x1d\x82\xb7\x56\xb1\xec\x20\x94\x51\x4b\x1e\xd2\xfa\x08\xca\xeb\x2e\x13\x56\xb3\x66\xaf\xbd\xf2\xca\x06\x71\x3e\xed\x65\xec\xc3\x9f\xbb\x5f\xc8\xda\x4f\x8f\xa8\x20\xa4\x55\xf1\x94\x27\x34\x43\xa3\x2b\x02\xec\x53\x41\xe8\x04\x3a\x5c\x00\x34\x1a\x40\x42\x1a\xf5\xe0\x81\x26\x3c\x26\x2e\x00\x17\x43\x63\x30\x06\x94\xf4\x2f\x4e\x09\x46\x8c\x6e\x12\x2b\xee\x0f\x94\xb7\x01\x63\xb4\xa8\x5f\xcc\x22\x94\x3d\x08\xfd\xa2\xc2\x4d\x8a\x61\xc0\xb8\x0d\x06\x6b\xda\x5c\xa7\xb8\x6e\xb1\xb3\x79\xd6\x1a\x12\xda\xc5\x68\x1b\xe9\x9c\x26\xa0\x15\x87\x75\x8d\x2a\x1b\xf7\x6e\xbc\x68\xc8\x34\xed\xe6\x15\xe0\x42\xff\xe9\xdf\xd6\x89\x91\x01\x0d\xce\x1e\x0a\xa8\xc5\x40\xa3\x88\x29\xb4\x23\xdb\xd5\xc6\x3a\xe1\x79\x96\x6c\x73\x64\x0d\xe7\x33\xf3\x36\xf7\xa1\x07\x53\x8c\x0b\xce\x80\xd2\xd5\x2c\x93\xf9\x74\xe6\x4c\x55\x86\xc5\x98\xa9\x35\xed\xe5\x4f\x35\x7b\xf0\xda\x7b\xf9\x7d\xce\x93\xcd\x0c\x81\x37\xa5\x02\x15\x9f\xce\x6e\x89\x9a\x79\xe6\x36\x86\x66\x1b\x37\xb6\x3e\xe8\xee\x7d\xda\x6f\xbd\x4f\x02\xba\xe9\x39\x00\xb1\x89\x4c\x12\xb0\xaa\x2b\x96\x3e\xb4\xd5\x19\x87\x09\xdf\xf2\x0d\xab\x29\xc3\xd7\xe0\x9b\x53\x9a\xa6\xf3\x4e\xe2\xea\x15\x4a\xd2\x8a\xb8\xd1\x57\x1d\xf3\x18\xb2\x27\x85\x2f\x77\x5f\xda\xe4\x9f\xeb\xb0\xea\x6f\x2c\x70\xd2\x05\xf2\xed\x2c\x78\xd2\x2d\xc9\x33\x07\x50\x36\xcd\x63\x0d\x16\x50\xca\x2a\x2a\x2e\x70\x17\x99\x82\x4a\x5a\xdf\xcc\x6f\x28\xfa\xa5\xfc\x23\x57\xc0\x70\xbc\x28\x42\x97\x51\xdf\x09\x39\x09\xa0\x51\x5b\x23\x10\xf8\x6b\xcc\x5f\xa0\x95\x21\xf6\x1d\x86\x56\xba\xf0\x49\x88\xbb\x66\xf1\x01\x8d\x16\x51\xc2\xa3\xe0\x3a\x99\x66\x74\x3e\x6b\x62\x37\x6e\xd9\xf7\x28\x43\x2f\x85\x32\xd4\x56\x62\x61\x9d\xb8\x71\x47\x57\x50\xcb\x7d\x8f\x7e\xd4\x80\x7e\xd4\xf3\xf8\x1e\xa2\x28\x16\xf1\x82\xb0\x11\xf5\x73\xb7\x87\x40\x7a\x01\x08\xa4\x4d\x0e\x5f\x81\x6f\x54\x3a\x76\x7b\x58\xa6\x77\x9d\x60\x99\xfc\x25\xf8\xaa\x90\x76\xda\xcf\xe3\x0b\x23\xb8\xd4\x07\xf6\x92\x30\x4c\x0d\xe2\xc2\x3a\x72\xd3\x32\x1c\xa6\x65\x74\xd1\x69\x5d\x5e\x16\x15\x69\xbd\x95\x59\x0b\xf0\xa8\xf1\xee\x7a\x25\xf0\x47\xed\xdb\xf0\x4a\xce\xcd\x2e\xb3\x7b\xd6\xab\x86\x15\x66\xf8\xac\xa3\xdd\xac\x97\xec\xe3\xe9\xe1\x6d\x25\xfc\x14\xa5\x48\x36\x4b\xfa\xe9\x3b\x7f\x39\xcb\xc8\x4c\x26\x31\x86\xa4\x05\xab\xe5\x3b\xf0\xa1\xe6\x7e\x81\xdc\x66\xdc\xcc\x59\x84\xda\x56\x51\x4f\x64\x59\x6a\x8f\xdf\xc4\xb7\x9e\xde\x13\xc8\xbf\xbb\x4d\xf1\x09\x57\x76\xd3\x34\x9f\x15\x83\x5b\x26\x7a\x6c\x98\xea\x13\xf4\xb8\xd4\xa3\xe8\x66\xd7\xc9\xab\x58\x25\x96\x0d\x02\xbe\x6a\x85\x5f\xb6\x07\x43\x4a\xe9\x97\xd1\x9c\x66\x34\x49\x58\xc2\x55\xfa\x64\x51\xa7\x27\x65\xd7\xb2\x39\xab\x99\x44\xfb\x8c\xc8\xd3\x31\x92\xa2\x1b\x88\x2d\x37\xa5\x25\xc9\x72\x11\x42\xb9\xf9\x8d\x21\xae\x1c\x51\x0e\xf7\x02\x98\x74\xa2\x19\xd4\x36\x9b\x50\x9e\x09\xa6\x5a\x2b\x49\xb1\x28\xcf\xb8\x5e\x8c\x6c\x61\xae\xee\x07\xee\xc6\x7e\x79\x62\x3f\x5c\xee\x8d\x77\xf9\xef\xae\x3f\x5f\x08\x6c\xce\x32\xa8\x32\xe0\xf0\xf2\x83\xe2\x63\x16\xdf\x80\xf9\x52\x05\x10\x67\x5b\xbb\xb6\xdb\xe2\xc3\xe9\xe3\x28\x48\xd9\x19\x45\x55\xe2\x58\x75\x58\x9b\x70\xb6\x96\x4d\xf2\x89\x91\xa6\x5a\x3c\xde\x4f\x00\x52\x6e\xe3\xf2\xb1\x69\x33\xe0\xc0\x6d\x0d\xc6\xc2\x62\x63\x82\xa4\x7b\xab\x54\xb5\x8c\x93\x0a\x21\x75\x73\x79\x9a\x25\x83\xed\x07\x5f\x75\x18\x71\xd0\xc9\x8e\x86\x6d\x0e\x7a\x96\xe5\x73\xcd\xc7\x75\x28\xa8\x1d\x16\x2d\xeb\x27\x90\x6e\xee\x6c\xfc\xa5\x6e\xb1\x92\x59\x89\x13\xdb\xd9\x19\xf9\xdf\xe2\xa6\x39\x44\x2d\x0b\xc5\x13\x24\x8a\x5d\xa6\x1c\xa8\x10\xcf\x0f\x58\x7f\x0d\x75\x96\x6d\xb3\xef\x5d\x68\x0a\x85\x7a\x68\x68\x22\x3a\x1c\x8a\xbe\x22\x8f\x8c\x08\x86\x4b\xd8\x54\xe9\xcc\x9b\x94\xa1\x74\xc4\x98\x99\x9e\x7c\x1c\x8d\x11\x1e\xb8\x56\xbe\x7a\x09\xf6\x31\xa1\x89\x62\x3d\xd3\x30\x14\x3d\xd3\x12\x02\x3c\x29\x79\xcc\xe8\x7c\xce\xb2\xa1\xb0\xe9\x02\xe0\xed\x90\x32\xc1\xf6\xd7\x92\x7e\xe2\x58\x95\x0d\x5d\xa8\x42\xf0\xbf\x97\x54\xec\x83\x52\x8a\x51\x14\x80\xad\x40\x70\xa1\x2b\x42\xb1\x4c\xd6\xd9\x87\xaa\xd7\x43\xd5\x9b\xd7\xe6\x35\x86\xab\xfb\xf3\xb4\x6e\xc8\x7a\xdb\xf6\xef\x42\x8a\xd9\x61\xe8\xfa\x0b\xc7\x78\x3f\x4d\x78\xf7\xcb\xc6\xe3\x3f\x45\x28\xfe\x3e\x60\xfd\xed\x05\xac\xb7\x1f\xdb\xb5\x82\xd6\x57\xa0\x07\xb9\x5e\xb6\x8d\x10\xf6\x88\x36\x4f\x1a\x98\xe4\xdd\xf6\xc1\x17\x1d\x23\x85\x0b\xc8\x9d\x7d\xb4\xf0\x13\x45\x0b\x37\x2c\xf1\x7a\x11\xc3\x1b\xe9\xf7\xcf\x1f\xcc\x58\xad\x4b\xfc\x94\x01\x8d\x2b\xc2\x3c\x54\x3e\x1e\x3d\xf9\xd1\x6b\x9c\x73\xd7\x13\xf8\xb3\x27\x0a\x14\x89\x32\x43\x67\x63\x16\xc7\x60\x43\x36\xca\x2a\xa4\x89\x16\xb4\xe3\x74\x01\xc3\x7c\xa9\x32\xc4\x4e\x13\x29\xa6\x8a\xc7\x2c\xa8\x04\x5e\xd2\x54\x20\x65\x15\xf6\x37\x49\x58\xe6\x4c\x90\x19\xf9\x46\x71\x11\xb1\xd0\x2c\x99\x91\x58\x32\x25\xde\x6b\xd4\x0c\xa8\x58\x90\x7b\x21\x1f\x13\x16\x4f\x61\x87\xaa\x83\x39\x20\x9c\xf5\x08\xd7\xfe\xb3\x0c\x72\x5c\x65\xae\x87\x66\xec\x10\x58\x82\x22\x20\xb3\xdf\x06\xf5\x13\x7d\x33\x1f\x0e\x09\x39\x13\x64\x42\x23\xdd\x2b\x57\x6e\x8e\x25\x16\xc4\x7b\x60\x22\x9c\x78\xd1\xc8\x93\x05\xb3\x36\x06\xaf\x56\xa8\xcd\x9d\x37\x43\x00\xfd\x84\xd3\xad\x42\x53\x1e\xe8\x36\xc8\x7c\x9f\x73\x65\x7d\x98\x88\xe6\x8a\xe3\xb5\xf0\x17\x1e\x92\x18\xca\x82\x61\xb4\xe6\x92\x9a\xef\xb4\x32\x95\x75\xc7\x52\xc4\x11\xd9\x6a\x64\xd6\xce\x0b\xed\xe2\x72\xc7\xf2\x51\x28\x9d\x31\x9a\x5a\xdb\x9a\x61\xde\xe0\x83\xc6\x28\x22\x33\x7a\x9e\xe1\xa5\xbd\xce\x16\x9f\x73\x71\x6f\x76\xb7\x00\x61\x86\xea\x8e\xd0\x73\xc3\xa6\x7d\xcf\x05\x2d\x45\xc8\x6f\xb0\x6b\x4b\x30\x86\x97\x7b\x26\xc6\x8b\x36\xfc\x6b\x4d\x57\x41\x52\xaf\xa1\x89\x13\x05\x25\x2d\xc9\x18\x2a\x2e\x1b\x56\xe7\x60\x60\x35\x05\x6b\xd8\x8c\x25\xf3\xa0\x2a\xdc\x9c\x66\x5a\x39\x02\x42\x30\x46\xc3\x1d\xd2\x5c\x60\x26\x3e\x6a\x88\x8f\x16\x73\xcf\x1a\x42\x8b\xc6\x0f\x87\xe2\x4c\xbf\x57\xe6\x7c\x49\x31\x4d\x16\x84\xc6\x0f\x5c\x15\x80\xd8\x91\x14\x2a\x4f\x59\x56\xa9\xb6\x8a\x51\x32\x84\x3a\x5a\x31\x63\xb3\xa0\xb4\x3c\x76\xd5\xbf\xcd\x8f\x63\x36\x31\xf7\xde\x9c\x66\xca\xb9\x54\x1a\xdc\x21\x76\x73\x63\xb3\x56\x2f\x76\x26\x7f\x0a\x8f\x1d\x62\x36\xe3\x09\xa5\x56\x77\x39\xaa\x9e\x4f\x59\x94\xc8\x6f\x8b\x50\xae\x4d\x8a\x2c\xbf\x98\xec\x2a\x9c\xae\x82\x8a\x70\x70\x45\x39\xba\xbf\x4d\x3f\x4e\x06\xc2\xc1\xad\x65\xfe\xa9\x4c\xd0\x8e\x1a\x6d\x68\xe1\xd9\x64\x1c\x2e\x05\xa5\xa9\xe6\x91\x15\xb7\x64\x66\xd9\x93\x65\x5f\xed\x5b\x7b\xba\x25\x34\xaa\x8a\x68\x52\xdf\xe1\x25\x16\x77\x7c\x7f\x39\xef\xb3\xc7\x0d\xdb\x5e\x1a\x6d\x1e\xc9\x24\x59\x07\xe8\xb6\x32\xf3\x93\xe2\xf3\xe5\x23\x2a\xfa\x31\x1b\xe0\xf6\x02\x4e\x0d\xfa\x2d\x68\x62\x25\x0b\xa5\xed\x2e\x85\x2f\x21\x0f\x5d\x58\xbf\xc8\x50\xc8\x09\x40\x21\x27\x6d\x1e\x8d\x79\x26\x53\xbe\x0e\x84\x15\x1a\xf9\xaf\x5d\x04\xd2\x0a\xdf\xb3\x8b\x53\x82\xaa\xbd\x48\x5e\xb6\x47\x88\x55\xa5\x02\xe5\x8c\x25\x67\x28\xa5\xf3\x8d\x16\x7c\x95\x96\xdc\x27\x29\x9a\x28\xec\xea\x29\x2c\x0d\x7d\xcf\x16\x80\x70\x93\x3c\xd2\x45\x11\x93\xdf\x06\x4e\x24\xd6\x22\x87\x3b\xf3\xfa\x99\x98\xc8\x35\x0e\x67\x11\x43\x6f\x4f\x1f\x75\x34\x1b\x9c\x3f\x1f\x0f\x86\xbb\x8f\x6b\xda\xe5\x3c\x9e\x34\x11\xf5\xda\x27\xd3\xad\xe0\x53\x8a\xec\x21\x13\x09\xa5\xf5\x75\xee\xd6\xf2\xd1\x0a\x5a\x24\x30\x9c\xe5\x4b\xf5\xb9\x44\x87\x3b\x5f\xa3\x4a\x3b\x04\x35\x43\x17\x48\x70\xd5\xdc\xea\x33\xac\x99\x3d\x24\x9d\x16\x6b\xcb\xa4\xa1\xf5\x40\x96\x5c\x8f\x1e\x5a\xa9\xf9\x84\xae\x44\x90\x5c\x47\x23\x99\x18\x49\xc8\x96\x20\xf7\x5e\x49\x1b\x9e\x39\xe1\x09\x53\x87\xe4\xac\x41\x3b\x71\xc1\x91\x20\xa3\x01\x00\x25\x84\x89\x38\xe9\x29\xcf\x78\x50\x04\xc8\xc9\x48\x84\x03\x48\x71\x68\xf3\xc8\x98\x19\x73\x84\x3e\x17\x89\x88\x4a\x10\x99\x91\x71\xac\x53\x6f\x84\x55\x0d\xe6\x3b\xc3\x0b\xb8\x4d\xa3\x8d\xd9\x9c\x89\xd8\x7f\x20\xd1\x5f\x46\x6d\x9d\xb3\x62\x54\x2d\x5b\xba\x0b\x58\xf3\xee\xb1\xa7\xae\xd7\x5b\xf3\x45\x7d\x6f\x1a\x47\x78\x5b\x6e\x7d\xed\xd1\x79\x29\x7f\x7d\x07\xd2\x47\xf8\xd4\x59\xb3\x28\x99\x64\x0c\x0c\x9e\xa9\x4f\xe6\x12\x31\xcb\x94\x96\x12\xee\xbb\x9b\xd3\x1f\x8f\xee\xce\x08\xd3\x11\x94\x71\x1e\x8a\x48\x3d\xf4\x8c\x78\xfc\xb7\x9c\x69\xf3\x73\x4b\xb0\x33\x4f\x99\x50\xc0\x09\xb8\xae\xe5\x08\x37\x2f\xa4\x5b\x18\xf3\xdf\xd3\xf2\xf7\x4b\x48\xbe\x16\x3a\x0f\xb4\xeb\x30\xaf\x81\x4c\x01\x2f\xd5\x16\xed\x68\xa0\x18\x74\xdf\x0e\x9a\x2a\x27\x6d\x10\x2a\x27\xfe\x9a\x8b\x35\x85\xae\x93\xe2\xa3\x60\x14\x2d\x32\x5d\x3a\xa7\x00\x28\xb6\x5e\x0c\x1e\x7e\xd3\xd8\xfa\x2a\x26\x52\xa4\x24\x58\x47\x37\x29\x8a\x4c\x11\x9d\x31\x06\x2c\xc4\xd3\x93\xbd\xeb\x6d\x0a\x98\x9f\x58\xf0\xd1\xe1\x50\x7c\x76\x06\xd8\xe2\x57\xe5\x9a\xc0\xb8\x4e\x8f\xb3\x56\x6e\x05\x9a\x8d\xb9\xf2\x3f\x00\x5a\xae\xca\x13\x8d\x75\x0f\x26\x5c\xd0\xc4\x0f\x14\x9f\x34\x71\x89\x8c\x8a\x68\x76\x21\xe3\xed\x80\xa3\x26\x23\x96\xac\x23\x89\x9e\x4d\x06\x89\x32\xf4\x1d\xdd\xb7\x9c\xce\x4d\x2a\x7b\x14\x93\x09\xaa\xd8\x50\x8c\x2a\xb2\x56\xbf\x04\xab\x28\x30\x02\x26\xbb\x6a\xe4\x24\x26\x47\x99\x5d\xb4\x92\x3a\x5a\xec\x30\x64\xc9\x87\x23\x40\x2f\x84\xea\xa1\xc8\x72\x01\x48\x9e\xde\x80\x4f\x89\x62\x19\x47\x4b\x7a\x24\x05\xca\x00\xd6\x14\x33\x35\x6c\xc2\x48\x7e\xe0\xc5\x91\x02\xf4\x33\x99\x2b\x88\x7e\x4a\x99\x36\x17\xd4\x37\x50\x33\x0c\x5d\x28\x3d\x32\xcf\x78\xca\x35\x7f\x60\xea\x43\xc3\xd6\x9d\x50\x4d\x13\x39\xed\x67\x9a\x4f\x68\xa4\x6f\xe9\x56\x1a\x38\xb5\xcd\x6c\xea\x8e\x77\xc3\x20\x67\xa7\x66\xf1\xa7\x4c\x40\xc6\x72\x0c\x3a\x79\xf3\x11\x86\x27\x1b\x71\x6e\xa8\x5d\x10\x21\xda\xbb\xf2\x16\x0b\x9a\x6b\x99\x1a\xfd\x96\x26\xc9\x02\x50\xdc\xcd\x93\x19\x55\x33\xb7\xd1\x08\xfd\xde\xe5\x6e\xb2\x8b\x7b\x42\xa3\x19\xbb\xd1\x54\xe7\x8d\x26\xc7\xd5\x65\x8a\x4e\xfa\x27\x3f\x0c\x46\xa7\x67\x37\xfd\xef\xcf\x07\xa7\xc1\x7c\xec\x93\xcf\x67\x37\x37\xf5\x5f\x7f\x38\xbb\xad\xff\x78\x75\x79\x75\x77\xde\xbf\x6d\x6a\xe5\xfc\xf2\xf2\xc7\xbb\xab\xd1\xc7\xfe\xd9\xf9\xdd\xf5\xa0\xe1\xd3\xbb\x5b\xff\xd0\x3e\x6b\xac\x74\xd4\x32\xda\xea\x39\x3b\x20\xe5\x17\x8f\xc9\x5d\x15\x46\xd2\x86\x60\x60\xaa\xd6\x23\x55\x86\x55\xd1\x71\xc2\xe2\xa1\x20\xee\x73\x33\xf7\xb6\x4f\xd1\x49\x15\xcd\x18\x49\xa4\xbc\xcf\xe7\x96\x83\x61\xbc\xb7\xb0\x95\xbd\x98\x0a\x5a\xfb\xe1\xec\xf6\xb8\x0e\x67\xe9\x1b\x0b\x32\xb2\x1d\xa9\xc3\xb8\xa8\xe3\x9a\x60\x32\x99\x67\xec\x01\xce\xa4\xf7\x55\x06\x3d\xf8\x0d\x58\xd6\x0f\xb6\x46\x85\xae\x74\x13\xc7\xb6\x0e\x9c\x9b\x58\xd0\x70\x79\xfb\x96\xad\xa6\x5f\x0e\xc4\xef\x26\x63\x16\xd1\x1c\x5d\x79\xe6\x3a\xca\x32\x99\x85\x03\x2e\xb6\x7d\xcb\x46\xdf\xd5\xa5\x8c\x72\xa5\x1f\x05\x67\xc4\x7c\x12\x9c\x1c\xa3\x7d\x83\x66\xee\xb0\x63\x67\x16\xe3\x9b\x2b\xf4\x36\x14\xfe\x17\x80\x45\x33\x9c\xdb\x63\x7c\x72\xf0\x0d\x52\x4d\x1e\x19\x04\xfd\xe7\x16\x3c\x1b\x35\x64\x73\x02\xa1\x3b\xb4\x6a\xbb\x8a\x0d\xa5\x64\x80\x56\x96\xb9\x0b\xb1\xd8\x7c\xaf\x58\x13\xbb\xdc\x22\x72\xfb\x14\x1b\x05\x1e\xea\x1c\xb5\x30\xe2\x16\xff\x81\xe3\xd9\x0d\x76\xec\x25\x52\x50\xfd\xde\x58\xc1\xd2\x0d\x73\xed\x32\x1e\x97\xad\x56\x82\x8b\xeb\x3e\xb0\x12\xa4\xd8\xca\xb5\xba\x95\x31\x5d\x18\xe2\x80\x08\x09\x95\xcf\xe7\x32\xd3\xa4\xa5\x0d\x8c\xf6\xc3\xf1\xc1\xcd\x60\xe7\xe1\x59\x14\x34\x62\xe4\x00\xd5\x80\xe8\xda\x2d\x81\xc7\xae\x6b\x71\xee\x43\x24\x00\x50\xd7\x3c\xec\x47\x5a\x52\x7c\x4b\x14\xda\x24\xa2\x6e\x13\x17\xb5\x56\x19\xc1\xb6\x11\x34\x54\x14\x0c\x23\x73\xd9\x44\x8f\x1a\xfd\x33\x4b\x4c\x91\xa6\x45\xd1\x96\xf7\xc8\xa7\xb3\x1d\xb4\xd8\x5d\x9e\xff\x83\xf5\x9f\x19\x21\x3e\xd0\xe5\x33\x29\x35\x4a\x92\x85\xb6\xe1\x71\x61\xc0\x10\x60\x3b\x45\x8c\x98\x42\x5c\x33\xd2\xf9\xbd\x90\x8f\xc2\xdb\xe0\xd5\xe1\x50\x0c\x28\xd4\xf4\xf2\x2a\x83\x0d\x81\x40\x79\x7d\xa5\xa4\xbe\x74\x5f\x36\x92\x4d\x06\x7f\x09\x25\x85\x8b\xf2\x3f\x3f\xdd\x96\xff\x55\x92\x2a\xce\x6f\xcb\xff\x5a\x2e\x55\x04\x0d\xd7\x25\x89\x4f\xb7\xc7\xe4\x13\x64\x46\x64\xe4\x76\x46\xf1\xbe\x3d\xbf\x3d\x26\xe7\x4c\x29\xf8\xa5\xe1\xee\x41\x77\x22\x71\xd3\x2f\x30\x9f\x59\x45\xaf\xab\x2e\xa0\xaf\xb1\xf4\xac\x71\x1a\xed\xa0\x53\x05\xf3\xb0\x65\x64\x13\x5f\x2c\x94\xc5\xa4\xf4\x5d\x17\x16\x84\x06\x7e\x27\xed\xe2\x84\x2d\x16\x92\x66\x73\xeb\x84\xc0\x79\x16\x29\x42\xe0\xc7\x36\x5d\x1d\x92\x9f\x9d\x91\x0b\x42\x5e\x8a\xfa\x6f\x1a\xaf\xed\x84\x2e\x1c\xf0\x4a\xd3\xc2\xee\x02\xcb\x64\xd7\x41\x30\xcb\x17\xd8\xe7\x6d\x37\xac\x72\xc9\xd6\x20\x04\x1a\x9f\xd7\x88\xf8\x3b\xf1\x1f\xdd\xb0\xe5\x21\xc1\x1f\xa1\x9c\x0b\x22\x9a\x83\x98\x63\x2e\xa3\xff\x81\x9b\x85\x01\xe7\x0e\xa8\xdd\x96\xd7\xb0\xce\x62\xc3\x80\xc0\xd9\x89\xf1\xe8\x64\xc2\x93\x04\x84\xa9\x43\xd2\x87\x6a\x68\x50\xe7\xca\xc8\x13\x2e\xb0\x8a\x4f\x85\x5c\x15\xcb\xd1\x42\x4c\x51\x40\x4c\x37\xed\xc4\xa4\x80\x9a\x8a\x74\x9d\xdd\x50\xd4\x0e\x52\x37\x0d\x73\xa6\x75\x90\xbe\xee\x09\x9b\x6b\xd8\x29\x5e\x22\x2e\xaa\x36\xdc\xe0\xc3\x7f\x36\x0f\xfd\x53\x4e\x33\x2a\x34\x44\xfb\x58\xf5\x25\x63\x41\xd4\x29\xfb\x02\xf1\x74\x02\x6d\xde\xf0\x53\xb8\xb9\x2e\xba\x61\xca\x1f\x98\x20\x3c\xee\x11\x7e\xc8\x0e\x7b\xb6\xb0\xb9\xca\xc7\xc5\x9b\x33\x23\x7e\x0d\x45\x2d\x0d\xf1\x90\xf4\x13\x25\xed\x17\x4c\x44\x09\x54\x1f\x0c\x02\x93\x3c\xe5\x5b\x0f\xda\x78\x01\x4a\x1a\x6c\x65\xd1\xbc\xb4\x0f\x82\x0f\x87\x82\x2a\x74\xff\x27\x70\xd2\x8b\xdf\x9b\x2a\x8c\x96\x42\x42\x9e\x10\x61\xb6\x76\x0d\x3d\xd9\x26\x61\xe9\x89\x65\x1b\x04\x6f\xc0\xc6\x14\xe9\xa1\x41\xa2\x25\xf9\x86\x6a\x92\x30\xaa\x34\xf9\xee\xc3\x5a\x61\x30\x6e\x82\x05\x77\xb5\xc7\xb7\x88\x11\x76\x41\x86\x6d\xc5\xd2\xa1\x34\x10\xa1\x44\xb0\x20\x61\xa1\x67\xf6\x59\x4b\xf2\xc0\x55\x0e\x05\x1d\x83\xb4\x06\x2c\xc9\x87\x09\x38\x10\xa7\x89\x7a\x67\x0b\x1f\x71\x90\x62\xd6\x53\x5c\xd4\xf7\xae\x52\x96\xd5\x40\x39\xea\xb8\x90\x79\x5f\x84\xfb\xcd\xa8\x1e\x0a\xcb\x59\x5d\x84\x4c\x50\x7c\xab\x9f\x24\xe5\x10\x3b\x0a\x51\xa4\xc2\x4c\x18\xca\x51\x1e\xfa\x05\xba\x00\x1d\xd6\x47\x65\x95\x0b\xd4\xfb\xc3\x62\xd4\xdd\xa1\xf0\x69\xcd\x61\xdb\x8d\xe2\x62\x93\x29\xfd\xd9\x34\x89\xc6\xee\xcf\xb1\x2e\x68\x07\x6d\x82\x35\x0d\x79\xc5\xc1\xaa\xbb\x2f\x96\x28\x17\xbb\xee\xa0\xbb\xae\xd1\xec\x0a\x80\x6b\xf6\x51\x36\x78\x16\x5a\x36\x37\x90\x2d\xb6\xb1\x62\xf8\xf0\xc0\xe7\x72\x6e\x97\x86\x7e\x16\x43\xb8\xff\x6a\x2e\x58\x84\xcf\x3b\xd6\x01\x36\x7d\x1e\x07\xd1\xbc\x41\xa8\x23\x44\x7b\x3b\xc6\x67\xdf\x6c\x71\x32\xcf\xdf\xf6\xf4\x7b\xc5\xfc\xdd\x54\x7c\xbc\x5f\x7d\xe2\xed\xc2\x5e\x3f\xfe\x2b\x8d\x98\x88\x16\xd8\x93\x4b\xcf\xac\xe7\x5d\x3b\xb4\x3a\x0a\x7e\x8b\x46\xf1\xd0\x96\xf8\x3d\x24\x03\xb8\x68\x5c\xc5\x5f\x3a\x71\xbe\x97\xe0\xe5\xa1\x30\x9a\x89\x4b\xd3\x0c\xda\x2f\x93\x78\xd3\x09\x40\xcc\x87\xad\xdc\x56\xe9\x6a\xd8\xe4\x36\x6d\xc2\x41\x4e\x40\x1b\x00\x1d\x4a\x06\xd3\x63\x12\xcb\xe8\x9e\x65\x47\x19\x8b\xb9\x3a\x86\x30\x02\xdd\xea\xbf\x4c\xa9\x68\xf5\xb5\xec\xbe\xfa\x7e\xbd\x56\x6e\x0a\x65\x6c\x21\xce\xdb\x15\xa8\xea\x11\x3e\x01\x75\xc2\xa5\x7c\x60\x1e\x88\xcb\x6a\x65\x42\x67\x8b\xb9\xe4\x42\x7b\x7b\x60\x65\x21\x9c\xa6\x61\x84\xb6\xb6\xa8\xe7\x6c\x17\xe1\x46\x1b\x4e\xfb\x76\xc6\x14\x73\xb1\x15\x38\x29\x2d\x09\x3a\x94\x90\x5d\xcc\xa9\x9e\x29\x48\x5a\x29\xaf\x81\x55\xba\xe0\x53\xb3\x42\x74\x0e\xa1\x19\x68\xe6\x29\x3e\xf2\xa9\x15\x4a\xf3\x24\x19\x0a\xc1\x58\xac\x08\xe4\x97\xbc\x6f\x4c\x8e\x32\x9f\xf6\x08\x8d\x63\xf2\x3f\xbf\xf9\x78\xfe\xcb\xed\x60\x74\x76\x01\x86\xfb\xb3\xf3\xc1\x87\x9e\xff\xf1\xf2\xee\xd6\xff\x8a\x26\xaa\x07\x96\x91\x94\xde\x83\x8a\x27\x14\xca\x7f\x90\x80\x10\x8e\xd4\xa5\x8d\x99\x27\x8a\xb9\xa0\x5e\x2b\xa6\x78\xa4\x14\xbb\x87\xad\xf5\xe7\xd0\x70\xba\x86\xf2\x7b\xed\x3f\x59\x4e\x83\x8e\x78\x7c\x17\x4e\x0c\x4c\x99\xd0\x86\xc7\x58\x93\x69\xa1\xfb\x16\x04\xc7\xc4\x94\x8b\xb6\xd0\x43\x26\x1e\x9e\x52\x88\xff\x91\x2d\x7e\x32\xea\xf5\x15\xe5\xdd\xc1\xa9\x07\xe2\x81\x67\x52\xc0\xd4\xbc\x5d\xd0\x9f\x18\xa3\xa7\x53\x55\x3d\x54\x0a\x65\x61\x08\x47\x99\xb7\x86\xb7\x36\xe1\x3d\xbc\xf8\x74\x6d\xa6\x3f\xfb\xa2\x33\x97\xa0\xe8\xc1\x0a\x1e\x28\x4f\x20\x34\xd9\x5d\x34\x05\x0d\x0e\xc5\xed\xe5\xe9\xe5\x31\x61\x09\x1d\x4b\x07\x7a\x3d\x03\x98\x2b\x6c\xc2\x2e\x18\x54\x7e\xf7\x0d\x95\x92\x53\x7b\x64\x5e\x24\xa7\x86\x46\xb4\x43\x6c\x63\x55\x61\x58\x99\xd5\x53\x3b\x77\xab\x02\xda\xc9\x5e\xc9\xac\xcb\xf5\x6f\x5e\x83\xa5\x93\x73\xa3\xc8\x55\x38\xaf\xbd\x9b\x27\x8c\x62\x4d\x46\xf4\xad\x59\x87\x88\x8d\xd5\x4d\x92\x52\x89\x17\x73\x70\xd4\xa1\x8d\x36\x28\xde\x94\x82\xfc\xf8\x67\x45\xc6\xb9\x1e\x8a\x72\x1b\x52\x90\xfe\xcf\x37\xe4\x7b\xaa\xa3\xd9\x87\xa1\xb8\x34\x6a\xe6\x8f\x7f\x6e\xc9\xa2\x5f\x1b\x84\xc4\xac\xc9\x29\xd5\xf4\x5c\xd2\x98\x8b\x69\x13\x02\x49\x61\xfa\x1d\xdc\xf6\x8f\xc9\xa5\xd5\xe1\x7d\xe2\x6b\x81\x1a\x14\x34\x04\x0c\x19\x26\xe2\xb8\x08\xb0\x72\x51\x46\x69\x40\xcd\x0c\x2e\xac\xa1\xb8\x45\xe8\x15\xc3\x55\xb9\x26\x73\x69\x71\xc2\x8d\x56\x86\xa0\x34\xe8\x0b\xb0\x96\x44\xb3\x3a\x40\xc6\x7e\x33\xac\x3c\x06\xf2\x4c\x9d\xd9\x0f\x05\x28\xe8\x3e\x19\x31\x91\x11\x4d\x20\xfc\xf0\x20\xb0\xe9\x19\xb5\x5d\xe6\x90\x19\x06\x71\x3f\x62\x51\x8e\x12\xf6\xc9\x8a\x5e\x28\x0b\x37\x0a\x0c\x00\xb0\x8f\xd6\x23\x9d\x4a\xc3\x71\x0e\x87\xe2\x6c\x82\xd1\x89\x09\xae\x8e\xf9\x90\x09\x70\xca\xbb\x65\x31\x4f\x1d\x3f\x82\x5a\xb5\xe8\x9b\xa5\x11\xf8\x3f\xc4\x02\x22\xd5\x01\x5b\x58\x42\x94\x4b\xc1\x9d\x2d\x51\xd6\x76\xd1\xdf\x89\xc1\x67\x43\x81\x41\x91\xa5\x7d\x09\x13\xb7\x83\xde\xa5\x80\x98\xcd\xe2\xba\xf4\x02\xc6\xdc\xc6\x70\x5a\x59\x7f\x9e\xb1\x83\x98\x69\x96\xa5\x60\xef\x09\xd7\xd4\xdc\xb0\x87\xe4\x3a\x54\xaf\x63\x19\xe5\xa9\x03\x50\x83\x0c\x3a\x1b\xec\x67\x2f\x51\x4f\x21\x78\xb1\xaf\xa2\x78\x9a\x45\x33\xae\x19\xa4\xb9\x75\xd6\x8f\x91\x60\xfa\xe1\xa7\x75\x49\xbd\x5d\xf0\x05\xde\xb1\x5d\x80\x1e\x36\x34\x9a\x97\x5b\x2a\xb5\xb6\x1a\xff\x69\x05\x18\xff\x45\x01\xf2\x24\x33\x10\xb6\xd8\x97\xb9\x04\x23\x37\x66\x51\xca\xf8\xbd\x22\x67\x57\x46\x02\x32\x1a\xaf\x3f\x83\xb9\xd2\x18\x47\x87\xe5\x18\xe0\x6b\xcc\x8c\xe8\x91\x6f\xb1\x88\x68\x44\xbe\xb8\x3f\xfe\xf4\xef\xff\xfe\xc7\x3f\x6d\x52\x93\x01\xda\x2d\xd6\xc8\x43\xb6\x97\x45\xa2\x70\x07\xea\x9c\x6a\x8b\x5d\xb0\x07\xb0\x6d\xf9\x37\x01\xdc\x09\xc2\xa4\xe8\xd4\x9e\x70\x15\x9e\x4c\x52\x3a\x9a\x45\x38\x86\x62\xba\x57\xe6\x10\x5e\xd8\xb5\x12\xfd\xff\x58\x82\x53\x31\x32\x47\x65\xb3\x70\x2e\x9e\x78\xf1\xda\x34\x42\xbe\xb1\xf6\x3f\x0d\x1e\xd8\x0f\xee\x82\x93\x49\xcc\x32\x5b\x80\xd8\x99\xec\xbc\x21\x11\x98\x03\xfb\x32\x4f\x64\xec\x50\x90\x14\x9b\x53\x10\x20\x0c\x33\x38\x1c\x8a\x81\xab\x47\x6b\xab\xe1\xc3\x47\xe8\x79\x99\xd0\x08\xc1\x7f\x14\xf9\xe6\xcb\xb1\xf9\xad\x47\x16\xc7\x10\x2f\xdb\x23\x7f\x3f\xb6\x79\xf2\x34\xd3\x23\xf3\xd3\x07\x27\x6b\xdb\x26\x60\xd0\x5c\x91\xf7\x47\x0f\x34\xc3\x32\x76\x47\x38\xa2\xf7\x96\xb3\xfa\xda\x13\xa1\x6c\x9e\x48\x79\x6f\x63\x89\x6b\x1f\x1e\x39\xcc\x0d\x20\x6f\xef\x37\xc1\xad\xb7\x61\xe1\x46\x8e\x3c\xb0\xd5\x74\x0f\xe7\x63\x72\xf8\x57\x25\x05\x39\x5c\xd0\x34\xb1\xbf\xba\xa7\x36\xd4\x99\x2a\xe2\xea\x29\xbb\x40\xa7\x64\x81\x96\xd2\xef\x13\x39\x86\x59\x7d\x76\x33\xc5\x60\x61\x18\x68\x71\xfb\x14\x17\x96\x9d\x88\x95\xa4\x10\x39\x20\x95\x1a\x5f\x01\x1e\xd7\x34\xab\x2f\x7e\x48\xff\x85\x8e\x75\x58\x14\x97\xaf\x88\xc6\x61\x1f\xa8\x67\x1a\xfd\x42\xbe\xb1\x2c\xe8\x83\xb9\x63\x6c\x64\x36\x2e\x43\x53\x07\x0b\xdf\xc1\x2f\x41\x07\x5c\x10\xeb\x32\x6e\xff\xf2\xef\x47\x87\x87\x87\xfe\xeb\x0b\x33\x95\xff\x9f\x70\xad\x58\x32\xc1\x96\xdc\x0d\xb6\x18\x8a\xcf\x0e\x5f\xd5\x19\xaf\x0b\x34\x1f\xa8\x83\x1c\xc9\x84\x1c\x14\x06\xdd\x58\x46\x8a\xfc\xce\x88\xb5\xc1\x52\xc2\x8f\x46\x8f\x6b\x3e\x53\x16\xd0\xed\x99\x0e\x95\x35\x88\x57\x8f\x55\x08\xe0\xe1\x15\x5b\xaa\x42\xb0\x5e\xa0\x05\x43\x39\x47\x16\xe4\x23\xcb\xcc\xcb\xec\x8b\x86\x47\x2d\x18\x2a\x8d\x51\xfb\xcd\x37\x65\x8d\xdd\x16\x50\x2a\x48\xd6\x2d\x0b\x60\x91\x2e\x2c\x67\xc0\x79\xf6\x42\xf7\x89\xb9\x5c\x44\x88\xf8\xa9\xf2\x34\xa5\xd9\xe2\xa8\x38\x6d\x75\xe2\x2c\xe0\xbb\x81\xc7\x24\x6e\x01\xc0\x85\x9b\xd8\xa3\x65\xc3\x40\xac\x78\xe9\x6e\x34\x7f\x76\x23\xa8\x17\x02\x41\x89\x58\x2d\x87\x89\x48\xc6\x96\xae\x8b\x44\xdb\xb2\xc4\xe2\xdf\xa9\xcb\x2a\x2e\xac\x48\x15\xc6\x38\xa1\x31\xfb\xde\xbe\xe1\x3e\x6e\x61\xdf\x72\x04\x85\xba\xd8\x74\x0d\xf7\xe8\xd9\xe5\x8d\xfb\xa6\xfb\xa5\x0b\xeb\x50\x16\xd9\xa9\xd3\x12\x9d\x45\x22\xa3\x8f\xc5\xf5\x0b\xc1\x31\x68\x9d\xc9\x7d\x1a\x32\xfe\xfb\x44\x5e\xf1\xc4\xdc\x5a\x40\xe3\x87\x43\x51\xfa\xb9\x47\x58\xc2\x53\x2e\x7c\x80\x22\x32\x77\x39\x41\xe9\xf9\x9e\x6b\xb3\x65\x2a\xbe\x37\x1c\xcc\x21\x3a\x04\x2a\x55\x5f\x2c\x1c\xe9\x78\xc7\x94\xb5\x40\xe4\xca\x8c\xab\xd0\xd1\x8d\x30\x6b\x9a\x38\xb0\x02\x29\x0f\x08\x0f\xce\xef\x50\x98\xd6\xdc\x59\x2a\x22\xa3\x83\xf6\x82\xe6\x0e\x1c\xee\x65\xc0\x01\xa0\x8f\x52\x78\xb3\x97\x7f\x1b\x04\x94\x81\xc8\xd3\x6d\xf3\x6a\x6c\xa4\xf4\x4b\x99\xe9\xae\x8a\xca\xff\x36\x47\x8b\x89\x3c\x75\x07\x6a\x0d\x8a\x1b\x58\xf1\x27\x66\x51\x42\xe1\xee\x80\x86\x20\x7c\xb4\x87\x0e\xd2\x79\xd0\x17\x5e\x2f\xd8\x0d\x42\x69\x27\x4c\x7c\x83\xff\xfe\xe0\x2b\xd7\xf7\xec\x7d\x9e\x29\x07\xf4\x67\xf7\x1c\x4a\xb1\xb0\x18\x6d\xe8\x00\x48\x37\xa5\x59\x8c\xd6\xf2\x50\xab\xc0\x64\x65\x23\x7f\x2d\x64\x4e\x1e\xb9\x9a\x0d\xc5\xad\x74\x06\x47\x22\xa4\x87\xf4\xeb\x81\x32\x5a\xeb\x8f\x2a\x60\x02\x30\xea\x26\x0a\x80\x98\xdd\x6d\xd2\xaa\x20\x12\x78\x24\x64\xcc\xd6\x4c\x08\xa8\xdb\x5b\x9d\x1f\xc2\xf9\xaf\x33\x86\xa9\x6f\x70\x53\xb4\x65\x0e\x63\x49\xfe\x2d\x3a\x86\x25\x70\xa5\xfd\xa1\xec\xd6\xa3\xd8\x14\xc3\xc4\xdf\x6a\xd0\x8a\xd3\x38\x83\xc4\xe7\xd2\xda\x7b\xa0\xbc\x6d\x37\x21\x2a\x67\xe5\xac\x5c\x01\x7f\xf5\xe1\xdc\x23\x58\x76\x1f\xa5\x4d\xc9\x34\x93\xf9\xdc\xa3\x03\xb8\xcc\x46\xdc\x06\x2b\xd3\x9c\x89\x89\x3c\xb6\x3a\xd5\x39\x17\xf7\x48\xf1\x4f\xb5\x47\x88\x85\xc8\x62\x12\xfc\xee\xee\x30\x5c\xf1\x03\xc2\x45\x94\xe4\x70\xf1\x29\x4d\xa3\x7b\xc4\x73\x6c\x33\xfa\x9a\x6f\x46\xab\xf3\x46\x5b\x24\xa6\x3c\x49\x6c\xb7\xc5\x05\x5a\x94\x8a\x7b\xe0\x94\x50\x72\x77\x7d\xd6\xdc\xf7\x3d\xaf\x3b\x73\x9a\x6f\xcf\x32\x81\xc0\xff\xfc\xc8\xd7\x0a\x5c\xad\x20\x67\xb3\x12\xa9\x7b\xe3\x52\x1b\xdc\x5a\xe5\xf6\xde\xd2\x7b\x6c\x6e\xa1\x51\xda\x40\xa9\xcd\x93\x2f\x3a\x3e\xb5\x1f\x7f\x36\xdf\x36\xef\xc8\x67\xc8\xdb\xf2\x50\x19\x29\x15\x66\x82\xae\xd7\x16\x5b\x0c\x5e\x8c\x1b\x0d\xe9\x6e\xbe\xd1\x80\xb0\xc7\x8e\x55\x1e\x6c\x57\xae\x95\x47\x34\x47\xd2\x04\xd5\x6d\x3d\x03\x4d\xac\x40\x47\x36\x1b\x5b\xd6\xc8\x10\x49\x39\xa1\xd9\x14\xe5\x44\xc5\xb4\xfa\xd0\xb0\xc3\x45\xfc\xfc\x16\x3b\xbc\x41\x05\x9a\xd0\xfd\x03\x52\xc8\x32\x0e\xe0\x47\x59\xc6\x82\xf2\xcc\xc9\xd7\x72\xb2\x77\x07\x57\x21\x88\x7d\x24\xb3\x0c\x30\x0b\x63\x23\x8d\xb7\xa3\x64\x6c\x59\x89\xec\x82\xa6\x3e\x07\xdc\xd5\x43\xb2\xa9\x3e\x38\xb8\x31\x03\x60\xb0\xf6\x31\x6c\x5d\x72\x2c\x1c\x82\x2d\x01\xd2\x36\x82\xa1\xe8\xbb\x57\x7c\x1e\x29\x88\xb8\x19\xca\x21\x10\x26\x87\x41\xa1\x20\x66\xd2\x62\xd5\xed\xe4\x5a\x26\xb1\x6e\xba\x5e\xb5\x6a\x9a\x11\x73\x3d\x92\xa0\xc5\x47\xb6\xfa\xce\x0a\x6c\xea\x87\xf5\x8b\x4a\x36\x43\x71\x44\xd5\xa2\x7f\x4d\x1d\xaf\x16\x29\x1d\x46\x80\x6d\x28\xac\x33\x88\xa1\x74\xc9\xa2\x20\x53\xb3\xe2\xa8\x9a\x54\x3a\xab\x9f\x56\xbd\x15\x37\xe6\x34\x1d\x65\xb2\x1d\xbc\xbb\xc3\x32\xb9\x26\x4a\x6a\xee\x0c\x01\x5e\x17\xe4\x6f\x39\x4d\xd0\xda\x2f\x2c\x39\xba\x61\x83\xc4\xf0\x87\x3f\x91\x3e\x5c\x97\xe4\x33\xf0\x45\xf0\x73\x42\x6b\x5a\x12\x9e\xce\x59\xa6\xa4\xd1\xc7\x5a\x36\xf9\xfe\xcf\x6a\x64\xd1\x99\x47\x34\x8a\x64\x5e\x47\x62\x5e\x63\x26\x0d\xad\x85\x93\xa2\xe4\x3e\x1f\xb3\x4c\x30\x44\xea\x87\xf7\x88\x7b\xaf\xd3\x70\x25\xcd\xf5\xec\x0f\xa3\x28\xe1\x9d\x21\xa3\x21\x4b\xa5\x6f\x3e\x3b\xc1\xaf\x96\x4d\xa0\xd4\x7e\x69\xe8\x82\xe0\x33\x82\xcf\x0e\xc9\xf7\x34\xba\x67\x22\x26\xf3\x24\x9f\x72\x9b\x3e\x0e\x37\x14\xb0\xcb\xc0\x4a\x55\x9e\x18\xaa\xbc\xd8\xbe\xb9\x86\x86\x22\xa5\xf7\xa0\x21\x7d\xb1\xb1\xe8\x46\xd3\x5c\x4b\xdb\xf2\xf4\x50\xc3\xd1\x70\xb9\xce\xbe\x2a\x02\x9e\x0f\x8d\xe7\x03\xec\x4a\x80\x4c\x97\x0b\x42\x01\x8a\xe3\xbd\x22\xf9\xdc\x19\x3f\xc0\xe0\x91\x80\xfb\x09\x27\x09\xe5\x2e\xb9\x11\x07\x67\x6c\x28\x20\xa4\xcf\xb5\xb8\xf0\x5c\x25\xf4\x78\x7a\xcf\x7b\xd3\xe1\x9b\x60\x22\xfa\x76\xce\x14\x34\x23\xed\x3c\x5c\x51\xcf\x98\x00\x3d\xac\x7b\xcb\x90\xcd\xdf\x7d\xd3\x4a\xa1\x89\x38\x8b\xc2\x70\xe4\x97\x30\x17\xdc\x82\x94\x5b\x5b\x61\x10\x35\xe4\x0c\xea\xc5\xf7\x5c\x11\x45\x35\x57\x13\xde\xa8\x9f\x86\xe9\xff\xdb\xac\x3a\x5d\x0f\x73\xa0\x01\x6f\xa0\xb2\x16\x3e\xfc\xf9\x90\x7c\x04\x75\xbb\x98\x92\x96\x3e\x7b\xbf\x8d\x25\xe8\x19\x6b\x85\xb1\xdb\x45\xdc\x80\x9b\x41\x57\x2b\x8a\x0f\x75\x3f\x24\xfd\xc2\xcc\x89\xf8\x05\x68\xc0\x5c\x31\x23\x96\x28\xb6\x09\xf1\x75\xb2\x08\x80\x2b\x10\x08\x88\x80\xac\xa2\xcc\xef\x05\xa4\xa6\x1f\xe6\x23\xa4\xe3\xd1\x7b\x26\x96\xa9\x7d\xdd\x47\x38\x28\x25\x34\x37\x0d\xb1\xef\x15\x7e\x89\x3a\xff\x26\x03\xec\x7e\xec\x0a\xc8\x08\x3e\x39\x32\x4b\x6e\x04\xfd\xe8\xde\xc6\xb0\xa3\xd9\xc7\x82\x4e\x3c\xce\xa4\x0a\xcf\x99\xdb\x3f\xd8\x4c\x9d\xe5\xcc\xc5\xaa\x43\x0e\x80\x5f\x60\x74\xfe\x0b\x19\x62\x52\xc0\xa8\xfd\x21\x45\x93\x96\xdf\x6f\xe2\x58\x28\x2c\x03\x98\xcb\x5d\x53\xf5\xd3\xfc\xe3\x9f\xd5\x25\x9c\xd8\x5d\xe4\x55\x37\x97\x79\xd9\x3e\x1c\x77\x43\x43\xa4\x0f\x34\x29\x6a\xc4\xd0\xd8\x27\xf2\xcf\x65\x4c\x0a\xf2\x5a\xbf\x20\xcc\xcb\x4f\xab\x52\x48\xa6\xd3\xdc\x56\x51\xf6\xe7\xc0\x5b\x89\x45\xdc\x11\xbe\x26\x10\xb9\x6c\xda\x18\x68\xbf\xf6\xfa\xe7\xca\xdf\x27\xcd\x34\x76\x25\xe3\x6d\x08\x6b\x7d\x88\xb2\x3a\x5d\x77\x08\x66\x54\x4d\x35\xe4\x96\xac\xc4\x5c\xb6\x87\xa1\xc5\xa3\xee\x55\xd7\xc0\xef\x38\xce\x27\x37\x00\xb7\xdc\x86\x2f\xe0\x90\xa1\x66\xcc\xe7\xba\x98\x7d\x36\xdd\xf8\xc8\xeb\xb6\x4d\xb1\x6e\xac\xe2\xfa\xa7\xe4\x7f\xdf\x5c\x5e\x1c\xa4\x34\x53\x33\x0a\xa9\x87\xae\xad\x9e\x2b\x0a\x80\x0a\xa8\x33\xaf\x73\x41\x86\xe2\x80\x4c\x65\x0f\xbd\x39\xc7\x64\xa6\xf5\x5c\x1d\x1f\x1d\x4d\xb9\x9e\xe5\xe3\xc3\x48\xa6\x47\xc5\xda\x1c\xd1\x39\x3f\x1a\x27\x72\x7c\x94\x31\x88\xe7\x3b\xf8\xee\xf0\x0f\xdf\xc1\xd6\x1c\x3d\x7c\x77\x04\x36\xfc\xc3\xa9\xfc\xdd\xf9\x1f\xfe\xe3\x8f\x7f\x32\x0d\xcf\x17\x7a\x26\xc5\xb1\x75\x15\x2d\x6d\xfb\x00\x05\xdf\x23\xfc\xa4\xd2\xcb\x7f\x1c\x7e\x1b\x0e\xc3\xbe\x9a\xca\x98\x25\xea\xe8\xe1\xbb\x91\xdb\x99\xc3\xf9\x3a\xce\xaf\x82\xe1\xfb\x25\xaf\x94\x1c\x34\xbf\x7b\x92\x71\x99\x47\xab\xb6\xa5\xe1\xac\x84\xd1\x9a\x5b\x9c\x98\x7b\x56\xf3\x07\xae\xa1\x81\x79\x49\xaa\x45\xa7\x5f\x17\xcf\xb9\x55\xb6\x59\x2b\x39\x0d\xbc\x6f\x3c\x02\xac\x50\xb4\x41\xcc\x29\x6f\x8a\xf2\xb1\x5e\xe6\x6d\xd6\xef\x29\x51\x6f\x77\x0d\x77\x6b\xa7\xbb\x21\xd4\x6d\x82\x5f\x3b\x9f\xb8\x7c\x74\x10\xb7\xbb\x00\x86\xed\x58\x3a\xc5\xe3\x5d\x22\xf1\xc0\x58\xdc\xb8\x5a\x86\x31\xa3\x6a\xb3\xe0\x8a\x3e\xa2\x4a\xf9\xac\x67\x5f\x74\xcc\x76\xe8\x78\xa5\xcb\x5e\x85\xba\x5c\x16\x69\x64\x8e\x45\x6d\xd5\x21\xf9\x58\xa9\x2d\x51\x04\x8c\x5c\x7f\x3c\x21\xdf\xfd\xf9\x3f\xfe\x38\x14\xdf\x34\x70\x31\xf0\x60\xcb\x6c\x6a\xe3\x57\x80\x77\xa5\x54\x69\x96\x1d\x65\x93\xe8\x08\x1d\xe2\x47\xe6\xfb\x03\xdb\xe9\x81\x9c\x1c\x78\xd4\xcb\x03\x0b\x00\x78\x98\xc6\xeb\x25\x76\x96\x48\x0f\xc3\x47\x6c\xe0\xa9\x82\x20\x55\xc4\xd0\x90\x13\x8f\x6f\x8c\xf1\xc5\x08\x85\x2e\x27\x0d\x7f\x40\x29\xc0\x0f\x1e\xbd\x87\x2a\xd7\x47\x01\xa5\xd1\x7e\x34\x77\x03\x80\xeb\x48\xe4\x29\xf5\x36\xc7\x4b\x42\xe9\x6c\x9d\x85\x6f\x3e\x6c\x45\xf8\x2f\xe6\xc1\xda\x5a\x72\x08\x20\x2a\x05\x93\x13\x88\x9e\x00\xc1\xc0\x79\x87\xc0\x38\x24\xa4\x0e\x72\x5e\x33\x36\xc7\x0b\x26\xac\x3d\xd7\xb0\xdc\x5b\x82\xe8\xae\x5a\xe7\xa7\x00\xd1\xdd\x76\xdd\x2d\x43\x79\xa1\x05\xdf\x36\x84\x03\x8f\xd2\x1a\xd7\x0f\xbc\xbf\xd2\x65\xe3\xf9\x00\xf8\x68\xc2\x52\x7b\x08\x92\x03\x41\xdb\xec\x40\xcb\x03\x00\x0b\x80\x14\x74\x84\xb5\x6e\x2b\x1d\x03\xae\xae\x75\xae\x49\xf3\x7e\x87\x71\x62\xa0\xfe\x97\x60\xa0\x56\x26\xb1\xc5\x55\xad\x2b\x9c\x0b\xc1\x32\x6b\xc4\x5f\x79\xa3\xae\xe9\x08\x0b\xb7\x72\xb9\x27\xbc\x10\xcc\x43\xc8\x61\x1f\x07\x49\x03\x26\x70\x48\x20\x1a\x7d\x26\x53\x69\xc4\x19\x99\xab\xe0\x21\x66\x33\xc0\x25\xdc\x2a\x7b\xa5\x74\x8e\xe8\x4a\x2f\x37\x1b\x73\xb4\xcc\x23\xb4\x71\x84\x2f\xad\x85\xe2\x3e\x2e\xe3\x56\xaf\x18\xbf\x07\x1c\x5e\x4e\x37\xe0\x66\x4d\xc1\xa6\x0c\xc5\x79\x2c\x8c\x28\xff\xbb\x51\x61\x0c\x49\xf9\xcc\x01\x7f\x73\x63\x40\x2e\x02\x89\x85\x50\x83\x95\x22\xe2\xd5\xe1\x33\x91\xa7\x6b\xee\x81\x0f\xee\xea\xb2\x01\x54\x60\xb8\x93\x8b\x73\x3a\x68\x0c\x74\x6a\x3b\x97\xae\x70\x4f\x3c\x72\x60\x77\xeb\x0d\xf5\xc6\x37\x60\x71\xed\xea\xe3\x2e\x60\x2e\x20\x2a\x0e\xd7\x18\x19\x82\x93\x2d\x5a\xbc\xfc\x62\xfd\xc3\x08\x18\xfe\xeb\xac\x1d\x74\x82\xc4\x59\x5b\xc1\xe0\x2c\xb4\x2d\xe0\x7a\x16\x87\x65\x0a\x7c\x53\x18\x25\x22\x03\x15\x51\xd3\x66\x94\x35\xe5\xd1\x7f\xf8\x50\xd4\xfd\x5a\xcc\x59\x8f\x8c\x73\x78\x7e\x71\x79\x1b\xba\x87\x39\xce\xf6\x20\x9a\xb1\xe8\x1e\x12\xa8\xf0\xca\xc3\xc3\xe0\x6a\xbe\x8d\x17\x43\x51\x54\x97\xd1\xd2\xf9\x3a\x17\x1e\x70\xd7\x83\x4e\xcb\x8c\xc4\x5c\xcd\x13\xba\x00\xaf\x92\xc0\xf8\xc8\xc2\x23\xe5\x03\x8b\x0d\x2b\x58\x65\x3e\xeb\xbe\xd3\x66\x57\x8a\x8a\xca\x6b\xaf\x25\xcd\xc6\x5c\x67\xd4\x96\xa5\xc6\xc5\xac\xf3\x03\xa2\x58\x4a\x85\xe6\xd1\x50\xa4\x8c\x8a\x30\x7e\xd7\x7a\xd5\xcc\x22\xc7\x92\x59\xb0\xcb\xc9\x84\x45\xba\x00\x7a\x02\xe1\xdd\xaf\xd4\xaa\x33\xb8\xde\xdc\xfd\xc9\x5b\x3a\xf5\x1f\xb8\xc0\xb4\x42\x9e\xce\x33\xf9\x60\xd9\xb0\xbb\x1a\x37\xb4\x65\x43\x35\x22\x7b\xe5\x3a\x65\x10\xfe\xe5\x68\xca\x97\xe2\xf5\x89\x17\x4d\x32\xfe\xd6\x88\xd4\xdb\x04\x2d\xb6\xd5\xd5\x0a\x42\x4f\xf0\x80\x85\xd1\x2b\x1e\x70\xa1\x5a\xb1\xfe\xbd\x4d\x05\x01\x6b\xcf\x7b\x1b\x06\xfc\x1e\xae\x69\xa3\x3d\x66\x0f\x2c\x1e\x8a\x32\x9c\x85\x95\x19\x8b\x03\x47\x8a\x5a\x2b\xbb\xe1\x36\x6e\x8d\x3b\x99\x36\x07\x90\xc2\x5b\x80\x77\xf9\x64\x87\x25\xb5\x5f\x9a\x8b\xbc\x3e\x41\x59\x91\xce\x36\xef\xa2\x1c\x8b\xad\xa5\x60\x4b\x2f\x95\xdc\xcb\x9e\x28\x7d\xb2\x3e\x22\xf9\xf8\x20\x70\x1b\x14\x5e\xcb\x7c\x6c\x6a\x63\x28\x5c\x16\xdb\x24\x4f\x10\x9d\xad\xad\x1a\x8d\xc5\xee\x70\x11\xb7\x2f\x17\x79\xed\xed\x6a\x24\x28\x5f\xe3\xbd\xc0\x2e\xf1\x28\x5a\x14\x55\xb7\x81\x74\x99\x50\x39\x88\x14\xae\x72\x05\x24\xa2\x4e\x99\x86\xdb\x3c\xce\x13\x4c\xca\x02\xff\x3e\xe0\x80\xd0\x24\x21\x5c\xab\xa1\xf0\xb0\x25\x88\xe4\x0b\x1c\xd6\xa5\xd8\xc6\x56\xe5\x82\x2e\xa0\x59\x5b\x2d\x11\xe4\x30\x1e\x71\x1d\x8e\x08\xfc\xd6\x8b\x10\xed\x7d\x3e\x67\x14\x73\x08\x70\xdb\x86\xa2\x56\x60\x3d\xf4\xdf\x62\xc0\x3d\xd4\xb0\xdb\x45\xec\x7b\x3b\xe9\x62\x0d\xc3\xb5\xb7\xe4\x90\xf4\x71\x76\x46\xe1\x72\x85\xdc\x70\xb4\xae\x2a\x3e\x86\x76\x19\xad\x46\x2b\x5f\x8b\xda\xeb\xad\x73\x9a\x69\x1e\xe5\x09\xcd\x12\x00\x54\x9e\xe4\x09\xe1\x93\xa0\x26\x1d\xec\x01\x82\x56\x98\xed\x8a\x24\xdc\xd5\xce\x25\xa4\x68\xca\x82\x7c\x39\x6b\xde\x49\x02\x97\x32\x42\x99\xa2\xaf\xd2\xb4\xf5\xe1\x90\x9c\x56\x2b\x10\xc2\x99\x08\xc0\xae\xb8\x42\xf6\xe7\xc7\x1b\xa4\x7a\x60\x25\x43\x3e\x31\x2a\xe5\xfb\xff\xcb\xde\xb7\x35\xb7\x91\x23\xe9\xbe\xef\xaf\x40\xc4\x79\xb0\x7d\x82\x92\xe6\x12\x1b\xb1\xe1\x88\x7d\x60\x4b\xf2\x34\x67\x64\x49\xa3\x8b\xdd\x7b\x96\x1b\x34\x58\x05\x92\xb5\x2a\x02\x34\xaa\x4a\x32\x77\x67\xfe\xfb\x09\x64\x26\x2e\x75\x65\x15\x49\xb9\xbd\xb3\xfd\x30\xd3\xdd\x22\x89\x42\xe1\x92\x48\x64\x7e\xf9\x7d\xc1\xae\x6b\x53\xc7\xe5\xd9\xd3\xc0\x7c\xb5\xe5\x9d\xee\x86\x29\x36\x96\x7a\x3d\x80\x82\x6a\x29\x8b\xed\x36\x44\x4b\x07\xed\xa9\x30\xb0\x93\x21\x51\xd8\x1e\x1d\xfd\x1c\x48\x94\x56\x3b\xbb\xee\x90\xc0\x83\x79\x1c\xd8\xd5\x40\x50\x62\x78\x47\x83\x95\x13\xa2\x13\x5a\x47\x76\x77\x08\xe7\x73\x49\xda\x81\x99\x7e\x99\xeb\xb3\x40\x3c\x4b\x45\xe5\x1c\xfa\x40\x1a\x10\x40\xd6\xeb\x36\xdb\x5c\xb0\x34\x91\x4f\xb6\xb2\xd4\xcc\xfc\x88\x71\xdf\x3a\x6c\x3e\xec\x3d\x2e\xe6\x16\x97\xa6\x89\xde\xfa\x00\x2f\xa7\x5f\x7d\x46\xf3\xd5\xd3\xf6\x64\x10\x83\x79\x4d\x0b\x3c\x78\x8f\xfe\xd3\xd2\x89\xa0\x74\x97\x09\x0b\x9b\xc4\xf3\x25\xc0\x72\xe5\x89\x53\x87\x6e\x1d\xdf\xdb\x55\x19\x1b\x34\x80\x16\xf9\xf1\xfa\xe2\xf2\xc3\xe4\xba\xac\xb3\xf0\xd7\xc7\xcb\xc7\xf2\x5f\xee\x1e\xaf\xaf\x27\xd7\x7f\x0a\xff\x74\xff\x78\x7e\x7e\x79\x79\x51\xfe\xde\x87\xf1\xe4\xaa\xf2\x3d\xf3\xa7\xf2\x97\xc6\x3f\xdd\xdc\x55\x94\x1d\xee\xff\x32\xb9\xbd\x2d\xff\xe9\x61\xf2\xf1\xf2\x62\x76\xf3\x58\x62\x5f\xbe\xf8\xb7\xeb\xf1\xc7\xc9\xf9\xac\xa1\x3f\x77\x97\xe7\x37\x9f\x2e\xef\x2e\x2f\x3a\xe9\x99\xfd\xfb\x36\x0e\xe9\x31\x40\x1d\x7b\x2b\x7d\x8c\xd9\x42\x27\x42\xc6\xe9\x16\x31\xa7\xf6\x82\x55\x81\xb8\x85\x47\x40\xb2\x16\xaa\x38\x04\x3a\xfa\xb0\x12\x4c\x3d\x9b\xcb\x7d\xca\xa8\x35\xaa\x98\xe1\xd9\x53\x2b\x45\x52\xae\xeb\xc1\xe9\x4e\x84\x7c\xae\xb7\xae\x06\xa3\xab\x3b\x9e\x40\x81\x1e\xc2\x36\x42\x77\xf5\x05\x0e\x68\x5d\x6c\xf2\x64\xde\x0e\x06\xee\x49\x2c\x30\xfc\x0a\x88\x74\x3f\xcd\xb5\xd1\xd7\xcd\x86\xb1\x84\x89\x3d\x04\x0e\x08\x2d\xec\x2b\x60\xe3\x7e\x6d\x21\x54\x9b\x62\x9e\x26\x11\x4b\xe2\xea\xb5\x1e\x4b\x37\x30\x72\x59\x65\x05\xdb\x08\x0d\x1e\x93\x71\x44\x37\x5a\x9c\xf0\x22\x5f\x59\x6d\x5d\x08\x26\x11\x87\xeb\x54\x66\x22\xd2\x22\xb7\x72\xff\x22\xb6\x92\x26\xc1\x93\xa0\x33\x54\xc0\x15\x43\xad\xf8\x69\xc0\xd0\xda\x12\xaa\xc6\x5f\x62\xeb\x03\x62\x75\xf8\xfd\xce\xa1\xa1\x1e\x27\x59\x55\xb6\x12\x7c\x43\xfc\xd0\x0a\xa3\x98\xf7\x36\x96\x3a\xb2\x40\x63\x9c\x64\x8b\x59\x6e\x7e\x8d\x5d\x6b\x2c\x5c\x28\x65\x88\x31\xb5\x4e\x1f\x9d\x6b\x01\x87\x08\x65\xa4\xed\x35\x1a\x10\x14\x84\x71\x06\x68\xb3\xb9\x31\xcc\xc5\x8a\xa7\x0b\x0c\x8e\x99\xa9\xf1\xfb\xaa\xbe\x44\x1f\xd4\x93\x90\x77\x38\x61\xbf\x8a\x39\x94\xe8\x80\xfb\x92\x3e\x17\x98\xf0\x91\x34\xd3\x47\xbb\xaa\x6c\x8d\x07\xca\x3f\xa3\xbb\x1a\x7c\x8c\x40\x6b\x4f\xd8\x67\xcb\x43\x16\x8b\xe4\x9b\x69\x70\x2a\x45\x23\x65\x19\xc0\x56\x2c\xb9\x82\xb3\xcb\x40\xd9\x83\x15\xea\x4f\x42\x82\x26\x0b\x0a\x2b\xee\x5c\xb3\xc3\xc2\xb8\xf5\xb9\xe8\x88\x2b\x43\xe8\x29\x29\x49\xd5\x84\xc9\x06\x3b\x4e\x50\xcc\xf5\x24\x4e\xd9\x05\xd5\xdd\x9a\xbf\x9c\x5f\x4d\x2e\xaf\x1f\x66\xe7\x77\x97\x17\x97\xd7\x0f\x93\xf1\xd5\x7d\xdf\xed\x77\x8c\x7a\x80\xca\xee\xab\x96\x64\x38\x0b\x71\x46\x3b\xcf\x97\xa5\xb9\x97\xf2\xdb\x0e\xa6\x64\x77\xef\x93\x78\x33\x8b\x93\x2c\x32\xc7\xdf\x76\x26\x64\x0c\x5c\x8f\x7b\x2d\xd5\xe6\xa6\xaa\x6f\xe1\xbe\xc1\xdc\x37\xac\x05\xc1\xd3\xee\xd9\xae\x68\xf7\x39\x90\x41\x41\x34\x4c\x0b\xb3\xf9\xe3\xa9\x0c\x4e\x9b\xd3\xdd\x04\xdf\xa6\xb9\xc3\xde\xad\xdc\x44\xf5\x9d\xb0\xbf\x49\x96\x15\xdc\xd8\x47\xfb\x35\x28\xf7\x6e\x19\x15\x22\xe0\x09\x09\x27\x93\x40\x17\x8e\x99\x2b\xf2\x9a\xcb\x98\xe7\x4a\x6f\x5b\x5e\xb1\x9f\xf1\x0c\xb7\x4d\xd9\x84\x86\x47\xb6\xb9\xff\xdb\x59\xc0\xaf\x72\x59\x5d\x4a\x48\x4b\xf9\x70\xf3\x97\xcb\xeb\xfb\xd9\xe5\xf5\xa7\xd9\xed\xdd\xe5\x87\xc9\x2f\x8e\x5b\x63\xc3\xb3\xba\xe2\x94\x30\x87\xa2\xb1\x2e\xb6\xca\xb7\xd1\xbe\xa0\xec\x93\x6d\x87\x54\x2a\x92\xc5\x54\x5a\xcb\xa2\x7d\xf3\x2b\xad\x8a\xe5\xaa\xb9\xa1\x6a\x2f\x6f\xc7\x0f\x3f\xef\xd5\x4d\xe0\x60\x40\x5d\x18\xdc\x6d\x75\xa2\xb2\x64\x41\x76\x0f\xd9\xcd\x2a\xdd\x03\x26\x11\xf8\x6a\x53\xb0\xbb\xc5\xa2\xed\x75\x7b\xa9\x1b\xad\x4e\xe7\xbf\xe1\xeb\x6d\x0b\xe8\x21\xb0\x9b\xa5\x63\x04\xb0\xa1\x28\x3b\x56\x6b\xed\x7d\xc3\xdf\x4a\x27\xd8\x1f\x4e\x52\xb1\x5c\x8a\x18\x97\x57\xb5\x61\x0a\x05\x91\x09\x8c\xfc\xb9\xde\x34\x8a\x24\x00\x74\xc0\xc1\xec\x60\x47\xfd\x0d\xf8\xad\xfb\x49\xb3\xad\x38\xb7\x72\xa0\x91\x92\x59\xce\x65\x4b\x3e\xf3\xb9\x0e\x14\xec\x65\x8a\x6e\x34\x73\x25\x09\x14\x20\xb1\x91\x6b\xbf\x0f\xf6\xc9\xe4\x90\xd0\x91\xa4\x88\x47\x20\x80\x14\xe8\x97\x36\x4c\x42\x45\x62\xfe\xd5\x83\x1b\x9d\x57\x27\x22\x9e\x80\x88\x23\x0a\x25\x10\x27\x22\x46\x83\x40\x7d\xa4\x15\x9f\x3a\x68\x42\x2a\x4f\xfe\x44\x43\x8f\xb7\xd6\x72\xc4\xd3\xcb\xe9\xdb\x09\x72\xce\xdb\xf0\xf8\x56\x45\x3e\x3e\x10\xea\x8f\x8b\x88\xc8\x3f\xb1\x59\x0f\xb4\xa0\x80\x96\x3d\x60\x63\x76\x62\xa6\x99\x2e\x29\x22\x3e\x01\x0a\x81\xa9\x6c\xcb\x6a\x58\x1b\xd0\x12\xe6\xba\xb5\xa7\xd6\x61\xf4\x33\x03\x70\xb3\x76\xb0\xfb\x55\x76\x31\xfb\x75\x70\xf6\x5a\x70\x2a\x34\x2f\x73\x8e\x29\xcb\xf2\x71\xdc\x56\xe4\xed\xac\xea\x30\x38\x4d\x3f\x34\x42\x99\x3b\x06\x8f\xc8\x15\xcf\xd0\x73\xcd\xa3\x55\xb9\xe3\xf0\x36\x65\x7e\x98\x6a\x77\x9d\x27\x78\x58\x84\xa0\x57\xe2\x62\x84\x77\xea\x24\xa3\xde\x87\x5a\x1f\x4e\xb8\x68\xd8\xc2\x0f\x9d\x23\x77\x79\x41\xbb\x07\x06\x2b\xe5\x85\x8c\x56\x6c\x93\x72\xac\x66\x5c\xf1\x0c\x97\xb4\xcd\xde\xf3\x79\x92\x26\x39\x10\x31\x60\x52\xa9\x32\xc2\xe6\x46\xc3\xf5\x93\xa5\x80\xe3\x9e\x08\xaa\x6b\xd1\x1f\x88\x92\xf4\x52\xc0\xdf\x13\x27\xe9\xb7\x6c\xf0\x8b\xce\x94\x94\x5f\x96\x84\x91\xf4\xd3\x61\x2c\x1e\x2c\x4b\xff\x2e\xc3\x66\x96\x5a\xbc\xad\xfe\xbc\x34\xde\x0d\x07\xf5\x70\x8c\x00\x71\x9b\x0e\x30\xf3\x55\xe6\xd3\xc6\x9d\xb5\x48\x15\x6f\x91\x2f\xb4\x6d\x23\x91\x69\x5b\xdb\xb1\x2a\xe6\x6d\xd4\x79\xd8\xab\xee\xd6\xbb\xe2\xfe\x76\xdf\x1e\x2b\x2e\x18\x1a\x40\x9e\x8b\x3c\x19\x16\xda\x08\x5e\x9a\xe7\xe2\x04\x7e\xde\xdc\x38\x11\xc6\xf5\x7e\xe7\xda\x42\xf3\x74\xda\x8e\xa0\x0f\xd0\x5b\xf5\xd5\xf5\xd7\x02\xc4\xf6\x6f\x16\xf7\xc8\x0c\x70\xc8\x22\xcb\x93\xfa\x0a\x6b\xde\x89\xd5\xa7\x3e\x94\x93\x2a\xe1\x1a\xe8\x5d\x15\xd6\xf4\x36\xf7\xe6\xd7\xfd\x37\x64\x59\xe7\x77\xa3\x13\x05\xf5\xfb\x24\x0e\xdc\xc1\x31\xd4\xf8\xdc\x03\x46\xf2\x6b\x21\x0a\x61\xd6\xfe\xbc\x88\x97\xf5\xd8\xe6\x00\xef\xcc\xbf\xd2\x4a\xbd\xb0\x75\x11\xad\x98\x6d\x9c\xc5\x22\xe5\xdb\xd2\xab\x81\xbf\x94\xab\x14\x58\xfb\xf6\xa4\x10\x8b\x8a\x2c\x57\x6b\x40\x37\xfa\x76\x75\x21\x61\xc1\x33\x9e\xe7\x3a\x99\x17\x79\x23\x12\xaa\xc4\xa5\xb3\x67\x42\xeb\xfe\xf6\xf2\x7c\xf2\x61\x52\xc9\x26\x8d\xef\xff\x12\xfe\xf7\xe7\x9b\xbb\xbf\x7c\xb8\xba\xf9\x1c\xfe\xed\x6a\xfc\x78\x7d\xfe\xf3\xec\xf6\x6a\x7c\x5d\xca\x39\x8d\x1f\xc6\xf7\x97\x0f\x3b\xd2\x4a\xf5\xa7\xb6\x4f\x04\x0f\xa8\x7e\x2c\xde\xd2\x52\x3f\xda\xdb\x25\x3d\xf5\x3d\x1b\x5b\xe2\xa3\x50\x77\x90\xdb\xd4\x20\xa4\xb4\x51\x08\x91\x32\x88\x17\x3c\xe7\xa4\xce\x7b\xca\xc6\xcc\xaa\x2c\x03\xca\x38\x33\xce\x02\xb1\xc2\x98\xd9\xc1\x26\x8c\xc7\x10\xf9\x9b\x9b\xd7\xb6\x51\x0b\xe2\x63\x4a\x45\xc8\x82\x6a\x4b\x6a\xa6\xf2\xf2\x59\xc8\xbc\x00\x8a\x46\x9e\xa6\x56\x0d\xdb\x7e\x21\xa8\x9e\xb4\xbd\xcc\x92\x75\x92\x72\xed\x65\x48\x6e\xa8\x2d\x70\xd8\x6d\x5f\x1d\x59\x46\x9d\x9b\xde\x5e\x1e\x1e\x27\x0c\xfa\x7d\x7e\x35\x01\x17\x28\xca\x2d\xc7\xb6\x7d\xf8\x54\x22\xdf\x0f\x3d\x71\xcd\x01\xf9\x9e\x2b\x8a\xa7\xe1\xe3\xe9\xcb\xed\x0b\xb1\x51\x09\xbf\x3f\xa1\x14\x46\x9e\x5f\x0b\x5d\xe3\x3a\x69\xff\xe5\x52\xe6\x7a\xdb\xdb\xaf\x79\x00\x92\xc6\x0c\x7c\x53\x02\xd2\x94\xa5\x49\x30\xdc\xc1\x6c\xeb\xd7\xe0\xec\x58\x94\x17\x45\xe3\x5d\xd0\x5d\x00\x11\x64\x8b\xff\x9d\x9a\x43\xe8\x47\x1d\x87\x90\x9c\x00\x46\x61\xae\x0a\x19\x67\x04\xf9\x59\x27\xf2\x6c\xcd\xbf\xbd\xb3\x6f\x8a\xc5\xbe\x8e\x20\x18\x88\x5c\x44\x6a\x6e\x22\x5b\x63\xe4\xba\x87\x6b\x2a\x3b\xc6\x6b\xb7\xb7\x68\x2d\x2b\x5c\x7b\xfc\x1d\x15\xc1\x4b\xcf\x62\xdb\x34\x7f\x35\x92\x77\x04\x48\xd1\x86\x87\x46\x36\x5a\x98\x2f\x3a\x64\x54\x8a\x80\x37\xf7\xdf\x80\x80\x2e\x09\xd1\x34\xdb\xee\x30\xcb\x7b\xd0\xb6\x69\xcc\x2f\xbf\x02\x4b\x3f\x3d\xc9\xcc\x19\x66\x9b\x6d\xa0\x93\x10\xdf\x94\x46\x33\x93\xf5\x9f\x6a\xce\x16\x50\xfe\x40\x42\x93\x5a\x40\x60\x1b\xa6\xc2\xd2\x4a\x02\xdd\x47\x2d\x85\x6d\x97\x40\x2a\x32\x08\xf7\x4a\x73\xdd\x12\x5f\x0b\xca\xd8\xfd\xfe\x77\xc3\xce\xd9\x5c\x6f\x99\xa5\x30\x0e\xcb\x2f\xa8\xfa\x88\xce\x5c\xe8\x57\x21\x93\x26\x0e\xa0\xbb\x42\x9a\xa3\xf8\x18\x60\x87\xfe\xd9\xac\xca\x43\xe9\x3f\x77\x56\x28\xd8\x40\xac\xc6\xef\xbf\x1a\x69\xda\xa7\x0a\x57\x1a\x3d\x0e\xf0\xb0\xd4\x7a\x78\xa0\xcd\x79\xf4\xf4\xc2\x75\x8c\xb1\x42\x40\x1f\x9c\xb2\x9f\xd5\x8b\x78\x16\x7a\xc4\x22\xa1\x73\x4e\x34\x2a\x19\xa4\x5f\x61\x43\x51\x3b\x53\x09\xf0\x70\xe4\xa4\x91\xa0\xd1\x99\x27\xcb\x95\xb9\x4f\x06\xc9\x73\xa5\x8d\x39\xca\x91\xa3\x6a\x23\x22\x22\xae\x68\x19\x80\x45\xca\x9f\xeb\xbc\x30\xfb\x94\x98\xb3\x89\xab\x71\xb3\xd9\x29\x4b\xd5\xdb\x05\x77\xa0\x01\x23\xa3\x89\x4c\x03\x23\xb6\x54\x29\x97\xcb\xd3\xd3\x53\x26\xf2\xe8\xf4\xdd\xa0\x85\x4e\x0d\x86\xf9\x2e\x87\xed\x4c\x95\xca\x44\xba\x75\x64\x0b\x0e\x7d\x0f\xe2\xe8\xdf\x72\x21\xb3\x04\x43\x1e\x0d\xcb\xff\xbe\x5a\xaa\xfe\x7d\x43\xe7\xcd\x37\xd5\xc1\xb5\x5d\x2d\xed\x00\xf3\xff\x80\x96\xf0\xfb\xcd\x37\xaf\x01\xb5\x8a\x56\xa6\xc7\xd7\x2c\xb6\xf0\x2a\x2a\x39\xb4\x10\xef\x93\x6a\xd3\xb3\xdc\x8b\x0b\xa9\xb1\x25\x62\x4a\xd8\xab\x78\xa9\x2d\x72\x51\xa9\x27\x3b\xa0\x94\xac\xa3\x2a\x6c\x60\x41\x58\xc3\xfe\x6b\xd8\x1e\xae\xe4\xf4\x10\x7c\x92\x4a\x8b\x75\x3b\x09\xd0\xa1\x2e\x9f\xef\x24\xfe\xdb\x39\x3c\xae\xb7\xcb\xe7\x35\x46\x2d\x8b\x39\xf5\x17\x03\xb7\x54\x94\x67\x6c\xbb\x4e\x32\xa0\xab\xda\xa7\x42\xc8\x35\x83\x4d\x43\x7e\x69\xbb\xc1\x80\x21\xd6\x0e\xa5\x5b\xac\x41\xb3\xf9\x08\xfa\x49\x86\x7e\x19\x24\xa5\xda\xcd\x58\x15\xf5\x34\x78\x8e\x80\x23\x7b\xaf\x4c\x1c\x38\x3a\x01\x4d\x2b\xc1\x32\xa0\x41\xca\x1d\xe7\x8a\x2d\x6c\xcd\xc9\x93\x08\x54\xbd\x62\x20\x70\x7d\x41\x4a\x88\xbf\xfc\x4b\x66\xb3\xcc\x04\x04\xf0\x67\x6c\xee\x1f\x82\xd1\xec\xe7\xdf\x5b\xfc\x07\xbe\x21\x36\x01\x42\x19\x31\x97\x79\x63\x03\x1e\x1e\x05\x6d\xe1\x4f\x3e\x99\x7b\x7b\xe3\xd7\xa9\x7d\xf8\x2a\x72\xe2\x8f\x3f\xdf\x33\x1c\x6a\xa2\xfa\xd4\x5d\x1d\x0d\x1a\xd9\x8d\x40\x81\xe1\x9a\xed\xe1\xbb\x94\xe6\x01\x07\xdd\x72\xbd\x9a\x61\x17\x79\xb4\xf2\x67\x65\x59\xdc\x8e\x04\x4f\xe8\x3d\xd7\x9e\xbc\x14\xc1\x7d\x21\x4a\x2a\x59\x4a\xa5\x85\x47\x5b\x29\x29\x20\xad\xc0\x73\x16\xab\xb0\x59\x96\xe4\xbb\xa1\x28\x03\x09\x76\x76\x2d\xb5\x5c\x21\xc4\x80\xde\xb3\x94\x1d\x02\x27\x38\x41\x5a\x0e\x8b\xe3\x43\x2f\x9e\xf4\x33\xaa\x94\x9b\xe5\x42\xe7\xa9\x2c\x3f\xaa\x36\x48\x16\x2b\x92\x68\x81\x4c\x79\x99\xf1\x37\xf2\xe4\xd9\x6c\xd4\xfa\xb2\x76\x0b\x14\x2c\x40\x7d\xed\x4d\x25\x76\x3b\xa0\xdb\x7b\x12\xdb\x2c\x14\xeb\xa0\x15\xc5\xda\x16\x64\x62\xde\x87\xe6\x6b\xf7\x54\xc0\xc0\xcd\x02\xf1\xd1\x7e\xa7\x08\x3e\xf4\xa3\xf9\x71\x07\x08\xad\xd6\xb8\x59\x83\xbe\xa8\xc7\x47\xc1\xc8\x4c\xf8\x71\xa6\x39\xf4\x38\x93\x06\x61\x5a\x1f\x50\x84\xab\x9a\xb9\x91\x4d\x25\x31\x72\x06\xf9\x5b\x63\x70\xea\xd3\x46\x95\x86\xc8\x03\xb8\x2d\xb1\x24\x00\x5b\xaa\x55\x50\x6c\xd6\x03\xb6\x5a\x4f\xa4\x83\x8f\xb5\x58\x36\xea\xd4\xf8\xc0\x3d\xc1\x4b\x34\xb9\xad\x80\x25\xef\x74\xd3\xc0\x11\x51\x16\xaa\xbe\xa0\xbf\x1e\x09\x33\x7c\x63\xd9\x88\x15\xb2\x48\xa1\xfb\xcb\xf3\xbb\xcb\x87\xef\x06\x68\xb2\x68\xa2\xc1\x88\x26\xdb\xcf\x8b\xcb\x0f\xe3\xc7\xab\x87\xd9\xc5\xe4\xee\x35\x20\x4d\xf4\xd1\x1e\x98\xa6\x7b\x22\xfa\x3d\x57\x32\x17\xdf\x0e\x3a\x93\x75\x21\x67\x7c\x00\xb6\xde\x91\x69\x77\xb9\x3b\xd8\x68\x9d\xa8\xd8\xb1\x08\x13\x4d\x1b\x9e\x68\x8e\x97\x38\x10\x78\x5e\x24\x69\x0a\x15\x6f\x2e\x20\x4c\x65\x2c\x66\x50\xc1\xfe\x58\xa5\x4a\xb2\xa9\x53\x39\x2f\x31\x35\x43\x90\x6a\x65\xae\x6d\x58\xeb\xb6\x31\x03\xa0\x13\x28\x78\xea\xe2\x32\x5e\x26\x52\xf8\x6e\xa0\x42\x5b\x21\x59\x2b\x01\x25\x4d\xe2\x6b\x16\x34\x92\xe3\xd5\xd7\xd7\xb4\x2b\xae\xb4\x3e\xad\xfb\x69\x3f\x74\x6f\x88\x9b\x38\x91\xe8\x98\x96\x76\xf3\x7d\xf3\xd2\x3d\xf3\x5b\x00\xc6\xdd\xcc\x24\x87\xa8\x39\x88\xa0\xf9\x89\xa4\x89\x40\x15\x01\x1f\x4e\x7f\x4a\x10\xf7\xa1\x16\x95\x71\x36\xa6\xd0\x8c\x75\x02\xb1\x75\x4e\x45\xfc\x51\x5a\x64\xb9\xd0\x74\xd1\x1f\x7f\xbe\x9f\x4a\x54\xca\xa5\x53\x88\x98\xe6\xf1\x11\x88\x3a\x50\xa5\xe7\x5b\x0f\x25\xb4\x60\x6f\x31\xaa\xba\x16\x5c\x66\x28\x50\x99\xa6\x42\xfb\x95\x81\xfd\x11\x22\x26\x91\x12\x50\x31\xf5\xbf\x27\x8d\x42\x05\xbb\xd6\xf4\x97\x3e\x25\x95\xbe\xea\x7a\x6a\x2b\xa8\x04\x48\xe3\x6b\xae\x9c\x06\x64\x7d\xdf\x55\x44\x68\xd0\xc6\x45\x54\xc6\xb9\xf7\x5a\x4b\x0f\xd8\xdc\x6f\x4b\xe9\x88\x4b\xa9\xc7\xb9\x1e\x9e\x12\x6c\xa5\x8c\x01\x75\x24\xf1\x3e\x31\xea\x0a\xba\x53\x40\xec\x98\x61\x6c\x3c\x75\x3c\x87\xd5\x5e\xa9\xd2\xeb\x9b\xeb\xcb\x30\xd1\x39\xb9\x7e\xb8\xfc\xd3\xe5\x5d\xa9\x78\xef\xea\x66\x5c\x2a\xc0\xbb\x7f\xb8\xab\xd4\xdd\xfd\x74\x73\x73\x75\x59\xcb\x98\x5e\x3e\x4c\x3e\x96\x1a\xbf\x78\xbc\x1b\x3f\x4c\x6e\x4a\xdf\xfb\x69\x72\x3d\xbe\xfb\xb7\xf0\x2f\x97\x77\x77\x37\x77\x95\xe7\x3d\x9e\x77\xe7\x5e\x4b\xaf\xd1\x7c\x15\xf7\xa9\x9d\x80\xce\xab\x71\x48\xbf\x1e\x46\x82\x99\xf3\xbc\xd1\xa1\xee\x7d\xd3\x21\x91\xc4\xaf\x85\xd0\x5b\xe2\x10\x40\x2f\x14\xff\x12\x71\x89\x00\xae\x9c\x44\xde\xe3\x10\x79\x34\x95\x9f\x51\x06\x1e\x92\x9b\x6f\x32\xf6\x27\x08\xbf\xda\x2f\x7b\x31\x51\xd8\xac\x7f\xc5\x67\xb8\xcf\x4e\xa7\xb2\x24\xc2\x18\xfc\xaa\xa4\x20\x7d\x3a\x95\x96\xa7\x31\x56\x51\x76\x0a\x7b\xf9\x54\xe9\xe5\x19\x49\xaa\x18\x5b\xa7\x9e\xe6\x4a\x3d\x9d\x09\x79\x06\xde\x46\x7e\xc6\x8b\x5c\x9d\x41\xea\x06\xa1\x2d\xd9\x99\x55\x5e\xb0\xd2\x15\xd9\xd9\x2a\x79\x16\xf0\x7f\xa7\xab\x7c\x9d\xfe\x9f\x6c\xb3\xfa\x76\xb2\x4c\xf5\x89\xf9\xed\x49\xf8\xdb\x13\xfb\xdb\x13\xfb\xdb\x13\xf3\x33\xfc\xbf\xcd\x16\x2f\xee\x82\x14\x70\xa7\x32\x91\x99\xd0\x39\xd4\x39\xbe\xe8\x24\xf7\xfa\xdc\x5b\xf6\xe6\xbf\xff\x9b\x9d\x6a\xfe\x82\x50\xde\x0b\x9e\xf3\x5b\xf4\x1c\xff\xfe\xf7\x37\x2c\xcb\x15\xe9\xc8\x6c\xb8\xfe\x5a\x88\xdc\xf8\xb0\xa9\x88\x72\xf6\x7f\xa7\x12\xa4\xa7\xd6\xdb\x59\x8e\x1e\x35\x7a\x97\x71\xc6\xfe\x15\xdb\x9c\x20\x9f\x46\x9c\x99\x96\x5a\x50\x3e\x09\x4f\x1b\xc4\x7a\x5a\x2e\x5f\x5f\xd3\x0b\xfa\xfe\x00\x8b\xf3\x35\x2d\xa1\x06\x1c\x23\x6c\xf6\x35\x05\xd2\x96\x54\x71\x9b\x38\x62\x6e\xf1\x82\x05\xa4\xce\x35\xed\x91\x5a\x78\xf2\x80\x1d\xb3\xaf\x7e\xd9\x3d\x72\x7a\xd9\x3b\x59\x4d\x8a\x06\x6e\x81\xfe\x86\x09\x54\x2e\x89\xd9\x21\xf7\xe8\xe3\xa2\x3e\x2c\xbc\x39\xd8\xfe\x5c\x69\xbe\xf4\x7a\xbe\x74\x24\x65\x7f\x7c\x7f\x76\x36\x62\xcb\x0c\xfe\x31\xff\x0a\xff\x80\x4c\xc6\xb1\x68\x69\x6a\x83\xe9\x92\x72\x7d\x22\xb5\xad\x3f\x3e\xc8\x86\xbd\x3e\x13\x5a\x65\x99\xfe\x54\xc8\x38\x15\x1e\x99\x5c\xba\xec\xa6\xca\x8a\x85\xa1\xcb\x53\xe5\x9c\x85\x39\x9e\x8b\x88\x1b\xc3\x57\x7b\x36\x26\xba\xd5\x22\x17\x12\xfd\x1c\xed\x19\xba\x39\xfa\x24\x90\x65\x82\xb4\x2c\x68\xdf\xae\x37\x20\x84\x9b\x40\x00\xf0\x01\xa9\xc5\x46\xd5\x8f\x40\xca\x12\x59\xb2\x80\xfb\x05\x15\x37\x85\xbd\x89\x63\x45\x57\xa1\x8d\xab\xb3\xe1\x32\xe6\x19\xac\xc0\x85\x86\x38\x96\x66\xbc\xde\xd1\x11\x42\x03\xcc\xcd\x9e\xcb\x2d\xc5\x8c\xc3\x91\x40\x1a\xb3\xa0\xcf\xa3\xa0\x13\x78\x26\xa0\x78\x6f\xf5\x87\xa7\x53\xe9\x64\x60\x31\x2f\x67\x65\xc5\x37\x5b\x2a\x96\xac\x0e\x7a\x62\x7d\x22\x1a\xee\x91\x17\xda\xab\x7e\x17\x04\xc6\xc3\xa0\x09\x30\xa6\x85\x2a\x38\x56\xa9\xe7\x2d\x08\xf3\x0a\x9d\xbd\x33\xdb\x10\x78\x44\x73\xcf\x47\x96\x64\x7e\x32\x9c\x6a\x2c\xf9\x81\xa6\x79\x47\x2d\x6c\x46\xa7\xc4\xb1\xd5\xe4\x82\xed\xde\x2a\x3f\x7a\x7e\xa3\xa9\xbf\xf4\xaf\xdf\x35\xd7\x11\xe6\x98\x1b\x85\xac\x07\x91\x0d\xe0\x96\x0d\x2d\x2e\x36\x4a\x22\xb3\xe8\x9c\x58\xc9\x91\xc4\x1c\x59\xb9\xb9\x01\xe4\x53\x49\x27\xf0\x88\x2d\x04\xcf\x57\x90\x64\xcf\x9e\xd1\x18\xe3\x71\x9f\xbf\x28\x9f\x5d\xb1\x04\xad\x90\x98\x2f\x35\xee\xdd\x7f\xfc\x1a\xc4\x8a\x79\x94\x63\xe8\xb8\x8d\xba\xd2\xb9\x2a\x30\x58\x8d\x06\x71\x8f\x71\xb0\x7c\x9f\x55\x6e\xed\x90\x6e\x16\x46\x62\x8b\x21\x40\x56\xed\x07\x7e\x60\x0c\x0f\xbe\x1d\x06\xf8\x03\xe3\x08\x95\x4d\x94\xd7\xc7\x7d\xe6\xa3\x73\x21\xe9\x1a\x44\x5e\xda\x36\x55\xc7\x40\x40\x07\xf6\x83\x40\x9b\x9f\xee\xa4\xa6\xc8\x84\xb6\x64\xa4\xf8\xae\xc8\x4d\xb1\x4a\x74\x7c\xb2\xe1\x3a\xdf\xda\xe5\x9b\x26\x73\xe0\x30\x4c\x93\x27\xc1\xc6\x5a\xab\x97\x63\x8f\x42\xab\x69\x79\xe0\xd9\xd3\x91\xa9\x6e\x80\xda\x69\x08\x55\x4d\x23\x33\x4d\x29\xed\x1e\x8b\xd9\x7e\x2c\x38\x6d\x4c\x3e\x8d\xcf\xd1\x22\xd7\xdb\x99\x59\x88\xeb\x4d\xab\xa5\xe8\x05\xe0\xea\xef\xe4\x0e\x23\xd8\x81\xf3\xb9\x07\xc1\x4e\x69\x56\x7f\x1c\x82\x9d\x06\xee\x9c\x3a\xc1\xce\xe4\x7a\xf2\x30\x19\x5f\x4d\xfe\x5f\xa5\xc5\xcf\xe3\xc9\xc3\xe4\xfa\x4f\xb3\x0f\x37\x77\xb3\xbb\xcb\xfb\x9b\xc7\xbb\xf3\xcb\xee\x8a\xd9\x7a\xef\xbd\x0b\x7e\xc2\xc2\xe7\xbc\x67\x0f\x41\x08\x1e\x81\x4f\xe4\x7f\x93\x88\x07\xac\x2a\xb3\x99\x13\xb9\x1c\xc1\x46\x7d\xcf\x2e\xb5\x9e\xac\xf9\x52\xdc\x16\x69\x0a\x89\x32\x44\x19\x9e\x6b\x01\x17\xcf\x11\xbb\x55\xf1\x24\xf8\x1d\x40\xa3\x1b\x5f\x03\x9e\xcf\xe3\x58\x8b\x2c\xc3\xc7\x8f\xe8\xf9\x41\x5a\xc8\xc1\xae\x29\x2d\xca\x9f\x79\x92\x9a\xfb\xdb\x7b\xd0\x15\x54\x0b\x52\x88\x1e\x39\x10\x27\xfb\x5a\xa8\x9c\x33\xf1\x2d\x82\x2a\xf1\xe6\x75\x72\xa5\x96\xaf\x7b\x07\x6a\xde\xd3\xbb\x89\x35\x5a\x2e\x29\x40\xd6\x3e\x6b\x3e\xce\x9b\x0d\x01\xbd\xe5\x47\xfc\xe9\x07\xfc\x65\x63\xeb\x79\x9e\x1e\xa1\x6a\xe5\x4a\x2d\x9b\xa9\x73\xc1\xbb\x26\xbe\x5f\x2f\xa0\x0b\x35\x70\x6a\xc9\xb2\x44\x3e\x4d\xe5\xe7\x95\x90\x4c\x15\x1a\xff\x04\xd7\x7c\xe3\x66\xa6\x45\xb6\x12\x31\x53\x45\x3e\x62\x2f\x82\xad\xf9\x16\xdd\x66\xb8\x13\x38\xbe\x4f\x58\x32\x70\x8a\x98\x5f\xa7\x89\x34\xd6\x62\x93\x58\x8c\x54\x75\xea\x8f\x71\xe3\xb2\x1c\x09\xfc\x70\x0a\xa3\x7e\x85\x20\x2f\x2b\x01\x18\x78\x9f\x11\xb7\xa9\x1f\xb2\xdc\x20\x27\xa2\xd4\x53\xb1\xf1\x6c\x2a\x6f\x2c\x65\x21\x0c\xf7\xb3\x4a\x62\x16\x17\x9b\x34\x89\x9c\xdd\x7d\x51\xba\x95\x32\x0a\xc1\x7c\x03\x28\xa3\x2a\x10\xd5\xae\x17\x6b\x40\x0a\x06\x39\xd2\x0e\xf2\xa8\x57\xa6\xcf\x0a\xe4\xdc\x8b\x4c\xe8\x93\x5c\x27\xcb\x25\x38\xe0\x16\x77\xfc\xe3\xf3\x6b\x79\xfe\x8e\xc3\x21\xb6\x61\x01\x4c\xaa\x96\x49\xc4\xd3\x10\xb6\xe2\xe3\xdd\x8e\xc0\xc7\x6e\x7b\x92\x91\x31\xfd\x76\x1d\x6a\x2d\x4c\xde\x68\x01\x1c\x52\x33\x54\xc8\x3f\x5c\xb9\x7f\xb2\x60\xe6\x82\x6e\x25\x66\x7d\x85\x98\x55\xe9\xb6\x27\x9c\x7f\xb6\xe5\x12\x47\x31\x41\x09\x60\x6c\xf5\x22\x85\x06\x0f\x16\x02\xfa\xe6\x4d\xa5\x02\xdf\xc4\xf1\x8b\x3b\xe4\x89\xe5\xd7\x5f\x38\x88\x0d\xa2\xf8\x97\xc9\xb3\x90\xdf\x9f\x0f\x2d\x78\x40\xc4\xa3\x95\x98\x59\xbf\xfc\xd8\x26\xcb\x1d\x00\x03\x8d\x95\x25\xfa\x0c\x4d\x29\x4b\x80\x83\x22\xc2\xab\x13\xf6\xb8\x6e\xbb\x90\xbc\xba\xd7\xa1\x04\x14\xa8\xe5\xf8\x5c\xf5\x38\x38\x94\xc9\xdb\x81\xe4\xf6\xf5\xfe\xbb\x03\x01\xcb\x54\xcd\xa1\x5a\xab\xce\xf1\x1d\x9e\xb0\x6d\x94\xc1\xcf\x42\xeb\x24\x1e\x62\x99\xec\x98\xdc\xb8\x9f\x76\x75\xd0\x09\x35\xba\x27\x81\x51\x48\x30\x56\x57\xf1\xdc\xab\xd5\x00\xbb\xae\x09\x90\xdb\xc8\x5c\x72\xc3\x39\x12\x96\xab\x0f\x02\x13\xaa\x43\xf9\xb3\xfe\x2e\x07\x4d\x74\xbd\xbe\x6c\xc7\x58\xfa\x92\xb4\xee\x49\x3e\xa0\x48\x08\x2b\x9a\x5c\xa5\xd0\x10\xc2\x25\x3b\x75\x98\x78\x06\x55\x55\x37\x89\x25\x44\x50\xaf\x19\xad\x8e\xfb\x03\xa5\xbb\x0e\xaa\x80\x7f\x85\x1d\x55\xe4\xca\x47\x2b\xe1\x7d\x26\x40\x43\x12\x62\x0d\xc1\x6c\x4c\xe2\x46\xb5\x7c\x7f\x7c\xd8\xad\xd9\xe6\xaa\x1c\x16\x71\x1a\xb3\x8d\x16\x36\xee\xbd\x15\xb9\xab\x91\x48\x2d\xb3\x33\x84\x75\xdd\x5b\x97\x8b\xc4\x6c\x1d\x88\x2b\xec\x85\x20\xac\xb2\x3a\xd8\xeb\x8d\x92\x42\x12\x3a\x40\xaa\xa9\xa4\xc6\xad\x3e\x8f\x8b\x0c\x97\x40\x98\x23\xba\x90\x23\xa4\x47\x64\x2a\x7d\xa6\x14\x40\xc0\xdf\x07\xcc\xde\xa6\x83\xe7\xc6\xb7\x31\x9e\x3c\xe4\xa6\x08\x91\x07\x18\x85\x8a\x48\x8d\x16\xcb\x24\xcb\x45\x88\x5b\x0d\x7f\x7f\x34\x3d\x81\x92\xf3\xdf\x35\xf4\xad\x7a\x02\xbb\x4e\x71\xb3\x6b\x07\xf4\x67\xbb\x11\xf1\xc4\xfd\xae\x7b\x31\x94\xc0\xe7\x71\x60\x24\x4a\xa7\x00\xae\x01\xf4\x5e\x32\x2c\x9b\xcd\x1c\xf3\x9e\x9b\x24\x2a\x68\xe4\x4e\x04\x02\xa6\x68\x59\x70\xcd\x65\x2e\x44\x36\x95\x94\x38\xc1\xf2\xef\xb0\xc2\x69\x51\x12\x8f\xf0\x67\x73\xa4\xb2\x1c\xab\x29\xe1\x27\x0b\x9e\xa4\x85\x6e\x75\x97\x71\x55\xee\x55\xba\xd1\x35\x4a\xe7\xd0\x2c\x6b\x9a\x34\x07\xad\x0e\x76\x91\xab\x40\xaa\xa6\x3d\xca\xc8\xe3\x96\x57\xb0\x26\xb7\xff\x7c\xbb\x58\x49\x0b\xda\xfa\x5f\xb2\xd9\x46\x0d\xb0\x78\xa4\x39\xdc\xd8\x58\xf6\xb5\x76\xa7\xef\x48\xff\x7d\x6d\xe3\x22\xe4\xd9\x13\x44\xce\x77\x5d\x25\x76\xc7\x07\xff\xf8\x87\xdd\xf1\xf5\x56\xdb\x05\xab\x76\xc5\x65\x9c\x82\x3e\x71\x5e\x39\x81\xdc\x1e\x00\x01\x80\xdc\x1a\xc7\x76\xb8\x21\xa0\x77\x66\x51\x0d\xfa\xb9\x6b\x9c\x2a\x98\xd1\x1d\x10\xc2\xd2\x53\xca\x48\xce\x26\x04\x91\x3f\xd9\x49\x88\xc2\x6d\xd8\xf6\x25\xb8\x48\x96\xc7\x27\xe2\xe9\xab\xcc\xe1\xbc\xec\x8f\x75\x4b\x19\xd1\x56\xa4\xf3\xcb\x89\x71\x1c\xb8\x19\x01\xf9\x65\x8c\x59\x48\x77\x34\x95\xa4\x53\x83\x49\x23\xc8\x16\x60\x49\x6f\xc6\x7e\xef\xe0\xc0\xbf\xff\x67\x5b\xd0\xb9\x65\x0b\x18\x6b\xa8\x9a\x56\x51\x54\x68\xc8\xe8\xd0\xad\x93\x09\x3c\x9b\x86\xb0\xd2\x8d\xf1\x44\x76\x79\x78\x74\x9f\x9a\xbc\x07\x17\x66\x28\xbd\xd4\x03\xdc\x2e\x51\x71\xc7\x9d\x85\xc4\x60\xab\xb3\x9c\x65\xb9\xd8\x34\x5a\xa5\x92\xd3\x55\x16\x95\x3a\xc0\xed\xea\x50\x84\x3f\xd8\x46\x8f\x03\xf5\xaa\x3f\xdf\xdf\x5c\xb3\x0d\xdf\x02\xa4\x25\x57\xa4\x06\x06\x9c\x16\xd5\xfd\xbb\x6b\x06\xca\x2f\x5f\xde\x6c\x38\xa6\x9a\x7b\x7b\x51\x0f\x3b\x71\xa7\xf6\x57\xb1\x43\xb0\x66\x68\x49\x9a\xad\xac\x55\x7a\xb2\x49\xb9\x14\xc8\x3f\x88\x05\xbe\xac\xf2\xf8\x30\x4d\xe5\x02\xd6\x04\x04\x80\x0e\x84\x62\xd9\xba\x90\x4d\xb8\xb6\xb2\x4e\xd6\x41\x99\xa9\x56\x1b\xd1\x89\xd7\xf9\x88\xac\x84\x3c\x32\xdb\x04\xcb\x5d\x6c\xb6\xcd\x25\x6c\x79\x06\x58\xaa\x01\x13\xd5\x2d\xea\x35\x95\x56\xb3\x45\xbd\x64\x2c\xc6\x82\xa0\x22\xc9\x50\x0b\x13\x63\x99\x80\x6b\x20\xfb\x82\x49\x57\xcd\x65\x66\x26\x14\xc2\x31\xe2\x59\x48\x56\x2f\x2f\x99\x5c\x5c\xb9\xd4\x24\x4e\x12\xf1\x99\xb7\x0c\x7d\xe0\x98\x1d\x44\xe1\xd5\xa4\x32\xb5\x9b\x2a\xf0\x23\xdf\xb4\x5c\xe8\x51\x82\xe6\xd0\x16\x77\xcd\x92\x2b\x87\xac\x7a\x9d\xa0\x7f\x03\x14\xc7\xa4\xdd\x53\x1f\xbd\x47\x79\xa0\xf9\x69\xe4\x0e\x1b\xa0\xa2\xbb\x3f\x75\x77\x28\x20\x3a\xc0\xf6\x04\xb5\xf4\x0e\x16\xe0\xfc\x65\xb3\xcb\x81\x40\x16\xd5\x1a\x49\x9d\xfa\x5e\x08\xf6\xc5\x09\x3e\x7e\x21\x82\x72\xaf\xb5\xdd\x36\xae\x13\xb9\x50\x87\x19\x03\xbd\xac\x21\x69\x0e\x1a\x95\xe6\x7e\x1e\x8a\xd5\x81\x8a\x22\xf9\xba\x45\x21\x8d\xef\xb5\x03\x99\x73\xeb\xef\xe4\x04\x4f\xb6\x3d\x35\xe7\x33\x4c\xf1\x7e\xc2\x84\xa5\x45\x92\x83\x06\x26\x90\x3f\x3d\x49\xf5\x22\xd1\x17\xa0\x27\xb1\xb7\x66\xff\xc1\x01\x06\x2c\x4e\x04\xce\x29\xd0\x1a\xbe\x03\x36\xaa\xb1\xfb\x6f\x76\x8f\x61\x6e\xec\x33\xd0\xad\x66\xe0\xfc\x10\x51\x2a\x58\xf3\xb7\xe3\x11\xfb\x69\xc4\xce\x47\xec\xf4\xf4\xf4\xdd\x88\x09\x1e\xad\x6c\x8f\xf0\x27\x08\x7a\xc9\xf9\xd2\xb4\xed\x74\x72\xfd\x03\x80\x3d\xd8\x1c\x56\xe6\xc8\x34\x06\x9a\x07\x6a\xba\x3e\xf2\x60\x5f\x01\xc1\xdc\xa8\x50\x61\x53\x82\xd1\x4a\x25\xbe\x53\x80\x2e\x13\x91\xd2\x16\x9f\x96\xe5\x4a\x5b\xac\xcd\x33\xd7\x3c\x91\x50\x6f\xc0\xeb\x48\x43\x7a\x72\xc0\x91\x25\xbe\xf1\x35\xbc\x7f\x22\x1d\x4d\x88\x19\xa6\x07\xd7\xff\x7c\xbb\x49\x22\x18\xcf\x17\x9d\xe4\xb9\x39\x9d\xb3\xa9\xbc\x67\xef\xff\x95\x8d\x37\x9b\x54\xb0\x31\xfb\x1b\xfb\x89\x4b\x2e\x39\xfb\x89\xfd\x8d\x9d\x73\x99\xf3\x54\x15\x1b\xc1\xce\xd9\xdf\xcc\xb0\x99\xf6\xae\x95\x39\x0e\xb7\x23\xc6\x99\x2c\x52\x3c\xf5\xdf\x5a\x1c\xcb\x3b\xf7\x5e\xdc\xcf\x8e\x15\x9b\xcc\xd4\x9a\x8e\xc2\x5f\xb0\x9a\xc1\x8c\x4c\x22\x97\xa9\xc8\xad\xc4\x6b\x09\x71\x84\x0f\x38\x81\x37\x7d\x3f\x95\x2e\x96\xf7\x8b\xe9\xf1\x2f\xec\x6f\xec\xba\x48\x53\xd3\x25\x63\x68\xcc\x42\x7a\xcf\x2c\x02\x5c\xc8\xd3\x97\xe4\x29\xd9\x88\x38\xe1\x80\x01\x37\xff\x75\xf6\x00\xb3\x3d\x2b\x3c\xe5\x40\xb8\xa7\x1d\x85\xed\x77\xe1\x9d\x19\xa2\xe5\xec\x98\x8c\xed\xe4\x77\xdc\xfc\xca\x3f\x1d\xee\x11\x79\xc2\x15\xda\x0f\xe4\xb0\x22\xfd\x70\xc8\x98\xbc\x97\x09\xa8\x1c\xb6\xb6\xad\x86\xa3\x20\x3c\xd4\x0f\x35\xb2\x40\xc0\x7d\xf4\x3b\x64\x0f\x36\xe4\xbe\x26\xb7\xc6\xe5\xfa\x1c\x92\x57\x83\x2f\xe9\xeb\x4f\x7b\x65\x85\x1c\x87\xeb\xa7\x32\x03\x79\x69\x88\x55\xd2\x8b\xaa\xbd\xd2\xd9\x47\x8a\x5d\xc4\x42\xaa\xdc\x5c\x64\x64\x92\x9e\x99\xad\x7a\x76\xad\xa4\xb9\xb6\x66\xc9\x12\x6b\x66\x01\x01\x91\x01\xaf\x8d\x75\x0a\x1e\xca\x2e\x6b\xb0\x05\xc0\x3f\x30\x5d\x42\x54\x4e\x6e\xac\x80\x99\x82\x74\x3b\x95\xe6\x17\x74\x22\x01\x42\x37\x71\x64\x40\xf8\x34\x2b\x0a\x47\xcf\x22\x83\x1c\x34\xde\xb0\xc0\xba\x74\xd4\x0e\x22\xe1\x81\x6a\x93\x03\xa2\xe2\xd7\x01\xad\x00\xb5\x66\x6b\xce\x10\xfc\x33\x17\xa9\x92\x4b\xb3\x2a\xda\x8c\x80\x5a\xf3\xe4\x90\x9c\x78\xd8\x05\x6c\xac\xb5\x07\xe6\xb0\xa4\xaf\xd0\x94\x04\x62\xd6\x24\x66\x03\x82\x98\x2e\x22\xeb\x4e\x43\x7a\xb9\x96\x97\x18\xaa\xd0\x53\x5f\xa5\xa0\x7d\x4d\xc9\x59\x17\xed\xc7\x83\xd3\x46\xd3\xec\x1b\xf5\xdb\x54\x9d\x98\xbe\xe6\x50\x08\x65\x13\x6c\x30\xd9\x05\xf5\x7a\xac\xc7\x5f\x13\xde\xf7\x9a\xaa\x7a\x8d\x12\x7a\xf0\x3d\xd3\x1a\xfd\x69\xa8\x4c\x9e\x1d\xbd\x63\x20\x9f\xbe\x22\x6b\xee\x4c\x2d\x6c\x11\x58\xff\x33\xbd\xc6\x5b\xdc\x0f\x7a\x12\x72\x95\x85\xfc\xbe\xf5\x85\xd3\x96\x6f\x50\x72\x46\x19\x89\x7e\x9d\xad\x0e\xd8\x8d\xfc\x80\x3f\xbf\x55\x69\x12\x75\xe3\x75\xec\x71\x05\x22\xce\x35\x00\x04\xe8\xa9\xbb\xf8\x0f\x75\x0a\x3d\xf4\x5c\x44\xb9\xcf\xb8\xd5\x5f\x6e\x50\x38\x8c\x02\xac\xae\x15\x90\x92\x70\x29\x2d\x38\x6a\x80\x04\x05\xd8\xea\x30\xf4\x08\x55\x31\x90\xea\x8d\x38\x45\x64\x4b\x1d\x01\x7b\xf5\xb2\x52\xa9\xb9\x9a\xc8\x98\x08\x65\xa6\x72\x23\x74\xa4\x52\x9e\x1b\x6b\xf8\x42\xa4\x01\x49\x1a\x7b\x4a\xd8\xb7\x80\xcd\x03\x04\xcd\x3b\xe2\xbd\x17\x2e\xe5\xea\x74\xc8\x77\x2f\x5b\xab\x7d\x75\x58\x40\xe6\x78\x60\x9b\xae\x55\xf0\x99\x20\x30\x38\x14\x24\x1f\x5c\x49\x9e\x99\x41\x2f\xf5\x67\xd8\x0c\x0b\xc7\xf6\x19\xf9\x7b\x44\x5e\x99\x57\xba\x4a\x54\x87\x12\x88\x81\xb0\xae\x03\xf1\x14\x99\x80\xee\xac\x05\x47\xd7\xc4\xd3\x74\xd0\xa4\x4e\xa5\x4f\x17\xbe\xc9\x42\x37\xa5\x71\x9e\x91\xf7\xc6\xc2\x79\x46\xec\x4d\xe9\x45\xdf\x00\x71\x8c\x54\xf0\x3c\x4a\xe9\x94\x86\x06\x96\xeb\x88\x25\xf9\x54\x26\x19\xae\x4c\x2d\x52\xf1\x6c\x7a\x17\xc6\x4e\x09\xfa\x61\xaf\x92\xf6\xb5\x01\x11\xca\x6d\x21\xa1\x93\x4c\x83\x12\x6d\x1d\x12\x90\x70\x88\xd3\x82\xa6\x74\x21\x81\xec\x53\x7c\x43\xe1\xee\x74\x6b\xd1\x10\xb1\x90\xb6\x7f\x00\x92\x40\x55\x96\xa9\x9c\x2c\xa0\x9a\x0b\x6a\xc8\xe2\x18\x2f\x65\x96\xfe\xd1\x55\x83\x27\x14\x2b\x55\x74\x45\x75\x8a\xbc\x28\xdb\x80\x3b\x49\x3c\x0b\xbd\xcd\x21\xc6\x09\xe3\x2a\x05\xcf\x57\x2c\xc9\x47\x50\xc6\x6f\x0d\xc7\x54\xf2\x98\x54\xaf\xa8\x39\x33\x34\xb0\xee\x3b\xe6\x99\x3e\x9f\xab\xe7\x2e\x3f\xef\x50\x10\x14\xee\xea\x4d\xca\xe5\x0c\x0d\xea\xaf\x00\x83\x0a\x14\x35\xda\x32\x7f\xc5\x7c\xe6\x14\xae\x8f\xd2\x4f\xe7\xfd\xdc\x95\x74\x6e\x8c\x5b\x67\x1f\x34\xc2\xc5\xe0\xa9\xc7\xac\xb7\xee\xc2\x16\x94\x6c\xd7\xcc\x26\x24\xfb\x5b\x01\x8f\x90\xe2\x95\xc4\xbc\x5d\xad\xbb\x20\x52\x76\x05\xfc\xa8\x70\x9d\x3e\x33\x5f\x39\x43\xaa\xd3\x3e\x1c\x29\x52\x73\x98\xf6\x42\x8b\xec\xe8\xd6\xeb\x22\x46\x5a\xc3\x0a\x75\xe4\x88\x7d\xdb\x20\xfb\x85\x30\x68\x81\x61\x29\x17\xf5\x68\x56\x4c\x09\xaf\x25\xaa\x01\x6a\x78\xcc\x90\x6d\x59\x57\xb9\x77\x15\x25\xf4\xeb\x94\x4d\x24\xb3\xd1\x8b\x11\x7b\x83\x0b\x2b\x7b\x43\x11\x39\x92\xdd\xa1\x54\x72\x4c\xbb\x87\xea\xce\xaa\xc8\x04\x44\xff\xfa\xed\x86\x89\x91\x36\xef\xb3\x39\x67\x73\xcc\x71\xf9\x29\x01\xf4\xf1\x3e\x05\xa6\x98\x54\x9b\x63\x03\x74\x48\xe2\x2d\x74\x8b\x3e\xac\xf2\xc1\x5d\xff\xc2\x36\xfd\xc3\x7e\xb2\x3f\x34\x43\xb4\x29\xe8\x3c\xb5\x9f\x33\xa5\xa7\xd2\xb6\x46\x11\xba\x0c\x19\x9a\xab\x4d\xd9\xab\xaf\x77\x81\x83\x95\x0a\x39\x7d\x4b\xca\x0d\x5c\xef\x9e\x23\xa7\x6a\x05\x00\x23\x30\x17\x5e\x30\xec\x94\x8d\xfd\xd3\x8c\xe3\x61\x16\xf8\x1a\x8f\x79\xe2\x84\x13\x32\xda\x02\xcd\x4d\x9a\x9a\x41\x49\xf2\x8c\x7c\xb6\x00\xa8\x9c\x15\x40\x3e\xb3\x28\x8c\x31\x0a\x18\x7a\xa6\xd2\x0c\x1e\x5b\x24\x00\x83\xa5\x71\x99\xca\x8f\x2a\xb3\x75\xb1\x99\x1f\x0f\x0b\xa9\xa4\x61\x7b\xe3\xb8\xc9\xe9\x0f\x17\x70\x68\x53\x08\xbc\x22\x56\x07\x08\x75\x2a\x6e\xdf\xaa\x42\xfb\x97\x8a\xb8\x9c\xca\xff\x34\xc3\x83\x52\x51\x4e\x67\x4d\x2d\x70\x0b\x5b\x71\x3f\xf6\xf6\x0b\x36\xfa\xf6\x9f\xdf\x7d\x79\x87\xf5\xe9\x45\x06\x72\x10\xa3\xf2\x01\xe2\xc8\xda\x8a\x34\x85\xc4\xac\x7d\x03\x57\x56\xee\x1f\xd1\x29\x3d\x4e\x77\x9c\x99\x2c\xbb\x18\x7d\x36\x7a\xd7\x0a\xf6\xb1\xd8\x31\x8b\x78\x1e\xad\x4e\xac\x2f\x47\x66\xcc\x9e\x7e\x34\x7d\xc8\x0b\x6f\x3c\xad\x66\xbe\x32\x73\xff\xd2\x6b\x27\xb7\x56\x5a\x2f\xe6\x15\x00\x67\xf2\x50\x5a\x95\xa1\xa8\x21\x2e\x4e\xaf\x74\xe6\xfd\x3c\xf7\x75\x4b\xf6\xee\x03\xa8\x14\x34\x96\x7c\x2d\x62\xf6\x06\x6a\x1f\xde\xd8\xc9\x9f\xca\xcd\xfc\x34\xdd\x2e\x72\x22\x6b\x31\x83\x72\x0a\x74\xc8\x3b\x4e\xb9\x59\x5c\xbf\x26\xed\x18\xec\xd6\x8b\x56\xb3\xaf\xe3\xc6\xc6\x3d\xa9\xbf\xc3\x82\x21\x1f\x37\x3a\xf7\x65\xc4\x4c\x99\xed\x8e\x67\x4f\x23\x36\xd7\x5c\x02\x3f\x68\x1c\x3a\x55\x7e\x77\xa2\x9a\x39\x30\xa1\x50\x02\x87\x4b\x9e\x6e\x01\x4a\x3d\x9a\x4a\xa4\x8d\x01\xe6\xa8\x6d\x94\x26\x11\x2a\x2b\x56\xfc\x20\xf1\x2c\x64\x7e\x49\x75\xd2\x16\xb3\x7d\x68\xa6\xd5\xd5\x5d\x1f\x24\x11\x39\x29\x7b\x3b\xdc\x17\x94\xfb\x80\x63\xa4\x05\x60\x99\xe7\xdb\x00\xe3\xe9\x16\xf8\x88\x08\xd6\x81\x59\x87\xfd\xb5\x98\xab\xd4\x52\x13\x4d\x2e\x98\xd2\xc0\xf7\x98\x2b\xfa\x53\x12\xb7\x9d\x62\x89\x8c\xc5\xb7\x83\xea\x83\xbb\x0f\x24\xeb\xde\x99\xc7\x04\xb4\x82\xd5\x97\x85\x5d\xa4\x85\x39\x2c\x72\x7b\x83\xab\x7d\x2b\xab\x02\xce\xc6\x69\xbe\x02\x14\x18\xe2\x8f\xfd\xa0\xae\xf9\x96\x45\x2b\x2e\x97\xc1\x15\x1a\x40\x39\x62\xa3\x34\x32\xf9\x3f\x03\x11\x8f\xd2\xb6\xfe\x8a\xaa\x8a\x08\x04\xed\xe2\xbf\x88\x3d\x54\xb6\x74\x88\x2f\x97\x5a\x2c\xa1\x24\xb6\x24\x00\x8d\xf6\xd3\x51\x32\xe2\x73\xba\xca\xca\x8e\x53\x9b\xdd\x76\x6b\xc9\xf5\xd6\x15\xe5\x90\x0c\x86\x1b\xba\xda\xb0\x8e\x58\x22\x4e\x47\xec\x0f\x1e\x6f\x29\x22\x25\x5d\x55\x4f\xf3\x3b\x6c\x2a\x91\xda\x1d\xb6\xa8\xa1\x88\xbb\xb9\xef\xf0\x59\x4d\x4c\xa3\x71\xd1\x74\x96\x45\xe5\x3c\x2f\x06\xd8\x4a\x12\x4c\x3a\x37\x3f\xbe\xc7\xdf\x76\x42\x92\xf9\xc6\x98\x37\x4b\xa0\x61\xbe\x6f\x2c\xbc\x79\x36\x71\x7b\xb5\x8c\x75\x73\xdc\x2f\xe8\x7e\xaa\x96\xaf\xea\x52\xda\x2a\xe9\x56\x97\xd2\xcd\x44\xda\x52\xf9\xdb\xf1\x4e\x43\x43\x99\x16\x9b\x49\xa8\xeb\xac\x7a\xdd\x6a\xb0\x00\x4e\x62\x56\x69\xf4\xdb\x11\xc8\xe0\x0a\x90\x4b\x46\xb2\xe9\x40\x28\xb1\x28\x80\x6c\xd6\xf7\xba\x1b\xb7\xf1\x37\x34\x0f\xff\x63\xcb\xbd\xd8\x7a\x26\x4d\x83\x1e\xee\x4f\x1c\x27\x3d\xf0\x9c\xf2\x62\xf3\x40\x4a\x6b\x83\x9b\x4a\x27\xcb\x44\xf2\x5c\x69\xf6\xf6\xd6\x32\x39\xbe\x73\xec\xc3\x30\x8a\xc7\x30\x13\xa5\x21\x42\x33\xd1\x7c\xf7\x02\x78\xaf\x88\x67\xc3\x58\x70\x9a\x64\x1f\x77\xc2\xd7\xcd\xb7\xb2\x9c\xaf\x37\x21\x81\x9b\x53\x23\xa2\x91\x49\x71\x10\x98\xed\x18\xc4\xf8\x92\xcc\x97\x24\x4d\x25\x45\xc6\x71\xde\x94\x6e\xd0\x33\xae\xbe\x25\xf8\x91\xb3\x3d\x49\x09\xd0\x8f\xef\xf1\xeb\xce\x8c\xe2\xdd\x95\x4d\x18\xf8\x7b\x41\xc9\xd1\x86\x17\x45\x3e\xa9\x0c\x4e\x6d\xbc\xe2\x39\xb3\x61\x4e\x49\x5b\x7b\x7d\x9e\xaa\x22\x66\x64\x34\x28\x3b\xa9\x4f\xf1\xf4\x01\x82\xb7\xd3\xd3\x36\xb6\x9b\x81\xfa\x22\x6e\x7f\xc3\xef\x9a\x57\x38\x7c\xd6\x62\xe1\x3a\xb7\x16\x8d\xec\xb0\xd8\x13\x25\xe6\x3f\xf2\x4d\x77\x05\x3d\xb7\x37\x67\xac\x77\x09\x15\xb5\x1b\xf6\x7e\xcb\x70\xb9\x68\x28\xb0\xcd\x0c\x0b\x94\x59\xfd\x18\x58\xcf\x61\x20\xb9\x81\x0f\x2f\x44\x64\xf2\xec\xe9\xe0\xc7\xd9\xc2\xce\xee\x47\x6d\xb8\x16\x32\x9f\xc1\x13\x87\x3d\x0c\x1e\x72\x0b\x3f\x2f\x39\x24\xbd\x02\x82\xff\xfe\xa0\x30\xce\x6b\x4b\xcb\xff\x83\xdd\x53\x6c\x23\xb3\x5a\x74\xe6\xf4\x79\x9b\x00\x14\x23\xc8\x89\xb9\x89\x6b\x99\x2e\x7a\xa1\x3d\x46\x2f\x78\xa1\x92\xe9\xec\xf5\x42\xbe\xf7\xc8\xcc\x6e\x5a\xa1\x30\x0f\x15\x14\x1a\x53\x66\xff\xe6\xd7\x1c\x16\xe9\xfa\xec\x2c\xe3\x39\x33\xf3\x97\xb2\xff\x12\x5a\x79\x94\x3c\xe9\x5b\x07\x0d\x77\xfa\xc3\xfb\x6b\xa0\xa0\xbf\x8b\xea\x1b\x21\xfd\x3c\xfc\x85\xaa\xf7\xf1\x66\x39\xdf\x5a\x77\xbf\x25\x95\xb0\x11\x11\xce\xc3\x9e\xc7\x66\x70\xb1\x0b\xec\xbb\x0d\x7d\xb9\xc3\xc2\x6e\xd0\x33\xb8\xb7\x12\x3f\xd6\x9a\x6f\x08\xf6\x44\x08\xcb\x6a\x10\xff\x14\x5e\xe2\xdf\x7f\xf9\x8f\xd3\x36\x1d\x26\xe8\xfa\x50\x14\x89\xeb\xfc\x07\x9d\x08\x19\x43\x52\x8e\xc7\x0e\x8a\xe5\xcc\xa2\x2c\x45\x69\x4b\xe6\xd9\x2c\xc3\xa3\x14\x93\x35\x9f\x83\xd9\x0c\x17\xd1\x77\xc8\xec\x7a\x23\xeb\xb6\x6f\x29\xef\xd3\x76\x54\x67\xb3\x78\x2b\xf9\xba\xae\x5c\xf5\xaa\x7d\xdc\x26\x22\x8d\xa1\x8b\xf4\xf4\x5d\xd9\x89\x58\x44\x4f\x43\x7d\x82\xbd\xa9\x5e\x45\xf4\xc4\x7e\x7e\xf8\x78\x85\x9a\x0d\x49\x36\x95\xd7\x3c\x4f\x9e\xc5\xa3\x4e\x5d\x58\x18\x8d\x4f\xa1\x53\xbb\x47\xca\xd4\x83\x58\x0c\x57\x80\x30\x2a\xf1\x14\x5a\xc7\x21\x64\x86\x5d\x6f\x4f\xe6\x45\xf4\x24\xf2\x33\xcd\x65\xac\xd6\xf8\x1a\x67\x59\xb1\x58\x24\xdf\x4e\x73\xae\xdf\xed\x82\xb8\xef\xb4\xa4\x07\x5c\x12\x0e\x31\x28\xf5\x6b\x80\x53\xd2\xf0\xb6\x39\x89\x43\xf5\x57\x67\x99\x3d\xef\x9e\x33\x29\x10\x6f\x6c\xb9\x88\x9c\x52\x3f\x1b\x9e\x30\x60\xf4\x9a\x0f\xd6\xef\x74\xc5\x6a\x63\x00\xec\xd3\x7d\x1b\x21\xbc\x55\x2a\x3d\x34\x4a\xc8\x53\xbb\x49\x66\x20\x09\x70\x88\x0b\x8e\x0b\xc0\x5d\xb6\x27\x17\x2e\x5f\xe5\x28\xf5\x28\xd6\xe0\x04\x79\x00\x4a\x41\x5d\x00\x00\x03\x74\xa2\x03\x74\x98\x6d\x1a\x12\x96\x03\xc1\x93\xd0\x06\x22\x1d\x9c\x34\x6f\x2d\x6c\x19\x94\xc3\x72\xdf\x47\xa0\x1d\xaa\xf4\x70\x50\x00\x01\x09\xfc\x2b\x8f\x72\xc1\x84\x90\x9e\xcc\x8d\x63\xf0\x6c\x3b\x9e\x28\x1b\x64\x6c\x0e\x79\x3e\x53\x19\x78\x39\x48\xcc\x61\xd1\xa9\x6e\xd4\x9a\x62\x0c\xa5\x65\x78\x70\x8c\xe1\x10\x0e\xca\xce\x20\xf4\x45\x28\x0f\x01\x79\xd4\x48\xad\xe7\xe6\x9e\x8f\xd5\x8e\x14\x78\x03\xf7\x6c\x6c\x29\x7e\x5c\x90\xd4\xba\x59\xc8\x31\x5c\x19\x7b\x77\x34\x84\x6c\x49\xa1\xc9\xda\x75\x85\x09\x7d\xe2\xe3\xd2\x65\x36\xdb\xd9\x71\xf5\x0d\x40\xa6\xfd\x85\x6f\x33\xd0\xd2\x10\xc6\x2a\x2e\x30\xd8\x54\xee\xff\xc8\x87\x40\x1c\x7d\x14\x09\x53\x15\x24\xb1\x43\xef\x92\x60\x09\xb8\x48\xad\x6a\x88\xa7\xd6\x78\x93\x35\x0f\xce\xaf\x13\x3f\xd6\x9d\xf1\x63\x4c\xe0\xfc\xcf\x08\x19\x77\x04\xa6\x0e\x8c\x8f\x05\xc7\xa4\x56\x11\xe9\x49\xe7\x0c\x24\xb6\xd0\x1c\x9b\x67\x8f\xd8\x9a\x27\x92\xb6\x41\xae\x8d\x81\x8c\xc5\xbc\x58\x2e\x5b\xc3\x36\x3f\x7e\xfc\xb7\xbc\x4f\xfe\xe1\xe3\x73\x9d\xe4\x30\xc7\x88\xb0\x4d\xec\x93\x30\x6d\x6c\x7c\xe5\xef\x13\x54\x3b\x52\x84\x70\xd2\x27\x42\x68\x71\x07\x50\x0d\x41\x2e\xbe\xcd\x0d\xff\x16\x3a\xfc\x3e\xa1\xc3\xc6\xdc\x48\xb5\x87\x58\x81\x3f\x4b\xca\x0e\x70\x47\x0f\xf7\x24\xf2\x71\x8c\x6f\xd0\x2b\x52\x91\xca\x84\x8c\x33\x50\x74\x3f\x3e\xb3\x0f\x9c\x3e\x87\xc7\x28\x76\x24\xbc\xef\xd5\x5a\x30\x78\x54\x86\xcc\xca\x8c\x0a\x4e\x46\x80\xa4\x32\x2f\xe8\xb3\xc4\x94\x83\x86\xe3\x0a\xb3\xd5\xb1\x77\x5a\xdf\x4a\xf1\xc2\xcc\x69\x30\x0a\xa1\x25\xc1\xf4\x00\xe5\xfe\x3b\x92\x81\xf5\x38\x54\x57\x5d\xab\xc5\x92\xeb\x18\xd0\xcf\xb4\x25\x53\x1e\x3d\x99\x7f\x87\xfe\xd1\x13\x09\xfe\x62\xd9\x3f\x11\x92\xe5\x5b\x4b\x64\x84\x92\x9c\x84\xb4\xf1\xfd\xc3\x9f\x67\x8c\x47\x5a\x65\x78\x8b\x8f\x0b\xed\xeb\xe3\x25\x38\x88\xcf\x49\x5c\xf0\x14\x9f\xd8\x1a\xfd\xe3\xd9\x41\x6c\xa6\xe3\x80\x54\x5e\x7c\xdb\xa4\x5c\x96\xf7\x24\xbe\x2e\xd0\x49\x24\x1d\x2b\xdf\xb1\x22\x7d\x57\x76\xb7\x50\xda\xd1\x6f\x2b\xf4\x3e\xb5\xe0\xf1\x36\xe4\x8e\x49\x24\xe9\xb5\xf1\x78\x9d\x48\x33\xf5\x56\x33\xc4\xd9\x57\x68\x3a\xe2\x29\x82\xc0\x80\x5a\x3b\x4d\x2b\x5b\x3f\x63\x52\x18\x97\x85\xeb\x24\xdd\x82\x97\xba\xd1\xe2\x24\x78\x4e\xb0\xbf\x09\x83\x9e\x64\x53\x69\xeb\x9c\x8b\x4c\x2c\x8a\x14\x7d\x59\xb8\xed\xb9\x17\xa0\x7d\xf8\x38\x19\x99\x63\x2c\x27\x42\xdb\xe0\xc1\x28\x13\x71\x0c\x3c\x6f\xfd\x9e\xd5\x2b\xe6\xed\x39\x8d\x34\xc0\x0d\x57\xea\xc5\x16\x1d\xbc\x70\x8f\x2a\x6b\x3b\x4b\x8e\x16\xe7\xec\xf6\x6a\xec\x7d\xc2\xee\x4a\x1c\xf4\xb2\xb6\x2a\x7d\x26\x62\xb7\x13\x13\x09\xaf\x43\x0a\x4b\x84\x41\x11\x31\x2b\x32\xac\x5d\x30\x73\x08\xd6\xda\x5e\x9b\xb1\x9a\xc3\xaa\x73\x31\xf7\x76\x49\xa6\x24\x9b\x16\xbf\xfb\xdd\x1f\x05\xfb\x1d\xe9\xf7\x81\x95\xc1\x08\x35\xb0\x1a\x61\xeb\x60\xa0\xdc\x03\x04\x52\x1e\xd5\x66\x84\x35\x81\xb0\x6c\x21\x21\xc0\x98\x78\xb4\x62\x59\x31\x47\x8c\x0e\xa7\x20\x27\x97\x8e\x34\xf0\x4a\x01\xdc\x06\xcf\x31\xdb\xfb\x01\xc1\x82\x5b\x3a\x5f\x6c\x20\x20\xc0\x09\xc2\x40\x87\x22\x3d\x30\x28\xf8\x92\x60\xc0\x6f\x41\xa9\x67\xc4\x7e\x4e\x9e\xc5\x88\xdd\x6f\xb8\x7e\x1a\xb1\x0b\x0c\xb7\xfe\x59\xcd\x77\xde\xff\x8f\x11\x03\x73\x6e\xea\xe0\xe0\x7e\x63\x34\x69\x14\x50\x65\x06\x21\xfe\x7a\xb4\xc6\x22\x2c\x40\xfb\x04\x55\x64\x77\xe9\x91\xb4\xf2\xa9\x1e\xeb\x16\xd3\x0e\xeb\x6b\xbd\xd3\x54\xad\xb4\x3f\x4f\xa9\x6a\xaa\x09\x69\x62\xce\x31\x58\x89\xe6\xc5\x4f\xc0\x33\x51\x9a\x6d\x52\x9e\x9b\xb5\x92\x51\xf8\x19\x57\x05\xe2\xef\xf0\x44\xae\xd4\xc2\xf5\x75\xbc\xec\x83\x67\x1b\xa5\xd2\x46\xff\xeb\xa8\x03\x58\x8b\x76\xf6\x1d\xbc\x09\xd6\x10\x64\xa1\x57\x62\x47\xd1\x47\xce\x7c\x9c\x2d\xd0\xe2\x86\xd5\x14\x17\x90\x44\xf0\xc3\x11\xca\xc3\x18\xb3\x82\xa8\x47\x74\x44\xac\x9a\x18\xb7\x1e\xa2\x71\xa2\x28\x84\x18\xa2\xed\x6a\x31\xbd\xac\xfe\x9c\x16\xb7\x10\xda\x9d\x25\x4d\x85\xf0\x43\x37\xd7\xc3\xaa\x31\x50\x8f\x3d\xb7\x06\xdc\xe2\xce\x77\xd1\x00\xda\x22\xbb\x59\x94\xf2\xac\x27\x92\xad\xd1\xee\x4c\xa8\xa1\x73\x68\xa7\xbf\xcd\xfc\x19\x62\xaa\xeb\x9e\x07\xe6\x54\x8e\x1d\x0d\x9e\x77\xb5\x9c\x7b\x88\x66\x16\x1d\xe3\xda\xd4\x20\x98\xdd\x73\x26\x8e\x58\x56\x44\x2b\x80\xeb\x97\xed\x54\x68\xb7\xea\x3b\x76\x34\x95\xc6\x59\x41\x15\x09\x0e\x09\xe1\x17\x20\x1c\x4f\xfe\x4b\x38\x6f\x88\x50\xa1\xa1\x03\x34\xe7\x66\x6a\x48\x3e\xbe\xea\x2c\xda\xca\x09\xae\x9f\x44\x1c\x84\xfa\x8a\x4d\xcc\x73\xe3\x3d\xbb\x43\x0e\xd6\xaf\xe3\x0f\xb5\xde\x67\x16\xbe\x58\xe8\x2c\x57\x2c\x6d\x9a\x2c\x44\xb4\x8d\x6a\xbc\x20\x25\x18\xc6\xf1\x62\xca\xfb\x85\x54\xbb\xf8\x23\x9a\x6f\xca\x9f\x6b\xf5\xce\xac\x2d\x77\xfd\x3f\x13\xb1\xd6\x42\x61\xf0\x8f\x1e\x15\xdb\x91\x66\xfe\x0d\x7c\xf6\x0f\x19\x41\xea\xc7\x5e\x50\xb2\x5f\x16\xdf\x05\x37\x56\xf2\x9a\x1b\x51\x65\x3f\x56\x81\x6a\x12\x87\xfb\x06\x49\x27\x5b\x12\xf1\x3b\xb6\x02\x95\x01\xc7\xae\x44\x79\x00\x28\x9d\x7e\x6a\xc7\xeb\x3c\x55\x59\xa1\xbb\x37\xff\x5d\xb9\xd7\xf6\xe9\x0d\x0c\x86\xb0\xd8\xd6\x73\x01\xd5\xe7\x5d\xf0\x91\x5d\x8e\x82\xb9\x2f\x55\x7f\x4f\x78\xab\x17\xc1\x22\x84\xca\xb7\x68\x02\xd5\x7e\x17\xc4\x40\xe0\xe4\x5d\x8a\xd0\x0b\xa8\x1c\x8e\xa5\xc5\x55\xca\xf7\xfd\x50\x98\xee\xc6\x3b\x58\x85\x35\xa7\x14\x2e\xeb\x95\x21\x3d\x46\xf6\xe1\x96\xe7\x2b\x0c\xe4\x80\xa6\x3e\x66\xcb\x73\xe3\x40\x21\x8c\x07\x53\x12\xf3\x54\xcd\x41\xe6\x0b\x54\xb8\xdb\xd6\x39\x2d\xce\x5e\x43\x57\x9f\xb0\x3e\x6b\xdb\xec\x07\xa8\xf9\xd3\x22\x03\xea\x87\x7a\xce\xaf\x2f\x42\x76\x58\xb0\xa9\xde\x5d\x63\xb6\x2e\x6a\xc1\xa6\x3a\x75\xb6\xb1\xea\x00\x97\xbc\xdc\xa3\x46\xe2\x32\xac\x9b\x33\xc7\x1b\xb1\x88\x52\x52\x1d\x89\x04\x2b\xef\x6b\x75\x14\xa7\x72\x8c\x9f\x94\x54\xc7\x9d\x44\x84\x43\x24\x92\x64\x96\xdb\x7f\x58\x48\xc7\xc6\x21\x06\x8e\xfc\xfa\x91\xbf\x71\x41\x78\x64\x04\x75\x6b\x32\x4f\xb4\xf1\xa7\x33\x70\x17\xb2\x62\x7e\xe2\x29\x12\x94\x06\x07\x03\x18\x34\x36\x5c\x83\x1e\xe1\x2a\x49\xe3\x93\x86\x83\x04\xe3\xd0\x9e\xea\xdd\x32\x6b\xf1\x94\xcc\x17\xdc\x0b\xb1\x46\xd7\xbd\xbb\x6b\xc7\xb8\xf7\x10\x45\xb2\xf5\xa1\x68\xae\xbb\xec\x45\xe9\xb2\xf4\x6b\x03\x94\x7a\x20\x80\x5a\x24\x82\xfe\xf1\xed\x44\x69\xcc\xfa\xd8\x89\x87\xf2\xd5\xca\xee\x1a\x73\x39\x24\xcb\xd1\x8e\xe2\xfc\xbe\x40\x53\x98\xc0\x6c\xc3\x5f\x24\x51\x13\x74\x53\x1d\xee\x65\x1f\x9a\x75\x56\x8d\x7d\xa8\x41\xb3\xbc\xa5\x90\x44\xf2\x93\x27\x4e\x4f\x67\x14\xa8\xe8\xf1\x34\x0d\x59\xa3\x7d\x28\x68\x2a\x7d\xc0\xc0\x1c\xff\x69\x6a\xfe\x19\x55\x0d\x37\x11\x51\x80\xfa\x7f\x2e\x46\xb6\x8e\x9e\x18\xa8\x28\x8d\x74\x82\x17\x73\x7f\x7d\xde\xb5\x9b\x8f\xe5\x4f\xfe\x60\x25\x84\x3b\x12\xb6\xf8\xd8\xd9\x93\xd8\x0e\xee\x6b\x73\xca\xc4\xcb\xac\x81\x2a\xb9\xab\xe5\x8e\xb8\xd6\x16\xb0\x4b\x4f\x65\x5c\xe7\xc9\x82\x47\xa5\x08\x7a\x2f\x5e\xc1\xd2\x09\x89\x2d\x66\x00\x0f\xb0\xd0\x41\x4f\x74\xc3\x99\x13\x74\x6b\x9f\xff\x63\xdf\x29\x84\x37\xd2\xaf\x10\x1f\xe9\x0e\x1c\xe2\xf6\xad\x9f\x91\xa5\xc8\x32\xaf\x55\x54\xf4\x1c\x6c\xce\x4a\xf4\x50\x8d\x43\x0a\xb2\x28\xa0\xe7\x7d\xc8\x18\xee\x59\xb9\x36\x8c\x51\x18\xbb\x39\x90\xdb\xbd\x26\xbc\x44\xe2\xe5\x70\xe5\x88\x89\x63\x27\xaf\xd2\x42\xc0\x10\x62\xfd\xc8\xb3\x25\xc4\xae\xe8\x11\x58\x90\xfa\x5a\xc4\x49\x51\x95\xf3\x28\xd5\x3a\xfd\x76\x17\xfe\xdf\x77\x17\x06\xf8\xc7\x6b\x5e\x84\x9b\xab\xe8\x7e\x3b\x0a\x7f\x80\xa3\xb0\x9c\xea\x13\xfa\x19\xcb\x03\x86\x0c\x2d\x75\xf5\xce\xff\xfc\xb0\xc1\x15\x2c\xe8\x49\xd6\x7f\x9c\x69\xad\x0e\xdc\xc5\xbd\xad\x5f\x77\xf6\xd1\x3b\x0b\xde\x83\x0e\x4a\xb5\x6a\xfb\x28\x0c\x41\xe5\xe1\x1c\x9a\x8b\x4b\xef\xf0\x65\x7b\x35\xec\x0f\x95\x84\xe9\xe3\x0c\x18\x13\xe5\xd2\x32\xd7\xd6\x34\x49\x81\xe9\xc9\x0e\x13\x15\xb0\x10\xf2\xfc\x4d\xe6\x46\xbd\x6c\x8a\x2c\x1e\xf0\x2a\xc9\xf2\x4f\x15\xc9\x97\xfd\x34\x63\x5e\x0d\x49\x60\xbb\x8a\xdd\x0c\x7e\xd1\x99\x00\xbf\x2b\xa7\xa8\x8d\x5f\x80\x6b\x0e\x68\x8a\x2c\xc9\xbf\xe9\xf7\x90\x83\xe3\x8b\x1b\xaf\x2f\xe8\xf3\xbe\x68\xbe\xd9\x08\x6d\xf3\xae\xb5\xd4\x38\x30\xe6\xc3\x53\x40\xf2\x62\x25\x50\x77\xab\x72\xb6\x99\x3d\x5d\x69\x1a\xbe\x06\x43\x77\xda\x3c\x73\xd7\x45\x9a\xb6\xce\xdc\x6e\x22\xee\xeb\xc7\xab\xab\xd9\xa7\xf1\xd5\xe3\x65\x27\xb1\x75\xf0\xb5\xd6\x31\x71\x3d\xa1\x31\xf1\xd2\x19\xe6\xb1\xc2\x6a\x7f\x29\xff\xd6\x78\x71\x28\xd2\xb4\x4c\x7a\x3e\x95\x5f\xa8\x1d\x00\xb1\xa1\xa0\x8b\x19\x37\xd6\x39\x70\xe5\xe7\xc3\xd7\xbe\x98\xc6\xbf\xe0\x6f\x4f\x98\x7f\x89\xf7\x20\xcd\x41\x94\xff\xcd\xe3\x4a\x08\xd9\x03\xb6\x03\x42\xa6\xda\xb6\xc3\xb1\x65\x1d\xf6\xdb\x1e\x8f\x12\x18\xf4\x44\x6c\xd5\x18\x8e\xb2\x3b\x70\xec\xbe\x94\xa3\x99\xce\x96\xc7\xe8\x9a\x43\xbb\x23\x24\xe3\x07\x89\x31\xcf\x57\x3f\x95\x78\xaf\x34\x7d\xca\x55\x7b\x9f\xd8\x84\xd0\x08\x29\x97\xcb\x82\x2f\x45\x36\x62\xf6\xe1\x53\xb9\x4e\x96\x2b\xe0\x2a\x24\x2d\x78\x77\x13\x83\xb2\xd6\xca\x12\xaa\xa0\xeb\x12\x39\x95\xf4\x4e\x72\xe9\x9b\x47\x8c\xd9\x9f\xef\xdd\xeb\x10\x74\x0f\x1b\x22\x3d\x01\x39\x95\x38\xb9\x48\x88\x6c\xc3\x3c\xe0\xb8\xf2\xbc\xba\x74\x39\xe8\x4d\xa1\xe6\x9e\xb1\xe9\x4b\x08\x38\x4d\xa5\x2b\x8b\x41\x10\x60\xa8\x67\x8f\xe8\x60\xec\xd2\x6e\x7b\x62\x27\xc3\xee\x09\xea\x5b\xf3\xaa\x3f\xf8\x0c\x30\x1b\x6e\x36\x40\x3c\xac\x6e\xc6\x7a\xde\x11\x78\x60\x38\xda\x6a\x25\xa1\x16\xaa\xb9\x37\xf6\xbd\xf0\x3b\xad\x29\x7c\x55\xcc\xd3\x01\x5d\xc2\xef\x77\x76\x0a\x4d\x72\x77\xa7\x7a\xc4\x78\xef\x2a\x5b\xcb\x2c\xd3\xae\xc7\xce\x95\x6a\x99\x97\x23\x46\x4b\x4b\x9d\xa2\x1f\xec\x1a\x8c\x22\xca\xf7\x59\x2f\x3d\x0a\x18\xaa\x43\x64\xad\x4f\x57\x87\xd2\x24\xdb\xab\x3b\xde\x7f\xea\xdd\x23\xe7\x21\xd0\x61\x37\xc8\xc2\xd2\x39\x57\x32\xb0\x2d\x66\x92\x62\x74\x56\x85\x2b\x41\xf3\x62\x36\x0f\x4a\x64\x99\xf5\x3f\x72\x8b\x68\xe4\x67\x6e\x04\x9d\x8c\x0a\x9d\x19\x73\x49\xf6\x8e\xac\xb6\xd2\x8c\x4f\xa5\xe5\xaf\xb5\xe6\x78\x6c\x41\x08\xda\xfd\x15\x8b\x42\x36\xc8\xff\x08\x1e\x6b\xce\x94\x14\xd6\x1a\x4e\xa5\x95\x6e\x1b\x31\x3e\xcf\xac\x22\x1a\x97\x5b\x27\x53\x96\x38\x0d\x0a\x2e\x19\xa0\x3b\x76\xdb\xbc\x8a\x1b\x50\x3a\xe7\xff\xc9\xfc\xef\xef\xff\xf4\xff\x03\x00\x00\xff\xff\x60\xd6\xc4\xe9\x7c\x3a\x04\x00") +var _adminSwaggerJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x79\x73\x23\xb9\x95\x2f\x0c\xff\x3f\x9f\x02\xb7\x7c\x23\xaa\xcb\xa3\xa5\xdb\x9e\xf1\xeb\xd1\xc4\x8d\xf7\x61\x4b\xac\x6a\xde\x56\x49\xb2\x96\xee\xe9\x67\x38\xc1\x06\x33\x41\x12\x56\x26\x40\x03\x48\xa9\x68\x87\xbf\xfb\x13\x38\x58\x12\xc8\x85\x4c\x2e\xda\xaa\x39\x13\xd1\x56\x31\x33\xb1\x1e\x1c\x9c\xf5\x77\xfe\xf1\x2f\x08\xbd\x93\x8f\x78\x3a\x25\xe2\xdd\x09\x7a\xf7\x87\xa3\x6f\xdf\x1d\xe8\xdf\x28\x9b\xf0\x77\x27\x48\x3f\x47\xe8\x9d\xa2\x2a\x23\xfa\xf9\x24\x5b\x28\x42\xd3\xec\x58\x12\xf1\x40\x13\x72\x8c\xd3\x9c\xb2\xa3\xb9\xe0\x8a\xc3\x87\x08\xbd\x7b\x20\x42\x52\xce\xf4\xeb\xf6\x4f\xc4\xb8\x42\x92\xa8\x77\xff\x82\xd0\x3f\xa1\x79\x99\xcc\x48\x4e\xe4\xbb\x13\xf4\xdf\xe6\xa3\x99\x52\x73\xd7\x80\xfe\x5b\xea\x77\xff\x07\xde\x4d\x38\x93\x45\xf4\x32\x9e\xcf\x33\x9a\x60\x45\x39\x3b\xfe\xab\xe4\xac\x7c\x77\x2e\x78\x5a\x24\x1d\xdf\xc5\x6a\x26\xcb\x39\x1e\xe3\x39\x3d\x7e\xf8\xee\x18\x27\x8a\x3e\x90\x51\x86\x0b\x96\xcc\x46\xf3\x0c\x33\x79\xfc\x0f\x9a\xea\x39\xfe\x95\x24\xea\x9f\xf0\x8f\x94\xe7\x98\x32\xf3\x37\xc3\x39\xf9\xa7\x6f\x07\xa1\x77\x53\xa2\x82\x7f\xea\xd9\x16\x79\x8e\xc5\x42\xaf\xc8\x47\xa2\x92\x19\x52\x33\x82\x4c\x3f\xc8\x2d\x11\x9f\x20\x8c\x4e\x04\x99\x9c\xfc\x2a\xc8\x64\xe4\x16\xfa\xc8\x2c\xf0\x39\x8c\xe6\x2a\xc3\xec\xd7\x23\xbb\x4c\xd0\x72\x4a\x64\x22\xe8\x5c\xd9\xf5\xbe\x26\x4a\x50\xf2\x40\xc2\x0e\xcc\x44\x90\x9e\x88\xef\x4c\xce\x49\x42\x27\x94\xa4\x68\xbc\x40\x94\xcd\x0b\x85\x04\xf9\x5b\x41\xa4\x42\x13\x9a\x29\x22\x64\xd4\x0b\x9f\x13\x01\x2b\x38\x48\x75\x2f\x9f\x88\xea\x41\xdb\xe5\xa8\xc2\xb7\x05\x91\x73\xce\x24\x91\xd1\x22\x20\xf4\xee\x0f\xdf\x7e\x5b\xf9\xa9\x3e\x83\x1e\x92\x45\x92\x10\x29\x27\x45\x86\x5c\x4b\xe1\x60\xcc\x82\x6a\xf2\xc1\xb5\xc6\x10\x7a\xf7\xbf\x05\x99\xe8\x76\x7e\x77\x9c\x92\x09\x65\x54\xb7\x2b\x0d\x95\x06\xa3\x8d\xbe\xfa\xe7\xbf\x34\xfd\xfd\xcf\x60\x46\x73\x2c\x70\x4e\xf4\xb2\x78\xba\x32\xff\x57\x99\x8b\xa6\x04\xdd\x79\x49\x2d\xd5\x81\x57\x66\x7b\x81\x73\xa2\x77\x5e\x6f\x97\xfd\x02\xfe\x16\x44\xf2\x42\x24\x04\x8d\x49\xc6\xd9\x54\x22\xc5\x6b\x6b\x40\xa1\x05\x4d\xc4\xd5\x27\x7a\x2b\xa9\x20\x7a\xaf\x94\x28\x48\xe5\xa9\x5a\xcc\x61\x90\x52\x09\xca\xa6\xe1\x52\xfc\xf3\xa0\xd3\xd4\x0c\xed\xaf\x31\x33\xf3\x41\xeb\xc4\x86\xac\xe7\x5e\x49\x30\x43\x63\x82\xf4\x89\xa7\x29\x11\x24\x45\x58\x22\x8c\x64\x31\x96\x44\xa1\x47\xaa\x66\x94\xe9\x7f\x1b\xf2\x4d\xdc\x9a\xbd\x9e\xb5\x81\x3f\x97\xaf\xcc\x9d\x24\x42\x0f\xfc\x81\xa6\x24\x45\x0f\x38\x2b\x08\x9a\x70\x11\x2d\xcf\xd1\x90\xdd\xce\xf4\x3a\xe4\x63\xca\xe0\xe4\xe9\xb5\x74\x14\xf2\xaf\x6e\xb9\xfe\x15\xe9\xfe\x50\xc1\xe8\xdf\x0a\x92\x2d\x10\x4d\x09\x53\xfa\x5c\xcb\x6a\x6b\xff\xca\xa1\x7f\x9c\xa1\x43\xa4\xd7\x99\x08\x05\xeb\xcd\x99\x22\x5f\x94\x44\x87\x28\xa3\xf7\x04\xbd\x3f\xa7\x52\xa1\xde\xd5\xe0\xfd\x01\x7a\x7f\x5e\x32\x0e\xf9\xfe\x19\x56\xd8\xff\xfd\x3f\xc1\xd1\x53\x78\x5a\x3d\x74\xef\x7a\xfa\x34\xdf\x98\x0b\xa8\x6c\xe1\x7f\xfe\x25\x6c\xc7\xee\xd7\x72\xae\x5e\xb2\x74\xcb\xcf\xbb\x72\x71\x58\xa6\x98\x81\x4b\xbd\x43\xdb\xf2\xef\xda\xed\xd0\xc0\xbc\xe5\x96\xdc\x5b\x8f\xbd\xca\xbe\xe5\xdb\xe2\xdf\x7a\x0a\x4f\xcd\xc3\xb7\x61\xe0\x58\xc1\xc9\xc2\x94\x99\x83\xe8\xcf\xa5\x90\xfa\x2c\xba\x13\xf2\x4a\xd8\xd6\x36\xfc\x3c\x98\x59\xc0\xd2\x1d\xa7\x0e\x56\xe5\x15\xce\x3b\xa3\x39\x5d\xb5\xbf\x03\x96\x6a\xe1\xd1\x32\x54\x56\xe4\x63\x22\xf4\x32\x38\xd6\x0a\xb3\x1d\x6b\x56\xab\x0a\xc1\x48\xda\x61\x9a\x7f\x2b\x88\x58\x2c\x99\xe7\x04\x67\xb2\x6d\xa2\x94\x29\xa2\x25\xf5\xca\xe3\x09\x17\x39\x56\xf6\x85\x3f\xfd\xdb\xba\x0b\xa1\xf8\x3d\x59\xb5\xff\x03\xb3\x9b\x09\x96\x40\x06\x79\x91\x29\x3a\xcf\x08\x9a\xe3\x29\x91\x76\x45\x8a\x4c\xc9\x03\x78\x4d\x6b\x07\x44\x1c\xfa\x5b\x0e\x7a\x70\xb7\x7b\x21\xe1\x17\x34\xf1\xcc\x8e\x91\x2f\x0a\x5a\x1a\x32\xb8\xdf\x61\x89\xc2\x5b\xeb\x09\x96\x72\x33\x9a\x91\x5c\xa8\xd1\x78\x71\x74\x4f\x6a\xfd\xb6\x52\x0e\x66\x08\x2b\x25\xe8\xb8\x50\x44\xcf\x5b\xb7\xe1\xee\x67\x60\x8f\x46\x08\xe8\xc2\x1a\x5e\x6e\xc2\x29\x15\x24\x81\xb9\xad\x73\x60\xfc\x57\x7a\xde\x5a\x13\x5b\x98\xd9\xdf\x93\x05\xc8\x3c\x0d\x2b\xe0\xb7\x7c\xc8\x86\x0c\x1d\xa2\xb3\xfe\xcd\x69\xff\xe2\x6c\x70\xf1\xe9\x04\x7d\xbf\x40\x29\x99\xe0\x22\x53\x07\x68\x42\x49\x96\x4a\x84\x05\x81\x26\x49\xaa\xe5\x1a\x3d\x18\xc2\x52\xca\xa6\x88\x8b\x94\x88\xa7\x5b\xc6\xca\x53\xc2\x8a\xbc\x72\xaf\xc0\xef\xe5\xe8\x2b\x5f\x68\x31\xc6\x3f\x8a\x9e\xfc\x4f\x6d\x81\x61\xc6\xba\xef\xa0\xb5\x67\x13\x9c\x92\x19\xcd\x52\x41\xd8\xb1\xc2\xf2\x7e\x44\xbe\x90\xa4\x30\x77\xf2\x3f\xe2\x1f\x46\x5a\xfa\xe5\x29\x89\x7f\x89\xfe\x51\x8a\x5b\x6b\x7f\xea\xf5\xed\xb5\xbf\x04\xed\xbc\xdb\x77\xf0\x0b\x4d\x1b\xdf\x86\x5f\x56\xcc\xc1\xbd\xb3\x64\xb0\xee\x95\xd6\x51\xb9\x17\xac\xb0\xd7\xf8\x8e\x20\x4a\x2c\x46\x58\x29\x92\xcf\xd5\x9a\x96\x07\x8c\x32\x2d\xbb\x2e\x93\x55\x2f\x78\x4a\xfa\xae\xbf\x5f\xad\x08\x6a\x84\x4d\xc3\xb5\x26\x44\x10\x96\x90\xf6\x16\x6e\xb1\xbc\x2f\x5b\x58\x2d\xf0\x02\x8d\x21\xbd\xfc\xa8\x24\xb0\x5a\xc7\xa5\xd8\xab\x97\xa4\x7c\x73\x95\xb0\x1b\xcd\x47\x7e\xe4\x42\x0f\xef\x2d\x08\xbc\xd1\xc0\x9f\x43\xe6\xdd\xf4\x44\x7f\x75\x56\x8e\x0d\xf9\xd3\xde\x26\xb2\xfd\x4a\x76\xb5\xa0\x70\x81\xe4\x42\x2a\x92\xaf\xb4\xa5\xbc\x9d\x85\xb0\x17\xd0\x6b\x1d\x70\xe5\x0e\xfc\x0d\x9c\xfa\xf8\x46\xdf\x1f\xef\x35\x96\x6c\x57\x96\xd0\xd7\x3e\x4f\xe7\xed\x5a\x3e\xd5\x1b\xb7\x7d\x81\xbb\xe7\x4d\x4c\x33\x92\x35\x77\x3d\xc8\x27\x32\x67\xb4\xee\x95\x5b\xed\x11\x0c\x60\x85\x22\x1b\xdb\xd2\xfd\xf9\xd3\x9f\x86\x16\x20\x63\xee\x53\x33\x2a\x03\x63\x18\x4a\xb8\x30\xb2\x60\x6a\xcf\xbb\xd1\x65\x7b\xb7\xbd\x9b\xfe\xed\x09\xea\xa1\x14\x2b\xac\x0f\xb8\x20\x73\x41\x24\x61\x0a\xec\x04\xfa\x7b\xb5\x40\x39\x4f\x49\x66\x34\xda\x8f\x5a\xb2\x46\x67\x58\xe1\x53\xac\x70\xc6\xa7\x47\xa8\x07\xff\xd4\x1f\x53\x89\x70\x26\x39\xc2\x8e\xac\x48\xea\x9a\xc0\x2c\x75\xac\x05\xa3\x84\xe7\x73\x9a\x79\x3f\x82\x37\xde\x50\x96\xd2\x07\x9a\x16\x38\x43\x7c\xac\xb9\x8a\xd6\xc0\xfb\x0f\x84\xa9\x02\x67\xd9\x02\xe1\x2c\x43\xb6\x5b\xf7\x02\x92\x33\x5e\x64\xa9\x6e\xd7\x8d\x52\xd2\x9c\x66\x58\x68\x15\xdf\x8c\xf6\xd2\xb6\x85\x6e\x67\xc4\x8f\x15\xc6\xa5\x57\x33\xc7\xf7\x44\x22\xaa\xd0\x9c\x4b\x49\xc7\x59\x79\xe6\xef\x06\x08\xc6\x7d\x7a\x3e\x00\x7b\x41\xa2\x10\x37\x3c\xd4\x75\x6e\xed\x43\xae\xc7\x1c\x33\x46\xa0\x63\xae\x66\x44\xd8\xee\xed\xcb\x2f\xad\xfa\xdf\x5d\xdc\x5c\xf5\x4f\x07\x1f\x07\xfd\xb3\xba\xee\x7f\xdb\xbb\xf9\xb1\xfe\xeb\xcf\x97\xd7\x3f\x7e\x3c\xbf\xfc\xb9\xfe\xe4\xbc\x77\x77\x71\xfa\xc3\xe8\xea\xbc\x77\x51\x7f\x68\xc9\xaa\xb3\x19\x21\x1c\xd9\x9a\x67\x6b\x6f\x33\x7d\x2a\x9b\xe9\xc1\xd7\x6b\x34\xb5\x4e\xa9\xee\x06\x53\x6f\xa3\xb0\x5f\xa2\x39\x96\xd2\x48\x46\x66\x04\x47\x43\xf6\x99\x0b\xcd\xc0\x26\x5c\xf3\x08\x2d\x3d\x29\x51\x24\x8a\xb2\xa9\xff\xe8\x04\x0d\x8b\x6f\xbf\xfd\x63\x72\x4e\xd9\x3d\xfc\x45\x5e\xe3\xe2\xec\x2d\xca\x7b\x8b\xf2\x6f\xcb\xa2\xac\x45\x9f\xe3\xd0\x90\xbc\xdb\xe0\x2a\x2d\x5c\x80\x4f\x5c\x8b\x12\xbc\x50\xfa\x4f\xdd\x25\x90\xc7\x92\x10\xab\x6e\x06\x4b\x1f\x61\xd5\xd2\x87\xe0\x39\x08\x72\x5f\xa8\x04\x66\xf4\xc8\xc5\xfd\x24\xe3\x8f\xdd\xcc\x95\x9f\x88\xf2\xc3\xd0\x82\xd3\x5b\xb0\x52\xfe\x6c\x67\xe8\x07\xfe\x89\x28\x3d\xf6\x6b\xdb\xcb\x3e\xd8\x6a\x1f\x6c\xf5\xb2\xc1\x56\xaf\xca\x54\xf8\xf4\xac\x35\xb6\x2b\x1a\xfe\xda\xe2\x87\x6b\x75\xb3\xb5\x78\xd1\x02\x27\xd9\xb3\xf0\xe4\xd8\x15\xb5\x4b\xbe\x1c\x3b\x9b\x56\xf0\xe4\x68\x18\x6f\x85\x2f\x47\x83\x7e\x7e\x9e\xfc\x9b\xf0\x13\xed\xdd\x40\x1b\x2e\xd4\x9b\x64\xdd\x1d\x6f\xa5\x67\x73\xe2\x3c\xfd\x55\x52\x8b\xf9\x58\x27\xc8\x63\x8d\xa8\x8e\xce\x61\x1c\x2b\xe2\x36\x1a\x03\x35\x9a\x22\x33\xea\xa1\x18\x8d\xb1\x17\xdb\x05\x5b\x6c\x7a\xeb\x75\x0f\x9f\x58\xf7\xd6\xeb\x1e\x38\xf1\x89\xa8\x68\x18\x6f\xe5\xd6\x8b\x06\xfd\xfc\xb7\xde\x6f\x34\x5e\x62\x1f\x20\xf1\x84\x4b\xf7\xb5\xdf\x95\xaf\x37\x04\xe2\x37\x10\xf3\xb0\x0f\x72\x58\x6b\x8d\xbe\xae\xa8\x86\xaf\x35\x8c\xe1\x6d\xc6\x2d\xec\x03\x15\xf6\x81\x0a\x2f\xe1\x51\x7a\x7b\x81\x0a\x4f\xaa\xf8\x12\x4d\x56\x12\xac\xa8\xa1\x72\xf3\x6e\xce\x65\xbb\xbe\x17\x3a\xaf\x1b\xf4\x3a\x68\x33\xb6\x66\x02\xf5\xfe\x8a\x66\x58\x22\x9e\x24\x85\xa8\xb8\x68\xab\xa7\xfc\x54\x10\xac\xf4\x11\x89\x0d\x97\x08\x5a\x46\x82\x24\x5c\x80\x93\x12\xa3\xf9\x0c\x4b\x82\x94\xc0\x4c\xd2\x55\x5a\x9e\x69\x15\xc6\xa5\xdb\x79\x0b\x0a\x5e\x7d\x11\x9f\x4b\xbd\x1b\xf3\xb4\x76\x20\xcd\x59\x6d\x7a\xb2\xfc\x26\xd9\xd9\xd4\x21\xed\xb7\xcb\xcc\x9f\xf0\xa8\xe8\x5b\x6b\xc7\x47\x25\x52\xe3\x37\x3d\x2a\xb1\xb5\x63\x27\x47\x05\xc6\xf5\x56\x8e\x4a\x7d\x11\x7f\x33\x47\xa5\x69\xea\xaf\xe1\xa8\xb8\x70\x80\x1d\x1f\x97\x9a\x0f\x7e\xd3\x23\x53\x0f\x57\xd8\xc9\xb1\xf1\xe3\x7b\x2b\x47\xa7\x79\x41\x7f\x33\xc7\xa7\x6d\xfa\x2f\x7b\x84\xbc\x1f\xa2\xf3\xe1\xb9\x15\x74\x3a\x25\xc2\x68\x46\x89\x26\xc5\xd5\x50\x4b\xa5\xe5\x7d\xb3\x03\xb3\xfa\x34\xf8\x1e\xde\xc2\x49\xf0\x83\x35\x63\xff\xcd\x1c\x81\xda\xbc\x5f\x09\xed\x1f\x6b\x4e\xfc\x00\x68\x6d\xdd\xce\xc0\x35\x01\xc2\x87\x0b\x64\x2e\xc8\x03\xe5\x85\xcc\x16\x87\xa2\x60\x4d\xdc\x1e\x8c\x04\x8f\x34\xcb\x10\x67\xd9\x02\x49\x85\x85\x72\x8f\xd9\xd4\x78\x94\xf4\x61\xca\xb0\x54\xe8\x9e\xf1\x47\x86\x26\x98\x66\x85\x20\x68\xce\x29\x53\x47\x43\x36\x60\xe8\xda\x8c\x11\x34\xef\x03\x54\x48\x7d\x04\x13\xcc\x18\x57\x28\x99\x61\x36\x25\x08\x33\x07\x5d\x53\x52\x06\xe2\x02\x15\xf3\x54\x1f\x2c\xdd\x45\xc5\xc6\x54\x1e\xb0\x21\xbb\x05\x2b\x86\x44\xe4\x8b\x12\x24\x27\xd9\x42\xf7\xa1\x69\x5f\x71\x64\xd7\xc7\x0c\xd5\x1a\xc4\x89\x10\x5c\x48\xd0\xd9\xc7\x8b\xbf\x63\xa6\x28\x23\x08\xd4\x4c\x69\x80\x8f\x0e\xd1\x39\x97\x10\x93\xfd\xe3\x9f\x25\x4a\xb2\x42\x2a\x22\x0e\xd0\xb8\x98\x4a\x44\x19\x9a\x67\x58\x4d\xb8\xc8\xf5\x08\x29\x93\x0a\x8f\x69\x46\xd5\xe2\x00\xe5\x38\x99\x99\xb6\x60\x0d\xe4\xc1\x90\xa5\xfc\x91\x49\x25\x08\xf6\xbd\xbb\x87\xe8\x9b\xf0\x99\x21\x00\xf9\xe1\x00\x0c\xf7\x34\x9f\x67\x8b\x70\xf8\x41\x22\x34\xec\x89\x6e\x84\xa4\x68\x4c\x12\x5c\x48\x6b\xd8\x51\x62\x81\xc8\x97\x19\x2e\x24\xec\x9d\x9e\x9e\xb5\x7a\x24\x3c\x9f\x67\x44\x11\x44\x27\x48\x09\x4a\x52\x84\xa7\x98\xea\xa5\xbb\x21\x4b\x12\xb7\x3d\xd1\xdb\x0d\xb4\x54\xff\x2b\x58\x3e\x72\x2e\x08\x4a\x89\xc2\x34\x93\xcb\x9d\x92\xcf\x4a\x70\xe8\xc9\xe9\x0d\xbd\x5e\x72\x43\xaf\x9a\xda\x96\xdc\x84\x76\xc7\xf6\x57\xe1\x5b\xba\x0a\x63\xae\xf0\x2a\xee\x42\x03\x12\xb1\x03\x81\x90\x59\xab\x78\x82\xb3\x2d\x65\xc3\x6b\x3b\xa8\xb5\xa5\x43\xf7\xe1\xfe\x50\xbc\xad\x43\x61\x76\xed\xf5\x9c\x8a\xb6\x84\x8a\x9d\x23\xc5\xac\x83\xf1\xb2\x24\x23\x42\xa2\x1c\x2b\x7d\xb1\x4d\xed\x15\xdd\x11\xc5\xb0\x04\x75\x79\x53\x07\xe5\x39\x90\x5c\xbe\xee\x88\x85\x7d\xa4\xc2\x6f\x10\x81\xf6\xd5\x24\x30\xee\x73\xa0\x9f\x28\x07\x9a\xca\x7d\x0e\xf4\x3e\x07\xba\xeb\x02\xed\x73\xa0\xf7\x39\xd0\x6f\x36\x07\xfa\x49\xd3\x9f\x77\x97\xe4\xbc\x9b\x4c\xe6\x37\x25\x9d\xef\x25\xf3\xbd\x64\xbe\x4f\x57\xf6\x53\xdb\x15\x17\x74\x5f\xbf\x4b\x49\x46\x14\x69\x37\xd0\x11\x91\x6b\x85\xc3\xdc\xf0\x94\x69\x51\x70\x2a\x88\x94\xdb\xf2\x34\xdf\x70\x58\x5e\xa1\xc1\x1f\x51\xa2\xcc\x7a\xb2\x04\xbb\xce\x32\x66\xe7\xdb\x7e\x9b\x2c\xcf\x0f\x7f\x0f\xd9\xb0\xe7\x81\x7b\x1e\xb8\xc9\xd4\x5e\x8f\x39\x3a\x38\xcc\xcf\x65\x8f\xf6\xbc\x7d\x5e\xb4\x0b\xa7\x77\xc6\xd1\x5a\x32\x5a\x43\xe1\x90\x95\xca\xfd\xe1\xb6\x74\xbe\x25\xaf\x5f\xa7\xaf\x65\x7c\xdd\xb4\xf3\x36\x99\xba\x19\xfb\x9e\xa3\xef\x39\xfa\x9e\xa3\xbf\x6d\x8e\xee\x4e\xf2\x8b\xba\x17\x83\xc2\x69\x23\x9a\x6e\x53\x3b\xad\x7b\x1d\x0a\x9c\x93\xb4\x0f\x59\x62\x3e\xc7\x4d\xfc\xaa\x3f\x09\xab\xa2\xb9\x7c\xb0\xee\x0e\xc8\xf0\xeb\x72\xd5\xa3\x52\x56\x9b\xf9\x23\xcb\x02\x65\x83\xf4\x4d\xb8\x24\x1b\x57\xf8\x2b\x29\xae\xf6\x3a\xb8\xc8\xb3\xd7\x56\x7b\x1d\xd3\xde\xbb\xc8\xf6\xa5\xd5\xf6\x4e\xa0\x8e\x13\xde\x3b\x81\x5e\xaf\x13\xa8\xc3\x36\x3e\x89\x67\xf7\x99\x8f\xe7\x73\x89\x8e\xdd\x33\x77\x5c\x82\x0d\x4b\x51\x31\xcf\x38\x4e\x3b\x56\x47\x0f\x24\xba\x0e\xe9\x3b\x2c\x45\x82\x4c\xa9\x54\x44\xe8\x7d\x69\x14\x0c\x57\xe7\xf3\xbc\xd5\x32\xe8\x9d\x23\x36\xc3\x6e\xdf\xfd\x5b\x87\xe1\x5f\xdb\x3b\x1b\x38\xd1\x18\xa7\xbe\x3e\x31\x88\x6f\x39\x5e\xa0\x19\x7e\x20\x2e\xca\xfc\x01\x67\x34\xc5\xd5\xb5\xae\xcc\x70\xd9\x80\xfe\x63\xbd\x01\xe1\x78\x38\xbe\xa0\x9d\x8c\xa3\x80\x2d\x40\x05\xbc\x33\xd3\x5a\x79\x26\x08\x4e\x17\x68\x4c\x08\xf3\x64\xd3\x70\x9f\xb4\x8c\x79\x27\x82\xf3\x8b\x6b\xa5\x75\xea\x79\x2d\x6a\xe9\x33\xc6\xbd\x36\xf3\x9b\xed\x75\xd0\xed\x15\x4f\xf9\x87\xb7\xc5\x82\xf6\xb1\xb0\x7b\xdb\xe4\xcb\xdb\x26\xf7\xb1\xb0\x7b\x45\xff\x95\x29\xfa\xfb\x58\xd8\x7d\x2c\xec\xde\x0c\xb2\x7c\xda\x7b\x33\xc8\x57\x11\x0b\xdb\x49\x86\xdf\x30\x1a\xf6\x8d\x4b\xf3\x7b\x61\xde\xbd\xb7\x17\xe6\xf7\xc2\xfc\x57\x2a\xcc\xbf\x8e\x15\xde\x4b\xf2\x7b\x49\x7e\x2f\xc9\xef\x25\xf9\xbd\x24\xbf\xf3\x65\xdc\x4b\xf2\xcd\x92\x3c\xfc\xe5\x8a\xed\xac\x2b\xd6\xaf\x29\xce\xaf\x9d\xee\xb6\xbe\x33\xf0\x13\x51\x6f\xd5\x13\xb8\x97\xda\xf7\x52\xfb\xeb\x96\xda\x5f\xcd\x84\xbe\xbe\x42\x19\xfb\x52\x13\xfb\x52\x13\xfb\x52\x13\x4f\x5c\x6a\xc2\x7d\xdd\x21\x47\xca\x1e\x2e\x85\x55\x21\x0d\x56\x71\x19\x6c\xd2\x49\xec\xe9\x90\x1a\x55\xe9\x61\xb5\xdc\x83\x7a\x0a\xe5\x5c\xeb\x6e\x8c\x44\xef\x38\x06\x67\x02\x6b\xa6\xf4\x81\x30\xe4\x92\x03\x0e\xec\x35\x76\x00\xc6\x94\x7f\xfa\xc3\x67\x92\x6f\xb1\x42\x18\x29\x9a\x93\x23\x34\x98\x18\x6e\x91\xe8\xd3\x25\x89\x92\x95\x68\x2c\x43\xf9\xf0\x11\x4b\xcb\xb1\xba\xbe\x69\x19\x9c\x63\x5e\x3b\x70\xcc\xb6\xc8\x94\x61\xbd\xae\x71\x40\x1a\x1d\x7b\x0e\x05\x07\x2d\x27\x22\x73\x5f\x46\xdd\xba\x97\x73\x9c\x6a\xc6\x10\x0c\xa1\xcc\x12\x0e\xdf\x87\x3b\x9d\x4a\x1f\x5e\x14\x7d\x6f\xbe\x06\xb8\x52\x80\x17\x05\x58\xf5\x4e\xc3\x98\x41\xf4\x9b\x16\xf1\xd2\x22\x23\x08\x4b\xc9\x13\x8a\x41\x8d\x31\x32\x00\xa2\xca\x59\x1a\xdc\x4b\xae\xeb\x94\x4a\x3c\xce\x48\x6a\xd7\x98\x94\xd1\x4e\x4b\x47\x4e\x25\x1a\x13\xbd\xc4\x9a\x4d\xc5\xab\x3f\x33\x12\x48\xc3\x68\x82\xa1\x90\xfa\x48\x08\x33\x03\x59\x22\x41\x1b\xe2\x7c\xab\x42\xf4\x3e\xe3\xce\x3f\xdd\x8b\xd4\x7b\x91\xfa\x37\x2a\x52\xbf\xa2\x08\xcd\x57\x91\x38\x08\x3e\x50\xcd\xf9\x47\xde\xb0\x29\xbb\xda\x7a\xce\xa9\x54\x12\x25\x85\x54\x3c\x6f\x97\x7c\x3e\xbb\x1e\x7a\xbe\x83\x53\xce\x26\x74\x5a\x98\xbb\xe5\x57\x2b\x9b\xf8\x13\x5d\xaa\x29\x8b\x39\xe9\x66\x18\xf2\x76\xeb\x55\x9d\x35\xe6\x23\x36\x38\x79\x1b\xda\x79\x13\xb7\x5d\xf3\xd0\x9f\xeb\xd2\x5b\x47\x59\x2d\xed\xe3\x56\xd3\xd4\xfa\xc5\xe8\xba\x7f\x73\x79\x77\x7d\xda\x3f\x41\xbd\xf9\x3c\xa3\xc6\x65\x65\x28\x8c\xfe\x5d\x4f\xca\x54\x8d\xf2\x24\x62\x05\x22\x03\xe6\x0e\x3e\x32\xad\x0f\xa2\x43\x74\x7a\x7e\x77\x73\xdb\xbf\x6e\x69\xd0\x92\x04\x20\x0e\x90\x7c\x9e\x81\x7c\x74\x5f\x8c\x89\x60\x44\x4b\xf8\x16\xf2\xbd\xf4\x9c\x99\x46\xfb\xff\xd5\x3f\xbd\xbb\x1d\x5c\x5e\x8c\xfe\x72\xd7\xbf\xeb\x9f\x20\x47\x5b\xba\x59\x3d\x2e\x3d\x8a\x74\xc1\x70\xae\xb5\xee\xb8\xbc\xd5\xdf\x0a\x52\x80\x38\x46\xa7\x2c\x27\x50\x89\x21\x6a\xd1\x0d\xf8\xbc\xf7\x7d\xff\x3c\x6e\x79\x46\x42\x1c\x7a\x94\xe1\x31\xc9\xac\x2b\x0f\xbc\x53\xfa\xfc\x04\x88\xfd\xc6\xc7\x57\x98\x55\xfd\xcb\x5d\xef\x7c\x70\xfb\xcb\xe8\xf2\xe3\xe8\xa6\x7f\xfd\xd3\xe0\xb4\x3f\xb2\x9a\xd4\x69\x4f\xf7\x1b\xf5\x64\x15\x2e\xf4\xb7\x02\x67\x5a\x23\xe7\x13\x87\x4c\x8f\x1e\x67\x84\xa1\x82\x01\xc5\x19\x35\x1f\xb4\x92\x10\x96\xc7\xcc\xe8\xea\xfc\xee\xd3\xe0\x62\x74\xf9\x53\xff\xfa\x7a\x70\xd6\x3f\x41\x37\x24\x03\x45\xd8\x2d\x3a\xec\xe2\x3c\x2b\xa6\x94\x21\x9a\xcf\x33\xa2\x57\x03\x5b\x1c\x88\x19\x7e\xa0\x5c\x44\xda\x0a\xac\x23\xb0\x02\x68\xdf\x29\x9c\xa3\x60\xe9\x2e\x2f\x3e\x0e\x3e\x9d\xa0\x5e\x9a\xfa\x39\x48\x68\x23\xa2\x1c\x87\x26\x74\x58\x43\x13\x4a\xb0\x09\x08\x81\x02\xed\x0f\x44\x08\x9a\x92\x0a\x1d\xf5\x6e\x6e\x06\x9f\x2e\x3e\xf7\x2f\x6e\x61\xc5\x94\xe0\x99\x44\x33\xfe\x08\x5e\x20\x98\x21\x38\x87\x1e\x30\xcd\xa0\x33\xb7\x59\x9c\xa1\xc7\x19\x05\xcf\x21\x54\x28\xf0\x3d\x1b\x9b\x84\x28\xea\x49\x15\xcf\xad\xf5\x47\x07\xaf\xae\xaa\x57\x4f\x52\xfd\x8d\xca\xb1\x58\xf6\x42\x44\xe5\xf5\x17\x57\x51\x6b\xfd\x8b\x0a\xb9\xb5\x1b\x28\x6a\xf4\xd2\x3e\xd3\x72\xaf\x3b\xdb\x27\xe2\x35\x7c\xb6\xdb\x5b\x33\xde\x74\xe4\xec\x54\xc7\xff\x88\x18\xf0\x3f\x77\x18\xad\x65\x12\x74\x96\x62\x17\x06\xd9\xea\xbf\xda\x6b\xb6\xe3\xe5\x1d\x7c\xd9\xf4\x61\xdd\x8f\x13\x7c\xf0\x16\x6e\xe5\x70\xb8\xaf\xe8\x06\xbe\x0e\xe5\x2c\x27\xae\xe7\x44\xe1\x14\x2b\xac\xf9\xda\x94\xa8\x23\x74\xc9\xe0\xd9\x2d\x96\xf7\x07\xc8\x15\x1e\x43\x5c\xa0\x52\x90\x7d\x86\x04\xf7\x37\x62\xc0\x5c\x5f\xb9\xda\x1b\x09\xf6\x46\x82\xe6\x95\xd9\x47\xcb\xb5\xac\xf0\xae\x6e\xd4\xb5\x6c\xfe\xbb\xbb\xf8\x02\x13\xbf\x0b\x7c\xa9\xd8\x68\xa3\x1b\x71\xa5\x3d\xf6\xed\x5e\x86\xcf\x6b\x91\xdd\xe9\xd5\x68\xea\x92\xed\xef\x3d\xf3\x7f\xfb\x7b\x6f\x7f\xef\xed\xef\xbd\x57\xb0\xc2\x2f\x6e\xdd\x6e\xe0\xee\x2f\x6a\xde\x5e\xa5\x20\x6f\x0c\x93\x57\x2a\xc4\xeb\x00\xe5\xfd\xda\x05\x0f\xaf\xc1\xac\x5d\xd7\x90\x25\x92\x33\x2c\x4c\xc1\xef\x84\xe7\x39\x67\xb1\xdd\xfc\x00\x79\x27\x3f\x18\x25\x57\x82\xa9\x6a\xca\x2e\xbb\xa1\x6f\xc3\xde\x1d\xac\xcb\x73\x64\x37\xed\x54\x84\x30\x69\x03\x7b\xfd\xfa\x09\xe5\x8c\x3d\x8e\xe1\x4e\x71\x0c\x5f\xc7\x5c\x9f\x24\x13\x6a\xf7\x36\xf8\xb7\x91\xfd\xb4\x07\x2c\xdc\xe7\xf7\xec\xf3\x7b\xe0\xf7\x3d\x60\xe1\xee\xa8\xf5\x69\x65\x7a\x9e\x92\x51\xa5\x42\x97\xff\xe7\xa8\xea\xf2\x8a\x9e\x84\xfe\xaf\xe8\x41\x99\xf0\x04\xad\xd3\x74\x97\x55\xbd\x2e\x78\x4a\xb6\xa8\xec\xa5\x47\xd4\xb9\xaa\x57\xd4\xd7\x2b\x17\xe1\xdd\x32\x19\x51\x3e\x1a\xf8\x13\x0b\xf2\x2d\x14\xf3\x35\x5a\xa3\x1a\xe8\x7f\x6f\x9a\x5a\xb9\x50\x5f\x6b\xd9\x84\x92\xc1\xbd\x21\x47\x4d\xb7\x5b\xc0\x85\xf7\x8c\x5a\xee\x82\xe6\xe7\xfe\x46\x68\x7e\xfc\x34\x90\x36\xdd\x2f\x84\x0a\x92\x4d\x7c\x15\x6c\x8a\x60\x13\x75\xff\x36\xec\x3c\xe1\x88\x9f\xc3\xd2\xb3\x94\x98\xbe\xba\x6b\x62\xd9\xd1\xd8\x5f\x16\x1d\x97\xeb\x6b\xbd\x32\xf6\xc8\x33\xcb\x6c\x2f\x7b\x68\x97\xbd\xe9\xe7\xf5\x4c\x78\x6f\xfa\x79\xd3\xa6\x1f\xe3\xa8\x1e\xcd\xb1\x20\x4c\x35\xc8\xe8\xd5\xeb\x04\x5e\x0f\x73\xf8\x9d\xd4\x01\x0d\x18\x69\xd1\x5e\xc8\xfe\xaa\xfa\xba\x6c\x41\x56\x30\x18\x19\xb9\x22\xc8\x61\x3a\xfe\x47\xf9\x77\xa0\x04\x04\x3f\x36\x38\x7c\x97\x05\x82\x19\x3c\x7d\xa9\xaf\xef\xc2\xc6\x84\xed\x2a\xf3\xc9\x09\x89\x2d\x8e\xda\xf6\xf8\x31\x97\xde\x40\xd2\x52\xe0\x2a\x67\xd8\x10\x57\x66\x7b\x3a\x74\x62\x58\x19\x3f\xb1\x32\xcc\xec\xca\x7c\x7a\x06\x5f\xbe\xad\xac\xa8\x96\xa1\x3f\x6f\xf8\x59\x9d\x1c\xbb\x9d\x6e\x47\x1c\xd4\xe4\xf9\x04\xc9\x24\x5a\x54\xe6\x93\x70\xc3\x5d\x2e\x37\x86\x54\xa7\xb6\xeb\xe9\xb9\x05\xc8\xda\x99\xeb\x36\x71\x4b\xa3\x6f\x77\xde\x2f\x1e\x8c\xb3\x82\xee\x5f\x34\x30\x67\x09\xe3\xde\xae\x74\xe5\x8b\xf1\x65\x6f\xbb\x7f\x3e\xce\xfc\x89\xa8\xaf\x8f\x2d\x7f\x22\xea\xb9\x78\xf2\xa6\x8c\x78\x29\x33\x2a\xeb\x15\xbd\xd1\x38\x91\x1a\xff\x7d\xb3\xd3\x5d\x27\x5e\xeb\x67\x33\x49\x1b\xac\xe5\xd3\xe2\xc3\xa9\x2a\x6e\x0d\x18\x91\x0e\xb8\x4f\x5f\xde\xa7\x2f\xef\xd3\x97\xab\x47\x7d\x9f\xbe\xbc\x4f\x5f\x6e\x4c\xb6\x4a\x49\x46\x14\x69\x95\xe1\xce\xe0\xf1\x4b\xc9\x70\xa6\xf7\x67\x94\xe0\x4c\x87\x5f\x9f\x10\x67\xe6\xb5\x97\xe3\xf6\x72\xdc\x2e\xa6\xfb\x5a\x35\x69\x47\xe5\xaf\x41\x93\xee\x8c\xda\x54\x06\xac\xad\x8c\x53\xb0\xd3\xfe\x75\x65\x80\x42\x80\x80\xe9\x86\xb3\x2a\x08\xe1\xca\x0d\xfb\xed\x30\x39\xf9\xd4\x7c\x6c\x1b\x57\xab\x5b\xf7\xaf\xd6\xd3\xba\xaf\xf1\xd1\xb8\x56\x7b\x47\xf0\x92\xc5\xd9\x3b\x82\xf7\x8e\xe0\x57\xe7\x08\xde\xb9\x4a\xb5\xb4\x52\xff\xb5\xbd\x9a\x97\x46\xa8\xbb\x8b\xde\xe8\x32\x9a\x14\x0c\x2e\x79\x4a\xe6\x19\x5f\x80\xbd\x67\xa9\xe5\xdb\xd7\xe8\x6f\x08\xd4\xaa\x5e\xfe\xee\xed\xab\x9a\xd0\xfe\xda\xef\x7f\x37\xf2\xe7\x52\x6b\x5e\x8b\xd8\x5b\xce\xfb\x55\x08\xba\xc7\xff\xa8\xa4\x67\x74\xc2\x6f\x09\x12\x2a\x56\x1f\x83\x21\x6b\x7e\x12\x94\x12\xb0\xb7\xe6\xb8\x50\x41\xec\xa3\xd4\x07\x60\x4e\x84\x5a\x04\x6f\x92\x7c\xae\x16\xff\x39\x64\xb4\x44\x1c\xa7\x53\xc6\x85\xe1\x81\xfa\xe3\x19\x66\x69\xa6\xcf\x8f\xf4\xed\x24\x98\x31\xae\x40\x38\x81\x19\xa4\xe8\x81\x62\x23\xca\xf4\xae\x06\x1d\xe2\x03\x3a\x9d\xc5\xc8\xb5\xff\x86\x4e\xe2\x73\x63\x79\xaf\xb8\x45\x3f\x65\x7c\x0c\xd5\x27\x8a\xd8\xc4\xa0\x1b\xd8\x3b\xa3\xa3\x9d\x7b\x29\xe6\xa1\xb0\xbc\xaf\x26\x8d\xc5\x29\x04\xa3\xa5\x69\x64\x2b\xde\x8d\x80\x15\x97\xbf\x5a\x49\x35\x8b\x9f\xd9\xe4\x33\x78\x0c\x43\xae\x8e\xc3\xfd\x18\x76\xe8\x7e\x2b\x5b\x76\xbf\xb8\xea\x5d\xf0\xa3\x20\x4a\x2c\x46\x58\x29\xcd\x90\x76\x99\xdf\x76\x8b\xe5\xfd\x16\xf9\x6d\xb1\xa7\x69\x45\x7e\x5b\xd4\xd7\x2b\xe7\x58\x51\x7e\x5b\x3c\xf0\x27\xe7\x58\x1d\x89\xfb\xab\x4b\x65\xe8\x7a\x54\xf7\x69\x0d\x1b\x2c\xdd\xd7\x9a\xe2\xb0\x8c\x17\xbf\x9a\x11\x56\xae\x83\xaf\xf1\xe4\xc6\x97\xdb\xfe\x88\x2e\x5b\xa3\xaf\xae\xcc\x48\x45\x66\x59\x31\xb7\x37\x52\x6e\xa4\x2a\x76\xed\x7a\x54\x4f\x63\x7f\x0f\x76\x63\x5f\x7f\x70\x5f\x7f\x70\x5f\x7f\xf0\xc9\xeb\x0f\x76\xd3\x59\x3b\x2b\xac\x5d\xb5\xd5\x6e\xaa\x6a\xbb\x9e\xfa\x04\x3e\xe7\xee\xca\x64\x25\x37\x3e\x56\x23\x37\xcd\x8d\x8f\xba\x7f\x13\xce\xe9\x68\xc4\xcf\x91\x1b\xff\x1b\xd5\x2c\xf7\x6a\xe5\x93\xac\xdb\xd7\xaa\x53\xbe\x72\x85\x72\x9f\xd5\xbf\x47\x54\xdc\x87\x9a\xec\x70\x71\xf6\xa1\x26\xfb\x50\x93\xaf\x36\xd4\xa4\x5d\x3d\xa1\xe9\xd6\x19\x9b\x6b\x62\xa8\x7b\x2b\x83\xf8\x15\x44\x29\x2d\xf6\x77\x40\x55\x6f\xd2\x16\x4a\x59\x3a\x42\x41\xde\x5c\x73\x18\xa4\x6f\x42\x65\x68\x5c\xcd\xe7\x50\x1d\xf6\x80\xdc\x3b\x05\xe4\x7e\x75\xd3\xde\x4b\x95\x7b\xa9\x72\x2f\x38\x75\x9c\xf0\x5e\x70\x7a\xbd\x82\xd3\x4b\x69\x43\x5f\x13\x36\x93\x16\xb1\xa2\xac\xa4\xa5\x71\xca\x06\x5f\x09\x9c\x19\xc5\x3c\xe3\x38\x5d\x15\x71\xf4\x6b\x20\xbe\x2d\x91\xfb\x82\x76\x45\x19\xa7\x5c\x11\xff\x96\xc9\x76\xa6\x01\xdd\xe3\x5b\x10\xed\xf4\x38\xcd\x88\x3b\x44\x47\x86\x1d\xbe\xfb\xb7\x0e\x03\xbf\xb6\x77\x32\x70\x9a\x31\x4e\x1d\x80\x81\x11\xcf\x72\xbc\x40\x33\xfc\x40\xd0\x04\xd3\xcc\xd8\xe7\x68\x8a\xab\xeb\x5b\x99\xdb\xb2\x01\xfd\xc7\x7a\x03\xc2\xf1\x70\xca\x8c\x46\x7d\x5f\x18\xa9\x2a\xc1\x99\x73\xf7\xc1\x3b\x33\x2c\x11\xce\x04\xc1\xe9\x02\x8d\x09\x61\x41\x26\x5b\xd7\x31\xef\x44\x30\x7e\xf1\xf0\xcc\x90\x6e\x5e\x34\xca\x1b\xb8\x46\x6b\xe5\xea\x9d\x2b\x96\x55\x4e\xb2\x85\x0e\xb9\x8d\xe2\x28\xff\xf0\x56\x98\xcb\x73\xa8\x89\x5f\xb1\x17\x69\xef\x29\xfa\x6d\xd6\x87\x7c\x35\xda\xc7\x5e\x45\xdf\x27\x19\xef\x3d\x3f\x7b\x03\xc6\xde\x80\xb1\xf3\x65\x7c\x4d\x06\x8c\x17\x94\xd1\x4d\x6e\xd3\x93\x14\x4e\x79\x2d\xd2\xfa\x5e\x58\xdf\x0b\xeb\x7b\x61\xfd\xab\x15\xd6\x5f\xc7\x0a\xef\x25\xf5\xbd\xa4\xbe\x97\xd4\xf7\x92\xfa\x5e\x52\xdf\xf9\x32\xee\x25\xf5\x8a\xa4\x0e\x7f\x39\xb4\x80\x75\xc5\xf6\xce\xe2\xfa\x66\xd0\x00\xdd\xdc\x74\x16\x1b\xe0\xad\x48\xe6\x7b\xa9\x7c\x2f\x95\xbf\x6e\xa9\xfc\xd5\x4c\xe8\xeb\x4b\x08\xde\xa7\xd4\xee\x53\x6a\xf7\x29\xb5\x2f\x91\x52\xeb\x78\xc9\x32\x09\x67\x59\x5d\x9f\x9f\x2c\x73\xf9\x86\xb2\x24\x2b\x40\x54\xd5\x3f\x7f\x5f\xd0\x2c\x45\xa0\x22\x69\x4d\x97\x72\xf6\x01\xe8\x09\x48\x01\xc6\xe9\x2a\x51\x2c\x97\x60\x7e\xaa\xb1\xba\x57\x2b\xc4\x94\xa3\xdd\x14\x86\x6d\x57\x7b\xea\xcb\xf1\x6e\x50\xfd\x2f\xfa\xcd\x35\xf4\x8a\x6a\x02\x1e\x38\xb1\x44\x73\x24\x37\xbe\x27\xae\x0e\xd8\xd8\xe7\x5a\xb5\x02\x7f\xb6\x1f\xbd\xad\x52\x06\xf5\x51\xef\x2b\x04\xa2\x60\xd7\xf6\x15\x02\x9f\x70\xde\xee\x9c\xad\x98\xb9\xa3\x51\x63\x0b\x7f\xa3\xd3\x7e\xf1\x60\xc7\xf6\x93\xfe\xa2\xa1\x8f\x8d\x17\x59\x2d\xb7\xee\xf8\x1f\x8d\xf7\xd4\x0b\x14\x46\x5c\xfb\x72\xda\x49\x89\xc4\x6d\xae\xa7\x4f\x44\x7d\x2d\x77\xd3\xbe\x4c\xe2\xbe\xbc\xce\x8e\xa6\xbb\xd1\xdd\xf3\x66\x67\xbb\x2f\x0a\xb9\x2f\x0a\xb9\x2f\x0a\xb9\x2f\x0a\xb9\x2f\x0a\x89\x7e\xe3\x45\x21\xd7\x96\x5f\x77\x50\x1e\x72\x1b\xe9\xd5\x74\xff\xb5\x08\xb0\xfb\x12\x91\x7b\x19\x76\x77\xd3\xfd\x6d\xc9\xb0\xaf\xd0\x82\xf2\x2a\x6a\x61\x7a\x0b\xca\x8b\xc3\x12\x79\xd6\xde\x19\x9a\x28\x8c\x7b\xf1\x5f\xef\x14\xa1\xc8\x6d\xda\x1e\xa5\xc8\xfe\xdf\x1e\xa5\x68\x8f\x52\xd4\x32\xeb\x7d\x60\xf5\x1e\xa5\x08\xed\x43\x87\xf7\xa1\xc3\xaf\x39\x74\xb8\xc3\x36\xee\x51\x8a\x3a\x8a\x8c\x4f\x84\x54\xe4\x64\xae\xad\xd0\x8a\x1a\xc4\xc1\xd5\x88\x45\x3f\xd7\x35\xa2\x57\x2b\xea\xb9\xb1\xee\x91\x8b\xf6\xc8\x45\xdb\xd2\xce\xab\x50\x40\x9f\x11\xc1\xa8\x89\xc3\xac\x93\x17\xdd\xc0\x5c\xb6\x55\x30\xdf\x06\x9a\x91\x1b\xed\x3e\x49\x7a\x9f\x8e\xf1\xfa\xd3\x31\x5e\x5d\x92\xf4\xab\xd1\x54\xf6\xea\xfc\x3e\x4f\x7a\x9f\x27\xbd\x37\x76\xec\x8d\x1d\x3b\x5f\xc6\xd7\x64\xec\x78\x61\xb9\xfd\x09\x51\x8d\x5e\xa3\x04\xbf\x17\xe0\xcd\x7b\x7b\x01\x7e\x2f\xc0\x7f\xa5\x02\xfc\xeb\x58\xe1\xbd\xf4\xbe\x97\xde\xf7\xd2\xfb\x5e\x7a\xdf\x4b\xef\x3b\x5f\xc6\xbd\xf4\xfe\x6c\x48\x47\x4d\x22\xfc\xda\x68\x47\x6b\xba\xf9\x82\x64\xb6\xb7\x24\xad\xef\x25\xf5\xbd\xa4\xfe\xba\x25\xf5\x57\x33\xa1\x3d\xf2\xd1\x1e\xf9\x68\x8f\x7c\xb4\x47\x3e\xda\x48\x46\xfa\x17\x7b\x2c\xdf\x05\x37\xb1\xbf\xb2\xdf\x7d\x9f\xf1\xf1\xed\x62\x4e\xf4\xff\x9e\xd1\x9c\x30\x09\x12\x2d\x55\x8b\x50\x26\x6a\x59\xf9\xfa\x9a\xbf\xbb\x19\x5c\x7c\x3a\x0f\x53\xd5\xde\x7d\xbe\x3b\xbf\x1d\x5c\xf5\xae\xfd\xba\xf8\x59\x85\x6b\x61\xbf\x8b\xc4\x3a\x4b\xf2\xd7\x44\xeb\xaf\x70\x6a\x6e\x14\x56\x85\xdc\x6c\x64\xd7\xfd\x9b\xfe\xf5\x4f\x90\x6a\x37\x3a\x1b\xdc\xf4\xbe\x3f\x8f\x08\x22\x7a\xde\x3b\xfd\xcb\xdd\xe0\xba\xfd\x79\xff\xbf\x06\x37\xb7\x37\x6d\x4f\xaf\xfb\xe7\xfd\xde\x4d\xfb\xd7\x1f\x7b\x83\xf3\xbb\xeb\xfe\xd2\xf5\x58\x3a\xda\xe5\x8a\x8c\x84\x45\x82\x2c\x16\x94\x58\xae\x21\xca\x35\x44\x5e\x7c\x74\xec\xb0\xa9\xaf\x13\x74\x67\xed\x02\xd4\x36\xee\x42\x92\x7c\x43\x46\xa1\x49\xa9\xc4\xe3\x8c\xa4\xb5\x96\xdc\x1a\xb6\xb5\x84\xa3\x41\x3d\x6a\x0d\xdc\x8b\x9c\x9a\xe7\x25\x86\x17\x20\x48\x00\x56\x84\xa5\x0d\x7d\x98\x7d\x68\xed\x81\x69\xde\x45\x1f\x48\xd4\x53\x52\x08\x41\x98\xca\x16\x46\xe0\x96\xb5\x46\xdd\xf6\xb5\x35\x6b\xef\x54\xdf\xe0\x0c\x4b\x13\x79\x15\x8d\x5f\x90\x8c\x60\xd9\x30\x66\xbb\xfb\xdd\x96\xc5\xef\x95\xb5\xe8\x98\xcb\x68\x82\x69\x56\x08\x52\x39\x2d\x3c\x9f\x63\x41\x25\x67\xfd\x2f\xfa\x2e\xd3\x07\xf9\x12\x3e\xe7\x62\xb3\x13\xd3\xff\x4b\x48\xc1\x17\xf1\x3f\x3f\xdd\xc6\xff\x8a\xce\xfc\xf9\x6d\xfc\xaf\xe5\xb4\x1e\x34\x5c\xa5\xec\x43\xf4\xe9\xf6\x04\x7d\x82\x90\x2e\x81\x6e\x67\xd8\x50\xec\xf9\xed\x09\x3a\x27\x52\xc2\x2f\xe5\xc7\x8a\xaa\x0c\xe6\xf6\x3d\x65\x58\x2c\x90\x9b\xbe\xc9\x22\xc7\xe0\x2b\x71\x4b\x53\x5d\x3c\xf6\xd7\x82\x81\xfa\x5f\xae\xde\x39\x9f\xd2\x04\x67\xdb\x2d\x62\xef\x22\xe2\x03\x97\xd7\x4b\x97\x22\x7c\xbb\xbe\x16\xbd\x8b\x33\xc8\xd0\x76\x43\x6d\x98\xf9\x05\x91\x9a\x48\x12\xce\x52\xeb\x3f\xd2\xb7\xff\x22\x10\xea\xff\xca\x21\xcb\xbd\x90\x5a\xd5\xec\x5d\x9c\xa1\x63\x74\x79\x3d\x64\x97\x22\x35\xc6\x54\xa2\xa5\x61\x43\x73\x54\x22\xc6\x15\xa2\xf9\x9c\x0b\x85\x99\xd2\x8a\x00\x88\x01\x76\x45\x0c\x07\x38\xe5\x79\x5e\x28\xac\x0f\x5a\x6d\x51\x99\x31\xa9\xdc\x10\x35\x48\xc1\x3d\xd3\xb0\x86\x46\x4e\x28\xe7\x32\x17\xba\x7d\x2d\xa3\xc4\x7a\x38\x4d\x6b\xaa\xac\x6b\x02\x0b\x81\x63\x69\xe2\x1d\x55\x24\xaf\xbe\xdf\x31\xbc\xf8\x9f\x8d\x46\x86\x53\x93\xce\x43\x44\x4f\x24\x33\xaa\x48\xa2\xf4\x11\xdc\x88\x26\xee\x2e\x7e\xbc\xb8\xfc\x39\x94\x20\xde\xf5\x3e\x9f\xfd\xe9\xdf\xa2\x1f\xae\x3f\xd7\x7e\x18\xfd\xf4\xa7\xda\x2f\xff\xbf\xa5\xf4\x54\xed\xa9\xa6\xe7\x07\x73\x39\x04\x91\x1a\xec\xca\x6e\xaa\x88\xe6\x78\x4a\x90\x2c\xe6\x9a\x02\xe4\x51\xbc\xbf\x5a\xa4\x3c\xe7\x38\xa5\x6c\x6a\xd2\xab\xcf\xa9\x22\x02\x67\x9f\xf1\xfc\xa3\xb3\x81\x6f\xb0\x3a\xff\xf7\x26\x4a\x86\x7f\xf7\x4b\xef\x73\x98\x4e\xff\xee\xea\xfa\xf2\xf6\x72\xe9\xac\xa3\x16\xea\xc7\x48\x3f\x3e\x81\xff\xa2\x63\xa4\x5b\xf7\x92\x6f\x4e\x14\xd6\x1a\x01\xfa\xc6\xa4\x84\xfa\x14\x2e\xca\x32\x38\x35\x73\x41\x73\x0a\x57\x8a\xb1\x02\x7e\x30\xc2\xb5\xd7\x1e\xfc\xb9\x31\x1f\x98\xa4\x6f\x7b\x29\xb3\x14\x8b\x14\xfd\x55\x56\xb1\x19\xc0\xf8\x6c\x7e\x20\x29\x3a\x44\x33\xa5\xe6\xf2\xe4\xf8\xf8\xf1\xf1\xf1\x48\xbf\x7d\xc4\xc5\xf4\x58\xff\x71\x48\xd8\xd1\x4c\xe5\x99\xc1\xa2\xd0\xab\x70\x82\xae\x04\xd7\x57\x08\x28\xe8\x44\x50\x9c\x41\x2a\xfa\xd8\xf0\x3f\x3e\x41\xbf\x26\x5c\x90\xa3\x72\x63\xac\x61\xca\xde\x23\xd6\x78\x75\xac\x5f\x6a\x60\x26\xd5\xfd\x44\x29\x49\x68\x6a\xc5\x0c\xc2\x12\x0e\xd6\x4b\xe3\xef\xd0\xed\xb9\x3c\x5a\x62\x9d\xcd\x7e\x39\x03\x65\x05\xa7\x24\x80\x92\x50\x3c\x26\x38\xad\xf8\x0c\x8c\xda\x5a\x68\x15\x1d\xa2\x9b\xe1\x56\x75\xaf\xce\xf5\x84\x13\x9e\xa1\x71\x31\x99\x10\x11\xfa\xba\x0f\xb4\x36\x43\x25\x12\x24\xe1\x79\x0e\x12\x83\xfe\xaa\x90\x86\xaa\x61\xc5\xec\x68\x8f\x86\x0c\xf6\x5f\xab\x39\x40\x01\x29\x07\x56\xc7\x08\x49\x11\x66\x0b\xd3\xcd\xb8\x98\x44\xbe\x74\xc0\x78\xc1\x29\xa2\x6a\xc8\x7a\x59\x86\x04\xc9\xb9\x22\x61\x98\x36\x38\xde\xa2\x05\x07\x16\x29\xc8\x3c\xc3\x89\x03\x01\xc8\x78\x82\x33\x34\xa1\x19\x91\x0b\xa9\x48\x1e\x36\xf0\x0d\xd8\x6a\xf4\x9a\x51\x89\x52\xfe\xc8\x32\x8e\xed\x3c\xaa\x9f\x7d\x88\x4f\x63\xdf\xe1\x6f\xf4\x85\xe0\x02\xfe\xf3\x23\x65\xe9\xce\x38\xd4\xdd\x4d\xff\x3a\xfc\xf7\xcd\x2f\x37\xb7\xfd\xcf\xeb\x71\x1f\x4f\x59\x30\x3c\xd0\xe1\x4f\xd0\x8d\x59\x04\x2e\xb4\x44\x24\x5a\x26\xf5\xd9\x92\x52\xf9\x03\x4f\x37\xe4\xbe\x9f\x7b\x17\x77\xbd\x88\xa3\xdc\x9c\xfe\xd0\x3f\xbb\xab\xe8\x03\x76\x7e\x91\x0c\x6f\xd4\xbf\xf0\xb7\xd3\x1f\x06\xe7\x67\xa3\x06\x85\xf1\xdd\x75\xff\xf4\xf2\xa7\xfe\x75\xa9\xdb\x35\x2e\x51\x65\x30\x55\x66\x75\x6b\x98\xd2\x8c\xa7\x68\xbc\x68\x46\x5b\xd1\x92\x73\x06\xfe\xdc\x12\x6f\xc8\xb4\x7a\x02\xbc\xc9\x01\xdf\x94\x5f\xe4\x3c\x25\x07\xf6\x1d\x80\xa9\x31\xc6\x15\x23\x31\x37\x37\xac\x7b\xc7\x2c\x30\x54\x18\x04\x19\xbf\x70\x27\xa8\x87\xa4\x7e\xb1\xd0\x87\x5a\xd0\xe9\x14\x0c\x87\x95\xa1\x9a\xd6\xec\xa7\xb0\xbc\xf0\x9d\xd9\xff\xb9\xe0\x70\xce\x75\xb7\xd6\xe2\xec\xad\x12\xe6\x43\x83\xb2\x1b\xb5\x28\x30\x18\x1c\x1a\x86\xe6\x36\x4b\x2f\x42\xeb\x7a\x99\xf3\x58\x26\x56\x00\xdb\x92\xc6\xde\x39\x17\xe4\x81\xf2\x22\xf8\xd4\xa2\xe6\x44\x3b\xde\xd8\x7c\xb9\x00\xb0\x6c\xc6\x28\x52\x69\xc6\x93\x47\x63\x0b\x9a\x85\x3d\x40\x0b\x13\xc1\xf3\x86\x36\xe2\x63\x32\xb8\xbc\x51\x02\x2b\x32\x5d\x9c\x59\x96\xb1\xf9\xf1\x38\xbb\xfc\xf9\xe2\xfc\xb2\x77\x36\xea\xf7\x3e\xc5\x27\xde\x3f\xb9\xb9\xbd\xee\xf7\x3e\xc7\x8f\x46\x17\x97\xb7\x23\xf7\xc6\x52\x92\x6f\xe9\xa0\x7e\x4f\xc7\x2f\x9e\x20\xcd\x72\x81\x35\x3a\x38\xcb\x80\x3f\x8e\xc9\x84\x0b\xc3\xe7\x73\x17\xfe\x60\x45\x18\xb7\xb6\x56\x17\xab\xcc\xe2\x04\x2c\x63\x4d\x4d\x1a\xab\xb7\x12\x04\xe7\x70\x4f\x60\x86\xfa\x2c\x3d\xbc\x9c\x1c\xde\x98\x1f\x73\x2c\xee\x89\xf0\x9f\x3e\x0a\xaa\x14\x61\x91\x4a\x87\xdd\x90\xbd\x92\x58\x76\x70\x84\xae\x35\xdf\xd7\xef\xfb\x4b\x4d\x13\x7b\x4a\x14\xa6\x99\xb4\x83\x8d\xd6\xf5\x04\x9d\x63\x31\x2d\xed\x70\xdf\xf0\xc9\xc4\x34\xf6\xc1\x0c\x43\xdf\x61\xd1\x2c\x1a\x78\xaf\x26\x0d\x77\x2f\x42\x7f\xf6\x65\x2f\x0f\xd7\xa9\xea\x6e\xbe\x1d\x4d\xdd\x5d\xc1\x8a\x1b\x8d\x3d\xd2\x0d\xed\x93\x06\x5a\x83\x89\x9b\xc7\xcb\x2f\x99\xe6\xb6\xeb\xe4\x14\xbf\xd8\x40\x4e\x26\x8b\x4f\xef\xfc\x44\x6b\x9b\x0d\xb4\x44\xbe\x50\x6b\x30\x08\xc7\x5d\x21\xa1\xb2\x19\x30\xaf\xe2\xf9\x9c\x60\x21\x9b\x76\x3b\x16\x03\x5b\xf6\xde\xf4\x14\xf6\x61\x37\xd9\xf5\x73\x80\x38\x03\x83\x83\x17\x22\x2a\x14\xd9\x81\x06\x4c\x5b\x35\x0a\xb8\x02\x28\xb3\x4b\x0b\x1b\xf6\x99\x4a\xad\x34\x9a\x1f\xbf\xb7\x78\x66\x9b\x11\xc4\xc7\xde\xe0\xbc\x22\x5c\x8c\xce\xfa\x1f\x7b\x77\xe7\xcb\xcd\x84\xd1\x77\xd5\x2d\x46\x87\x48\x3f\x8f\x7d\xef\x74\x62\xee\x0c\x87\xca\x66\x54\x5a\xc2\xc0\x68\x65\x93\xee\x8c\xbd\x3a\x25\xf3\x8c\x2f\x72\xc2\xc0\xc4\x13\xdd\x84\x7a\x3d\x27\x98\xda\xab\x25\x18\x2c\x58\x71\xac\xd9\x0d\xae\xb1\x43\x07\x05\x47\x52\x7f\xf3\xc6\x48\x70\x15\xd6\x7d\x65\xbc\x67\xf6\x7f\x6e\x14\x56\x1b\x9e\xb1\xde\xe9\xed\xe0\xa7\x7e\xac\x1f\x9e\xfe\x30\xf8\xa9\x49\xaa\x19\x7d\xea\x5f\xf4\xaf\x7b\xb7\x2b\x84\x93\x4a\x93\x4d\xc2\x89\xd4\x03\xae\x7a\x4f\xa9\xf4\x51\x45\x89\xc1\x93\x43\x54\x49\xf4\x40\x25\x1d\x53\x40\xdf\xb3\x9e\xc8\xbb\x01\x70\x56\x48\xb3\xa4\x6a\xe1\xc4\x17\xd3\x6f\xbc\x8f\x9a\x93\xda\xf6\x8d\xd9\x21\xf4\x4f\x82\x95\xcf\x6c\x8e\x9b\xf4\x09\x02\xdd\xf6\x01\x94\xb6\xe0\x33\xa6\x05\x69\x36\x25\xc2\x0c\x07\xbc\x2f\xe1\x58\x82\xe7\x7a\x54\xa1\xb0\x52\xae\x9a\x17\x5a\xa7\x84\x11\x01\xf0\x5e\xbe\x13\x23\x48\x09\xc2\xde\x6b\x99\x6b\x9e\xd1\x84\xaa\x6c\x81\x12\xb0\x61\x81\x39\x33\xc7\x0c\x4f\xad\x70\x00\x6a\x4e\x85\x24\xfe\x62\x20\x0a\x2f\x27\xd6\xb4\x7f\x4b\xc9\x86\xc7\xec\xee\xe2\xac\xff\x71\x70\x11\x93\xc0\x0f\x83\x4f\x91\x08\xfb\xb9\x7f\x36\xb8\x8b\x6e\x73\x2d\xc9\x2e\x97\xeb\xab\xcd\x36\x1c\x45\xff\xd2\x09\x3a\x33\x9f\x9e\xe8\xc5\x6d\xc0\x5f\xf4\xca\x6f\x65\x1d\xae\x5d\x58\x9f\xfb\xa3\xcf\x94\x68\xf4\x4b\x74\x35\x21\x59\x1f\x64\x64\x43\x6a\x0e\x55\xa8\xf5\x7d\x51\x75\x2a\xd7\x43\x39\xac\x23\x52\x77\x72\x54\x5a\x96\xc2\x18\x06\x30\x1a\xb4\x19\xb1\x1a\xdc\x5a\x25\xc3\xfe\x09\x5c\xd4\x79\x21\x95\x71\x25\x02\x71\xa2\xfb\x3f\x4b\xbd\xa0\xe0\x6a\x3c\x42\x37\x84\x0c\x99\xb3\x1e\x4c\xa9\x9a\x15\xe3\xa3\x84\xe7\xc7\x25\xf8\xe7\x31\x9e\xd3\x1c\x6b\x49\x9a\x88\xc5\xf1\x38\xe3\xe3\xe3\x1c\x4b\x45\xc4\xf1\xfc\x7e\x0a\x51\x34\xce\x9d\x7a\xec\x9b\x9d\xf2\xdf\x9d\xff\xf1\xdb\xc3\xf3\x3f\x7f\xfb\xae\x6e\x21\x6b\xdb\xff\x3e\x4b\xf0\x5c\x16\x99\x8d\xba\x13\xe1\xda\xb8\x23\x5f\x90\x55\xfb\x7d\x11\x6f\xd7\x76\xfa\xeb\xe9\xd5\x5d\x64\xb1\x8e\xff\xf9\xb9\xff\xf9\xf2\xfa\x97\x88\x53\xde\x5e\x5e\xf7\x3e\x45\x0c\xb5\x7f\xf5\x43\xff\x73\xff\xba\x77\x3e\x72\x0f\xb7\xb1\xbd\xfd\xc8\xf8\x23\x8b\x97\x46\x3a\x0e\x58\xeb\xe9\x04\x7d\xe4\x02\xfd\xe8\x77\xf2\x70\x8c\x25\x5c\x31\xee\xce\x92\x07\x68\xce\x53\x60\xbc\x88\xcc\x67\x24\x27\x02\x67\xd6\x66\x20\x15\x17\x78\x6a\x6e\x7a\x99\x08\xac\x92\x19\x92\x73\x9c\x90\x03\x94\x00\x35\x4c\x0f\x60\x53\x40\xd5\xe2\xd3\xaa\x9d\xef\xba\x60\x8a\xe6\xc4\xa9\xe0\xf6\x9f\xb7\x66\x33\x36\xd8\x9c\xcb\xdb\x1f\x62\x61\xef\xe3\xf9\x2f\xb7\xfd\xd1\xcd\xd9\x8f\x4b\xd7\xd3\x7c\x16\x8d\xec\x06\x02\x90\x4e\x79\x56\xe4\x2c\xfc\x7b\xf3\xb1\x0d\x2e\x6e\xfb\x9f\xaa\xa3\xbb\xec\xdd\xc6\x94\x71\x1d\x07\xc9\xbd\xfb\xfe\xf2\xf2\xbc\x1f\xb9\x84\xdf\x9d\xf5\x6e\xfb\xb7\x83\xcf\x11\xfd\x9c\xdd\x5d\x1b\xa8\xcf\x65\xd3\x74\x23\x68\x98\xa8\x9e\x56\x38\xcd\x5d\xb3\xc2\x4e\x9c\xa8\x67\x83\xd2\xcd\x59\x3e\x0c\x80\x9e\x4c\x38\x18\x58\x75\x0e\xbd\x49\x35\x31\x23\x6d\x64\x87\x2a\xde\x26\xd4\xce\x8e\x97\x6e\xf4\x32\xae\x7c\xeb\x87\x60\x70\x76\x8d\xb2\x8d\xb3\x8c\x3f\x9a\x70\xe0\x9c\xea\x5b\xd9\xc2\xfe\xe9\x57\x64\xe9\x21\x3c\x6a\xe0\x78\xf1\xb6\x90\x44\x10\xf5\x99\x17\x4c\x6d\x4e\x72\xbd\x8b\x88\xef\xf4\x2f\x7e\x1a\xfd\xd4\x8b\x29\x70\x70\xbe\x9c\xd5\x84\x4d\x34\x5c\xc5\xbd\x8b\x5f\xfc\x25\x0c\x41\xe3\x07\x5e\x43\x35\xb2\x6b\x92\x51\x2d\xf6\x26\x58\x6b\xaf\x19\x48\x34\x88\x50\x30\x39\xe4\x7a\x72\x10\xa4\x3a\x37\xfe\x24\xc3\x9f\xcc\x20\x4f\xdc\x1f\x95\xf6\x24\xac\x0b\x58\x53\x5d\x4c\x3e\xb4\x63\xb5\x6a\x86\x08\x7b\xa0\x82\x03\x58\x34\x7a\xc0\x82\x6a\x69\xdc\xb4\xac\xe7\x7a\x02\xff\x5d\xaf\x4d\x30\x8c\x56\x18\xd7\x0d\x17\xea\xcc\x07\x03\x6f\x66\x0d\x69\x0a\x8a\xad\x87\xc3\x36\x1b\x3a\xea\xdf\x36\x6c\xce\x96\x41\xc3\xf1\x84\xff\x96\x9d\x51\x9c\x69\x06\xb0\x3b\x79\xb1\x77\x71\x33\x88\xe5\xc7\x58\xcd\x08\xf8\xf2\xc6\xf2\x22\x18\x2a\xcd\xc8\x9d\x32\x71\xf3\x97\x73\xa3\x5d\x00\xa2\xb8\x39\xb7\x81\x62\x61\xa1\x59\x8c\x34\x31\xc7\x42\x56\xbe\x90\x08\x20\xf8\xca\x80\x2b\x7d\x67\x41\x38\xd3\x03\xa7\xe9\x90\x91\x2f\x73\xc2\x24\x04\x07\x98\xfb\xac\xf4\xb5\xcb\x23\x34\x98\x00\x4b\xd0\xaf\x33\x54\x30\xeb\x00\xd3\x17\xae\x19\xe4\x81\x16\x65\x4b\x74\x98\xc0\x7c\xc4\x88\x0b\x96\x2a\x07\x3f\x64\x3f\x7b\x27\x1a\x3c\x9a\x70\xcd\x80\xf4\x2e\xda\xf6\x4e\x10\x66\x92\x1e\x20\xad\xb0\x54\xf7\x14\xd2\x0f\xb4\x42\x69\x43\xb8\x34\xa7\xb1\x7f\x3e\xff\x35\x50\x8b\x13\x0e\x2f\x83\xe6\xbb\xa0\x72\x15\xb4\x88\xc6\x99\xf1\x98\x8c\xba\xdf\x09\x09\x17\xc4\xfa\x59\xd6\xbe\x06\x56\x31\xf6\x5b\x2c\xef\x6b\xbe\x87\x01\x93\x0a\xb3\x84\x9c\x66\x58\x6e\x18\x84\xe4\x6c\x1c\x07\xb1\xc4\x71\x7d\x7d\x77\x75\x3b\xf8\x7e\x05\x97\xaf\x7e\x5c\x0f\x03\x4a\xb2\xc2\xb9\xe7\xc6\x82\xe3\x14\x69\xf6\x39\xe5\xc6\x15\x68\x05\xff\x12\x57\xdf\xe4\x06\xf9\x80\xca\x08\xd3\xbf\x4c\x69\xb0\x76\x8e\xd0\x95\x40\xed\x42\xa0\x44\xaf\x04\x0a\x4c\x1e\x6e\xab\xc1\xb3\x68\xca\x0d\x59\xeb\xd6\x3c\xc3\x6a\xc2\x45\x6e\xb8\x7c\x34\x69\xd3\xf8\xf2\x46\x29\x53\x44\x88\x62\xae\xa8\x2b\x94\x50\x95\x52\xf5\x96\x9d\xf3\xe9\x67\x22\x25\x9e\x92\x6d\x1c\xd0\x4d\xca\xc3\xcd\x4f\xe1\x3f\xc1\xc1\xdc\x45\xf6\x8f\x46\xe8\x22\xdf\x1d\x3d\x5d\xb2\x8f\x26\x90\xe7\x8a\x67\x34\xd9\x30\xe0\xee\x63\x6f\x70\x3e\x1a\x7c\xd6\x4a\x7c\xef\xb6\x7f\x1e\x89\x12\xf0\xac\xf7\xf1\xb6\x7f\x6d\x11\xe2\x7b\xdf\x9f\xf7\x47\x17\x97\x67\xfd\x9b\xd1\xe9\xe5\xe7\xab\xf3\xfe\x8a\xc8\x9c\xd6\xc6\xeb\xd6\xd5\xea\xab\x27\xb5\x5f\x60\x87\x35\x2f\x0b\xed\x65\x90\x79\x86\x69\x06\x4e\x70\x6e\x9c\xe1\x18\x31\x9e\x1a\x0c\x2e\xe9\xac\x33\x1e\x96\x1d\x0d\xd4\xfb\x2c\x43\xb8\x50\x3c\xc7\xe0\xb5\xc9\x16\x43\x86\xc7\x9a\xb5\xe2\x2c\x0b\xc2\xbb\x44\xc1\x98\x66\xb1\xba\x31\x53\xff\x20\xc9\x88\x66\xe7\xf3\x20\x61\xd0\xfa\x0d\x26\x94\x41\xa4\x6d\x8e\xc5\xbd\x2b\xe6\xe8\xd3\x30\xfc\xa1\x90\x08\xcb\x21\x33\xd8\x60\x56\x5a\xe9\xb0\xc2\x27\x9d\xde\x6a\x5d\x9d\x1c\xdf\x13\xbd\x2a\x79\x91\xcc\xd0\x5c\xf0\xa9\x20\x52\x5a\xdb\x72\x82\x99\x09\x40\xb0\xaf\xeb\x6b\x68\xc8\x18\xd7\x4b\xe1\x4c\xd8\x29\x99\x13\x96\x12\x96\x50\x93\x1a\x08\xbe\x7b\x6f\xda\x9c\x0a\x3c\x9f\x21\xc9\xc1\xe9\x0d\xcb\x0e\xf6\x2b\xf3\x91\xbb\xc9\x2c\x1a\x1a\x3c\x0e\x2d\xd0\xa2\xd0\x7c\xe2\x12\xe4\x44\xb3\xca\xf0\xb1\xbb\x0c\x9d\xdb\xc5\xd8\x01\xf3\x79\x46\x94\xa9\x84\x01\x4b\x0e\x9b\xa1\xd7\x3a\xda\x0f\xbd\x4d\x4d\x9b\xa0\x2f\x6c\x37\x66\x2c\xed\x88\x8e\x1a\x2c\xdb\xf6\x48\xa1\x1f\x30\x4b\x33\xdd\x8a\xf3\x61\xc4\x67\x11\x52\x51\x7a\x9a\x6a\xdc\x69\xdc\xe6\x16\x4d\x70\x21\xb7\xb9\x46\x2b\xf9\x9c\xc6\x2a\x78\x58\x06\x85\x00\x79\xdb\x64\x4e\x58\xdd\xb9\x66\x91\x38\xe3\x76\x95\xcc\xeb\x85\xa9\xee\x86\x60\x34\x2d\xd7\xec\x5c\x50\x96\xd0\x39\xce\x36\xd2\xfd\x2a\xc1\xf8\x36\xc6\xfd\x1b\x3a\xd1\xe4\xf3\xa1\xe6\xb6\x55\x44\xe4\x90\xe4\x6c\x87\xe9\xb7\x70\x0d\x4b\x92\xcd\x6a\x20\xb2\x8c\x26\xc1\x82\x17\xc6\x1f\x07\xeb\x42\xd2\x86\xa3\x7a\xd4\xb4\xdd\xfa\x64\xe0\x38\x00\x7a\x83\xcd\x36\x91\x3f\x6d\xeb\x57\x69\xc5\xf6\x6e\x82\xf1\x70\x76\xd5\xdc\x66\xd3\x0e\x04\x0f\xff\xb9\x8c\x76\x3e\xe3\xb9\xa6\x19\x5b\x13\x03\x97\x73\xb4\x4a\x92\xad\xf9\xe7\xe2\x67\x02\xdf\xb9\xcf\x0b\xe9\xbe\x1b\xe5\x12\xda\x00\xa8\x7a\x27\x51\x0c\x41\x90\xa7\x6e\x69\x7c\x52\x68\x59\x16\x61\x88\x42\x40\xdf\x90\xa3\xe9\x11\x72\x15\x4e\x0e\x50\xef\xea\xaa\x7f\x71\x76\x80\x88\x4a\x3e\xb8\x98\x45\x1b\xb0\x34\x64\x8a\x5b\x69\x65\xe1\xaa\xd3\xe4\x44\x4c\x49\x34\x67\x17\xdd\x04\xa1\xca\x53\x2a\x95\x0d\x9f\xd5\x7c\x25\xa8\x23\x44\xf3\xaa\x98\x6d\x28\xa4\x50\xb3\x6d\x48\x03\x4b\x59\xe4\x5a\x97\x1d\x51\x9c\x8f\x04\xcf\xb6\x61\x0a\x67\x30\x15\x50\x97\x7d\x8a\x3f\xc5\x39\xd2\xcd\xda\x50\x10\xef\x72\xf4\x22\x9d\x16\x8c\x34\x5f\xd6\xf7\x66\x70\x6f\x39\xef\x83\x8d\x47\xa3\x2e\x04\x02\x20\x00\x5a\x58\x45\x69\x36\x1e\x59\x4b\xfd\x08\x27\x89\x56\xb9\x77\x3c\xa9\xa0\x38\x95\x73\x09\xd8\x8e\x9e\x6c\x9a\xab\xe8\xdc\x0d\x73\xae\x39\x18\x04\x03\xd7\x6b\xb9\x34\xf4\x3b\x5e\xd4\x7a\x75\xe5\xa3\xee\xa4\x37\xa9\x98\x4b\x58\x12\xd8\x49\x69\xca\x4f\xa9\x19\xb1\xd0\xa3\x61\x97\x2e\x21\x46\x37\xbc\xe0\x85\x68\x62\x74\x43\x76\x46\xe6\x82\x68\x49\xbf\xea\x40\xf1\x34\x7d\x1d\x53\xe2\x9e\xae\xf7\x74\xfd\xe6\xe9\xfa\xd4\x54\x21\xeb\xf9\xaa\x73\x5b\x09\x70\xa6\xb1\xd1\x9c\xf3\x6c\xd4\xc1\x26\xd2\x7d\xc5\x23\x4f\x58\xa5\x26\x1b\xc0\x0a\xf0\x02\xe4\xa3\xe8\xda\xe4\xfa\xae\x0b\x52\x6c\xed\xf0\x96\x2c\x83\x73\x99\x05\xd5\xa0\xb6\x39\xef\x4d\xad\x2c\x6b\x09\x3d\xb9\x98\x73\x6a\xe4\x9b\xa6\x22\x5b\xf1\x61\x72\xa2\x08\x65\xb5\x52\x87\x86\x9e\xa1\x6e\x3f\xc8\x1d\x7f\x2b\xb8\xc2\xf2\xc3\xd1\x90\x69\x21\xea\x9e\x2c\x8c\xb9\x55\x8b\x29\xbf\xd7\xb2\xf8\xa1\x24\x4c\x42\xb8\xf7\xef\x8d\x7b\x4e\x93\xb8\x33\x57\x1b\xd5\xd4\x54\x58\x8c\xeb\x7f\x41\x88\xae\x6d\xd4\x4a\x49\x65\x00\x74\x59\x34\xcc\x3d\x33\xc3\x9f\x12\x05\x29\xd6\x8a\x2a\xd0\x99\x52\x53\xc2\xb1\x36\xf4\x95\xa6\x2b\x43\x15\x82\x83\x9f\x24\x2d\xb6\x63\xfc\xb2\xde\xc6\x4a\xce\xe8\xb5\x85\x1b\x1b\xf3\x7e\xec\xec\x46\x89\xe0\xb5\xba\x88\x58\x22\xb3\xd3\x63\xc3\x0e\x9c\xff\x9a\xb0\xa3\x47\x7a\x4f\xe7\x24\xa5\x18\x22\xe0\xf5\xbf\x8e\xf5\xbc\x7e\x77\x7a\x7d\x79\x31\x2a\x33\x79\xfe\x73\xc8\x7a\x99\xe4\x3e\x4b\x01\x31\xce\x7c\xb8\xfd\x5c\x10\x27\x12\xda\xb9\x80\xd5\xb5\x34\x23\x0e\x59\xdb\x08\x52\x9e\xc8\x23\xfc\x28\x8f\x70\x8e\xff\xce\x19\xb8\xd2\x7b\xf0\xe7\x69\xc6\x8b\xf4\x67\xac\x92\xd9\x31\x9c\x6b\x75\x4c\x1e\x08\x53\xc6\x4d\xa5\x97\x2b\x85\xe4\x5d\x09\xd1\xfa\xbf\xd3\x63\x2e\x93\x8a\xa4\xd6\x64\x13\x32\x57\xe8\xff\x11\x64\xcc\xb9\x6a\xbe\xa4\xf8\x64\x22\xc9\x5a\x17\x52\xa9\xa4\xdd\x5c\xa2\x3f\xff\xe9\xdb\xef\x34\x09\x6d\xb2\xc6\x83\x9b\xcb\x91\xfe\xfe\x77\x67\xf6\x7b\xb9\x06\xbb\xbb\x9c\x97\xac\xcd\x11\x8f\x09\x9c\x2f\x18\xdc\x7e\x02\x9c\x17\xc0\xde\x80\x1c\xca\x7d\x6c\xe2\x6e\x67\x06\xe6\x60\xab\xac\xa1\x2d\x6e\xf5\x4f\x19\x1f\x83\x5d\xa8\x88\x0a\xa4\x2d\x89\xf0\xd8\xd2\x9e\x7e\x46\xe5\x3c\xc3\x8b\x5a\x0f\xab\x96\xfd\x42\x73\xa7\x39\x4e\x48\x89\xcf\xe0\x82\xb1\x12\x9e\xe7\x10\x20\xe8\x3c\x27\x29\x9d\x40\xa4\xa0\xd2\x77\x3e\x1a\x13\xf5\x08\x71\xa9\xee\x57\x2f\xab\x38\x83\xac\x66\x65\xc0\x2e\x87\x7a\x91\xd3\x02\xbc\x69\xc3\x77\x07\x68\xf8\x2e\x25\x0f\x24\xe3\x73\x7d\x9a\xf5\x0f\x44\x25\x4d\x9b\xd8\xcf\x31\xcd\x2e\xb8\xf2\x37\xdf\x36\xfb\x29\x48\x42\xe7\x54\x9f\xae\x11\xd1\xed\x3e\x69\x4a\x58\xf3\x01\xbb\x9d\x11\x8f\x23\x05\x63\x40\x38\x4d\x35\x11\x43\xb5\x38\x37\xbc\xd2\xc4\xce\x82\xa9\x47\x55\x90\xd6\x97\xdb\xb4\x94\x00\x3d\x86\x6d\xc6\x62\x45\xe3\x0e\x78\xc3\xcb\x4e\x4f\x52\xbb\x5f\xc6\x99\xba\x7d\xc7\x65\xe5\xae\xa5\xf4\x6f\x0b\x11\x06\x08\x0e\xd6\x62\xd9\x6a\xe1\xa9\x1e\x40\xbd\x16\xdd\xc6\x19\xaf\xcc\x8d\xfe\x6e\xe9\xd0\x64\x08\xa1\x96\x84\xf5\x44\xc1\xba\x60\x73\x07\xaa\xe9\x0a\x64\xe5\x88\x93\x8c\xcb\x38\x95\xb0\xf3\xa0\x4f\xed\xa7\xcb\xc6\xdd\x0f\x8d\x31\x45\xe6\xb3\xf8\x3a\xd1\x5d\xaf\x61\xe1\x2b\x58\x19\x86\x4d\x28\xab\x40\xd8\xb7\x0f\x10\x05\x67\x14\x48\xb6\x59\x99\x58\xc1\x52\x54\x4a\x89\x43\x56\x9a\xf4\x24\x7a\x24\x19\x78\x01\x12\x9e\xcf\x41\x02\xb2\xc3\xb5\x2d\xe9\x0b\x5c\x61\x45\x0e\x10\x2f\x94\x6e\xcc\x84\x2c\xb9\x3b\xce\xc6\x43\x95\x52\xa1\x51\x4d\x6c\x6c\x80\xc7\xee\x32\xb4\x6e\x58\x21\x65\xe8\x13\x51\xd0\x0a\x60\x23\x86\x13\x34\x95\xb7\x97\x1e\xa5\xd3\xda\xb6\xad\x7d\xa2\xec\x4c\xd6\xd8\xf9\x32\xaf\xec\xfb\x8c\x8f\x97\xee\xfb\x25\x34\x8e\xee\xae\x07\xce\x87\x52\x9a\x97\x03\x70\xa7\x48\xe1\xea\x5f\x5d\xf7\x4f\x7b\xb7\xfd\xb3\x23\xa4\xf5\xba\x4f\x44\xf9\xe9\x42\xf8\xb9\x87\x09\x34\x23\xb7\x89\x6a\x4c\x2a\x82\xd3\x16\xea\x26\x42\x44\x41\xe2\x2b\x18\x47\x9c\xc5\xb6\x9c\xb0\x21\x87\x8c\x32\x93\xd1\x07\x79\x97\xd5\x79\x5a\xc7\xc5\xaa\x13\x08\x66\xe4\xd1\xdb\x31\xe2\x9b\xf1\xe6\x75\xc7\xc5\x2a\xf2\x89\x1d\x1e\x4f\x3d\x19\x38\x5a\x6a\x46\xa8\x40\x9d\xa6\x65\x88\x6a\xd4\x7d\x4e\x41\x04\xc0\x67\x3c\x5f\x1e\x9d\x8b\x1f\x23\xa2\x35\x92\x4c\x60\xda\x78\xea\x73\xe0\xd8\xda\xc8\xb0\xc2\xed\x27\x58\xca\xfb\x86\xb7\x7a\xbe\x69\x02\x62\x64\xad\x7a\xfe\xd1\x90\x55\x06\x61\xdd\x7c\x12\xc1\xd9\x81\x5f\x28\x43\xd1\x95\x78\x80\x26\xf4\x8b\x6d\xb4\x74\xff\xbb\x57\x03\x7b\x50\x8b\xbb\x69\x86\xeb\x67\x6a\x0d\xb1\xe1\x0a\xbe\x5f\xea\xfe\xe0\x52\x69\xa9\x4b\x4b\xae\x82\x68\xfd\x82\xa4\x08\xba\xf5\xc1\x08\x2b\x45\x06\x85\x85\x5e\x14\xbc\x96\xbe\x55\xc2\xbc\xa6\x58\x91\x43\x45\x57\xc6\x87\xdb\x10\x22\x08\x36\xc2\x2a\xc8\x96\x2e\x6f\x9e\x31\x99\x62\xe6\x3c\xd7\x2d\xc3\x75\x57\xde\x16\xac\x4a\x4b\xb0\x18\xa2\xe7\x40\xbe\x82\xc8\xa8\x68\x1c\x72\x0e\xeb\xb9\x74\x1c\xd6\x38\xf8\x1a\x96\xed\x11\x7b\x5b\x65\xcb\x60\x8b\x79\xfa\x9a\x06\x9b\x61\xa9\x90\x1d\x53\x9b\x26\x19\x48\xf8\x3b\x00\xbe\x58\x56\x60\x37\x54\xcd\xba\xda\xe3\x34\x09\xc5\x4a\x08\x51\x8a\xda\xea\xaf\x85\x24\x36\x89\x2e\x27\x62\xea\x04\x61\x53\x99\xcb\x9f\x6d\x5b\xa2\xcb\xdd\x12\x21\x33\x81\x18\x86\x7a\xd3\x47\xa8\xc7\x6a\xe9\xc4\xce\x6c\x1d\xad\x97\xb9\x93\x70\xf6\x88\x17\x12\xcd\x85\xc9\xbc\x33\x81\x0d\x6e\xf2\xe0\x4f\x8c\x3f\xf2\x96\x22\xe5\x22\x4b\x10\xa8\xd2\xab\x7d\x0a\x41\xc1\xe9\xee\xdc\xae\xa3\x4e\x54\x71\xba\x37\xd5\x84\xf6\xaa\x66\x07\x56\xa7\xc8\x28\x99\x61\x36\x25\x23\x9b\x6c\xb8\x91\xb6\xa4\xdb\x39\x85\x66\xce\x6c\x2b\xcd\x97\xd3\x95\x51\x98\x2c\xc4\xae\x79\xd5\xe9\x74\x70\x08\xa4\xc2\x53\x82\xcc\x88\x96\x29\x26\x25\x74\x40\x68\x50\xb7\x58\x4c\xa0\x27\xd8\x56\xfb\x71\x90\x41\x9b\xf0\x0e\x96\xe1\x73\x3c\x26\xd9\xd6\xb1\x00\x1b\x59\xe9\xa0\x6b\x8b\x3c\xa9\xb8\x5e\x1a\x08\x96\x20\xe8\x71\x46\x44\x95\x1d\x3b\xdb\xb6\x28\x9a\x42\x27\x96\xcd\x33\x2a\x86\xb7\xc5\x44\x1d\x94\xea\x26\x53\x6d\x03\x58\x0d\xaf\xbd\x00\x88\xb4\xc9\x3e\x12\x5e\x7f\x55\x93\xe0\x66\x03\x09\xf0\x50\x5b\xc6\xb1\x35\x20\xea\xca\xa9\x6c\x9c\x83\xd1\xb1\xd0\xc0\x60\x82\x18\x67\x04\x51\x59\xbe\xac\xe2\x68\x31\x9f\xc1\xa8\x45\x7c\x63\x7c\xa9\x97\x77\x7d\x6a\x4b\x4b\x99\x5b\xe2\x6d\x03\x2e\xfc\x9d\x11\xad\xa8\x62\xb1\x00\x04\x14\xc3\x87\x63\x99\x6e\xe5\x38\x77\x2e\x70\xdf\x3a\x80\x9b\xc0\x91\xa9\x38\x02\x31\xb2\x32\x38\x64\x60\x62\xec\x4b\xf6\x23\x9b\xc5\x37\x64\xde\xb2\x01\x84\x48\x25\xca\xf1\x1c\x62\xcf\x19\x57\xe5\x57\x26\x2b\x55\xf9\x2d\x3c\x70\x82\xb8\x34\x30\xe5\x2d\x2b\xb0\xca\xb4\xe3\xae\xdf\x72\x5d\x63\xf4\x0f\x87\x5c\x34\xa5\x0f\x84\x39\x9a\x3e\x70\x67\x42\x0f\xca\x75\x9a\x2d\x0e\x31\x78\x61\x49\x1a\x1a\xae\x97\x73\x24\x5b\xda\xf5\x15\xd8\x23\xbb\x2f\x99\xde\xf8\xa2\x66\xa1\x34\x39\xe4\x11\xf8\x9f\xf3\x9b\x87\x54\x6a\x61\x8d\x4c\xa0\x3c\x96\xe8\xf7\x8c\xab\xdf\x07\xc0\x4f\xce\x78\x61\x2a\xff\x5a\x13\xd4\x41\x0d\xd1\x16\x0e\xad\x25\x1c\x84\x83\x04\xe4\x95\x2b\xbf\x2d\xfe\x5a\x19\x17\xf0\xa4\xd2\x68\xbf\x1e\x24\xd8\x06\x09\x6e\x4a\x65\xec\xcc\x62\xf3\x1c\x35\xed\x91\x21\x03\x41\x5c\x32\x7a\xce\x05\xa9\x94\xeb\x30\xfc\xdc\x47\xd1\xe6\x73\xd5\x98\x89\x56\x17\x8d\x1a\x0c\x9e\xa6\x72\x41\x79\xd2\x23\x43\xa7\x3c\x1a\xb2\x1b\x42\xda\xe1\xec\xfd\x5e\xfc\x0a\x0d\xc1\x58\x9d\xd4\xb8\x84\xd2\x76\x11\x52\x9b\xc7\x60\x23\x4b\xa8\x66\x05\x46\x54\xb3\x5d\x62\x93\x30\xd8\x36\xb9\xdc\x3b\x29\xc2\xba\xcc\x6d\x20\x48\x47\x43\xf6\x91\x0b\x7b\x05\x4b\x0b\xc3\x38\xc6\xc9\xfd\x21\x61\x29\xc2\x85\x9a\x19\x30\x22\xeb\x57\x58\x58\x6a\xd0\x92\x06\x90\x8d\xcf\x34\xa2\x32\xc1\x22\x75\x80\xa0\x0f\xdc\x8d\x62\xc8\x82\x46\x00\xe8\x11\x70\xb0\xa1\x1a\x50\x9b\xaa\x49\xa0\xf0\x40\xdb\x5a\x34\xd5\xb9\xa9\x55\xb9\x59\x7e\xce\xa2\xba\x3d\x00\x51\xc9\x88\xb4\x22\x7b\x65\x75\x06\xce\xda\xe8\xf4\x3b\x19\x56\x3e\xf7\x6f\x1e\x58\x8d\xc2\x98\xa4\xec\x0c\xb4\xa4\xf3\xad\xe3\xb5\x11\xa8\xd2\xa4\x10\x10\xa3\xd4\xd4\xe6\x37\xc9\x8c\x66\xa5\xef\xe2\xc3\x81\x1f\xa6\x6e\x32\x23\x0f\x24\x33\x90\x7e\x89\x80\xc0\x05\x63\x35\xfc\x16\xfd\x1f\x53\xfb\x05\x7d\x37\x64\x9f\x80\x0d\x67\xd9\x02\x00\x47\x7c\xcb\x58\x55\x9a\xb9\x6f\x1c\x80\xb2\x91\x52\x28\x1e\x88\xd9\xeb\x19\x7e\x20\x43\xe6\x9a\xf9\x3f\xe8\x1e\xfd\x2b\xfa\xae\x4d\xbd\x73\xf1\x07\x4f\x6c\xe7\xf8\x18\x78\xf7\x83\x5b\xce\x32\x4a\xcb\x6f\x9c\x19\x24\x32\x42\x36\x24\x1e\x79\xdc\x30\xca\x1e\x78\x52\x0b\x72\x09\x4f\x2d\x16\x84\xa9\x11\xe3\x29\x19\x91\x06\x97\xe6\x12\x26\xa1\x85\x80\x0b\x9e\x92\x95\x0e\x49\xcf\x4c\x7f\x06\xd3\x8d\x2c\xc6\x7e\x3b\x20\xff\xc1\x07\xbb\x7b\xeb\x43\x4c\x69\xcd\x23\xf7\xe0\x3c\x9b\x8c\x7b\x53\x67\xea\xa5\x95\xcf\x0e\xe0\x42\xb0\x03\x68\x76\xe8\x65\x58\xb9\x10\xf1\xea\x71\xac\x3a\x02\xf4\xcb\x7a\xe6\xf6\xb2\x0a\x60\x87\x00\x1a\x56\xd0\x29\xd5\xf2\x7b\x77\x87\x2d\x70\xc2\x4d\xbc\x19\x06\x83\xa5\x93\x3b\xa3\x5c\x0a\x97\x87\x76\xe8\xe9\xaf\x74\x42\x8e\x79\x51\x15\xe0\xed\x02\x50\x19\x06\xaf\x5b\x59\x7d\xa1\xf9\xf0\xd4\x04\x48\x92\x19\x35\x29\x09\xbd\xd3\x73\xa4\x4f\x07\xcf\x4d\xde\x2e\x2c\x5a\xa1\x66\x5c\xd0\xbf\xb7\x06\x70\xb5\xcb\xe8\xa5\xa7\xb5\x8c\x77\x33\xe3\x8c\xa5\x75\x20\x56\x23\x52\xa8\x48\x2b\x69\xd2\x99\xd0\xb8\x00\x88\x1a\xcd\x66\x27\x45\x66\x70\x2d\x13\x2e\x52\x53\x9c\x4e\x46\xd1\x75\xfa\x3d\x2f\xde\x63\xe5\x1b\xa4\x16\xc9\xc3\x22\x67\x1a\x0b\xce\x52\x01\xf4\x2f\x05\x29\x76\x14\xa0\x68\xd1\xf0\x9f\x29\xf2\xa3\xaa\x06\xe0\xa9\x2c\x63\x76\xcd\xda\x68\xde\x5c\xae\xef\xdf\xf4\x4c\x65\x10\xd2\xeb\x2c\x8b\x3e\x43\xd6\xa8\xe4\xa6\x6e\xca\x5a\x16\x9d\x6b\x83\x0c\xb8\x03\x93\xce\x73\xc4\x73\xd4\x65\xa4\x06\xf6\x63\xc9\xef\xc1\x07\xb8\x56\x59\xc4\x13\xd9\x49\x1c\xc4\x62\x45\xfa\x78\x42\x93\xc9\x06\x4c\xae\x2e\x54\x2f\x5b\xef\xc0\x80\xe2\xd9\x5a\x43\xac\xb9\xe2\x48\xcf\xfd\x51\x50\x48\xa0\x5f\x94\x2f\xfb\x12\x41\xee\xba\x08\x79\x8c\x96\x52\x8c\x58\x0b\x71\x1d\x6e\x09\x17\xcd\x3c\x7e\x0d\x03\x84\x6d\x28\xee\xba\xee\xb7\x6f\x3b\x11\x86\x25\xbd\xd6\x23\x51\xcf\x9e\x5b\x79\x18\x3c\x50\xea\xcb\x18\x10\xbd\x68\xf3\xc4\x27\x63\x2d\x0a\x09\x2e\xb2\xb5\x49\xe4\x26\x36\x55\xae\x4d\x17\xa6\xef\x11\xf8\xb9\xb7\x76\xef\x04\x2e\x80\x32\x9b\xc2\xa4\xd1\xb9\x8c\xd9\x67\x32\x64\x42\xe4\x40\x9c\xc8\x17\x04\x0e\xb4\x65\x6c\x3e\x29\x3f\x2b\x11\x2a\x1d\x47\xea\x38\x94\xa5\xee\xd2\x8e\xce\x4f\xb0\x90\x2d\x63\xaf\xe7\x36\xea\x33\x76\x1b\x9a\xd0\x33\x1e\x44\x4e\xb8\x1a\x2c\x4a\x60\x48\x20\x80\xb0\xef\x9f\x8d\x96\x47\xa5\xb1\xc2\x38\x24\xca\x7c\xae\x16\x16\xb8\x1c\x78\xb3\x85\x34\x56\x33\xcc\x6c\x52\x76\x93\x8b\xb2\xca\xa7\xd3\xc8\x49\xd9\xd4\x19\x74\x64\x55\xdb\xc6\x26\xdd\x42\x87\x49\x3e\x95\xa4\x8a\xb6\x88\x04\x53\x03\x66\x84\xb3\x56\x7b\xca\x98\xf3\x8c\x60\xd6\xa6\x76\x36\x3e\xae\x59\x5f\x69\x98\x48\x61\xf1\x59\x94\x28\x88\xd6\xb9\x71\x96\x55\xe6\x85\xa1\x8c\xab\xf2\x38\xf0\xe3\xb2\x58\x4d\x77\x87\x69\x86\xc7\x64\x2d\x17\xe9\xb9\xf9\x60\x29\x15\xc1\x2b\x65\x99\xd1\x4e\x99\xb9\x61\xf8\x57\x63\x1e\xf3\xaa\x81\x85\xd9\xcf\x4b\x45\x88\x38\x83\x78\xb3\x21\x4a\x92\x14\x82\xaa\xc5\xc8\x1a\x9e\xba\x33\xad\x1b\xfb\xe5\xa9\xfd\xb0\x8b\x56\x77\x82\x5c\x7f\xce\xd0\x05\xe2\x8d\xa0\x06\xe4\xd6\x4e\xa1\xcb\x76\x6b\x4d\xad\x31\xbf\x71\xd9\xc2\xba\x04\xcb\x6e\x43\xd5\x5d\x6c\x3a\x3c\x0b\x9e\x39\xe2\x13\x97\xba\xd8\x7d\x61\xab\xa8\xa2\x6b\x58\xec\x1c\x42\xd2\x5c\x50\x2e\x2c\x78\x67\x97\xc0\xaa\x1c\x7f\x19\xcd\xb1\xc0\x59\x46\x32\x2a\xf3\xcd\xed\x8b\x7f\xfc\xc3\xd2\xd1\x9e\x1a\x90\x59\x69\x21\x9b\xbf\xd0\xbc\xc8\x83\xf2\xe0\x80\x6c\x13\xe0\x53\x58\x93\xbd\x4d\xb3\x74\x03\x2c\x2f\x1a\xa6\xa8\x08\x10\x47\xb4\x4e\xec\xb1\xa7\xac\xba\x8c\x93\x19\x94\x6d\x9d\x60\x2a\x18\x91\xf2\x08\x5d\x70\x45\x4e\xd0\x67\x3c\xbf\x05\x85\xcf\x54\x7d\x98\x1a\x0b\x2d\x96\x48\x4b\x4e\x05\xa3\xea\x60\xc8\x2c\x60\x95\x5b\x95\xe3\x84\x33\x03\x5a\x92\xc0\xc2\xfa\x26\xc0\xe4\xe8\xd0\x3b\x94\x01\x82\xd7\x54\xd2\xb2\xd8\x02\x3f\x8e\x82\x08\xca\x91\x89\x50\x5f\x83\x8e\xaf\xf1\xa3\x89\x19\x86\x2a\x87\xe6\xeb\x25\xd2\xa3\x0d\xca\xb1\x20\xbf\x06\xab\xc7\x05\x2f\x70\x80\x9c\x24\xc8\xc3\x93\x9b\x08\xc9\x6f\xe8\x11\x39\x42\xdf\x67\x7c\x2c\x0f\x90\xf4\xb8\x56\xae\x08\xa3\x3c\x30\x4e\x12\xf8\xb7\xc9\x26\xf9\xe0\x56\xbf\xe4\xfb\x80\xcc\x3f\xa1\x5f\x4c\x59\x7b\xf9\xc7\x93\xe3\xe3\x7c\x71\x38\x2e\x92\x7b\xa2\xf4\x5f\x20\x53\x34\xae\x90\x4b\xf2\xc4\x4d\x29\xa3\xab\x56\xa7\x9e\x6e\xda\x89\x22\x2d\x50\x81\x24\x00\x6d\xa6\xaf\x74\x5f\xfb\xc4\x65\x27\x72\xd6\x5c\xd8\xc1\x4e\x59\x14\x6d\xc7\x2b\xc2\x44\x7a\xc2\x8b\xb7\x67\xd0\x12\xdd\xf9\x88\xa1\x98\x26\x19\x9e\x1a\xc3\x60\x69\xce\x86\xbb\xd6\x29\x98\x8a\x30\xe7\x22\xa5\x6c\x9a\xc5\xc6\xb5\xcb\x9c\x5a\x2a\xd2\x73\x07\x9f\xbf\x3e\x65\x71\xa4\xd3\x7b\xe7\x12\x03\xd7\x96\x35\xf9\x1f\x0d\x59\x4f\xa2\x47\x62\x4a\xb6\x40\x5a\x13\x58\xc8\x0b\x2a\x67\x3e\xa9\x09\x6c\x76\xd0\xa8\x41\xac\xd1\x3d\x79\xe5\x05\x92\x36\x20\x08\xd6\xf8\x10\xac\x16\x04\x85\x27\x75\xc3\x90\xb5\xec\x82\xd9\xd0\xa3\xc0\xf3\x39\x11\x43\x66\xd1\x47\x00\x63\x8b\x73\x1b\xa8\xb0\x1e\x86\x46\x1c\x62\x0b\x95\x74\x72\x10\xbc\x65\x59\x30\xc0\xe9\xe9\x5e\xed\x89\xae\x07\x00\xfd\x81\x8f\x53\x4e\x64\x60\x80\x43\x5e\x8f\xce\xe8\x84\x68\xae\x3d\x64\x7a\x77\x42\x63\xa1\xc1\x0e\x72\x50\x42\xba\xd3\x44\x70\x29\x6d\xd4\xac\x69\x67\x79\xee\xc3\x16\x30\xe5\x06\x00\xc9\x14\x08\xac\x02\x96\x07\xcf\x1c\x74\xb9\x7d\xd8\x5c\x37\xae\xad\xa9\x95\x40\xe5\xe5\x5a\xac\x01\x55\x7e\x7c\x7a\x3e\xf0\xf8\xbc\x95\xae\xeb\x58\xe5\x21\x68\x54\x3b\x5a\x79\x7d\xc6\x01\x6e\x79\xa5\x89\x25\xc8\xe5\xab\x37\x2b\x8e\xd5\xdb\x26\x23\xb8\xb2\xf5\xab\xf8\x66\x85\x66\x56\x85\x94\xee\x68\x9b\x5a\x12\x0c\x12\xb8\x68\x9f\xda\x3b\x06\x17\x96\x7e\x4b\x2a\x9c\xcf\xc3\x74\x29\x07\x89\x60\xa7\x69\x8e\x5a\x9b\x56\xf5\xac\x50\x4d\x09\x36\x9e\xe8\xea\xe0\x6a\x5b\xb1\x9e\xb5\xfa\xd6\x22\x40\xed\x22\x04\xf1\xf9\xf2\x0f\xb3\x45\x19\x71\x23\xed\x9d\xe7\x2b\x34\x37\xdb\xec\xc6\xc4\xa3\x5d\xb5\x6e\xe8\xb6\x09\x46\x4e\x87\x40\x82\x60\x69\x5d\xa9\x90\x87\x53\x89\xd1\x5f\xc3\xac\xe6\xc7\x6c\x32\xf9\x0e\x3d\xbe\x5c\x70\xd5\x58\xc8\xe4\xc4\x1d\x44\x2a\x04\x81\x3a\xd7\x06\xb3\x77\x50\xb9\x5d\x00\x5e\x59\x10\x9c\x2e\x82\x15\xf1\xce\x42\xd3\x33\x98\x15\x24\xcd\xb5\xe2\x03\x22\x1d\xe3\x87\x7c\xee\x64\xbd\xe8\x2d\x00\x07\xa4\x13\x7d\x63\x05\xae\x46\xfd\x05\x3b\x84\x02\xae\x5a\x36\x6e\x88\xb3\x72\x8d\x40\x5c\x16\x40\x06\xcf\x88\xbd\xe1\x86\xef\x7a\xdf\x5f\x5e\xdf\xf6\xcf\x86\xef\xca\xc8\x5a\x97\x3a\xe2\xa4\x1c\x8f\x5d\xc6\xd9\x90\xf9\x60\x38\x8f\xed\x02\x7b\x89\x70\x9a\x96\xc8\x5a\x56\xf8\x36\xb1\x3c\x4b\x39\x72\x70\x2a\x56\x86\xc1\x2d\x69\xe6\x0e\xf2\x07\x5e\xeb\xc9\x5a\x62\xf6\x8e\x4e\x8e\xc9\x82\x58\x12\xae\xbe\xa3\xcb\x26\x84\xa5\x50\x46\x47\x21\xbe\xa2\x29\x23\x8f\x4e\xc6\x84\xdb\xf9\x18\x9b\x4b\x78\x3d\x6e\xe7\x36\x64\x83\x4d\xfd\x48\xbf\x90\xf4\xba\x45\xaa\xda\x49\x34\x7a\xa7\x28\x9e\xc6\x5d\xd0\x7a\xeb\x1a\x9b\xe0\xa7\x72\xa7\xbf\xeb\xce\x96\x0c\x7b\xab\x20\x47\x00\x6c\x84\x42\x18\x25\x44\x28\x4c\x19\x9a\xc0\xc1\xd6\xba\x32\x60\x12\x10\xf0\x3f\xfd\x01\xe5\x94\x41\xd6\xef\xb2\xa5\xbd\x8b\xe7\xb1\x4e\xc9\xc0\xc1\xc5\x5d\x5c\xe1\xf8\x87\xcb\xbb\xb8\x5e\x55\xef\x97\xa5\xb2\x6a\xa5\x85\x65\x8e\xfe\x60\x8a\x65\x06\x91\x05\xd0\xf0\x2b\xd3\x34\xd1\x4f\x44\xfd\xa4\xf9\x32\x67\xbb\x08\xaf\xb5\x72\x16\x38\x3d\xc8\xe8\xc1\x34\xbc\x06\x19\xd8\xa1\x2c\x89\xa1\x76\x92\x1c\xf4\x80\x6c\x0f\x61\x42\xef\x91\xa9\xcc\x04\x65\xee\x41\x5d\x73\x81\x2a\x5a\x5f\xe2\x4c\x2f\xd7\x10\xde\x46\xaa\xd6\x1c\x9f\x98\x8f\x3b\x05\x4e\x5e\x87\xe1\x92\xba\xad\x72\x29\x51\xef\x6a\xd0\xb0\xd6\xe7\x55\xbb\xf0\xd7\x05\x23\x99\x79\x13\xf5\xae\x11\x24\x83\xbc\x97\x57\x01\x1e\x69\x67\xba\x1d\x6e\xa4\xf1\xe4\x5d\xc5\xee\xc1\x27\xbd\x86\xb7\x90\x67\xa3\x7c\x36\xab\x18\xec\x06\x4c\xa3\x5c\x86\x35\xd1\x34\xc2\x01\xd9\xf8\xe2\x10\x41\xa2\x1e\xbc\x76\x10\x22\x4a\x98\xda\x98\xce\x17\xb9\x33\x94\x8d\x72\x36\x5d\x60\x36\x7e\x32\x14\xed\xb3\xb0\x21\xaf\xdc\x01\xa1\xbb\xa0\x33\x9b\x14\x19\x4e\x37\xa4\xb6\xf5\x90\x39\xca\xf1\x39\x9b\x96\x2d\xe6\x81\xe7\xd8\x2a\xc5\x20\xe1\x3b\x84\xb2\x26\x40\xeb\xa3\x21\x0b\xbc\xd0\xd2\xc8\xe4\xfa\x8c\x38\x50\x40\xa8\x34\xa1\xd9\xa9\x8d\xfe\xf6\x37\x73\xb4\x03\xd5\xdc\x4b\x35\x8b\x61\xfd\x6a\xfd\xd8\xd3\x29\x67\xd8\x65\xb8\x38\xf5\xde\x06\x98\x84\xc6\x0f\x68\x2f\x00\xf2\xb2\x1d\x93\x07\x62\x83\x52\x70\x00\x13\x1d\x64\x45\xa6\x9c\x48\xf6\x5e\xf9\x1c\x22\x9a\x59\x28\x42\x5c\xb5\xf9\x69\x91\x03\x53\xdb\xf2\xf2\x03\xbe\x03\xd8\x8f\x75\xa5\xda\xe0\x58\xad\xb4\xa1\x38\xc7\x0d\x50\x42\x18\x60\x00\x9d\xb6\x61\x74\x7c\x99\x93\x64\x13\x6c\x82\x2b\x2c\x70\x4e\x14\x11\xcb\x62\x0c\xe2\x22\x2e\xe0\x3f\x77\x3b\x68\xfb\x35\xbb\x68\x10\xee\xaa\x50\x88\x5e\xf5\x3a\x5f\x85\x35\xe0\x67\xb1\x16\xac\x8a\x9e\xc6\x4f\x16\xd2\x6f\xcd\x59\xd8\x7e\xca\x69\xd8\x10\x8a\x00\x5a\x62\xdb\x39\x3d\x4f\x8e\xfd\x6d\x2d\x5b\x3d\x8a\x01\x78\x25\xc9\xf5\xab\x47\xd9\x96\x55\xbf\x8a\x97\xee\x84\x77\xbb\xd0\x59\x97\x9b\x55\x39\x54\x51\x50\x2e\x50\x09\xc8\xfb\x26\xc1\xbc\x39\x33\x1e\x84\x96\xa6\xb0\xa7\x20\xc1\xc0\xe2\x26\x95\xd6\x46\x2b\x59\x55\x41\x5d\x2b\xcb\xb5\x82\xc7\xed\x2a\x6b\x78\x2f\xd1\xec\x5a\xa2\x59\xc3\xb6\x67\xa8\x93\x88\x0a\x80\x81\x2d\xb6\x62\x33\x4f\xe3\x09\x42\x50\xbb\xbd\x22\x6d\xc5\x06\xb8\xfa\x29\xf3\xff\x8a\x39\xb8\x23\xea\x90\x54\x9b\xb2\x75\x8e\x02\xff\x08\xb8\x47\xb2\x50\x1a\xb0\xce\x72\x18\xad\x89\x6d\x32\x26\xe8\xc1\x85\xf1\xae\x40\xd6\xdc\x82\x17\xe8\x91\x4a\xad\x0b\x0f\x19\x04\xff\x78\x53\xb5\xe2\xb6\x64\xec\x01\xbc\x05\xf9\xb5\xb2\x18\xe7\x54\x21\x1c\xcc\x30\xb2\x97\x1d\xd8\xf3\xac\x3f\x80\x19\x37\x26\x70\x36\x61\x3f\xac\x38\x34\x1b\x18\x7f\xca\x46\xb6\xcd\xd1\x0c\x02\x15\x9f\x36\x4b\x33\xd0\x78\x42\x0d\xb3\xf1\xcc\xed\xd3\x34\x51\xb3\xb5\xc1\xa2\xd1\x01\x64\x20\x95\xaa\x72\xb7\x58\x0c\xba\x15\x29\x9a\xe5\x46\x74\xca\xd1\x2c\x5f\xdf\x45\x92\x66\x1b\x3c\xf0\xb2\xa4\x1d\xf7\x49\x8b\x71\xd6\x25\x83\x29\xee\xa2\x61\x43\x49\xe9\xaa\x55\x52\x7a\x6d\x70\x39\x65\x94\xef\xe6\x31\xa3\xeb\xa8\x83\x65\xe0\x7f\x48\x45\x41\x1e\x4f\x0c\x36\x40\xaa\x9c\x9f\x71\x05\xc1\xda\x09\x94\x4e\xaa\x25\x10\x0d\x59\xb3\x04\xb2\x9c\x27\x6e\x1b\x77\xbd\x53\x58\x9d\xe0\xfc\xb9\x59\x58\x8b\xd6\xcf\x3e\x72\xc5\x28\xcb\xb6\x08\x52\x55\xc4\x2c\xfd\x4f\x2d\x0a\x08\x08\x1e\x9b\x64\xb2\x35\x9c\xca\x8e\x51\xd1\x2b\xcf\x85\xbd\x74\x77\xa8\xda\xd5\xb8\x73\xe7\x20\x72\x2f\x23\x5b\x6e\xec\xa2\x20\x9d\x1a\x5f\x71\x23\x6e\x52\xdc\x01\xd0\xea\x76\x86\xb1\x57\x4d\x7b\xd5\x8d\x1f\x80\xeb\xd1\x0e\x1d\x9b\x30\x0c\x8f\xfc\x5a\xd9\x92\x68\xc2\xb6\x68\xd6\x13\x4c\x7a\xdd\x82\x1c\x81\x2b\x4c\xd8\x10\x3e\x1a\xda\x0d\xa0\x12\x87\x8d\x7c\xaa\xf0\x61\x2f\xda\x15\x2c\x25\x82\x11\xac\x66\xcf\x17\x38\x7d\xba\xad\x71\xfa\xd9\x82\xa8\x4f\x77\x52\x8d\xa9\x12\x98\xbc\x66\x4c\xf2\x1a\x01\xbe\x65\x6d\x8e\x9a\xe2\xd8\x54\x05\xaf\xc4\x36\x58\x87\x4a\xb7\x8a\xad\x6e\x56\xe6\x9e\x26\xca\xbc\xc1\xea\x53\x8b\x2f\xd7\x87\x3d\xac\x68\xb2\x62\x49\xbe\x8a\x70\xee\xa7\x8f\x30\x5e\x56\x3b\xa5\x08\x82\x8e\xa1\x80\x8d\xc2\x94\x59\xee\xb5\x2c\xce\xd8\x94\x0b\x6f\x0a\x2d\x7e\xf5\x41\xeb\x5f\x7d\xcc\xfa\x3e\x82\xf9\x4d\x46\x30\x2f\x33\x75\x79\xef\x0b\x14\x5c\x8d\x50\xf2\x8d\x8c\xb8\x42\x63\xd8\x3c\xb2\xd8\x59\x8b\xc2\xb0\x0c\xfb\x8b\xfd\xa1\x31\x32\xa3\xf6\x59\x75\xb6\xa1\xe5\x8a\x2d\xaa\x06\x60\x2c\xd2\xcc\x42\xd9\xd8\xb8\xc9\xd8\xd2\xb0\xcc\x28\x36\x64\x3f\xf0\x47\xf2\x40\xc4\x01\xc2\x0a\xe5\x5c\x2b\x8a\x41\x24\x04\xd0\x64\x84\x8a\x6a\x3c\xde\x18\x5d\xe0\x9c\xa4\x7d\x50\x37\x82\xe8\x2a\x6b\x9a\xb3\x4e\xb5\x26\xc4\x36\x00\x1f\x33\xdb\xe0\x3c\xe4\x43\x66\x22\x9e\x4c\x94\x0d\xdc\x0b\xd4\x4d\x0c\x84\x96\xdf\x7b\x97\xdf\xef\x8f\xd0\xad\xe6\x45\x54\xc6\xe3\x0d\x00\x5c\xda\xc6\x36\x64\x53\xc1\x8b\xb9\xb7\x96\xf0\x31\x98\x69\x0c\x09\x37\xb8\xfc\x60\x30\xce\xdf\x97\xe0\x54\x6b\x5d\xcb\x09\xe7\x45\x82\xe1\x36\x42\x41\x08\x09\x48\xb3\x15\x1f\xe1\x63\x23\x6e\x8d\xa7\x2e\xc8\xfd\x5e\x86\xe5\xfa\x44\x6e\xc4\x33\x22\x41\xff\xf7\xf6\xd5\x28\x0d\x30\x4e\x35\x6d\x1c\xe7\x32\xeb\x97\xb7\x50\x3b\x2b\x6e\x73\x16\x6b\xd9\xb9\x8d\xee\x71\xf5\xc0\x81\x80\x9f\xcc\x2e\xd6\x39\x88\xaf\x8d\x5f\x5c\x15\x62\xce\xe1\xd6\xcd\x16\x2e\xeb\xd6\x82\xc5\xcc\xf9\xbc\x30\x11\x4c\x34\x0c\x68\x69\xa4\x6c\x2a\xd5\x67\xac\x92\x99\x56\x31\x4b\xd0\x94\x1d\x45\x76\x95\x5c\xf9\x69\x6d\x65\x0d\x33\x38\x0d\x7b\x6f\x31\x1e\x77\xb0\x9d\x9a\x0b\xd9\x45\xf9\xc2\xbf\xb2\x0c\xe5\xba\xbf\xa8\x6e\x5a\x60\x01\x73\x9f\xd8\x27\x7a\xa2\xab\xa8\x68\xd5\xf8\xbb\xd1\x56\x5c\xb4\x63\xe7\x31\x63\x5b\x20\x00\x9c\x59\xcc\x8f\xf2\x45\x64\x25\xab\x46\x96\x53\x08\xba\x59\x32\x82\x05\xda\x7d\xd0\x42\xa1\xb7\xad\xe5\x78\xae\x05\x46\xc5\xf5\x2d\x29\xa6\x46\x66\x11\x44\x15\x42\xdf\x23\x85\xa0\xee\xec\x57\x52\xfa\xda\xa9\x03\x6c\x51\xc7\x61\x51\x86\x04\x07\xf5\x6a\x8c\x6b\x17\x27\xaa\xc0\x3e\x04\x0d\x68\x22\xa3\xec\x5e\x77\x66\xd2\x17\x9d\x0b\x55\x10\x93\xc6\x98\x36\xec\xe9\x4a\xc2\xde\x62\x97\xdb\xab\x2f\xae\x3a\x69\x94\x4d\x03\x7c\xa5\x66\x7b\x60\x17\xf8\xe4\xc6\x2f\xbb\x41\x40\x37\x7e\xea\x64\x9f\x4d\xbe\x5d\x82\xbd\xb1\x71\x51\xce\x28\xdc\xd6\x86\x3c\x5a\xe9\x29\x44\xbe\xb2\xb6\x1a\x00\xb0\x33\x25\x4e\xb1\x95\xa6\xfe\xd3\xff\x65\xca\x6d\x98\xa5\xf9\x4f\xc4\xc5\x90\x99\xdf\x0f\x3c\xd4\xb5\x7e\xa1\xc4\x90\xc3\x39\x29\x51\xb6\x44\x8c\xc7\x03\x19\xe1\x16\x4f\xc5\xe0\x05\x7a\xa4\x5f\x3d\x86\xa0\x9e\x6c\xad\xb2\x65\x8e\x19\x9e\x02\x3a\xe1\x01\xc4\x40\x81\xb8\x5a\x5a\x97\x0c\x49\x9b\x92\x49\xc0\xad\x34\xb3\xb4\x69\x7f\x65\xe5\x37\xe8\xd3\x88\xb2\x16\x1c\xad\x74\xa4\x37\x53\xbf\x2b\x3b\xba\x99\xc4\x7e\xdb\xbb\xf9\x71\x74\xdd\xbf\xb9\xbc\xbb\x3e\x8d\xc4\xf6\xd3\xf3\xbb\x9b\xdb\xfe\x75\xe3\xb3\x32\x65\xee\x2f\x77\xfd\xbb\x96\x47\xae\x81\xf3\xde\xf7\xfd\xf3\xf0\x95\xbf\xdc\xf5\xce\x07\xb7\xbf\x8c\x2e\x3f\x8e\x6e\xfa\xd7\x3f\x0d\x4e\xfb\xa3\x9b\xab\xfe\xe9\xe0\xe3\xe0\xb4\xa7\xbf\x0c\xdf\xbd\x3a\xbf\xfb\x34\xb8\x18\xb9\x00\xd3\xf0\xd1\xcf\x97\xd7\x3f\x7e\x3c\xbf\xfc\x79\x14\x74\x79\x79\xf1\x71\xf0\xa9\x69\x16\xbd\x9b\x9b\xc1\xa7\x8b\xcf\xfd\x8b\xdb\xa5\x8a\x48\xf3\x6a\xb4\x56\x82\x0b\x2e\xb2\xc0\x40\x10\x88\x49\xe3\x85\x25\x6d\xfa\x77\x30\x53\x5f\x19\x7a\x3c\x3c\x70\x7f\x99\xe2\x8a\x87\x9a\x05\x3a\x0f\x48\xc9\x3d\x86\xcc\xbb\xa8\xfc\xa5\xaa\xf0\x54\xba\x0c\xc8\x68\xb4\x27\xa8\x07\x67\x05\x14\x86\xa8\x53\xc8\xbd\xf7\x23\x75\x4e\x4d\xa0\xc3\x8c\xe6\x14\xfc\x9b\xe8\x10\x55\x37\x3c\x6e\xd0\xce\x09\x86\x60\x3d\x34\xe9\xb2\xd3\x20\xab\xc9\x95\x40\x29\x27\xc8\x71\x68\xdd\xac\x1e\x17\xc0\xd7\x2d\x18\xce\x69\x62\x7e\xa8\x20\xb8\xa1\x32\x53\xbc\xda\x62\x44\x60\x71\xcb\x33\x82\x7e\xfc\x73\x39\x28\xb0\x56\x5b\x8b\x42\x51\x2b\xca\x63\x1f\x88\xc2\xac\xea\x2a\xf2\x8c\x7a\x72\xc7\xdc\x9a\x11\xe1\xdc\xda\xda\x8d\xe0\x5a\x28\x58\x80\x16\x13\xf9\x19\x6c\xed\x66\x74\x88\x2a\x34\x7e\x82\x6e\x20\x53\x5d\x96\xaa\xbb\xde\xc5\x79\x56\x4c\x69\xad\x74\xeb\x98\xcc\xf0\x03\xe5\x0e\x01\xdb\x00\x85\xc3\x3a\x5a\xd1\x0a\x1d\xa2\xd6\x83\x72\x82\x7a\x69\x2a\x63\x06\x17\x51\x8e\x63\x99\x87\xf1\xb0\x43\x80\x17\x96\x7a\xb6\x59\xa1\xa3\xf2\xc8\xc1\x8a\xed\x3e\x17\xbf\xce\x0e\xe3\xbb\x77\x2b\x6c\x43\x79\x3f\x72\xa4\x3c\xda\x48\x18\xb8\xc5\xf2\xbe\xa1\x22\x74\xe3\xfd\xea\x50\x11\xb6\xeb\xb1\xbd\x0c\x75\x63\xa7\x7e\x65\x47\x70\xd0\x36\xeb\xb3\x15\x58\x72\x45\x97\x6e\xc6\x59\xa5\xfa\x47\xe7\xfe\xa2\xea\x21\x4f\x6f\xd9\x6f\x96\xc6\xe0\x48\x8e\x3c\xfd\xaf\x31\x8f\x2b\xf8\xf4\xd2\x7f\xb9\x54\x64\x1b\x05\xeb\xb6\xae\xbd\xbf\x96\x2b\x68\x6d\xfe\x4b\xe9\x70\x47\xe8\x1c\xdd\x85\x41\xc0\x6e\xa6\x09\xb8\x76\x30\x65\x16\xd1\x9f\x78\xdf\x83\xab\x61\xa9\xcf\xb1\xaf\x32\x83\xc7\xfc\x21\x52\x2e\x73\x22\x25\x6e\xc1\x4d\x08\x4c\x62\xdb\x30\x06\x7f\x42\xed\x87\x1d\xe9\xc9\x9d\xc9\x5b\xfd\xd5\x32\xa3\xcf\x75\xa8\x19\xbb\x89\x6a\x81\x35\x75\x31\x95\xe8\xd2\x64\x56\x69\xfe\x72\x50\x86\x4d\x70\x11\x44\x93\xb4\x99\xfa\x3b\x9a\xd5\xaa\x0b\xd6\x58\xa8\x21\x74\xd7\xac\x1f\x6d\x11\xb4\xbe\x31\xa8\xa6\xb5\xa1\xe3\x78\x7d\xd6\xa0\xba\xc8\xb7\x15\x16\xb1\x34\xf5\x9a\x4d\x85\xec\x60\xa4\x07\x08\x9b\x84\xb6\x52\x9a\x92\x45\x32\x33\x1e\x05\x7d\x65\x1c\x0c\xd9\x63\xb0\x21\x51\xc8\x67\x2f\x6c\x09\xc0\xe0\xbe\xe8\xe3\x46\x1f\xa2\x40\x5a\x10\x19\x29\x44\x75\x06\x84\x60\x9c\x3f\x65\x05\x8a\x15\x04\x1e\xec\xd7\x16\xa4\xbe\x41\xb9\xa1\x86\x8a\xd8\x4d\x45\x87\xfc\xdc\x82\x5a\x3f\x5b\x68\xca\x5d\x87\x10\x94\x1b\x6a\x1a\xc1\x0e\xaa\x0d\x3d\x2b\x42\xa8\x4f\xcc\x33\x79\x9c\xf9\xd8\xa6\xca\xeb\xe9\xba\xd5\xfe\x57\x37\xa3\x7f\x35\x7e\x87\xa2\x05\x5b\x21\x68\xcd\x83\x84\xa2\x43\x2d\xb3\xba\x9c\x5f\xeb\x74\x97\xe8\xd0\x80\x3e\xbd\x87\x98\xba\xde\xd5\xe0\xfd\x01\x7a\x1f\xe6\x15\xbd\xdf\xe8\x00\xda\x71\xdb\x8a\x43\xa0\x4d\x45\xc1\xe5\xf1\xb1\x83\xbd\xaa\x9c\x44\xbb\x67\xf6\x20\xa2\xb6\x73\xa8\xbf\x8c\xbe\x01\x47\x24\x54\xd0\x31\xbe\x3a\x1f\xda\x6a\x5d\x40\x46\xc6\xa5\xb2\x61\xed\xd2\x21\x1b\x2f\xaa\x4e\x9e\x03\xef\xe5\xe9\x7c\x4a\xb7\xae\x0a\xa3\xdb\xab\x27\xa2\xee\x38\xe4\x72\xf9\x7d\xb0\x22\xb5\xb5\xe7\xab\xb5\x97\x5c\xac\xcd\x23\xbd\x8f\x55\x6e\x9a\x55\x64\x2f\x73\x8b\xd9\xb8\x29\xab\xe4\x9f\xb7\x46\x6e\x1d\x02\x7c\x7b\x4d\x2b\x62\x63\xbb\x5b\x84\xeb\x3d\x95\x3d\x2d\x95\xed\x22\xb6\x3d\x1e\xdc\xfa\x17\xe8\xa9\x91\xe3\x82\x66\x9c\xc1\x55\x2b\x13\x9e\xc1\x47\xa5\x83\x56\xd7\xdc\x5b\xd3\xe7\x1b\xac\xc9\x6a\xa7\xef\x8d\x09\x1c\x30\x6e\xd7\xfa\x58\xab\x43\xed\x29\x5b\xc7\x80\x53\x93\xc7\xa6\x68\x4e\x0e\x10\x67\xd9\x22\x08\x76\xb0\xe7\x15\xc8\xcd\xc4\xa3\x98\x82\xe0\xa6\x13\x0b\x75\xb6\x56\xe2\xf3\x9a\xd2\x78\x1b\x8d\x6c\x11\x69\x72\xd1\xfb\xdc\x3f\x1b\xf5\x2f\x6e\x07\xb7\xbf\x34\xc0\xd8\xc5\x8f\x1d\x92\x5d\xf0\xc2\xcd\x2f\x37\xb7\xfd\xcf\xa3\x4f\xfd\x8b\xfe\x75\xef\x76\x05\xca\xdd\xb2\xce\xda\x10\xd4\x0a\xd9\xa4\xbe\xad\x83\xa2\xe6\xcc\xbc\x0d\xbd\xd7\xb1\xee\x82\x4e\x28\x69\xc1\xbb\x33\x49\xde\x2c\x25\x02\xa5\xe4\x81\x64\x7c\x5e\x9a\x55\x1b\x17\x2c\x00\xc2\x6b\x68\x7f\x19\x18\x1e\xb4\x59\x5d\xe3\x13\x64\xca\xc5\x04\x15\xf3\x7c\x83\x20\xf2\x61\x41\xd8\x7b\x85\xc8\x97\x79\x46\x13\xaa\x82\x24\x30\x2e\xac\x7b\xc5\xb8\x0f\x21\x12\x71\x05\x71\xed\x2c\x1a\x65\xe7\x3a\x7f\xe8\x49\xaf\x6b\xfb\xfe\x44\x79\x60\xa6\x95\x35\x08\x76\xa0\xd8\xb7\x38\x8d\x6b\xb8\x51\x1b\x8c\xee\x29\xcc\x03\xf5\x6c\x0c\x9b\xc8\xd5\x82\x29\xd5\x3c\xc8\xd5\xb7\xe1\xb2\x38\x99\xe8\x5c\x2f\x0f\x94\xe9\x46\xa9\x2f\x1c\xee\x12\xd5\xe6\xda\x01\xc6\x82\x8d\x53\x5e\x33\x60\xa1\x06\xf7\xcf\xee\x0d\x08\x3a\x12\x24\xe7\x4a\x2b\x60\x26\x22\xe0\x40\x0b\x55\x14\x67\xf4\xef\x80\x46\x24\xc8\x51\x10\x41\x01\xc9\x5e\x69\x18\xdc\x6f\x91\x02\x8e\x86\xec\xac\x7f\x75\xdd\x3f\xd5\x0c\xe9\x08\xdd\x49\x00\x1a\x8a\xa6\x7e\x66\xc9\xdb\x88\x63\x61\x24\x03\x65\x52\x11\xdc\x16\x0c\x46\x84\xe0\xa2\x3b\x7f\xf0\xfd\xf5\xe1\xbb\x66\xf2\x86\x67\x91\x6d\xca\x19\x00\x2e\x5a\x0b\x2b\x06\xf1\xe1\x3b\x4f\xbf\xb9\xc6\x8f\xd1\x8a\x84\x40\x0b\x20\x89\xc4\xab\xfe\x84\xab\x0d\x38\x82\xdd\xe7\x17\xf5\x79\x05\xdf\x2e\x9b\xe7\xad\xab\x8d\xee\x41\x09\x0d\x6e\xa1\x2f\x5a\x50\x99\x67\xab\xa8\x28\x5e\x02\x94\xa1\x42\xfa\x63\x32\xc5\x0c\x89\x82\xb1\x0a\x4a\x65\x68\x69\xab\x07\xcd\xac\x7b\x54\xf5\x9a\xe1\x9c\x17\x0c\x94\x06\x08\x63\x6d\x18\x8c\x9c\x13\xa6\x56\x0c\xe6\xa5\x20\x37\x2a\x43\x7d\xbd\xa8\x1b\x0d\x03\x6d\x03\xde\x68\xf2\x27\x41\xf5\xc6\xf5\xae\x65\x17\x94\x17\x39\x95\xf4\xa1\xf2\xf7\x73\xb3\x96\x8d\xe5\xfd\xd6\xdd\xdd\x62\x79\xbf\xba\xab\x94\x24\xf7\xeb\x5e\x36\xd5\x2c\xbc\xcc\x16\xbf\xac\x19\xfb\x16\xfa\xa9\x45\xd6\x87\x9a\xa7\xc9\x3d\xfa\xe1\xf6\xf3\x39\x9a\x50\x2d\xf7\xea\x6b\xe5\x02\x6b\x19\xfb\x4e\x64\xbe\xa0\xb4\x91\x41\x0a\x91\xf9\xbb\x17\x36\xde\x89\x52\x81\x94\xa0\x6f\x34\x3c\x25\xce\xd8\x2b\x2c\xae\x5a\x05\x59\x5f\x60\x96\xf2\xdc\xcc\xe3\x58\x16\x93\x09\xfd\x72\xa4\xb0\xf8\xb0\x86\x44\x73\x1a\x39\xd8\x2a\x64\x64\xc3\x27\x2d\xcc\x1f\x58\x15\x56\xca\x09\xfd\x07\xc2\xd4\x4e\x84\x6c\x68\xa2\x21\xcb\xb8\x9b\xa9\xdc\x94\xba\x1a\x9c\x95\x1c\xda\x97\x5c\x0e\x42\x73\x94\xc0\x70\x59\xd9\xcc\x0e\xeb\x17\x6e\xf3\x56\x3f\x74\x76\x80\xc2\xab\xf5\x75\x59\x11\xdf\x6d\x57\xbb\x2c\x79\x59\xc6\x66\x3a\x98\xec\x0d\x71\x47\x24\x31\xaa\x78\x90\xef\x6e\x35\xac\xea\x9e\x9b\x3e\x67\x58\x56\xbb\x5c\xb9\xe5\x1b\x80\x6c\x44\xcd\x7c\x22\x90\x83\xb6\x93\x32\xf4\x6b\xe4\x1a\xc3\x40\xee\x44\x06\x71\xc0\x4b\x4d\x31\xa6\xdc\xa6\x3e\xbe\x5e\x3c\xc1\x1d\x04\x4d\x33\x18\x2d\xf9\x90\xb9\x20\x50\x00\xfa\x04\x5d\x65\x44\x8b\x0f\x85\x16\x21\x8a\x2c\x73\x80\x44\xcb\x45\x9c\xb5\x40\xb4\x9e\x7c\x5e\x81\x00\xbd\x64\x62\x0e\x90\x6b\xf9\xcc\x82\x35\xd8\x7d\x86\x78\xb0\xbe\x60\x07\x05\x6b\x58\xac\x0a\x01\x03\x5e\x98\xe0\x4f\xb0\x87\xe0\x88\x1b\xd3\xbf\x6b\x36\x2f\x88\x9c\xf1\x6c\xe9\x14\xd6\x86\x39\x5b\x67\x0e\x6e\x29\x9f\x70\x12\x36\xf2\x6e\xd4\x16\x1c\xdc\xe1\x72\x3e\x33\x4d\x34\x8a\x04\xcb\xa6\xe8\x91\xd4\x7d\x08\x83\x85\x87\xb4\xa1\x6c\x76\x68\xe0\x98\x2b\xed\x45\x21\x54\x53\x69\x7f\x2f\x25\xf2\x85\x71\x20\xfa\xcf\x83\x42\xde\x3e\xae\x9d\x2a\x59\x56\xbe\x81\x8a\xee\xeb\x71\x59\x9b\xfd\x50\x36\xa1\x07\xdc\xcc\xda\x2c\x88\x3a\xc8\x6d\x36\xb6\x45\x46\x20\x53\x76\x8b\xcd\x94\x1b\x75\x8a\x76\x06\xba\xad\x1f\x27\xae\xe1\xfd\x64\xee\x9c\x88\x5a\xa2\x09\xec\x61\x8b\xd6\x87\x2d\xb2\x88\xfa\x9e\xf6\x00\x64\x4c\x09\xc8\x2a\x2e\x3d\x36\xd5\x4b\xde\x5a\x59\x57\xa5\xda\x44\xbb\xd3\x29\xaf\x26\xfa\x42\x9f\xfb\xb3\x2d\x5d\x3e\x7a\x32\x8b\x11\x64\x2a\x6e\x13\xf6\x11\xcd\xdf\x98\xab\xa1\x4d\x92\x22\x93\x1a\x6d\x40\x55\xed\xda\x79\x53\xbd\xa9\x6e\x3f\x64\xd7\x7a\x14\xe6\x8b\xd2\xf5\x5f\x56\x8e\x26\x65\x8d\xbb\x09\xc2\xf6\x2b\x58\xf4\xb6\xc8\x2b\x39\x0a\x0a\xe7\x3f\x61\x96\xf5\xf7\xe6\x1d\x93\x50\x6d\x01\x45\xf4\x54\xe9\xa4\xd4\x1b\xb5\xb0\x97\xcc\x28\xe4\x33\xa7\x44\xda\xcb\x83\x2a\x9b\xb0\xee\x45\xe5\x82\x38\x68\x57\xf8\xcc\xf3\xaf\x26\xe6\xea\x34\x53\xe6\x2c\x42\x72\xc8\x82\x3e\x96\x20\x01\x1a\xed\x70\x43\xb1\x1f\xf6\x99\xa6\xde\xd3\x02\xff\x34\x3b\x54\xab\x82\x6f\xa7\x97\xe3\x39\xd8\x13\xcd\x19\xe4\x13\x7f\xff\xdc\xda\xb0\xf6\x23\x18\xf1\x7f\xff\xd7\xff\x1c\xd1\x36\x73\xbb\x1c\xd9\x15\x78\x0d\x3b\xb9\xde\xb6\x84\x3b\x1f\x40\x14\xb4\xa4\xbe\xcb\x62\xec\xf1\x83\xa3\x50\xfd\xf2\x57\x7b\xb9\x69\xa2\xe1\x6a\x66\xfc\x8b\x31\xb9\x83\x31\x5e\x14\xcb\x6f\xd9\x80\xc5\x95\x1e\xe8\xd2\xcd\x18\x44\x79\x3a\x00\x7a\x13\x9d\xa7\xdb\xaf\x5c\x28\x15\x06\x15\x20\x85\x6d\x13\x0d\x37\xc3\xf2\xe9\x42\x1e\x1a\xab\x7a\x18\x2b\x65\x78\x47\xae\x0a\x7e\x30\x83\x34\x59\x74\x7a\x57\x0a\x49\x84\x39\xd0\x1e\x52\x06\xd5\x8b\xcf\x42\xec\xdb\x0a\x1f\x0e\xc9\x31\x5d\x2b\x4e\x5b\xbf\xdf\x8c\xd2\x16\x19\x71\xf1\x94\x88\x51\x5a\x44\x41\xb9\xab\xda\xbe\xd2\x1f\x9d\x15\x6a\xb1\xba\x7d\x99\xe1\xe4\x7e\x1d\x64\x3c\xfd\x7e\x4b\xb3\xab\x05\xc3\x20\x74\x22\x16\x0e\x5b\x70\xe7\x48\x05\x77\xce\xc6\xf2\x45\x5a\x3b\x5c\x34\x0c\xaa\x07\x07\xc2\xbd\xbd\x89\x0c\x3a\x2e\x8c\x1c\x8d\x8b\xd2\xca\xe1\xf1\xc6\xd3\xa3\x21\xfb\x68\x00\xfb\x41\xf1\x30\x03\x48\x20\x91\x82\x7c\x99\x73\x49\xa2\xcc\x9e\x06\x0c\x71\x9b\x99\x67\x87\xd1\x2c\x93\x56\xaa\x37\x6f\x25\x92\xbe\x38\x82\x60\x7d\xc3\xeb\x53\x6e\xa6\xc0\xad\xa4\x9e\x84\xce\xa9\xa6\x9d\x51\xe3\x49\x5b\x7f\xea\x5d\x4b\x50\x94\xb1\x32\x80\x25\xa3\xb2\xc5\x01\xf2\xd3\xab\x10\x44\x46\x1e\x08\x98\x29\x61\x8c\x21\x52\x7c\x6c\x6a\x6a\x61\x27\xab\x0e\x50\x99\x56\x07\x6c\x01\xa5\xd5\x11\xc4\xc9\x47\x4d\xb4\x18\xa7\x55\x6c\x9d\x01\xd4\xe4\xf0\x5f\x43\x0a\xed\x85\x88\xf9\x0b\xa2\x10\xf9\xa2\x88\x2d\xf8\x76\xeb\x72\xb4\xea\x61\xdd\xa8\x39\xcd\xa4\x5d\x44\xda\x3d\x55\xd4\x26\x62\x33\x73\x5d\x12\x5a\xea\xee\x7d\x9b\x94\x35\xc3\x2c\xb5\x99\x86\x56\x96\xd6\x32\x05\xcc\xce\xd8\x81\x7c\x0c\xb6\xcd\x97\x0b\xa0\x86\x4d\x9b\x06\x13\x19\x2e\x32\xa7\x17\x69\xc9\x1c\xdc\xd6\x5c\x68\x01\xb5\x60\x8a\x66\x9a\x38\xec\x18\xb4\xd6\x5c\x30\x0f\xf6\x05\x11\xc3\x6d\x78\x52\x54\x4a\xca\xa6\x23\xbb\x92\x2e\x69\xae\xdb\xc5\x10\xd3\xd4\x67\xd3\x94\xf9\xf1\x7b\xd7\xd0\x72\x3b\xaf\x21\x6b\xc0\xfa\x71\xe9\x7a\x20\x58\x33\xee\x26\x63\x41\x9a\x5c\x96\xdf\x88\xa6\x51\x81\x7a\x98\xe8\x3a\x46\x0a\x10\xeb\xea\xf9\xf1\xe5\x15\x22\x6d\x0a\x9e\x49\xac\x81\x08\x68\xd5\x92\x63\x28\x5b\x73\x0b\x07\xcc\x8b\x68\xb6\x70\x8c\xcf\xa0\xae\xa4\x29\x62\xd7\x9d\x0d\xf3\xc6\x59\x36\xc6\xc9\xbd\x57\x36\xbc\xca\xcd\x85\x03\xde\xd6\x02\x2a\x54\x16\x32\xc4\xa5\x07\x9a\x80\x74\x13\x7a\x61\x0c\x42\x8a\x1d\x76\xd9\xb9\x59\x35\xc2\x4c\xa1\x79\x50\xce\xcd\xe8\x4d\xcc\x78\x4a\xe6\x19\x5f\xe4\x2d\xf7\x59\x35\x35\x6b\x9b\x08\x88\xb6\xcc\xb0\x9d\x5e\x65\x15\xa6\xb7\xf6\x65\x56\xcb\xf3\xd8\x01\x5e\xcf\x1a\x5c\xf2\x53\xc6\xc7\x60\xe5\xb3\x5a\xb6\xcb\x5d\x08\x42\xe8\xab\xe7\x79\xdd\x8c\x8a\xea\x89\xa4\x72\x9e\xe1\xc5\xb2\x1e\x4c\x2c\xff\xd3\xee\x9b\xc9\xfd\x5e\x6d\x04\xeb\x1e\x05\xdb\xf8\xf9\x53\xa0\x80\x9e\x3b\x49\xc0\xbc\x6b\xf8\x97\x35\x26\x11\x67\x4d\x32\x59\x54\x47\x73\xc1\xb5\xa4\xc0\x87\x4c\xe1\xa9\xdb\x5d\x2b\x5d\xf2\x47\x46\x84\x9c\xd1\x79\x54\x72\x6c\xeb\xb8\x5b\x4b\xd2\xf6\x7f\x4c\x94\xe9\x1a\xcc\x93\xcf\x0f\x0d\xf4\x83\x26\x10\x39\xc7\x49\x69\xfd\x4b\x32\x2c\x25\x9d\x2c\x02\xc4\x06\x1f\xc2\x08\x79\x31\xb1\xba\x1c\x54\xf9\x69\xe2\x34\x21\x06\xc0\x6e\x12\x97\xb7\x4f\xda\xba\x8b\x4f\x21\x4d\x43\x80\x2c\x28\x03\x5f\x03\xe9\x70\x17\xb6\x05\xeb\x78\xaa\x5c\x2e\x3b\x32\x9b\xd1\xb4\xbb\x81\x39\x6c\x85\xcd\x32\xa0\x97\x82\xbe\xb4\x9b\x39\x4a\x61\xd7\x0e\xdb\x2a\x5a\x1e\xe8\x21\x9c\x06\xcc\x31\xb5\x5f\xf8\xec\xa5\x28\x6f\x1f\x47\x58\x27\x66\x8d\xb4\xf2\xe7\x4c\xb8\xfa\x7c\x79\x20\x09\xc8\xb7\x2f\x3b\x38\x40\x72\x2b\x00\xa6\xee\xa4\x7d\x46\x32\xb2\x93\x98\xdc\x0d\xe8\xbc\x1a\x2b\x10\x50\xf8\x52\x22\x2a\x21\xc7\x57\x9b\x49\xd6\xa7\xf1\xea\xa8\x4a\xea\xde\xd9\xa0\x36\x88\x5f\x6e\x41\x98\x69\x1e\xf9\xcf\x66\xa0\x36\x84\xb9\x89\xc0\xc0\xbc\x08\x5b\xdf\x55\x35\x6c\x82\xaa\x33\x2d\xd8\x13\x53\x76\xe3\xf6\xd1\x61\x01\x79\x61\xd7\x49\x5f\xaf\xf7\x18\xbc\x70\xc0\x6f\xcb\xe8\x3e\x91\x2e\xd1\x1d\x2b\x8f\xe8\x46\xdc\xb4\xed\x4a\xec\x46\x2a\xd6\x33\xab\x38\x9a\x12\x65\xca\x69\xfb\x9a\xe1\x6f\x90\x4c\x76\x96\xc1\xb0\xd3\xad\x68\x66\x02\xeb\x9d\xea\x1b\xa2\xa4\xbb\xf1\x6a\xe8\x80\x76\xa7\x0e\x5d\x32\x76\x99\xda\xfc\x7a\xb7\xe8\x75\x9c\xe4\x6b\x6b\x55\x79\xba\x0b\x76\x35\xbd\xec\x84\x3e\x00\x97\x08\x43\xfa\x46\x61\x81\x8e\xe1\xf0\x06\x1e\xd8\x9a\x2a\xbf\xc2\xb7\x6d\x87\xd7\xc9\xab\x5d\x5b\xce\xa7\xd8\x5e\x1b\xab\xdb\x79\x73\x9f\x92\xd4\xd6\x1d\xcb\x2e\x74\x94\x27\x36\x8a\x58\x6a\x5c\xa9\x5d\xef\x43\x4c\x10\x6a\xf3\xbf\x96\x8e\x45\xbb\x65\xbb\x3c\x64\x4d\x95\x08\xb6\xcf\x36\x72\x11\xdc\xa3\xb9\x20\x13\xfa\x65\x23\x51\xfc\x0a\x3e\xb5\xea\xa5\x5e\xe6\x4a\x6d\x03\xb0\x76\x40\x2d\x84\xc0\x0d\x6e\x57\xda\x82\xd5\x0f\x59\x19\xc0\x6d\xa3\xb7\xef\xc9\x02\x71\x11\xfd\xb4\x29\x56\xcd\xee\xeb\x30\x98\x7d\x9d\x29\x35\x97\x27\xc7\xc7\x53\xaa\x66\xc5\xf8\x28\xe1\xb9\x89\xde\xe2\x62\x6a\xfe\x38\xa6\x52\x16\x44\x1e\xff\xe1\xbb\xef\xca\x2d\x1e\xe3\xe4\x7e\x6a\xb2\x7f\xeb\x56\x9c\x68\xcb\x6f\xea\xb5\xca\xd6\x47\x4e\x16\x9c\x8d\xc8\x17\x4d\xa4\x4d\xd5\xf0\xbb\x02\xab\x48\xd4\xfb\xf9\x06\xc9\x05\x53\xf8\xcb\x09\xfa\x4c\x19\x08\x20\x3f\xf0\x42\x48\x74\x86\x17\x87\x7c\x72\x98\x73\xa6\x66\xe8\x33\xfc\xd7\xfe\xf4\x48\xc8\x3d\xfa\x85\x60\x61\xf7\xd7\x96\x24\xf0\x05\xd3\x66\x18\x52\x5b\xa0\x30\xb2\x58\xa0\xef\xfe\x1d\xe5\xa6\xe5\x13\xf4\xed\xf1\x77\xff\x8e\x7e\x0f\xff\xff\xff\x47\xbf\x6f\xd1\xd4\xd6\xcb\x2c\x87\x5a\x48\xd7\xb1\x71\xeb\xa0\xb2\x52\x1b\x94\x87\x3b\x15\xbc\xdc\xa9\xc6\x96\xef\x69\x72\xcf\x27\x93\x91\xa2\x39\x31\xa1\xb6\x23\x2c\x6a\xa8\x64\x1b\xc2\xf4\x50\x5b\xcc\xca\xd4\x03\x2e\xa1\x8a\x6d\xa7\x26\xb1\xc8\x1d\x37\x59\x94\xc5\x7c\xc0\xa7\x12\x15\x48\xa2\x12\xbe\x22\xa9\x3e\x15\xeb\xf8\x4f\x9c\x75\xa6\x5e\x72\xb3\x4c\xc4\x0b\x0b\xb4\x79\x3f\x68\xe8\xd4\x37\x7e\x0f\xbb\x90\x8d\xc7\xa1\x16\x6d\xf0\xd5\xb8\x90\x61\x6a\x2f\xe5\x3e\x96\xb5\xce\x57\x7b\x8e\x6f\xb8\xd8\x4a\x5e\xbe\x27\xb5\x10\x96\x8e\xb0\xdc\xae\x2c\x50\x58\x2a\x10\x72\x38\xb8\xf0\x70\x59\x46\xaf\xb5\xc5\x3b\x56\x5b\xa1\xa8\x30\xbe\xb6\x6e\x87\x5e\x4f\xfd\xcc\x7f\xb2\x6a\x98\xe0\x78\x73\x6f\x97\x65\x09\x60\xb4\xfa\x8a\xd3\x2c\xb1\x61\xc4\x0d\x98\x1a\xab\x36\xf4\xc6\xa7\x51\x41\xe3\xe0\x05\x86\x08\x38\xe6\x24\x13\x9b\xe2\xd3\xb8\x9f\x80\x34\xb0\x0b\x10\x92\x1a\x68\xe5\x16\x7c\xce\x98\xca\x4a\x16\xe1\x30\x4f\x2b\x50\xa7\x02\x6b\xee\xb1\x21\x6e\x8b\x01\xaf\x3e\x40\x02\x83\x23\x55\xcd\x30\x33\x4a\xd4\x04\x27\x94\x4d\x0f\x02\xc8\x0e\xc8\x3c\x0a\x79\x56\xd3\x4a\xde\x62\x79\xbf\x5b\xe7\xe0\xd6\xc5\x3c\x68\x5a\x02\xca\xdb\x24\x3b\x63\x3d\xa5\x35\xbc\x02\x85\xe5\x7d\x5b\x96\x69\x2d\xc5\x7d\xc9\xe8\xfc\x52\xb8\xc4\xf8\x65\xe3\x73\x99\x0c\x24\x14\xda\x00\xbf\xd2\x95\x12\xb2\x80\x17\x2e\x18\xd5\x94\x7a\xa6\x19\x49\xab\x48\x2f\xd5\xf1\xaf\x22\x04\xa3\x16\x07\x5e\x28\x00\x02\xc9\xb5\xe2\x97\x1a\xf3\x2c\x5b\x98\xa3\xa4\x6f\x2e\x2c\xef\xa5\xaf\x28\x83\x64\x8e\xb3\xec\x00\x09\x52\x48\x7d\xf5\x1e\x20\x49\xb2\xc9\xa1\xc3\xe4\x4c\x51\xc6\xa7\x34\xc1\x19\x1a\x67\x3c\xb9\x97\x43\xa6\xaf\x12\x36\x35\x37\xe0\x5c\xf0\x84\x48\x19\xdc\xbd\x65\x96\x83\x8d\x3d\x85\x72\x32\x8a\x88\x9c\x32\x2a\x15\x4d\x2a\x35\xfc\x8f\x86\xcc\x14\xb0\xd2\xda\x50\xc2\x4d\x11\x1c\x18\xae\x96\x05\x88\x41\x09\x29\x98\x45\x6f\x06\x86\x6e\x93\xff\x5d\x54\x45\x1b\xf5\xee\x00\xcb\xc0\x6d\xcf\x48\xc5\xa7\x61\x05\x3d\x9f\xda\xcf\xe0\x0c\x2d\xa3\x98\xeb\x98\x9c\x3d\x35\x78\x32\xf7\x10\x79\x8e\x28\xca\x98\x91\xe8\x6e\xf3\xa1\x14\xaf\x2c\xb5\x1a\x86\xdc\x92\x50\xbd\x8a\xa6\xf5\x2a\xc2\xa5\x08\x80\xe1\x55\xbf\x98\x2b\xf6\x6f\x4b\x46\xe8\x4b\xe2\x41\x13\x89\x5b\x1e\xbd\xf6\xfa\x2a\x39\xf0\x95\xfa\xb1\xb4\x21\x23\x87\x1e\xc1\x51\xf3\x43\x83\xb2\x09\x9d\x54\xca\xbe\xd7\x29\xea\x35\x55\xe7\xf7\x97\xf4\xba\x6c\x71\xa5\x20\xb1\x66\xa5\x7e\xb7\xd2\xad\x68\x37\xd1\xd8\x62\xb2\x85\xb4\xdd\xf6\x41\x75\xb4\x57\x88\xa6\xfc\x18\x43\x71\xf0\xf4\x81\x96\x55\xbd\x6c\x6f\x4b\xed\x19\x7a\x46\x9d\x8c\x19\x21\x51\x6c\x6c\xa0\xab\x4c\xa5\x96\x67\x46\x4d\x49\x42\x33\x21\x90\x6a\x8b\x24\x21\x24\x6d\x0c\x2e\xd0\x23\x7a\x75\x68\x2e\x57\x58\xcd\x4c\xca\x52\xce\x95\x29\x2a\x63\xd0\x5c\x9c\xa1\xc5\xc0\x7f\x8c\x33\x3e\x86\x0b\x09\x80\x5e\x5c\xca\x43\x10\x2e\x6d\xe6\x4d\x52\xf4\x4d\x70\xbf\xf8\x74\xba\x0f\xcd\xb0\x23\xd1\x8a\xbc\x02\x90\x97\xaa\x85\xa7\x15\xea\x25\xae\x8b\x70\x84\xae\x2a\x39\xa0\xc1\xca\x4c\xb0\xbe\x36\x96\xe6\x13\xbf\x10\x30\x4c\x65\x12\x4f\xb7\x43\x6b\x02\xc3\x44\x7d\xee\x00\x18\xa6\x32\xcf\x96\x98\x2c\x3e\x7d\xd2\x5c\x12\x3d\xa9\x73\xde\x3d\xc0\xd7\x60\x11\x18\x11\x2f\x22\x41\x77\x20\x17\x4d\x84\xf8\xba\x40\x6f\x2a\xd5\x43\x5e\x16\xf4\xa6\x32\x98\xd7\x0c\x7a\x53\x19\xea\xeb\x05\xbd\x69\x18\x68\x07\xd0\x1b\xe3\x65\x1e\x69\xa2\xee\xc6\x14\x20\x5e\x71\x5c\x4c\x6e\xe0\xde\x5d\x3a\x46\x5b\x62\xdc\x5c\x63\x4e\x94\xb4\x18\x70\x30\x5a\x1b\xdb\xde\x16\x97\x83\xe5\x56\xb4\xe7\xdd\x40\x54\x1a\x2d\x7e\x9e\x61\x16\x5f\x1d\x50\x20\x54\x90\x44\x93\x9f\x61\x54\x4a\x60\x26\x61\xaa\x07\xd6\xba\xa4\x47\x61\x0c\xaa\x09\x9e\xdb\x5c\xa1\x36\x68\xe6\xd7\x93\x15\xb1\x1e\x9e\x10\xc0\x9c\x44\xac\xbe\x13\x48\xc1\xe7\x0a\xba\xe9\x8c\x3f\x5a\xc9\x11\xc8\xcf\x56\xe5\x6f\x95\x15\x74\xa7\x23\xab\xd0\xb7\xad\xd8\xd6\x45\xac\x6f\x3d\x72\x8c\x33\x1d\x04\x18\xa3\x36\x71\xd4\xa3\x99\x93\xd4\x96\x38\x95\x5a\xbb\xd6\xd3\x31\x37\xaa\x44\x39\xa6\x4e\xcf\x2f\xa4\x2b\xa6\x3c\x64\x26\x7a\xd7\x56\xd6\x38\x42\x1f\xa1\x70\x12\xce\xe7\x19\x39\x40\x7e\x7e\x54\x53\xd0\xb0\xf8\xf6\xdb\x3f\x12\xf4\x2d\xca\x09\x66\x91\x7d\x03\xb4\x7a\x7d\xe5\x01\x4c\x88\x9a\x91\x21\x6b\xdc\x0a\xd4\xff\x62\xb0\xd8\x5d\xc0\xd9\x80\x4d\xb8\xb3\x97\x40\x41\x10\x9c\xcc\x90\x2c\xc6\xa6\xa2\x55\x60\xdf\x72\x7a\xde\x39\x9f\x82\xa7\x14\x6e\x62\x37\xe8\x8d\xe1\x91\x2a\x0c\xa7\x23\x3c\x52\x34\xb5\x3d\x3c\x52\xf3\xe9\x7b\xb5\xf0\x48\x95\x3d\xef\x06\x8f\xd4\xb4\xe5\x1b\xc0\x23\x45\xcd\x7c\x35\xf0\x48\x95\x15\xfd\x6a\xe0\x91\x2a\xf3\xda\xc3\x23\x7d\x25\xf0\x48\xab\xf9\x48\x23\x00\x50\xf3\xe1\x5d\x0f\x00\xa8\x51\xbf\x6a\x67\x11\xdb\x66\x5b\x83\x34\xf7\xcc\x00\x40\xd1\x04\xf6\xd1\x59\xeb\x47\x67\x35\x12\x9f\xed\x5b\x0f\xcf\x85\x6c\x55\x2f\xb2\x8e\x10\x40\xd1\xfe\x74\x36\x7d\xee\x82\x12\x9f\x36\x1e\x10\x3c\x30\x5d\xcd\x21\xbd\x68\x15\xa5\x05\x0e\xd3\x92\x91\x83\x6e\x30\x9a\x53\xe8\x7d\xde\x53\xee\x06\x71\x85\x95\xe5\xf5\x3e\x1b\x43\x8b\xbb\x34\xce\x37\x54\xc5\xdc\x82\x5e\x5d\xea\xd5\x9a\xce\x11\x37\x08\x70\x92\x34\x1b\x06\xa1\x20\xef\x6e\x9a\x5d\x75\x91\xf9\xc4\xf4\xa8\x3e\xb0\xcf\x2a\x2b\xeb\x03\x1b\xd9\xb8\x92\x4c\x87\xb0\x72\x5f\x4e\xa9\x54\xa2\x35\xb2\xa6\x36\xc2\x6d\xdc\xb0\xf3\x62\x93\x14\xd8\xe9\x66\x9f\xe5\x24\xe7\x62\x55\x58\x4f\xe3\x97\x16\xcf\x77\x93\x4f\xc9\x7c\x46\x72\x2d\x04\x8d\xd6\x6d\xa4\xeb\x7e\xfb\x94\x43\x9b\xf9\xd2\x50\x24\x3a\x70\xb2\xea\x77\x53\x5b\xf8\xb9\xeb\x76\x6f\xbb\xcd\xae\xc2\xf4\x7a\x56\x7c\x07\xe0\xb5\xdc\x5a\x62\x5f\x8a\x5c\xe9\x40\xdf\x8d\xc1\x1a\x3e\x56\x66\xc3\x70\x8c\x16\x50\xa0\x7a\x87\xe0\xad\x95\x44\x1c\x86\x32\x6a\xe4\x21\xad\x8f\x20\x5a\x77\xa7\xdb\x6c\xb1\xec\x85\x68\x8d\x1a\xec\x62\xd7\x4b\x54\x81\x33\x50\x9c\xc2\xa2\x17\x55\xfa\x1e\x2f\x1a\xd2\x90\xba\x19\x8e\x29\x53\x7f\xfa\xb7\x75\xc2\x28\x40\xc8\xb7\xeb\x06\x40\xdd\x38\x49\x88\x34\xa6\x46\x1b\x55\x6a\x8a\xc8\x16\x22\xdb\x66\x57\xf5\xe1\xd0\xf3\xd6\x2c\xd3\x23\x6d\xa5\x25\xf1\x98\x0b\x78\x26\x78\x31\x9d\x39\x6b\x86\xa6\x42\x3d\xb5\xa6\xbd\xfc\xa9\x66\x32\x5c\x7b\x2f\xbf\x2f\x68\xb6\x99\xad\xe8\x26\x42\x2f\xff\x34\xb8\x45\x72\xe6\xe9\x7f\x0c\xcd\x36\x6e\x6c\x7d\xd0\xdd\xfb\xb4\xdf\x7a\xb3\x35\x74\x73\xe0\xd0\x65\x26\x3c\xcb\xc0\xf0\x2a\x49\xfe\xd0\x56\x84\x16\x26\x7c\x4b\x37\x2c\xb5\x09\x5f\x83\xfb\x46\x2a\x9c\xcf\x3b\x49\x34\x57\x46\xd8\x92\xc8\x8d\xbe\xea\xbb\x35\x51\x5d\x9c\xf9\x5a\xc8\xd1\x26\xff\x5c\xc7\xdc\x7d\x63\xb1\x75\x2e\xd6\x6b\x67\xf1\x75\x6e\x49\x9e\x39\xc6\xae\x69\x1e\x6b\xb0\x80\x28\xe4\xbc\xe4\xf1\x2e\x78\xc1\xc8\xf1\x3d\x3d\xbf\x21\xeb\x45\xc1\xe9\xae\xba\xd5\x78\x51\x46\xb7\x1a\x91\x38\xe4\x24\x00\x55\x6a\xed\x04\x60\xd2\xd7\x7f\x81\xe0\x6e\x80\x91\x4c\xf4\x9d\x8b\xb0\x83\xd0\x5c\x92\x1e\xe2\x64\x91\x64\x34\x09\x54\xc0\xa9\xc0\xf3\x59\x13\xbb\x71\xcb\xbe\x87\xa0\x78\x29\x08\x8a\x36\xfc\xed\x75\x42\x8b\x1d\x5d\x41\xa1\xdf\x3d\x34\x46\x03\x34\xc6\x81\x4f\xfe\x66\x25\x92\xf8\x0b\xe6\x14\xd7\xcf\xdd\x1e\x1f\xe3\x05\xf0\x31\x36\x39\x7c\x25\xf8\x45\x74\xec\xf6\x98\x1d\xef\x3a\x61\x76\xf8\x4b\xf0\x55\xc1\x30\xb4\x9f\xc7\x17\x4e\xef\xaf\x0f\xec\x25\x31\x3a\x1a\xc4\x85\x75\xe4\xa6\x65\x20\x1d\xcb\xe8\xa2\xd3\xba\xbc\x2c\x64\xc6\x7a\x2b\xb3\x16\x1a\x46\xe3\xdd\xf5\x4a\xb0\x31\xda\xb7\xe1\x95\x9c\x9b\x5d\x26\x80\xac\x57\x2a\x25\x4c\x02\x59\x47\xbb\x59\x2f\x1f\xc4\xd3\xc3\xdb\xca\x09\x29\x71\xea\x37\xcb\x0b\xe9\x39\x97\x2a\x11\x68\xc6\xb3\xd4\x44\x2d\x05\xab\xe5\x3b\xf0\xd1\xc8\x7e\x81\xdc\x66\xdc\xcc\x49\x62\xb4\xad\x7a\x4d\xeb\xa5\x24\xf5\xd6\x33\x40\x02\xf9\x77\xb7\x59\x20\xe1\xca\x6e\x9a\x09\xb2\x62\x70\xcb\x44\x8f\x0d\xb3\x41\x82\x1e\x97\x3a\x9d\xdc\xec\x3a\x39\x9e\xaa\xc4\xb2\x41\x4c\x50\xad\x2a\xc0\xf6\x48\x19\x39\xfe\x32\x9a\x63\x81\xb3\x8c\x64\x54\xe6\x4f\x16\x98\x78\x1a\x7b\x1f\x5d\xb9\x73\xf0\x3f\x16\xf9\xd8\x90\xa2\x1b\x88\xad\x45\xa2\x38\x12\x05\x0b\x71\x7e\xfc\xc6\x20\x57\xab\xa2\x80\x7b\x01\x4c\x3a\xc9\x0c\x0a\xdf\x4c\x30\x15\x8c\xc8\xd6\x32\x23\x24\x29\x04\x55\x8b\x91\xad\xda\xd2\xfd\xc0\xdd\xd8\x2f\x4f\xed\x87\xcb\x1d\xb6\x2e\x45\xda\xf5\xe7\xab\xc4\xcc\x89\x00\x08\x6a\x07\xa6\x1c\x54\xa6\xb1\x29\xf0\xc4\xe3\x58\x43\x28\x66\xed\xda\x6e\x0b\x21\xc6\x8f\xa3\x20\xab\x63\x94\x54\x89\x63\xd5\x61\x6d\x02\x61\x59\x36\xc9\x27\x86\x21\x79\x3e\x04\x5b\x1b\xba\x6d\x9a\xd6\x03\x0e\x3c\x9b\x60\x2c\x2c\x37\x26\xc8\xcb\xb6\x4a\x55\xcb\x38\x31\x63\x5c\x35\xd7\x2e\x58\x32\xd8\x5e\xf0\x55\x87\x11\x07\x9d\xec\x68\xd8\xfa\xa0\x0b\x51\xcc\x15\x1d\xd7\x71\x42\x76\x58\xd1\xa6\x97\x41\x46\xb2\xb3\xf1\x47\xdd\x9a\x32\x37\x11\x27\xb6\xb3\xd3\xf2\xbf\x05\xd5\x71\x70\x2b\x94\x4d\xb3\xb8\xc8\xf4\x65\x4e\x81\x0a\xcd\xf9\x01\xeb\xaf\xa6\xce\xd8\x36\xfb\xde\x45\x2f\x60\x28\x96\x63\x4c\x44\x47\x43\xd6\x93\xe8\x91\x20\x46\xcc\x12\x36\x95\xc1\xf1\x26\x65\xc0\x15\x1f\x13\xdd\x93\x0f\xb5\xd0\xc2\x03\x55\xd2\x43\xdb\x9b\x3e\x26\x38\x93\xe4\x40\x37\x0c\x15\x71\x14\x87\x18\x40\x8c\x1e\x05\x9e\xcf\x89\x18\x32\x1b\x51\x0e\xde\x0e\xce\x33\xd3\xfe\x5a\xd2\x4f\x9a\xca\xd8\xd0\x65\x54\x08\xfa\xf7\x48\xc5\x3e\x8c\xb2\x50\x92\x00\x8f\x03\xe2\xcf\x1c\x42\xf9\x32\x59\x67\x1f\xcd\x5c\x8f\x66\x6e\x5e\x9b\xd7\x18\xd1\xec\xcf\xd3\xba\x51\xcd\x6d\xdb\xbf\x0b\x29\x66\x87\xd1\xcd\x2f\x1c\x06\xfc\x34\x11\xc0\x2f\x1b\xb2\xfd\x14\xd1\xda\xfb\x98\xe6\xb7\x17\xd3\xdc\x7e\x6c\xd7\x8a\x6b\x5e\x01\x30\xe3\x7a\xd9\x36\x88\xd4\x83\x9e\x3c\x69\x20\xa9\x77\xdb\x07\x5f\x74\x0c\x26\x2d\x51\x59\xf6\x01\xa5\x4f\x14\x50\xda\xb0\xc4\xeb\x05\x95\x6e\xa4\xdf\x3f\x7f\xbc\x5b\xb5\x68\xe5\x53\xc6\xbc\xad\x08\xf3\x90\xc5\x78\xf4\xe4\x47\xaf\x71\xce\x5d\x4f\xe0\xcf\x9e\x28\x8c\x48\x24\x34\x9d\x8d\x49\x9a\x82\x0d\x59\x2b\xab\x90\x49\x58\xd2\x8e\xd3\x05\x34\xf3\xc5\x52\x13\x3b\xce\x38\x9b\x4a\x9a\x92\xa0\x4c\x6c\xa4\xa9\x40\x56\x23\xec\x6f\x96\x11\xe1\x4c\x90\x02\x7d\x23\x29\x4b\x48\x68\x96\x14\x28\xe5\x44\xb2\xf7\xca\x68\x06\x98\x2d\xd0\x3d\xe3\x8f\x19\x49\xa7\xb0\x43\xd5\xc1\x1c\x22\x4a\x0e\x10\x55\xfe\x33\x01\x69\x90\xbc\x50\x43\x3d\x76\x08\x2c\x31\x22\x20\xb1\xdf\x06\xc5\xb5\x7c\x33\x1f\x8e\x10\x1a\x30\x34\xc1\x89\x3a\x88\xcb\x7a\xa6\xdc\x54\x4b\x7a\x20\x2c\x9c\x78\xd9\xc8\x93\xc5\x3b\x36\xc6\x37\x56\xa8\xcd\x9d\x37\x4d\x00\xbd\x8c\xe2\xad\x42\x53\x1e\xf0\x36\xe0\x6d\x9f\x0b\x69\x7d\x98\x88\x33\x7f\x98\x2c\x42\x82\xc7\xab\x84\x9a\x31\x06\xfb\x71\x49\x41\x60\x5c\x99\xca\xba\x63\x29\xe3\x88\x6c\xa9\x1a\x6b\xe7\x85\x76\xcd\x72\xa7\xfc\x91\x49\x25\x08\xce\xad\x6d\x4d\x33\x6f\xf0\x41\x9b\x28\x22\x3d\x7a\x2a\xcc\xa5\xbd\xce\x16\x9f\x53\x76\xaf\x77\xb7\x44\xe8\x84\xd2\x5f\xd0\x73\xc3\xa6\x7d\x4f\x19\x8e\x82\xa8\x37\xd8\xb5\xac\x58\x2b\xaa\x2f\x30\x4b\x2c\xda\xc0\x51\x15\x5e\x85\x57\xba\x86\x26\x8e\x24\xd4\x3b\x43\x63\x28\xc7\xa9\x59\x9d\xb1\xe6\x61\xa4\x30\x58\xc3\x66\x24\x9b\x07\x25\x83\xe6\x58\x28\x5f\x73\xda\xe0\xf5\x69\xee\x90\x17\xcc\x24\x6b\x1b\x0d\xf1\xd1\xc2\xb2\x59\x43\x68\xd9\xf8\xd1\x90\x0d\xd4\x7b\x28\x62\xcf\xd9\x34\x5b\x20\x9c\x3e\x50\x59\xa2\xa5\x26\x9c\xc9\x22\x27\xa2\x52\x8a\xcf\x44\xc9\x20\xec\x68\x45\x8f\x4d\xcb\x6a\x0f\x38\xa3\xa9\x2b\x0d\xab\x7f\x1c\x93\x89\xbe\xf7\xe6\x58\x48\xe7\x52\x69\x70\x87\xd8\xcd\x4d\xf5\x5a\xbd\xd8\x99\xfc\x29\x3c\x76\x28\x2f\x4f\x28\xb6\xba\xcb\x71\xf5\x7c\x06\xa5\xa2\xdb\x22\x94\x6b\x93\x42\xcb\x2f\x26\xbb\x0a\x67\xab\xd0\x04\x1c\xa2\x4d\x61\xdc\xdf\xba\x1f\x27\x03\x99\xc1\xad\x65\xfe\xa9\x4c\xd0\x8e\xda\xd8\xd0\xc2\xb3\x49\x28\x5c\x0a\x52\x61\x45\x13\x57\xf6\x5a\xb8\xaa\xde\xe6\xeb\xf6\xad\xdd\xb6\x9e\xbb\x4c\x70\x56\xdf\xe1\x25\x16\x77\xf3\xfe\x72\xde\x67\x8f\x9b\x69\x7b\x69\xb4\x79\xc2\xb3\x6c\x1d\x2c\xd4\xca\xcc\x4f\xcb\xcf\x97\x8f\xa8\xec\x47\x6f\x80\xdb\x0b\x38\x35\xc6\x6f\x81\x33\x2b\x59\x48\x65\x77\x29\x7c\xc9\xf0\xd0\x85\xf5\x8b\x0c\x19\x9f\x00\x5a\x6e\xd6\xe6\xd1\x98\x0b\x9e\xd3\x75\x50\x8e\x8c\x91\xff\xda\x45\x20\xad\xf0\x3d\xbb\x38\x25\x28\xe9\x68\xc8\xcb\xf6\x08\xb1\xaa\x98\x19\x39\x63\xc9\x19\xca\x71\xad\x7c\x7f\xa7\x05\x5f\xa5\x25\xf7\x50\x6e\x4c\x14\x76\xf5\xa4\xa9\x1b\x7a\x4f\x16\x00\x82\x92\x3d\xe2\x45\x19\x93\xdf\x86\x5f\xc3\xd6\x22\x87\x3b\xfd\xfa\x80\x4d\xf8\x46\xd0\xb5\xf6\xf4\x61\x47\xb3\xc1\xf9\xf3\xf1\x60\x66\xf7\xcd\x9a\x76\x39\x8f\xa7\x4d\x44\xbd\xf6\xc9\x74\x2b\xf8\x94\x22\x7b\xc8\x44\x42\x69\x7d\x9d\xbb\x35\x3e\x5a\x41\x8b\x08\x86\xb3\x7c\xa9\x3e\x47\x74\xb8\xf3\x35\xaa\xb4\x83\x8c\x66\xe8\x02\x09\xae\x9a\x5b\x7d\x86\x35\xb3\x87\xa4\xd3\x62\x6d\x99\x34\xb4\x1e\x0e\x8f\xeb\xd1\xa3\xef\x34\x9f\xd0\x95\x20\x83\xeb\x68\x24\x13\x2d\x09\xd9\xfa\xb4\xde\x2b\x69\xc3\x33\x27\x34\x23\xf2\x08\x0d\x1a\xb4\x13\x17\x1c\x09\x32\x1a\x60\x14\x42\x98\x88\x93\x9e\x0a\x41\x83\x0a\x11\x4e\x46\x42\xd4\x56\x71\x2f\x6d\x1e\x82\xe8\x31\x27\xc6\xe7\xc2\x0d\xe8\x0e\x44\x66\x08\x6a\x8a\x18\x6b\x61\x55\x81\xf9\x4e\xf3\x02\x6a\x33\x2d\x53\x32\x27\x2c\xf5\x1f\x70\xe3\x2f\xc3\xb6\x08\x4e\x39\xaa\x96\x2d\xdd\x05\xf2\x75\xf7\xd8\x53\xd7\xeb\xad\xfe\xa2\xbe\x37\x8d\x23\xbc\x8d\x5b\x5f\x7b\x74\x5e\xca\x5f\xdf\x81\xf4\x11\x3e\x75\xd6\x2c\x8c\x26\x82\x80\xc1\x33\xf7\xc9\x5c\x2c\x25\x42\x2a\xce\xe1\xbe\xbb\x39\xfb\xf1\xf8\x6e\x80\x88\x4a\xa0\xc6\xe7\x90\x25\xf2\xe1\x40\x8b\xc7\x7f\x2b\x88\xd2\x3f\xb7\x04\x3b\xd3\x9c\x30\x09\x9c\x80\xaa\x5a\x1a\x69\xf3\x42\xba\x85\xd1\xff\x7b\x16\x7f\xbf\x84\xe4\x6b\xa1\xf3\x40\xbb\xbe\xd8\xb4\x26\x53\x80\xd4\x34\x4b\x2b\x1b\x28\xc6\xb8\x6f\xfb\x4d\x65\x35\x36\x08\x95\x63\x7f\x2d\xd8\x9a\x42\xd7\x69\xf9\x51\x30\x8a\x16\x99\x2e\x9f\x63\xc0\x9c\x5a\x2f\x06\xcf\x7c\xd3\xd8\xfa\x2a\x26\x52\xa6\x24\x58\x47\x37\x2a\x2b\x90\x20\x25\x08\x01\x16\xe2\xe9\xc9\xde\xf5\x36\x05\xcc\x4f\x2c\xf8\xe8\x68\xc8\x3e\x3b\x03\x6c\xf9\xab\xaf\x87\x6d\xe2\x3a\x3d\x14\x57\xdc\x0a\x34\x9b\x52\xe9\x7f\x00\x40\x55\x59\x64\xca\x40\xe3\x4f\x28\xc3\x99\x1f\xa8\x79\xd2\xc4\x25\x04\x66\xc9\xec\x82\x6f\x57\x27\x9f\x4e\x46\x24\x5b\x47\x12\x1d\x4c\xfa\x99\xd4\xf4\x9d\xdc\xb7\x9c\xce\x4d\x8a\x3f\x94\x93\x01\x39\xd0\xc1\x83\x1b\x1d\xc7\x58\xfd\x32\x03\xb4\x4f\x10\x98\xec\xaa\x91\x93\x26\x39\x4a\xef\xa2\x95\xd4\x8d\xc5\xce\x84\x2c\xf9\x70\x04\xe8\x05\x61\x35\x64\xa2\x60\x00\xf6\xe8\x0d\xf8\x18\x49\x22\xa8\xb1\xa4\x27\x9c\x19\x19\xc0\x9a\x62\xa6\x9a\x4d\x68\xc9\x0f\xbc\x38\x9c\x81\x7e\xc6\x0b\x09\xd1\x4f\x39\x51\xfa\x82\xfa\x06\x0a\xca\x18\x17\xca\x01\x9a\x0b\x9a\x53\x45\x1f\x88\xfc\xd0\xb0\x75\xa7\x58\xe1\x8c\x4f\x7b\x42\xd1\x09\x4e\xd4\x2d\xde\x4a\x03\xc7\xb6\x99\x4d\xdd\xf1\x6e\x18\x68\x70\xa6\x17\x7f\x4a\x18\x11\x30\x51\x28\xd3\xdd\x78\x84\xd7\x2d\xe0\x5d\x72\x6e\x80\xb7\x4f\x0c\x20\xb8\xf4\x16\x0b\x5c\x28\x9e\x6b\xfd\x16\x67\xd9\x02\x80\xbe\xf5\x93\x19\x96\x33\xb7\xd1\x06\x1d\xbc\xcb\xdd\x64\x17\xf7\x14\x27\x33\x72\xa3\xb0\x2a\x1a\x4d\x8e\x95\x51\xbe\x23\xac\xc8\xdf\x9d\xa0\xff\x2e\xe7\x78\xda\x3b\xfd\xa1\x3f\x3a\x1b\xdc\xf4\xbe\x3f\xef\x9f\x05\xf3\xb1\x4f\x3e\x0f\x6e\x6e\xea\xbf\xfe\x30\xb8\xad\xff\x78\x75\x79\x75\x77\xde\xbb\x6d\x6a\xe5\xfc\xf2\xf2\xc7\xbb\xab\xd1\xc7\xde\xe0\xfc\xee\xba\xdf\xf0\xe9\xdd\xad\x7f\x68\x9f\xfd\x4f\x70\x88\x20\x7a\x04\xa2\x8b\x9a\x47\x5b\x3d\x67\x87\x28\x7e\xf1\x04\xdd\x55\x91\x06\x6d\x08\x86\x49\xd5\x7a\xc4\x52\xb3\x2a\x3c\xce\x48\x3a\x64\xc8\x7d\xae\xe7\xde\xf6\xa9\x71\x52\x25\x33\x82\x32\xce\xef\x8b\xb9\xe5\x60\x26\xde\x9b\x71\x63\xdf\x21\x32\x68\xed\x87\xc1\xed\x49\x1d\xf1\xd0\x37\x16\x64\x64\x3b\x52\x87\x71\x61\xc7\x35\xc1\x64\x32\x17\xe4\x01\xce\xa4\xf7\x55\x06\x3d\xf8\x0d\x58\xd6\x8f\x69\x0d\x33\x55\xe9\x26\x4d\x6d\x91\x20\x37\xb1\xa0\xe1\x78\xfb\x96\xad\xa6\x5f\x0e\x03\xf1\x8c\xc6\x24\xc1\x85\x71\xe5\xe9\xeb\x48\x08\x2e\xc2\x01\x97\xdb\xbe\x65\xa3\xef\xea\x52\x46\x5c\x0c\x46\xc2\x19\xd1\x9f\x04\x27\x47\x6b\xdf\xa0\x99\x3b\x78\xd1\x99\x85\x81\xa6\xd2\x78\x1b\x4a\xff\x0b\x20\x67\x69\xce\xed\x61\x20\x29\xf8\x06\xb1\x42\x8f\x04\x82\xfe\x0b\x8b\xaf\x6c\x34\x64\x7d\x02\xa1\x3b\x63\xd5\x76\xa0\xfe\x51\x32\x40\x2b\xcb\xdc\x85\x58\xac\xbf\x97\xa4\x89\x5d\x6e\x11\xb9\x7d\x66\x1a\x05\x1e\xea\x1c\xb5\x30\xe2\x16\xff\x81\xe3\xd9\x0d\x76\xec\x25\x52\x50\xfd\xde\x58\xc1\xd2\x35\x73\xed\x32\x1e\x97\xad\x16\x21\x8a\xad\x07\xdf\xe1\x83\x0c\x56\xae\xd5\x2d\x4f\xf1\x42\x13\x07\x44\x48\xc8\x62\x3e\xe7\x42\xa1\x96\x36\x4c\xb4\x9f\x19\x1f\xdc\x0c\x76\x1e\x9e\x45\x41\x23\x5a\x0e\x90\x0d\xa0\x9f\xdd\x12\x78\xec\xba\x96\xe7\x3e\x44\x02\x00\x75\xcd\xa3\x03\xe7\x91\xe2\x1b\x51\x68\x93\x88\xba\x4d\x5c\xd4\x5c\x5f\xc3\x5d\xc1\xea\x9b\x7a\xbf\x74\x2d\x34\x6e\x79\x46\x26\x6a\xd4\xe8\x9b\x59\x62\x86\xd4\x2d\xb2\xb6\x9c\x47\x3a\x9d\xed\xa0\xc5\xee\xb2\xfc\x1f\xac\xef\x4c\x0b\xf0\x81\x1e\x2f\x38\x57\x46\x8a\x2c\x35\x0d\xe4\x56\x13\x8c\x00\xb6\x53\x53\x5d\xa7\x14\xd5\xb4\x64\x7e\xcf\xf8\x23\xf3\xf6\x77\x79\x34\x64\x7d\x0c\x25\x9f\xbc\xba\x60\xc3\x1f\x8c\xac\xbe\x52\x4a\x8f\x2a\xc8\x3c\x6b\x88\x41\x3b\xa4\x4e\x49\xf7\xb6\x3c\x5e\xb6\x40\x65\x95\xa0\xe8\xbb\x2e\xa7\xc7\xd8\xa6\x9d\xa0\x66\x26\x6c\xeb\x5b\x28\x32\xb7\xf6\x73\x33\xcf\x32\xbb\x05\x5c\xb0\xba\xab\x23\xf4\xb3\xb3\xcf\x40\xb4\x46\x59\xdd\x4a\x99\x1b\x27\xc3\x0b\x87\x19\xd2\xb4\xb0\xbb\x80\xe1\xd8\x75\xfc\xc6\xf2\x05\xf6\x29\xc7\x0d\xab\x1c\xa9\xc9\x8c\x19\xbb\xe9\x1a\xc1\x6a\xa7\xfe\xa3\x1b\xb2\x3c\x9a\xf5\x23\x14\xab\x30\x78\xcd\x70\x43\x6b\x3e\xfa\xbf\xcc\x66\x99\x58\x69\x07\x43\x6d\x8b\x07\x58\x3f\xa7\x3e\x3f\xe0\xa7\x33\xa1\xd4\x68\x42\xb3\x0c\xe4\x80\x23\xd4\x83\x5a\x4f\x50\xc5\x47\x5f\x85\x2e\x26\x88\x4e\x19\x5f\x15\x86\xd0\x42\x4c\x49\x40\x4c\x37\xed\xc4\x24\x81\x9a\xca\x4c\x93\xdd\x50\xd4\x0e\xb2\x0e\x35\x6f\xc1\x75\x08\xb2\xee\xb9\x86\x6b\xa8\xd8\x2f\x11\xd2\x53\x1b\x6e\xf0\xe1\x3f\x9b\x87\xfe\xa9\xc0\x02\x33\x05\x81\x2a\x56\xf2\x16\x24\x08\x98\x24\x5f\x20\x14\x8c\x19\x73\x2d\xfc\x14\x6e\xae\x73\xcc\x4f\xe9\x03\x61\x88\xa6\x07\x88\x1e\x91\xa3\x03\x5b\xb0\x55\x16\xe3\xf2\xcd\x99\x96\x1c\x86\xac\x96\x41\x77\x84\x7a\x99\xe4\xf6\x0b\xc2\x92\x0c\x6a\xab\x05\x31\x35\x9e\xf2\xad\xf3\x67\xbc\x00\xfd\x02\xb6\xb2\x6c\x9e\xdb\x07\xc1\x87\x43\x86\xa5\xf1\x5c\x67\x70\xd2\xcb\xdf\x9b\xea\x27\x46\xd1\x0c\x4f\x88\x9f\x59\xbb\x86\x9e\x6c\x93\x0c\xb0\xfe\xb2\x0d\x82\x37\x60\x63\xca\xcc\xc6\x20\x47\x10\x7d\x83\x15\xca\x08\x96\x0a\x7d\xf7\x61\xad\x08\x0e\x37\xc1\x92\xbb\xda\xe3\x5b\x86\xb7\xba\xf8\xb8\xb6\x22\xb0\x50\xf8\xc4\x56\xad\xf7\x02\xe4\x81\xde\x67\xc5\xd1\x03\x95\x05\x94\xab\x0b\x22\xf2\x4d\xc1\x31\x93\x3b\x02\x21\x86\x46\x65\x6a\xe1\x23\x0e\x0d\xcb\x3a\x39\xed\xb0\x1a\x28\xcb\x2a\x4f\xd4\xa8\x67\x90\x34\x5e\x46\xaa\xcd\xb0\x1a\x32\xcb\x59\x5d\x70\x47\x50\x5a\xa8\x97\x65\x71\x74\x18\x86\x00\x48\xa6\x27\x0c\xc5\xf6\x8e\xfc\x02\x5d\x80\xfa\xe5\x03\x8a\xe2\xc2\xbb\xfe\xb0\x68\x4d\x6d\xc8\x7c\x46\x6e\xd8\x76\xa3\xb4\xd3\x64\x05\x7e\x46\x21\xb8\xa1\xfb\x73\x53\xf5\xb0\x83\x30\xdc\x5e\x95\x7a\x89\xd7\xa4\x66\x79\x5f\x22\x1b\xef\xba\x83\xee\xa2\x72\xb3\x15\x1b\xae\xd9\x47\xde\x60\x14\x6f\xd9\xdc\x40\xb6\xd8\x46\x01\xf7\x91\x6d\xcf\xe5\x97\x8d\x86\x3e\x48\x21\x52\x7d\x35\x17\x2c\x23\xbf\x1d\xeb\x00\x73\x34\x4d\x83\x40\xd4\x20\x4a\x0f\x02\x95\x1d\xe3\xb3\x6f\xb6\xf8\x47\xe7\x6f\x7b\xfa\x07\xe5\xfc\xdd\x54\x7c\xa8\x5a\x7d\xe2\xed\xc2\x5e\x2f\xfd\x2b\x4e\x08\x4b\x16\xa6\x27\x97\x59\x58\x4f\x19\x76\x40\x6b\x18\x4c\xee\x8d\xe2\xa1\x2d\x60\x7a\x84\xfa\x70\xd1\xb8\x7a\xa6\x78\xe2\xdc\x06\xc1\xcb\x43\xa6\x35\x13\x97\x61\x18\xb4\x1f\x93\x78\xd3\x09\x30\x70\x05\x5b\x79\x5c\xf2\xd5\xa0\xb0\x6d\xda\x84\x43\x4b\x80\x36\x00\xf5\x12\xf5\xa7\x27\x28\xe5\xc9\x3d\x11\xc7\x82\xa4\x54\x9e\x80\x07\x5c\xb5\xba\xde\x72\xad\x6d\x6f\x2d\x69\x74\xad\x2d\x5e\xaf\x04\x9a\x43\x91\x4e\x08\x51\x76\xe5\x77\x0e\x10\x9d\x80\x3a\xe1\xb2\x15\x4c\x0a\x83\x4b\xc8\x24\x4c\x89\xc5\x9c\x53\xa6\xbc\x29\xab\xb2\x10\x4e\xd3\xd0\x42\x5b\x5b\xc0\xae\xd8\x45\xa4\xcc\x86\xd3\xbe\x9d\x11\x49\x5c\x58\x80\x99\x94\xe2\xc8\xf8\x42\x0c\xbb\x98\x63\x35\x93\x90\x6f\x11\xaf\x81\x55\xba\xe0\x53\xbd\x42\x78\x0e\x51\x05\xc6\x4a\x51\x7e\xe4\xb3\x02\xa4\xa2\x59\x36\x64\x8c\x90\x54\x22\x48\x8d\x78\xdf\x98\xd7\xa3\x3f\x3d\x40\x38\x4d\xd1\xff\xfe\xe6\xe3\xf9\x2f\xb7\xfd\xd1\xe0\x02\x6c\xce\x83\xf3\xfe\x87\x03\xff\xe3\xe5\xdd\xad\xff\xd5\x58\x58\x1e\x88\x40\x39\xbe\x07\x15\x8f\x49\x23\xff\x41\xec\x7c\x38\x52\x97\xf1\xa4\x9f\x48\xe2\xe2\x51\xad\x98\xe2\x41\x3e\xec\x1e\xb6\x56\xd7\x32\x36\xbf\x35\x94\xdf\x6b\xff\xc9\x72\x1a\x74\xc4\xe3\xbb\x70\x62\x60\x4e\x98\xd2\x3c\xc6\x5a\xfb\x4a\xdd\xb7\x24\x38\xc2\xa6\x94\xb5\x45\xcd\x11\xf6\xf0\x94\x42\xfc\x8f\x64\xf1\x93\x56\xaf\xaf\x30\x15\x9d\x69\xaf\xcf\x1e\xa8\xe0\x0c\xa6\xe6\xcd\x5a\xfe\xc4\x68\x3d\x1d\xcb\xea\xa1\x92\x46\x16\x86\x48\x8a\x79\x6b\x64\x66\x13\x54\xc1\x8b\x4f\xd7\x26\xa9\x93\x2f\x4a\xb8\xdc\x3a\x9f\x67\xff\x80\x69\x06\x51\xb5\xee\xa2\x29\x69\x70\xc8\x6e\x2f\xcf\x2e\x4f\x10\xc9\xf0\x98\x0b\xc8\xb5\x31\x81\x3b\xae\x09\xbb\x60\x50\xd7\xda\x37\x14\xe5\x55\x1e\xa0\x79\x99\x57\x19\x1a\xd1\x8e\x4c\x1b\xab\xca\x5e\x72\x51\xcf\x4a\xdc\xad\x0a\x68\x27\x7b\xc5\x45\x97\xeb\x5f\xbf\x06\x4b\xc7\xe7\x5a\x91\xab\x70\x5e\x7b\x37\x4f\x08\x36\x15\xe7\x8c\x5b\xc8\xda\xf2\x6d\x98\x69\x96\x45\x05\x2c\xf4\xc1\x91\x47\xd6\x51\x5e\xbe\xc9\x19\xfa\xf1\xcf\x12\x8d\x0b\x35\x64\x71\x1b\x9c\xa1\xde\xcf\x37\xe8\x7b\xac\x92\xd9\x87\x21\xbb\xd4\x6a\xe6\x8f\x7f\x6e\x49\x00\x5f\x1b\x3f\x43\xaf\xc9\x19\x56\xf8\x9c\xe3\x94\xb2\x69\x13\x78\x46\x09\x2f\xdc\xbf\xed\x9d\xa0\x4b\xab\xc3\xfb\x9c\xcd\x12\xf0\x26\x68\x08\x18\x32\x4c\xc4\x71\x11\x60\xe5\x2c\x06\x18\x30\x9a\x19\x5c\x58\x43\x76\x6b\x50\x43\x34\x57\xa5\x0a\xcd\xb9\x85\xb8\xd6\x5a\x99\xc1\x53\x31\xa6\x6c\x6b\x49\xd4\xab\x03\x64\xec\x37\xc3\xca\x63\x20\xcf\xd4\x99\xfd\x90\x81\x82\xee\xf3\xe8\x32\x9e\xe0\x0c\x22\xe7\x0e\x03\x9b\x9e\x56\xdb\x79\x01\x49\x4d\x10\xb2\xc2\x16\x71\x80\xab\xcf\xb3\xf3\x42\x59\xb8\x51\x60\x00\x80\x7d\xb4\xce\xd4\x9c\x6b\x8e\x73\x34\x64\x83\x89\x09\xac\xcb\xcc\xea\xe8\x0f\x09\x03\x7f\xb2\x5b\x16\xfd\xd4\xf1\x23\xa8\xc4\x69\xdc\x8a\x38\x01\xf3\x3d\x5b\x40\x90\x35\xc0\xe2\x72\x08\xd0\x28\xb9\xb3\x25\xca\xda\x2e\xfa\x3b\x31\xf8\x6c\xc8\x4c\x3c\x5f\xb4\x2f\x61\xce\x71\xd0\x3b\x67\x10\x6e\x58\x5e\x97\x5e\xc0\x98\xdb\xf0\x43\x2b\xeb\xcf\x05\x39\x74\x35\xf1\xf5\xaf\xc1\x9a\xea\x1b\xf6\x08\x5d\x87\xea\x75\xca\x93\x22\x77\xd8\x5f\x90\xfc\x65\xe3\xd4\xec\x25\xea\x29\xc4\x5c\xec\xab\x28\x1e\x8b\x64\x46\x15\x81\x0c\xad\xce\xfa\xb1\x21\x98\x5e\xf8\x69\x5d\x52\x6f\x17\x7c\x81\x77\x6c\x17\x5b\x66\x1a\x1a\xcd\xe3\x96\xa2\xd6\x56\x43\x17\xad\xc0\x91\xbf\x28\xf1\x89\xb8\x00\x61\x8b\x7c\x99\x73\x30\x72\x9b\x04\x40\x9e\xbe\x97\x68\x70\xa5\x25\x20\xad\xf1\xfa\x33\x58\x48\x65\x42\xc0\x20\xa9\xc6\x7c\x6d\x82\xfa\x0f\xd0\xb7\xa6\x44\x62\x82\xbe\xb8\x3f\xfe\xf4\xef\xff\xfe\xc7\x3f\xad\x93\xf4\xe1\x14\x72\x68\xb7\x5c\x23\x8f\x36\x1e\x8b\x44\xe1\x0e\xd4\x39\xd5\x16\xbb\x60\x0f\xe0\x2e\xb1\x62\x82\x08\x1f\x3c\xb5\x27\x5c\x86\x27\x13\x45\x47\xb3\x8c\x24\x90\x44\x1d\xc4\x1c\xc2\x0b\xbb\x56\xa2\xff\x5f\x4b\x20\x16\x46\xfa\xa8\x6c\x16\x89\x44\x33\x2f\x5e\xeb\x46\xd0\x37\xd6\xfe\xa7\xc0\x81\xf8\xc1\x5d\x70\x3c\x4b\x89\xb0\xe5\x55\x9d\xc9\xce\x1b\x12\x81\x39\x90\x2f\xf3\x8c\xa7\x0e\xc0\x47\x92\x39\x06\x01\x42\x33\x83\xa3\x21\xeb\xbb\x6a\x9b\xb6\xd6\x37\x7c\x64\x3c\x2f\x13\x9c\x18\xdc\x1a\x89\xbe\xf9\x72\xa2\x7f\x3b\x40\x8b\x13\x08\xf5\x3c\x40\x7f\x3f\xb1\x29\xde\x58\xa8\x91\xfe\xe9\x83\x93\xb5\x6d\x13\x30\x68\x2a\xd1\xfb\xe3\x07\x2c\x4c\x91\xae\x63\x33\xa2\xf7\x96\xb3\xfa\xb2\x09\xa1\x6c\x9e\x71\x7e\x6f\xc3\x60\x6b\x1f\x1e\x3b\xb8\x08\x20\x6f\xef\x37\x31\x5b\x6f\x23\x9a\xb5\x1c\x79\x68\x6b\x85\x1e\xcd\xc7\xe8\xe8\xaf\x92\x33\x74\xb4\xc0\x79\x66\x7f\x75\x4f\x6d\x94\x2e\x96\xc8\x55\x8b\x75\x31\x3a\xd9\xc2\x58\x4a\xbf\xcf\xf8\x18\x66\xf5\xd9\xcd\xd4\xc4\xb9\xc2\x40\xcb\xdb\xa7\xbc\xb0\xec\x44\xac\x24\x65\x92\xde\xa1\x12\xbd\x7e\x05\x78\x5c\xd3\xac\xbe\xf8\x21\xfd\x97\xf1\x0b\xc3\xa2\xb8\x54\x3b\x63\x1c\xf6\x31\x66\xba\xd1\x2f\xe8\x1b\xcb\x82\x3e\xe8\x3b\xc6\x06\x15\x9b\x65\x68\xea\x60\xe1\x3b\xf8\x25\xe8\x80\x32\x64\x92\x27\x97\x7c\xf9\xf7\xe3\xa3\xa3\x23\xff\xf5\x85\x9e\xca\xff\x8b\xa8\x92\x24\x9b\x98\x96\xdc\x0d\xb6\x18\xb2\xcf\x0e\x1a\xd4\x19\xaf\x4b\x20\x1a\xa8\xf2\x9a\xf0\x0c\x1d\x96\x06\xdd\x94\x27\x12\xfd\x4e\x8b\xb5\xc1\x52\xc2\x8f\x5a\x8f\x6b\x3e\x53\x16\x8b\xec\x99\x0e\x95\x35\x88\x57\x8f\x55\x88\x3d\xe1\x15\x5b\x2c\x43\x9c\x59\xa0\x05\x4d\x39\xc7\x16\x9f\x02\x6a\xef\x03\x56\x9b\x7e\xd4\x02\xff\xd1\x18\x70\xde\x7c\x53\xd6\xd8\x6d\x89\x02\x62\xc8\xba\x65\x01\x2c\x48\x83\xe5\x0c\x66\x9e\x07\xa1\xfb\x44\x5f\x2e\x2c\x04\xab\x94\x45\x9e\x63\xb1\x38\x2e\x4f\x5b\x9d\x38\x4b\xe4\x69\xe0\x31\x99\x5b\x00\x70\xe1\x66\xf6\x68\xd9\x28\x06\x2b\x5e\xba\x1b\xcd\x9f\xdd\x04\x4a\x5d\x40\x3c\x9d\x29\xf4\x42\x58\xc2\x53\x4b\xd7\x65\x8e\x68\x2c\xb1\xf8\x77\xea\xb2\x8a\x8b\x88\x91\xa5\x31\x8e\x29\x93\x38\x6e\xdf\x70\x1f\xb7\xb0\x6f\x3e\x82\x32\x44\x64\xba\x86\x7b\x74\x70\x79\xe3\xbe\xe9\x7e\xe9\xc2\x3a\xc4\x22\x3b\x76\x5a\xa2\xb3\x48\x08\xfc\x58\x5e\xbf\x10\xdb\x61\xac\x33\x85\xcf\xa0\x35\xff\x3e\xe5\x57\x34\xd3\xb7\x16\xd0\xf8\xd1\x90\x45\x3f\x1f\x20\x92\xd1\x9c\x32\x1f\x5b\x67\x98\x3b\x9f\x18\xe9\xf9\x9e\x2a\xbd\x65\x32\xbd\xd7\x1c\xcc\x81\x11\x04\x2a\x55\x8f\x2d\x1c\xe9\x78\xc7\x94\xb5\x40\x14\x52\x8f\xab\xd4\xd1\xb5\x30\xab\x9b\x38\xb4\x02\x29\x0d\x08\x0f\xce\xef\x90\xe9\xd6\xdc\x59\x2a\x83\x7a\x83\xf6\x82\xe6\x0e\x1d\x64\x63\xc0\x01\xa0\x8f\x28\x32\xd7\xcb\xbf\x0d\x02\x4a\x9f\x15\xf9\xb6\x29\x21\x36\xc8\xf7\xa5\xcc\x74\x57\x65\x5d\x73\x9b\x5e\x44\x58\x91\xbb\x03\xb5\x06\xc5\xf5\xad\xf8\x93\x92\x24\xc3\x70\x77\x40\x43\x10\xf9\x78\x60\x1c\xa4\x41\x0d\x75\x7b\xbd\x98\x6e\x0c\x0a\x74\x46\xd8\x37\xe6\xdf\x1f\x7c\x5d\xee\x03\x7b\x9f\x0b\xe9\x30\xea\xec\x9e\x43\x15\x11\x92\x1a\x1b\x3a\x60\xa9\x4d\xb1\x48\x8d\xb5\x3c\xd4\x2a\x4c\x9e\xad\x96\xbf\x16\xbc\x40\x8f\x54\xce\x86\xec\x96\x3b\x83\x23\x62\xdc\xa3\xd1\x1d\x80\x32\x5a\xeb\x0f\x4b\x60\x02\x30\xea\x26\x0a\x80\x70\xd3\x6d\x32\x82\x20\x88\x75\xc4\x78\x4a\xd6\x8c\x65\x6f\x28\xa9\x6e\xfd\x10\xce\x7f\x2d\x88\xc9\xda\x82\x9b\xa2\xb5\x24\x3d\x14\x1c\xdf\xa2\x63\x58\x02\x57\xb8\x1c\x2a\x46\x3d\xb2\x4d\xe1\x37\xfc\xad\x06\xad\x38\x8d\x33\xc8\xd9\x8d\xd6\xde\x63\xbc\x6d\xbb\x09\x49\x9c\x50\xb2\x72\x05\xfc\xd5\x67\xe6\x9e\xc0\xb2\xfb\x00\x63\x8c\xa6\x82\x17\x73\x9f\xd8\xee\x92\xf2\xcc\x36\x58\x99\x66\xc0\x26\xfc\xc4\xea\x54\xe7\x94\xdd\x1b\x8a\x7f\xaa\x3d\x32\x30\x7e\x24\x45\xc1\xef\xee\x0e\x33\x2b\x7e\x88\x28\x4b\xb2\x02\x2e\x3e\xa9\x70\x72\x6f\xa0\x08\xdb\x8c\xbe\xfa\x9b\xd1\xea\x94\xc7\x16\x89\xa9\xc8\x32\xdb\x6d\x79\x81\x96\x55\xce\x1e\x28\x46\x18\xdd\x5d\x0f\x9a\xfb\xbe\xa7\x75\x67\x4e\xf3\xed\x19\x13\x08\xfc\xe7\x47\xba\x56\xdc\x65\x05\xf4\x99\x44\xa4\xee\x8d\x4b\x6d\x48\x61\x95\xdb\x7b\x4b\xef\xb1\xbe\x85\x46\x79\x03\xa5\x36\x4f\xbe\xec\xf8\xcc\x7e\xfc\x59\x7f\xdb\xbc\x23\x9f\x21\xe5\xc8\xa3\x3c\xe4\x98\xe9\x09\xba\x5e\x5b\x6c\x31\xe6\x62\xdc\x68\x48\x77\xf3\x8d\x06\x64\x7a\xec\x58\xa0\xc0\x76\xe5\x5a\x79\x34\xe6\x48\x9c\x19\x75\x5b\xcd\x40\x13\x2b\x81\x7d\xf5\xc6\xc6\x1a\x99\x01\x01\xce\xb0\x98\x1a\x39\x51\x12\x25\x3f\x34\xec\x70\x19\xfa\xbd\xc5\x0e\x6f\x50\x3c\x25\x74\xff\x80\x14\xb2\x8c\x03\xf8\x51\xc6\x30\x46\x9e\x39\xf9\x32\x44\xf6\xee\xa0\x32\xc4\x5f\x4f\xb8\x10\x00\xb7\x97\x6a\x69\xbc\x1d\xe0\x61\xcb\x22\x5a\x17\x38\xf7\xe9\xcb\xae\x94\x8f\xcd\x52\x31\x83\x1b\x13\xc0\xb4\x6a\x1f\xc3\xd6\xd5\xb2\xc2\x21\xd8\xea\x15\x6d\x23\x18\xb2\x9e\x7b\xc5\xa7\x40\x82\x88\x2b\x8c\x1c\x02\x61\x72\x26\x28\x14\xc4\x4c\x5c\xae\xba\x9d\x5c\xcb\x24\xd6\xcd\x34\xab\x16\xfc\xd2\x62\xae\x07\xc1\xb3\xd0\xbe\x56\xdf\x59\x01\xab\xfc\xb0\x7e\x3d\xc4\x66\x14\x89\xa4\x5a\xaf\xae\xa9\xe3\xd5\x22\xa5\x4b\x6f\xb7\x0d\x85\x25\xf2\x4c\x28\x5d\xb6\x28\xc9\x54\xaf\xb8\x51\x4d\x2a\x9d\xd5\x4f\xab\xda\x8a\x1b\x53\x9c\x8f\x04\x6f\xc7\x9d\xee\xb0\x4c\xae\x89\x48\xcd\x9d\x19\x6c\xd2\x05\xfa\x5b\x81\x33\x63\xed\x67\x96\x1c\xdd\xb0\x41\x62\xf8\xc3\x9f\x50\x0f\xae\x4b\xf4\x19\xf8\x22\xf8\x39\xa1\x35\xc5\x11\xcd\xe7\x44\x48\xae\xf5\xb1\x96\x4d\xbe\xff\xb3\x1c\x59\x60\xe1\x11\x4e\x12\x5e\xd4\x41\x84\xd7\x98\x49\x43\x6b\xe1\xa4\x30\xba\x2f\xc6\x44\x30\x62\x40\xe6\xe1\x3d\xe4\xde\xeb\x34\x5c\x8e\x0b\x35\xfb\xc3\x28\xc9\x68\x67\xb4\x63\x48\xb2\xe8\xe9\xcf\x4e\xcd\x57\xcb\x26\x10\xb5\x1f\x0d\x9d\x21\xf3\x0c\x99\x67\x47\xe8\x7b\x9c\xdc\x13\x96\xa2\x79\x56\x4c\xa9\xcd\x7c\x86\x1b\x0a\xd8\x65\x60\xa5\x8a\x27\x66\x54\x5e\xd3\xbe\xbe\x86\x86\x2c\xc7\xf7\xa0\x21\x7d\xb1\xb1\xe8\x5a\xd3\x5c\x4b\xdb\xf2\xf4\x50\x83\x80\x70\x69\xba\x1e\xd0\xdf\x9c\x0f\x65\xce\x07\xd8\x95\x00\x54\xad\x60\x08\x03\x8a\xc4\x7b\x89\x8a\xb9\x33\x7e\x80\xc1\x23\x03\xf7\x93\x99\x24\x54\x6a\xa4\x5a\x1c\x9c\x91\x21\x83\x90\x3e\xd7\xe2\xc2\x73\x95\xd0\xe3\xe9\x3d\xef\x4d\x87\x6f\x62\x72\xa8\xb7\x73\xa6\x18\x33\xd2\xce\xc3\x15\xd5\x8c\x30\xd0\xc3\xba\xb7\x0c\x89\xe8\xdd\x37\x2d\x0a\x4d\x34\xb3\x28\x0d\x47\x7e\x09\x0b\x46\x2d\xbe\xb6\xb5\x15\x06\x51\x43\xce\xa0\x5e\x7e\x4f\x25\x92\x58\x51\x39\xa1\x8d\xfa\x69\x98\xb9\xbe\xcd\xaa\xe3\xf5\xd2\xe5\x1b\x52\xe5\x2b\x6b\xe1\xc3\x9f\x8f\xd0\x47\x50\xb7\xcb\x29\x29\xee\x13\xcf\xdb\x58\x82\x9a\x91\x56\x04\xb6\x5d\xc4\x0d\xb8\x19\x74\xb5\xa2\xf8\x50\xf7\x23\xd4\x2b\xcd\x9c\x26\xf5\xde\x18\x30\x57\xcc\x88\x64\x92\x6c\x42\x7c\x9d\x2c\x02\xe0\x0a\x04\x02\x42\x20\xab\x48\xfd\x7b\x89\x06\xe9\x87\xf9\x08\xd9\x64\xf8\x9e\xb0\x65\x6a\x5f\xf7\x11\xf6\xa3\x5c\xdc\xa6\x21\xf6\xbc\xc2\xcf\x8d\xce\xbf\xc9\x00\xbb\x1f\xbb\x12\xed\x80\x4e\x8e\xf5\x92\x6b\x41\x3f\xb9\xb7\x31\xec\xc6\xec\x63\xf1\x12\x1e\x67\x5c\x86\xe7\xcc\xed\x1f\x6c\xa6\x12\x05\x71\xb1\xea\x90\x03\xe0\x17\xd8\x38\xff\x19\x0f\xe1\x14\x60\xd4\xfe\x90\x1a\x93\x96\xdf\x6f\xe4\x58\x28\x2c\x03\x98\xcb\x5d\x53\xf5\xd3\xfc\xe3\x9f\xe5\x25\x9c\xd8\x5d\xa4\x04\x37\x57\x28\xd9\x3e\x1c\x77\x43\x43\xa4\x0f\x34\x29\xcb\x9b\xe0\xd4\xe7\xa0\xcf\x79\x8a\x4a\xf2\x5a\xbf\x96\xc9\xcb\x4f\xab\x52\x03\xa5\xd3\xdc\x56\x51\xf6\xe7\xc0\x5b\x69\xea\x8f\x1b\xe4\x95\x40\xe4\xb2\x69\x63\xa0\xfd\xda\xeb\x9f\x4a\x7f\x9f\x34\xd3\xd8\x15\x4f\xb7\x21\xac\xf5\xd1\xb5\xea\x74\xdd\x21\x98\x51\x36\x95\x3f\x5b\xb2\x12\x73\xde\x1e\x86\x96\x8e\xba\x17\x0c\x03\xbf\xe3\xb8\x98\xdc\x00\x52\x70\x5b\x6a\xbc\x03\x35\x9a\x11\x9f\xeb\xa2\xf7\x59\x77\xe3\x23\xaf\xdb\x36\xc5\xba\xb1\xca\xeb\x1f\xa3\xff\x7b\x73\x79\x71\x98\x63\x21\x67\x18\x52\x0f\x5d\x5b\x07\x0e\xcf\xde\x28\xa0\xce\xbc\x4e\x19\x1a\xb2\x43\x34\xe5\x07\xc6\x9b\x73\x82\x66\x4a\xcd\xe5\xc9\xf1\xf1\x94\xaa\x59\x31\x3e\x4a\x78\x7e\x5c\xae\xcd\x31\x9e\xd3\xe3\x71\xc6\xc7\xc7\x82\x40\x3c\xdf\xe1\x77\x47\x7f\xf8\x0e\xb6\xe6\xf8\xe1\xbb\x63\xb0\xe1\x1f\x4d\xf9\xef\xce\xff\xf0\x1f\x7f\xfc\x93\x6e\x78\xbe\x50\x33\xce\x4e\xac\xab\x68\x69\xdb\x87\x46\xf0\x3d\x36\x9f\x54\x7a\xf9\x8f\xa3\x6f\xc3\x61\xd8\x57\x73\x9e\x92\x4c\x1e\x3f\x7c\x37\x72\x3b\x73\x34\x5f\xc7\xf9\x55\x32\x7c\xbf\xe4\x95\x6a\x79\xfa\x77\x4f\x32\x2e\xf3\x68\xd5\xb6\x34\x9c\x95\x30\x5a\x73\x8b\x13\x73\x4f\x6a\xfe\xc0\x35\x34\x30\x2f\x49\xb5\xe8\xf4\xeb\x42\x11\xb7\xca\x36\x6b\x25\xa7\x81\xf7\x8d\x26\x00\x73\x69\x6c\x10\x73\x4c\x9b\xa2\x7c\xac\x97\x79\x9b\xf5\x7b\x4a\xc0\xd6\x5d\x23\xb5\xda\xe9\x6e\x88\xd2\x9a\x99\xaf\x9d\x4f\x9c\x3f\x3a\x74\xd6\x5d\x60\x9a\x76\xac\xfa\xe1\xa1\x1a\x0d\xf1\xc0\x58\xdc\xb8\x5a\x86\x31\xc3\x72\xb3\xe0\x8a\x9e\x01\x44\xf2\x59\xcf\xbe\x5e\x96\xed\xd0\xf1\x4a\x97\xbd\x0a\x25\xa5\x2c\x48\xc6\xdc\xd4\x63\x95\x47\xe8\x63\xa5\x2c\x42\x19\x30\x72\xfd\xf1\x14\x7d\xf7\xe7\xff\xf8\xe3\x90\x7d\xd3\xc0\xc5\xc0\x83\xcd\xc5\xd4\xc6\xaf\x00\xef\xca\xb1\x54\x44\x1c\x8b\x49\x72\x6c\x1c\xe2\xc7\xfa\xfb\x43\xdb\xe9\x21\x9f\x1c\x7a\xc0\xc6\x43\x8b\x5d\x77\x94\xa7\xeb\x25\x76\x46\xa4\x67\xc2\x47\x6c\xe0\xa9\x84\x20\x55\x03\x01\xc1\x27\x1e\x9a\xd7\xc4\x17\x1b\x14\x6f\x3e\x69\xf8\x03\xaa\xd8\x7d\xf0\xc0\x33\x58\xba\x3e\x4a\x24\x88\xf6\xa3\xb9\x1b\xec\x56\x47\x22\x4f\xa9\xb7\x39\x5e\x12\x4a\x67\xeb\x2c\x7c\xf3\x61\x2b\xc3\x7f\x4d\x1e\xac\x2d\x83\x66\xb0\x2f\x39\x23\x7c\x02\xd1\x13\x20\x18\x38\xef\x10\x18\x87\x18\x57\x41\xce\xab\x20\x73\x73\xc1\x84\x65\xd3\x1a\x96\x7b\x4b\xfc\xd7\x55\xeb\xfc\x14\xf8\xaf\xdb\xae\xbb\x65\x28\x2f\xb4\xe0\xdb\x86\x70\x98\xa3\xb4\xc6\xf5\x03\xef\xaf\x74\xd9\x78\x3e\x00\x3e\x9a\xb0\x4a\x9c\xc1\x78\x81\xa0\x6d\x72\xa8\xf8\x21\x80\x05\x40\x0a\xba\x41\x64\x6e\xab\x7a\x02\xae\xae\x75\xae\x49\xfd\x7e\x87\x71\x9a\x40\xfd\x2f\xc1\x40\xad\x4c\x62\xeb\x82\x5a\x57\x38\x65\x8c\x08\x6b\xc4\x5f\x79\xa3\xae\xe9\x08\x0b\xb7\x72\xb9\x27\xbc\x14\xcc\x43\xb4\x5c\x1f\x07\x89\x03\x26\x70\x84\x20\x1a\x7d\xc6\x73\xae\xc5\x19\x5e\xc8\xe0\xa1\xc9\x66\x80\x4b\xb8\x55\xf6\xca\xf1\xdc\x80\x03\xbd\xdc\x6c\xf4\xd1\xd2\x8f\x8c\x8d\x23\x7c\x69\x2d\x00\xf2\x71\x0c\xb9\xbc\x62\xfc\x1e\x2b\x77\x39\xdd\x80\x9b\x35\x07\x9b\x32\xd4\x95\xb1\x08\x98\xf4\xef\x5a\x85\xd1\x24\xe5\x33\x07\xfc\xcd\x6d\x02\x72\x0d\x06\x56\x88\x92\x57\xa9\x7f\x5d\x1d\x3e\x61\x45\xbe\xe6\x1e\xf8\xe0\xae\x2e\x1b\x80\x99\x09\x77\x72\x71\x4e\x87\x8d\x81\x4e\x6d\xe7\xd2\xd5\x9c\x49\x47\x0e\xa7\x6d\xbd\xa1\xde\xf8\x06\x2c\x24\x5b\x7d\xdc\x25\xcc\x05\x44\xc5\x99\x35\x36\x0c\xc1\xc9\x16\x2d\x5e\x7e\xb6\xfe\x61\x04\xf8\xf9\x75\xd6\x0e\x3a\x31\xc4\x59\x5b\xc1\xe0\x2c\xb4\x2d\xe0\x7a\x16\x87\x65\x0a\x7c\x53\x18\xa5\x41\x06\x2a\xa3\xa6\xf5\x28\x6b\xca\xa3\xff\xf0\xa1\x2c\x59\xb5\x98\x93\x03\x34\x2e\xe0\xf9\xc5\xe5\x6d\xe8\x1e\xa6\x66\xb6\x87\xc9\x8c\x24\xf7\x90\x40\x65\xae\x3c\x73\x18\x5c\xb9\xb2\xf1\x62\xc8\xca\xc2\x28\x8a\x3b\x5f\xe7\xc2\x63\xc5\x7a\xbc\x64\x2e\x50\x4a\xe5\x3c\xc3\x0b\xf0\x2a\x31\x13\x1f\x59\x7a\xa4\x7c\x60\xb1\x66\x05\xab\xcc\x67\xdd\x77\x5a\xef\x4a\x59\x0c\x78\xed\xb5\xc4\x62\x4c\x95\xc0\xb6\xa2\xb2\x59\xcc\x3a\x3f\x40\x92\xe4\x98\x29\x9a\x0c\x59\x4e\x30\x0b\xe3\x77\xad\x57\x4d\x2f\x72\xca\x89\xc5\x69\x9c\x4c\x48\xa2\x4a\xa0\x27\x10\xde\xfd\x4a\xad\x3a\x83\xeb\xcd\xdd\x9f\xbc\xa5\x53\xff\x81\x32\x93\x56\x48\xf3\xb9\xe0\x0f\x96\x0d\xbb\xab\x71\x43\x5b\x36\x14\xd2\xb1\x57\xae\x53\x06\xe1\x5f\x8e\xa6\x7c\x15\x59\x9f\x78\xd1\x24\xe3\x6f\x0d\xa6\xbc\x4d\xd0\x62\x5b\x49\xa8\x20\xf4\xc4\x1c\xb0\x30\x7a\xc5\x03\x2e\x54\x8b\xad\xbf\xb7\xa9\x20\x60\xed\x79\x6f\xc3\x80\xdf\xc3\x35\xad\xb5\x47\xf1\x40\xd2\x21\x8b\xe1\x2c\xac\xcc\x58\x1e\x38\x54\x96\x09\xd9\x0d\xb7\x71\x6b\xdc\xc9\xb4\xd9\x87\x14\xde\x12\xbc\xcb\x27\x3b\x2c\x29\x5b\xd2\x5c\x9f\xf4\x09\x2a\x62\x74\xb6\x79\x97\x95\x44\x6c\x19\x00\x5b\x35\x28\x72\x2f\x7b\xa2\xf4\xc9\xfa\x06\xc9\xc7\x07\x81\xdb\xa0\xf0\x5a\xe6\x63\x53\x1b\x43\xe6\xb2\xd8\x26\x45\x66\xd0\xd9\xda\x0a\xa9\x58\xec\x0e\x17\x71\xfb\x72\x91\xd7\xde\xae\x86\x82\xca\x2b\xde\x0b\xec\x12\x8f\x92\x45\x59\x30\x1a\x48\x97\x30\x59\x80\x48\xe1\x8a\x2e\x40\x22\xea\x94\x28\xb8\xcd\xd3\x22\x33\x49\x59\xe0\xdf\x07\x1c\x10\x9c\x65\x88\x2a\x39\x64\x1e\xb6\xc4\x80\xd0\x02\x87\x75\x29\xb6\xa9\x55\xb9\xa0\x0b\x68\xd6\x16\xfa\x03\x39\x8c\x26\x54\x85\x23\x02\xbf\xf5\x22\x04\x2a\x9f\xcf\x09\x36\x39\x04\x66\xdb\x86\xac\x56\x1b\x3c\xf4\xdf\x9a\x80\x7b\x28\xbf\xb6\x8b\xd8\xf7\x76\xd2\x35\xe5\xf7\xd6\xde\x92\x23\xd4\x33\xb3\xd3\x0a\x97\xab\x41\x66\x46\xeb\x0a\xba\x9b\xd0\x2e\xad\xd5\x28\xe9\xcb\x28\x7b\xbd\x75\x8e\x85\xa2\x49\x91\x61\x91\x01\x16\xf0\xa4\xc8\x10\x9d\x04\xe5\xd4\x60\x0f\x0c\x68\x85\xde\xae\x84\xc3\x5d\xed\x5c\x42\x12\xe7\x24\xc8\x97\xb3\xe6\x9d\x2c\x70\x29\x1b\x24\x4e\xe3\xab\xd4\x6d\x7d\x38\x42\x67\xd5\xe2\x79\x70\x26\x02\xb0\x2b\x2a\x0d\xfb\xf3\xe3\x0d\x52\x3d\x4c\x11\x3e\x3a\xd1\x2a\xe5\xfb\xe0\xd4\xb5\x15\x76\xc5\xf2\x7e\x4d\x7f\xb5\x83\x4c\x5e\x1e\xa6\xd8\x98\xea\x75\x0b\xc5\x3f\x23\x2f\xb6\x3f\x10\x2d\x03\x74\xb7\xc2\x9a\x83\x0c\x81\xc2\x36\x18\xe8\xcf\x41\x75\xcd\xea\x60\xf3\x25\xd5\xdb\x60\x1f\xd7\x1c\x6a\x50\x0b\x61\xfd\x81\x06\x94\x13\x46\x27\xb4\xae\xec\x6a\x13\xce\xcf\x51\x55\x02\xa4\xc7\xa5\xd5\x67\x62\xe2\x59\x2a\x05\xba\x61\x0c\xb6\x7c\x01\x60\xcd\xfa\xc3\x36\x26\x28\xa3\xec\xde\x65\x96\xea\x9d\x3f\x40\xb8\x6c\x1d\x0e\x9f\x19\xbd\x21\xe6\x16\x91\xa6\x09\x99\x79\x0b\x29\xa7\x5b\x7e\x46\xb3\xea\xe9\x46\xb2\x16\xf8\x76\xad\x8c\x75\x30\x8f\xee\xdb\xb2\x34\x82\xd2\x2b\x13\x2e\x6c\xd2\xdc\x2f\x41\x2c\x97\xa2\xbe\xb0\x71\xeb\xfa\x5e\xcd\x70\x73\x2d\xfc\xd5\xd5\x06\xee\x2e\xce\xfa\x1f\x07\x17\x71\x89\x80\xbf\xdc\xf5\xef\xe2\x5f\xae\xef\x2e\x2e\x06\x17\x9f\xc2\x9f\x6e\xee\x4e\x4f\xfb\xfd\xb3\xf8\xbd\x8f\xbd\xc1\x79\xe5\x3d\xfd\x53\xfc\x52\xef\xfb\xcb\xeb\x4a\x51\x82\x9b\x1f\x07\x57\x57\xf1\x4f\xb7\x83\xcf\xfd\xb3\xd1\xe5\x5d\x54\xd7\xe0\xec\x97\x8b\xde\xe7\xc1\xe9\xa8\x61\x3c\xd7\xfd\xd3\xcb\x9f\xfa\xd7\xfd\x33\xb7\x37\x8d\xf5\x0a\xca\xf9\x36\x2e\xe9\x2e\x82\x3a\x36\x2e\x52\xd1\x43\x13\x41\x09\x4b\xb3\x85\x89\x39\x75\x0a\x56\x25\xc4\x2d\xbc\x02\x68\x4e\x78\xb1\x4d\xe8\xe8\xed\x8c\x20\xfe\xa0\x95\xfb\x0c\xd9\xd6\x6c\xc6\x0c\x96\xf7\xad\x10\x49\x4a\xd4\x8d\xd3\x4b\x23\xe4\x95\x58\xf8\x1c\x8c\x65\xc3\x29\x01\x14\x6c\x27\x68\x4e\xc4\xb2\xb1\xc0\x05\x2d\x8a\xb9\xa2\xe3\xff\x8f\xbd\x6f\x6b\x6e\x1b\x49\xd2\x7d\xdf\x5f\x51\x11\xe7\xc1\xf6\x09\x8a\x9a\x4b\x6c\xc4\x86\x23\xf6\x81\x2d\xab\xa7\x39\x23\xcb\x1a\x89\x6e\xf7\x39\xcb\x0d\xba\x08\x14\x49\xac\xc0\x2a\xba\x00\x48\xe6\xee\xcc\x7f\x3f\x51\x99\x59\x17\x5c\x09\x90\x94\xdb\x33\xa7\x1f\x76\x67\xc6\x22\x0a\x85\xba\x64\x65\x65\x7e\xf9\x7d\xed\x60\xe0\x9e\xc4\x02\xc3\xaf\x80\x48\xf7\xd3\x5c\x1b\x7d\xdb\x6c\x18\x4b\x98\xd8\x53\xe0\x80\xd0\xc2\xb1\xda\x2b\xee\x69\x0b\xa1\xda\x15\xcb\x34\x89\x58\x12\x57\xaf\xf5\x58\xba\x81\x91\xcb\x2a\x2b\xd8\x4e\x68\xf0\x98\x8c\x23\xba\xd3\xe2\x82\x17\xf9\xc6\xca\xc2\x42\x30\x89\x38\x5c\xe7\x32\x13\x91\x16\xb9\x55\xaa\x17\xb1\x55\xe3\x08\xde\x04\x9d\xa1\x02\xae\x18\x6a\xc5\xc7\x01\x43\x6b\x4b\xa8\x1a\x9f\xc4\xd6\x07\xc4\xea\xf0\xf7\x9d\x43\x43\x3d\x4e\xb2\xaa\xe2\x22\xf8\x86\xf8\x47\xab\xe9\x61\xbe\xdb\x58\xea\xc8\x02\x8d\x71\x92\x2d\x66\xb9\xf9\x33\x0e\xad\xb1\x70\xa1\x94\x21\xc6\xd4\x3a\xfd\xe9\x4a\x0b\x38\x44\x28\x23\x6d\xaf\xd1\x80\xa0\x20\x8c\x33\x40\x9b\xcd\x8d\x61\x29\x36\x3c\x5d\x61\x70\xcc\x4c\x8d\xdf\x57\xf5\x25\x3a\x53\x8f\x42\xde\xe3\x84\xfd\x2a\xe6\x50\xa2\x03\xee\x4b\xfa\x5c\x60\xc2\x47\xd2\x4c\x1f\xed\xaa\xb2\x35\x1e\xa8\x5c\x8c\xee\x6a\xf0\x67\x04\x5a\x7b\xc2\x3e\x5b\x1e\xb2\x5a\x25\x5f\x4d\x83\x73\x29\x1a\x29\xcb\x00\xb6\x62\xc9\x15\x9c\x5d\x06\xca\x1e\xac\x50\x7f\x14\x12\xe4\x44\x50\x13\xf0\xe0\x9a\x1d\x16\xc6\xad\xcf\x45\x47\x5c\x19\x42\x4f\x49\x49\x65\x25\x4c\x36\xd8\x71\x82\x62\xae\x47\x31\x66\xef\xa8\xee\xd6\xfc\xcb\xd5\xcd\xf4\xfa\x76\xb6\xb8\xba\xbf\x7e\x77\x7d\x3b\x9b\x4e\x6e\x1e\xfa\x6e\xbf\x73\xd4\x03\x54\x76\x5f\xb5\x24\xc3\x59\x88\x4b\xda\x79\xbe\x2c\xcd\x7d\x94\xdf\x76\x30\x25\x87\x7b\x9f\xc4\xbb\x45\x9c\x64\x91\x39\xfe\xf6\x0b\x21\x63\xe0\x7a\x3c\x6a\xa9\x36\x37\x55\xfd\x0a\xf7\x0b\xe6\x7e\x61\x2d\x08\x9e\x76\x4f\x76\x45\xbb\xbf\x03\x19\x14\x89\xf3\x9b\xcd\x1f\xcf\x65\x70\xda\x8c\x0f\x13\x7c\x9b\xe6\x4e\xfb\xb6\x72\x13\xd5\x6f\xc2\xfe\x26\x59\x56\x70\x63\x1f\xed\xcf\xa0\xdc\xbb\x65\x54\x88\x80\x27\x24\x9c\x4c\x02\x49\x33\x66\xae\xc8\x5b\x2e\x63\x9e\x2b\xbd\x6f\xf9\xc4\x7e\xc6\x33\xdc\x36\x65\x13\x1a\x1e\xd9\xe6\xfe\x6f\x67\x01\x7f\xca\x65\x75\x29\x21\x2d\xe5\xec\xc3\x5f\xae\x6f\x1f\x16\xd7\xb7\x3f\x2f\xee\xee\xaf\x7f\x9c\xfe\xe2\xb8\x35\x76\x3c\xab\x8b\x25\x09\x73\x28\x1a\xeb\x62\xab\x7c\x1b\xed\x0b\x2a\x16\xd9\x76\x48\xa5\x22\x59\xcd\xa5\xb5\x2c\xda\x37\xbf\xd1\xaa\x58\x6f\x9a\x1b\xaa\xf6\xf2\x6e\x32\xfb\xe9\xa8\x6e\x02\x07\x03\xca\x9a\xe0\x6e\xab\x13\x95\x25\x2b\xb2\x7b\xc8\x6e\x56\xe9\x1e\x30\x89\xc0\x4f\x9b\x82\xdd\x2d\x16\xed\xa8\xdb\x4b\xdd\x68\x75\x3a\xff\x0d\x3f\x6f\x5b\x40\xb3\xc0\x6e\x96\x8e\x11\xc0\x86\xa2\x62\x56\xad\xb5\xb7\x0d\xff\x56\x3a\xc1\xfe\x70\x91\x8a\xf5\x5a\xc4\xb8\xbc\xaa\x0d\x53\x28\x88\x4c\x60\xe4\xcf\xf5\xa6\x51\x24\xfd\x9a\x13\x0e\x66\x07\x3b\xea\x6f\xc0\xef\xdc\x23\xcd\xb6\xe2\xca\x2a\x59\x46\x4a\x66\x39\x97\x2d\xf9\xcc\x81\xda\xfd\x5e\xa4\x43\x33\x57\x92\x40\x01\x12\x1b\xb9\xf6\xfb\xe0\x98\x4c\x0e\xe9\xf4\x48\x8a\x78\x04\xfa\x3d\x81\xf4\x66\xc3\x24\x54\xd4\xd1\x5f\x3c\xb8\xd1\x79\x75\x22\xe2\x09\x88\x38\xa2\x50\x02\x71\x22\x62\x34\x08\xd4\x47\x5a\xf1\xa9\x83\x26\xa4\xf2\xe6\x9f\x69\xe8\xf1\xd6\x5a\x8e\x78\x7a\x25\x78\x3b\x41\xce\x79\x1b\x1e\xdf\xaa\x28\x9f\x07\x1a\xf3\x71\x11\x11\xf9\x27\x36\xeb\x81\x16\x14\xd0\xb2\x07\x6c\xcc\x2e\xcc\x34\xd3\x25\x45\xc4\x17\x40\x21\x30\x97\x6d\x59\x0d\x6b\x03\x5a\xc2\x5c\x77\xf6\xd4\x3a\x8d\x7e\x66\x00\x6e\xd6\x0e\x76\xbf\xca\x2e\x66\x7f\x0e\xce\x5e\x0b\x4e\x85\xe6\x65\xc9\x31\x65\x59\x3e\x8e\xdb\x8a\xbc\x9d\x55\x1d\x06\xa7\xe9\x87\x46\x28\x73\xc7\xe0\x11\xb9\xe1\x19\x7a\xae\x79\xb4\x29\x77\x1c\xbe\xa6\xcc\x0f\x53\xed\xae\xf3\x04\x4f\x8b\x10\xf4\x4a\x5c\x8c\xf0\x4e\x9d\x64\xd4\xfb\x50\xeb\xc3\x09\x17\x0d\x5b\xf8\xa1\x73\xe4\x2e\x2f\x68\xf7\xc0\x60\xa5\xbc\x90\xd1\x86\xed\x52\x8e\xd5\x8c\x1b\x9e\xe1\x92\xb6\xd9\x7b\xbe\x4c\xd2\x24\x07\x22\x06\x4c\x2a\x55\x46\xd8\xdc\x68\xb8\x7e\xb4\x14\x70\xdc\x13\x41\x75\x2d\xfa\x13\x51\x92\x5e\xc5\xf6\x5b\xe2\x24\xfd\x96\x0d\x9e\xe8\x4c\x49\xf9\x65\x49\x18\x49\x3f\x1d\xc6\xe2\xc1\xb2\xf4\xdf\x32\x6c\x66\xa9\xc5\xbb\xea\xe3\xa5\xf1\x6e\x38\xa8\x87\x63\x04\x88\xdb\x74\x80\x99\xaf\x32\x9f\x36\xee\xac\x55\xaa\x78\x8b\xfa\x9e\x6d\x1b\x89\x4c\xdb\xda\x8e\x55\xb1\x6c\xa3\xce\xc3\x5e\x75\xb7\xde\x15\xf7\xb7\xfb\xf6\x5c\x71\xc1\xd0\x00\xf2\x5c\xe4\xc9\xb0\xd0\x46\xf0\xd1\x3c\x17\x17\xf0\x78\x73\xe3\x44\x18\xd7\xfb\x9b\x6b\x0b\xcd\xd3\x69\x3b\x82\x3e\x40\x6f\xd5\x57\xd7\x5f\x0b\xd0\x89\xff\xb0\x7a\x40\x66\x80\x53\x16\x59\x9e\xd4\x57\x58\xf3\x4e\xac\xbe\x75\x56\x4e\xaa\x84\x6b\xa0\x77\x55\x58\xd3\xd7\x3c\x98\xa7\xfb\x6f\xc8\xb2\x44\xed\x4e\x27\x0a\xea\xf7\x49\xd7\xb6\x83\x63\xa8\xf1\xbd\x27\x8c\xe4\x97\x42\x14\xc2\xac\xfd\x65\x11\xaf\xeb\xb1\xcd\x01\xde\x99\xff\xa4\x8d\x7a\x66\xdb\x22\xda\x30\xdb\x38\x8b\x45\xca\xf7\xa5\x4f\x03\x7f\x29\x57\x29\xb0\xf6\x1d\x49\x21\x16\x15\x59\xae\xb6\x80\x6e\xf4\xed\xea\x42\xc2\x82\x67\x3c\xcf\x75\xb2\x2c\xf2\x46\x24\x54\x89\x4b\xe7\xc8\x84\xd6\xc3\xdd\xf5\xd5\xf4\xc7\x69\x25\x9b\x34\x79\xf8\x4b\xf8\xbf\x3f\x7d\xb8\xff\xcb\x8f\x37\x1f\x3e\x85\xff\x76\x33\xf9\x78\x7b\xf5\xd3\xe2\xee\x66\x72\x5b\xca\x39\x4d\x66\x93\x87\xeb\xd9\x81\xb4\x52\xfd\xad\xed\x13\xc1\x03\xaa\x1f\x8b\xb7\xb4\xd4\x8f\xf6\x76\x49\x6f\x7d\xcb\x26\x96\xf8\x28\xd4\x1d\xe4\x36\x35\x08\x29\x6d\x14\x42\xa4\x0c\xe2\x3b\x9e\x73\x12\x96\x1d\xb3\x09\xb3\x02\xc1\x80\x32\xce\x8c\xb3\x40\xac\x30\x66\x76\xb0\x09\xe3\x31\x44\xfe\xe6\xe6\xb5\x6d\xd4\x8a\xf8\x98\x52\x11\xb2\xa0\xda\x92\x9a\xb9\xbc\x7e\x12\x32\x2f\x80\xa2\x91\xa7\xa9\x15\x72\xb6\x3f\x08\xaa\x27\x6d\x2f\xb3\x64\x9b\xa4\x5c\x7b\x19\x92\x0f\xd4\x16\x38\xec\xb6\xaf\x8e\x2c\xa3\xce\x4d\x6f\x2f\x0f\x1f\xa7\x0c\xfa\x7d\x75\x33\x05\x17\x28\xca\x2d\xc7\xb6\x7d\xf9\x5c\x22\xdf\x0f\xbd\x71\xcb\x01\xf9\x9e\x2b\x8a\xa7\xe1\xeb\xe9\xc7\xed\x0b\xb1\x51\xc4\xbd\x3f\xa1\x14\x46\x9e\x5f\x0a\x5d\xe3\x3a\x69\xff\xcb\xb5\xcc\xf5\xbe\xb7\x5f\x33\x03\x92\xc6\x0c\x7c\x53\x02\xd2\x94\xa5\x49\x30\xdc\xc1\x6c\xeb\xb7\xe0\xec\x58\x94\x17\x45\xe3\x5d\xd0\x5d\x00\x11\x64\x8b\xff\x9d\x9a\x43\xe8\x7b\x1d\x87\x90\x9c\x00\x46\x61\xa9\x0a\x19\x67\x04\xf9\xd9\x26\xf2\x72\xcb\xbf\xbe\xb1\x5f\x8a\xc5\xbe\x8e\x20\x18\x88\x5c\x44\x6a\x6e\x22\x7b\x63\xe4\xba\x87\x6b\x2e\x3b\xc6\xeb\xb0\xb7\x68\x2d\x2b\x5c\x7b\xfc\x1d\x15\xc1\x4b\x4f\x62\xdf\x34\x7f\x35\x92\x77\x04\x48\xd1\x86\x87\x46\x76\x5a\x98\x1f\x3a\x64\x54\x8a\x80\x37\xf7\xbf\x01\x01\x5d\x12\xa2\x69\xb6\xdd\x61\x96\xf7\xa4\x6d\xd3\x98\x5f\x7e\x01\x96\x7e\x7a\x93\x99\x33\xcc\x36\xdb\x40\x27\x21\xbe\x29\x8d\x66\x26\xeb\xbf\xd4\x12\xd4\xee\x33\x2b\x34\xa9\x05\x04\xb6\x61\x2a\x2c\xad\x24\xd0\x7d\xd4\x52\xd8\x76\x09\xa4\x22\x83\x70\xaf\x34\xd7\x2d\xf1\xa5\xa0\x8c\xdd\xef\x7f\x37\xec\x9c\xcd\xf5\x9e\x59\x0a\xe3\xb0\xfc\x82\xaa\x8f\xe8\xcc\x85\x7e\x15\x32\x69\xe2\x00\xba\x2f\xa4\x39\x8a\xcf\x01\x76\xe8\x9f\xcd\xaa\xbc\x94\xfe\xe7\xc1\x0a\x05\x1b\x88\xd5\xf8\xfb\x17\x23\x4d\xfb\xb9\xc2\x95\x46\xaf\x03\x3c\x2c\xb5\x1e\x1e\x68\x4b\x1e\x3d\x3e\x73\x1d\x63\xac\x10\xd0\x07\x63\xf6\x93\x7a\x16\x4f\x42\x8f\x58\x24\x74\xce\x89\x46\x25\x83\xf4\x2b\x6c\x28\x6a\x67\x2e\x01\x1e\x8e\x9c\x34\x12\x34\x3a\xf3\x64\xbd\x31\xf7\xc9\x20\x79\xae\xb4\x31\x47\x39\x72\x54\xed\x44\x44\xc4\x15\x2d\x03\xb0\x4a\xf9\x53\x9d\x17\xe6\x98\x12\x73\x36\x75\x35\x6e\x36\x3b\x65\xa9\x7a\xbb\xe0\x0e\x34\x60\x64\x34\x91\x69\x60\xc4\xd6\x2a\xe5\x72\x3d\x1e\x8f\x99\xc8\xa3\xf1\x9b\x41\x0b\x9d\x1a\x0c\xf3\x5d\x0e\xdb\x99\x2a\x95\x89\x74\xef\xc8\x16\x1c\xfa\xde\x0c\x33\x14\x5f\x64\x09\x86\x3c\x1a\x96\xff\x43\xb5\x54\xfd\xdb\x86\xce\x9b\x6f\xaa\x83\x6b\xbb\x5a\xda\x01\xe6\xff\x01\x2d\xe1\xef\x9b\x6f\x5e\x03\x6a\x15\xad\x4c\x8f\xaf\x59\x6c\xe1\x55\x54\x72\x68\x21\xde\xcf\xaa\x4d\xcf\xf2\x28\x2e\xa4\xc6\x96\x88\x29\xe1\xa8\xe2\xa5\xb6\xc8\x45\xa5\x9e\xec\x84\x52\xb2\x8e\xaa\xb0\x81\x05\x61\x0d\xfb\xaf\x61\x7b\xb8\x92\xd3\x53\xf0\x49\x2a\x2d\xb6\xed\x24\x40\xa7\xba\x7c\xbe\x93\xf8\xdf\xae\xe0\x75\xbd\x5d\x3e\xaf\x31\x6a\x59\xcc\xa9\xbf\x18\xb8\xa5\xa2\x3c\x63\xdb\x75\x92\x01\x5d\xd5\x31\x15\x42\xae\x19\x6c\x1a\xf2\x4b\xfb\x1d\x06\x0c\xb1\x76\x28\xdd\x63\x0d\x9a\xcd\x47\xd0\x23\x19\xfa\x65\x90\x94\x6a\x37\x63\x55\xd4\xd3\xe0\x39\x02\x8e\xec\xa3\x32\x71\xe0\xe8\x04\x34\xad\x04\xcb\x80\x06\x29\x77\x9c\x2b\xb6\xb2\x35\x27\x8f\x22\x50\xf5\x8a\x81\xc0\xf5\x19\x29\x21\xfe\xf2\x6f\x99\xcd\x32\x13\x10\xc0\x9f\xb1\xb9\x7f\x09\x46\xb3\x9f\x7e\x6f\xf1\x1f\xf8\x85\xd8\x04\x08\x65\xc4\x5c\xe6\x8d\x0d\x78\x78\x14\xb4\x85\x8f\xfc\x6c\xee\xed\x8d\x3f\xa7\xf6\xe1\xa7\xc8\x89\x3f\xf9\xf4\xc0\x70\xa8\x89\xea\x53\x77\x75\x34\x68\xe4\x30\x02\x05\x86\x6b\x71\x84\xef\x52\x9a\x07\x1c\x74\xcb\xf5\x6a\x86\x5d\xe4\xd1\xc6\x9f\x95\x65\x71\x3b\x12\x3c\xa1\xef\xdc\x7a\xf2\x52\x04\xf7\x85\x28\xa9\x64\x2d\x95\x16\x1e\x6d\xa5\xa4\x80\xb4\x02\xcf\x59\xac\xc2\x66\x59\x92\x1f\x86\xa2\x0c\x24\xd8\x39\xb4\xd4\x72\x85\x10\x03\xfa\xce\x52\x76\x08\x9c\xe0\x04\x69\x39\x2c\x8e\x0f\xbd\x78\xd2\xcf\xa8\x52\x6e\x96\x0b\x9d\xe7\xb2\xfc\xaa\xda\x20\x59\xac\x48\xa2\x05\x32\xe5\x65\xc6\xdf\xc8\x93\x27\xb3\x51\xeb\xcb\xda\x2d\x50\xb0\x00\xf5\xb5\x37\x97\xd8\xed\x80\x6e\xef\x51\xec\xb3\x50\xac\x83\x56\x14\x6b\x5b\x90\x89\xf9\x1e\x9a\xaf\xc3\x53\x01\x03\xb7\x08\xc4\x47\xfb\x9d\x22\xf8\xd2\xf7\xe6\xe1\x0e\x10\x5a\xad\x71\xb3\x06\x7d\x51\x8f\x8f\x82\x91\x99\xf0\xe3\x4c\x73\xe8\x71\x26\x0d\xc2\xb4\x3e\xa0\x08\x57\x35\x73\x23\x9b\x4b\x62\xe4\x0c\xf2\xb7\xc6\xe0\xd4\xa7\x8d\x2a\x0d\x91\x07\x70\x5f\x62\x49\x00\xb6\x54\xab\xa0\xd8\xac\x07\x6c\xb5\x9e\x48\x07\x1f\x6b\xb1\x6c\xd4\xa9\xf1\x85\x47\x82\x97\x68\x72\x5b\x01\x4b\xde\xe9\xa6\x81\x23\xa2\x2c\x54\x7d\x41\x7f\x3d\x12\x66\xf8\x26\xb2\x11\x2b\x64\x91\x42\x0f\xd7\x57\xf7\xd7\xb3\x6f\x06\x68\xb2\x68\xa2\xc1\x88\x26\xdb\xcf\x77\xd7\x3f\x4e\x3e\xde\xcc\x16\xef\xa6\xf7\x2f\x01\x69\xa2\x3f\x1d\x81\x69\x7a\x20\xa2\xdf\x2b\x25\x73\xf1\xf5\xa4\x33\x59\x17\x72\xc1\x07\x60\xeb\x1d\x99\x76\x97\xbb\x83\x8d\xd6\x89\x8a\x1d\x8b\x30\xd1\xb4\xe1\x89\xe6\x78\x89\x03\x81\xe7\x55\x92\xa6\x50\xf1\xe6\x02\xc2\x54\xc6\x62\x06\x15\xec\x8f\x55\xaa\x24\x9b\x3a\x97\xcb\x12\x53\x33\x04\xa9\x36\xe6\xda\x86\xb5\x6e\x3b\x33\x00\x3a\x81\x82\xa7\x2e\x2e\xe3\x75\x22\x85\xef\x06\x2a\xb4\x15\x92\xb5\x12\x50\xd2\x24\xbe\x64\x41\x23\x39\x5e\x7d\x7d\x4d\xbb\xe2\x4a\xeb\xd3\xba\x9f\xf6\x8f\xee\x0b\x71\x13\x27\x12\x1d\xd3\xd2\x6e\x7e\x68\x5e\xba\x97\x7e\x0b\xc0\xb8\x9b\x99\xe4\x10\x35\x07\x11\x34\x3f\x91\x34\x11\xa8\x22\xe0\xc3\xe9\x8f\x09\xe2\x3e\xd4\xaa\x32\xce\xc6\x14\x9a\xb1\x4e\x20\xb6\xce\xa9\x88\x3f\x4a\x8b\x2c\x17\x9a\x2e\xfa\x93\x4f\x0f\x73\x89\x4a\xb9\x74\x0a\x11\xd3\x3c\xbe\x02\x51\x07\xaa\xf4\x7e\xeb\xa1\x84\x16\xec\x35\x46\x55\xb7\x82\xcb\x0c\x05\x2a\xd3\x54\x68\xbf\x32\xb0\x3f\x42\xc4\x24\x52\x02\x2a\xa6\xfe\x79\xd2\x28\x54\xb0\x6b\x4d\x7f\xe9\xaf\xa4\xd2\x57\x5d\x4f\x6d\x05\x95\x00\x69\x7c\xc9\x95\xd3\x80\xac\xef\xbb\x8a\x08\x0d\xda\xb8\x88\xca\x38\xf7\x5e\x6b\x69\x86\xcd\xfd\xb6\x94\xce\xb8\x94\x7a\x9c\xeb\xe1\x29\xc1\x36\xca\x18\x50\x47\x12\xef\x13\xa3\xae\xa0\x3b\x05\xc4\x8e\x19\xc6\xc6\x53\xc7\x73\x58\x1d\x95\x2a\xbd\xfd\x70\x7b\x1d\x26\x3a\xa7\xb7\xb3\xeb\x3f\x5d\xdf\x97\x8a\xf7\x6e\x3e\x4c\x4a\x05\x78\x0f\xb3\xfb\x4a\xdd\xdd\x0f\x1f\x3e\xdc\x5c\xd7\x32\xa6\xd7\xb3\xe9\xfb\x52\xe3\xef\x3e\xde\x4f\x66\xd3\x0f\xa5\xdf\xfd\x30\xbd\x9d\xdc\xff\x9f\xf0\x5f\xae\xef\xef\x3f\xdc\x57\xde\xf7\xf1\xaa\x3b\xf7\x5a\xfa\x8c\xe6\xab\xb8\x4f\xed\x04\x74\x5e\x8d\x43\xfa\xe5\x34\x12\xcc\x9c\xe7\x8d\x0e\x75\xef\x9b\x0e\x89\x24\x7e\x29\x84\xde\x13\x87\x00\x7a\xa1\xf8\x2f\x11\x97\x08\xe0\xca\x49\xe4\x3d\x0e\x91\x47\x73\xf9\x09\x65\xe0\x21\xb9\xf9\x2a\x63\x7f\x82\xf0\xab\xfd\xb1\x17\x13\x85\xcd\xfa\x57\x7c\x87\xfb\xdb\x78\x2e\x4b\x22\x8c\xc1\x53\x25\x05\xe9\xf1\x5c\x5a\x9e\xc6\x58\x45\xd9\x18\xf6\xf2\x58\xe9\xf5\x25\x49\xaa\x18\x5b\xa7\x1e\x97\x4a\x3d\x5e\x0a\x79\x09\xde\x46\x7e\xc9\x8b\x5c\x5d\x42\xea\x06\xa1\x2d\xd9\xa5\x55\x5e\xb0\xd2\x15\xd9\xe5\x26\x79\x12\xf0\xff\xc6\x9b\x7c\x9b\xfe\xaf\x6c\xb7\xf9\x7a\xb1\x4e\xf5\x85\x79\xf6\x22\x7c\xf6\xc2\x3e\x7b\x61\x9f\xbd\x30\x8f\xe1\xff\xdb\xed\xf1\xe2\x2e\x48\x01\x77\x2e\x13\x99\x09\x9d\x43\x9d\xe3\xb3\x4e\x72\xaf\xcf\xbd\x67\xaf\xfe\xe7\x7f\xd8\x58\xf3\x67\x84\xf2\xbe\xe3\x39\xbf\x43\xcf\xf1\xef\x7f\x7f\xc5\xb2\x5c\x91\x8e\xcc\x8e\xeb\x2f\x85\xc8\x8d\x0f\x9b\x8a\x28\x67\xff\x7b\x2e\x41\x7a\x6a\xbb\x5f\xe4\xe8\x51\xa3\x77\x19\x67\xec\xdf\xb1\xcd\x29\xf2\x69\xc4\x99\x69\xa9\x05\xe5\x93\xf0\xb4\x41\xac\xa7\xe5\xf2\xf5\x25\x7d\x47\xbf\x1f\x60\x71\xbe\xa4\x25\xd4\x80\x63\x84\xcd\xbe\xa4\x40\xda\x92\x2a\x6e\x13\x47\xcc\x2d\x5e\xb0\x80\xd4\xb9\xa6\x3d\x52\x0b\x4f\x9e\xb0\x63\x8e\xd5\x2f\x7b\x40\x4e\x2f\x7b\x27\xab\x49\xd1\xc0\x2d\xd0\xdf\x30\x81\xca\x25\x31\x3b\xe4\x01\x7d\x5c\xd4\x87\x85\x2f\x07\xdb\x9f\x2b\xcd\xd7\x5e\xcf\x97\x8e\xa4\xec\x8f\x6f\x2f\x2f\x47\x6c\x9d\xc1\x7f\x2c\xbf\xc0\x7f\x40\x26\xe3\x5c\xb4\x34\xb5\xc1\x74\x49\xb9\x3e\x91\xda\xd6\x87\x4f\xb2\x61\x2f\xcf\x84\x56\x59\xa6\x3f\x14\x32\x4e\x85\x47\x26\x97\x2e\xbb\xa9\xb2\x62\x61\xe8\xf2\x54\x39\x67\x61\x8e\x97\x22\xe2\xc6\xf0\xd5\xde\x8d\x89\x6e\xb5\xca\x85\x44\x3f\x47\x7b\x86\x6e\x8e\x3e\x09\x64\x99\x20\x2d\x0b\xda\xb7\xdb\x1d\x08\xe1\x26\x10\x00\x9c\x21\xb5\xd8\xa8\xfa\x27\x90\xb2\x44\x96\x2c\xe0\x7e\x41\xc5\x4d\x61\x6f\xe2\x58\xd1\x55\x68\xe3\xea\xec\xb8\x8c\x79\x06\x2b\x70\xa5\x21\x8e\xa5\x19\xaf\x77\x74\x84\xd0\x00\x73\xb3\xe7\x72\x4f\x31\xe3\x70\x24\x90\xc6\x2c\xe8\xf3\x28\xe8\x04\x9e\x09\x28\xde\x5b\x7d\x70\x3c\x97\x4e\x06\x16\xf3\x72\x56\x56\x7c\xb7\xa7\x62\xc9\xea\xa0\x27\xd6\x27\xa2\xe1\x1e\x79\xa1\xbd\xea\x6f\x41\x60\x3c\x0c\x9a\x00\x63\x5a\xa8\x82\x63\x95\x7a\x5e\x83\x30\xaf\xd0\xd9\x1b\xb3\x0d\x81\x47\x34\xf7\x7c\x64\x49\xe6\x27\xc3\xa9\xc6\x92\x1f\x68\x9a\x77\xd4\xc2\x66\x74\x4a\x1c\x5b\x4d\x2e\xd8\xe1\xad\xf2\xbd\xe7\x37\x9a\xfa\x4b\xff\xf5\x9b\xe6\x3a\xc2\x1c\x73\xa3\x90\xf5\x20\xb2\x01\xdc\xb2\xa1\xc5\xc5\x46\x49\x64\x16\x9d\x13\x2b\x39\x92\x98\x23\x2b\x37\x37\x80\x7c\x2e\xe9\x04\x1e\xb1\x95\xe0\xf9\x06\x92\xec\xd9\x13\x1a\x63\x3c\xee\xf3\x67\xe5\xb3\x2b\x96\xa0\x15\x12\xf3\xa5\xc6\xbd\xfb\x8f\x3f\x83\x58\x31\x8f\x72\x0c\x1d\xb7\x51\x57\x3a\x57\x05\x06\xab\xd1\x20\x1e\x31\x0e\x96\xef\xb3\xca\xad\x1d\xd2\xcd\xc2\x48\xec\x31\x04\xc8\xaa\xfd\xc0\x3f\x18\xc3\x83\x5f\x87\x01\xfe\xc0\x38\x42\x65\x13\xe5\xf5\x71\x9f\xf9\xe8\x5c\x48\xba\x06\x91\x97\xb6\x4d\xd5\x31\x10\xd0\x81\xe3\x20\xd0\xe6\xd1\x83\xd4\x14\x99\xd0\x96\x8c\x14\xbf\x15\xb9\x29\x36\x89\x8e\x2f\x76\x5c\xe7\x7b\xbb\x7c\xd3\x64\x09\x1c\x86\x69\xf2\x28\xd8\x44\x6b\xf5\x7c\xee\x51\x68\x35\x2d\x33\x9e\x3d\x9e\x99\xea\x06\xa8\x9d\x86\x50\xd5\x34\x32\xd3\x94\xd2\xee\xb1\x58\x1c\xc7\x82\xd3\xc6\xe4\xd3\xf8\x1e\x2d\x72\xbd\x5f\x98\x85\xb8\xdd\xb5\x5a\x8a\x5e\x00\xae\xfe\x4e\xee\x30\x82\x1d\x38\x9f\x7b\x10\xec\x94\x66\xf5\xfb\x21\xd8\x69\xe0\xce\xa9\x13\xec\x4c\x6f\xa7\xb3\xe9\xe4\x66\xfa\x7f\x2b\x2d\x7e\x9a\x4c\x67\xd3\xdb\x3f\x2d\x7e\xfc\x70\xbf\xb8\xbf\x7e\xf8\xf0\xf1\xfe\xea\xba\xbb\x62\xb6\xde\x7b\xef\x82\x5f\xb0\xf0\x3d\x6f\xd9\x2c\x08\xc1\x23\xf0\x89\xfc\x6f\x12\xf1\x80\x55\x65\x36\x73\x22\xd7\x23\xd8\xa8\x6f\xd9\xb5\xd6\xd3\x2d\x5f\x8b\xbb\x22\x4d\x21\x51\x86\x28\xc3\x2b\x2d\xe0\xe2\x39\x62\x77\x2a\x9e\x06\xcf\x01\x34\xba\xf1\x33\xe0\xfd\x3c\x8e\xb5\xc8\x32\x7c\xfd\x88\xde\x1f\xa4\x85\x1c\xec\x9a\xd2\xa2\xfc\x89\x27\xa9\xb9\xbf\xbd\x05\x5d\x41\xb5\x22\x85\xe8\x91\x03\x71\xb2\x2f\x85\xca\x39\x13\x5f\x23\xa8\x12\x6f\x5e\x27\x37\x6a\xfd\xb2\x77\xa0\xe6\x3d\x7d\x98\x58\xa3\xe5\x92\x02\x64\xed\x8b\xe6\xe3\xbc\xd9\x10\xd0\x57\xbe\xc7\x47\x7f\xc4\x27\x1b\x5b\xcf\xf3\xf4\x0c\x55\x2b\x37\x6a\xdd\x4c\x9d\x0b\xde\x35\xf1\xfd\x7a\x01\x5d\xa8\x81\x53\x6b\x96\x25\xf2\x71\x2e\x3f\x6d\x84\x64\xaa\xd0\xf8\x4f\x70\xcd\x37\x6e\x66\x5a\x64\x1b\x11\x33\x55\xe4\x23\xf6\x2c\xd8\x96\xef\xd1\x6d\x86\x3b\x81\xe3\xfb\x84\x25\x03\xa7\x88\x79\x3a\x4d\xa4\xb1\x16\xbb\xc4\x62\xa4\xaa\x53\x7f\x8e\x1b\x97\xe5\x48\xe0\xa7\x53\x18\xf5\x2b\x04\x79\xde\x08\xc0\xc0\xfb\x8c\xb8\x4d\xfd\x90\xe5\x06\x39\x11\xa5\x1e\x8b\x9d\x67\x53\x79\x65\x29\x0b\x61\xb8\x9f\x54\x12\xb3\xb8\xd8\xa5\x49\xe4\xec\xee\xb3\xd2\xad\x94\x51\x08\xe6\x1b\x40\x19\x55\x81\xa8\x76\x7d\x58\x03\x52\x30\xc8\x91\x76\x90\x47\xbd\x30\x7d\x56\x20\xe7\x5e\x64\x42\x5f\xe4\x3a\x59\xaf\xc1\x01\xb7\xb8\xe3\xef\x9f\x5f\xcb\xf3\x77\x9c\x0e\xb1\x0d\x0b\x60\x52\xb5\x4e\x22\x9e\x86\xb0\x15\x1f\xef\x76\x04\x3e\x76\xdb\x93\x8c\x8c\xe9\xb7\xeb\x50\x6b\x61\xf2\x4e\x0b\xe0\x90\x5a\xa0\x42\xfe\xe9\xca\xfd\xd3\x15\x33\x17\x74\x2b\x31\xeb\x2b\xc4\xac\x4a\xb7\x3d\xe1\xfc\xbb\x2d\x97\x38\x8a\x09\x4a\x00\x63\xab\x67\x29\x34\x78\xb0\x10\xd0\x37\x5f\x2a\x15\xf8\x26\x8e\x5f\xdc\x21\x4f\x2c\xbf\xfe\xca\x41\x6c\x10\xc5\xbf\x4e\x9e\x84\xfc\xf6\x7c\x68\xc1\x0b\x22\x1e\x6d\xc4\xc2\xfa\xe5\xe7\x36\x59\xee\x00\x18\x68\xac\x2c\xd1\x67\x68\x4a\x59\x02\x1c\x14\x11\x5e\x9d\xb0\xc7\x75\xdb\x85\xe4\xd5\xbd\x0e\x25\xa0\x40\x2d\xc7\xe7\xaa\xc7\xc1\xa9\x4c\xde\x0e\x24\x77\xac\xf7\xdf\x1d\x08\x58\xa7\x6a\x09\xd5\x5a\x75\x8e\xef\xf0\x84\x6d\xa3\x0c\x7e\x12\x5a\x27\xf1\x10\xcb\x64\xc7\xe4\x83\x7b\xb4\xab\x83\x4e\xa8\xd1\xbd\x09\x8c\x42\x82\xb1\xba\x8a\xe7\x5e\xad\x06\x38\x74\x4d\x80\xdc\x46\xe6\x92\x1b\xce\x91\xb0\x5c\x7d\x10\x98\x50\x1d\xca\x9f\xf5\x6f\x39\x69\xa2\xeb\xf5\x65\x07\xc6\xd2\x97\xa4\x75\x4f\xf2\x09\x45\x42\x58\xd1\xe4\x2a\x85\x86\x10\x2e\xd9\xa9\xc3\xc4\x33\xa8\xaa\xba\x49\x2c\x21\x82\x7a\xcd\x68\x75\xdc\x67\x94\xee\x3a\xa9\x02\xfe\x05\x76\x54\x91\x2b\x1f\xad\x84\xef\x99\x02\x0d\x49\x88\x35\x04\xb3\x31\x8d\x1b\xd5\xf2\xfd\xf1\x61\xb7\x66\x9b\xab\x72\x5a\xc4\x69\xc2\x76\x5a\xd8\xb8\xf7\x5e\xe4\xae\x46\x22\xb5\xcc\xce\x10\xd6\x75\x5f\x5d\x2e\x12\xb3\x75\x20\xae\xb0\x17\x82\xb0\xca\xea\x60\x6f\x77\x4a\x0a\x49\xe8\x00\xa9\xe6\x92\x1a\xb7\xfa\x3c\x2e\x32\x5c\x02\x61\x8e\xe8\x42\x8e\x90\x1e\x91\xa9\xf4\x89\x52\x00\x01\x7f\x1f\x30\x7b\x9b\x0e\x5e\x19\xdf\xc6\x78\xf2\x90\x9b\x22\x44\x1e\x60\x14\x2a\x22\x35\x5a\xac\x93\x2c\x17\x21\x6e\x35\x7c\xfe\x6c\x7a\x02\x25\xe7\xbf\x6b\xe8\x5b\xf5\x04\x0e\x9d\xe2\x66\xd7\x0e\xe8\xcf\x7e\x27\xe2\xa9\x7b\xae\x7b\x31\x94\xc0\xe7\x71\x60\x24\x4a\xa7\x00\xae\x01\xf4\x5e\x32\x2c\x9b\xcd\x1c\xf3\x9e\x9b\x24\x2a\x68\xe4\x4e\x04\x02\xa6\x68\x5d\x70\xcd\x65\x2e\x44\x36\x97\x94\x38\xc1\xf2\xef\xb0\xc2\x69\x55\x12\x8f\xf0\x67\x73\xa4\xb2\x1c\xab\x29\xe1\x91\x15\x4f\xd2\x42\xb7\xba\xcb\xb8\x2a\x8f\x2a\xdd\xe8\x1a\xa5\x2b\x68\x96\x35\x4d\x9a\x83\x56\x07\xbb\xc8\x55\x20\x55\xd3\x1e\x65\xe4\x71\xcb\x27\x58\x93\xdb\x7f\xbe\x5d\xac\xa4\x05\x6d\xfd\x6f\xd9\x62\xa7\x06\x58\x3c\xd2\x1c\x6e\x6c\x2c\xfb\x52\xbb\xd3\x77\xa4\xff\xbe\xb4\x71\x11\xf2\xec\x11\x22\xe7\x87\xae\x12\x87\xe3\x83\x7f\xfc\xc3\xe1\xf8\x7a\xab\xed\x82\x55\xbb\xe1\x32\x4e\x41\x9f\x38\xaf\x9c\x40\x6e\x0f\x80\x00\x40\x6e\x8d\x63\x3b\xdc\x10\xd0\x3b\x8b\xa8\x06\xfd\x3c\x34\x4e\x15\xcc\xe8\x01\x08\x61\xe9\x2d\x65\x24\x67\x13\x82\xc8\x9f\xec\x24\x44\xe1\x36\x6c\xfb\x12\x5c\x25\xeb\xf3\x13\xf1\xf4\x55\xe6\x70\x5e\xf6\xfb\xba\xa5\x8c\x68\x2b\xd2\xf9\xe5\xc4\x38\x4e\xdc\x8c\x80\xfc\x32\xc6\x2c\xa4\x3b\x9a\x4b\xd2\xa9\xc1\xa4\x11\x64\x0b\xb0\xa4\x37\x63\xbf\x77\x70\xe0\xdf\xff\xab\x2d\xe8\xdc\xb3\x15\x8c\x35\x54\x4d\xab\x28\x2a\x34\x64\x74\xe8\xd6\xc9\x04\x9e\x4d\x43\x58\xe9\x26\x78\x22\xbb\x3c\x3c\xba\x4f\x4d\xde\x83\x0b\x33\x94\x3e\x6a\x06\xb7\x4b\x54\xdc\x71\x67\x21\x31\xd8\xea\x2c\x67\x59\x2e\x76\x8d\x56\xa9\xe4\x74\x95\x45\xa5\x4e\x70\xbb\x3a\x14\xe1\x4f\xb6\xd1\x93\x40\xbd\xea\xcf\x0f\x1f\x6e\xd9\x8e\xef\x01\xd2\x92\x2b\x52\x03\x03\x4e\x8b\xea\xfe\x3d\x34\x03\xe5\x8f\x2f\x6f\x36\x1c\x53\xcd\xbd\xbd\xa8\x87\x9d\xb8\x53\xfb\xab\xd8\x21\x58\x33\xb4\x24\xcd\x56\xd6\x2a\xbd\xd8\xa5\x5c\x0a\xe4\x1f\xc4\x02\x5f\x56\x79\x7d\x98\xa6\x72\x01\x6b\x02\x02\x40\x07\x42\xb1\x6c\x5d\xc8\x26\x5c\x5b\x59\x27\xeb\xa4\xcc\x54\xab\x8d\xe8\xc4\xeb\xbc\x47\x56\x42\x1e\x99\x6d\x82\xe5\x2e\x36\xdb\xe6\x12\xb6\x3c\x03\x2c\xd5\x80\x89\xea\x16\xf5\x9a\x4b\xab\xd9\xa2\x9e\x33\x16\x63\x41\x50\x91\x64\xa8\x85\x89\xb1\x4c\xc0\x35\x90\x7d\xc1\xa4\xab\xe6\x32\x33\x13\x0a\xe1\x18\xf1\x24\x24\xab\x97\x97\x4c\xdf\xdd\xb8\xd4\x24\x4e\x12\xf1\x99\xb7\x0c\x7d\xe0\x98\x9d\x44\xe1\xd5\xa4\x32\x75\x98\x2a\xf0\x3d\xdf\xb5\x5c\xe8\x51\x82\xe6\xd4\x16\x0f\xcd\x92\x2b\x87\xac\x7a\x9d\xa0\x7f\x03\x14\xc7\xa4\xdd\x53\x1f\xbd\x8f\xf2\x44\xf3\xd3\xc8\x1d\x36\x40\x45\xf7\x78\xea\xee\x50\x40\x74\x80\xed\x09\x6a\xe9\x1d\x2c\xc0\xf9\xcb\x66\x97\x03\x81\x2c\xaa\x35\x92\x3a\xf5\x83\x10\xec\xb3\x13\x7c\xfc\x4c\x04\xe5\x5e\x6b\xbb\x6d\x5c\xa7\x72\xa5\x4e\x33\x06\x7a\x5d\x43\xd2\x9c\x34\x2a\xcd\xfd\x3c\x15\xab\x03\x15\x45\xf2\x65\x8b\x42\x1a\xbf\xeb\x00\x32\xe7\xce\xdf\xc9\x09\x9e\x6c\x7b\x6a\xce\x67\x98\xe2\xe3\x84\x09\x4b\x8b\x24\x07\x0d\x4c\x20\x7f\x7a\x94\xea\x59\xa2\x2f\x40\x6f\x62\xaf\xcd\xfe\x83\x03\x0c\x58\x9c\x08\x9c\x53\xa0\x35\x7c\x03\x6c\x54\x13\xf7\xbf\xd9\x03\x86\xb9\xb1\xcf\x40\xb7\x9a\x81\xf3\x43\x44\xa9\x60\xcd\x5f\x4f\x46\xec\x87\x11\xbb\x1a\xb1\xf1\x78\xfc\x66\xc4\x04\x8f\x36\xb6\x47\xf8\x08\x82\x5e\x72\xbe\x36\x6d\x3b\x9d\x5c\xff\x02\x60\x0f\x36\x87\x95\x39\x32\x8d\x81\xe6\x81\x9a\xae\x8f\x3c\xd8\x4f\x40\x30\x37\x2a\x54\xd8\x94\x60\xb4\x51\x89\xef\x14\xa0\xcb\x44\xa4\xb4\xc5\xa7\x65\xb9\xd2\x16\x6b\xf3\xc4\x35\x4f\x24\xd4\x1b\xf0\x3a\xd2\x90\xde\x1c\x70\x64\x89\xaf\x7c\x0b\xdf\x9f\x48\x47\x13\x62\x86\x69\xe6\xfa\x9f\xef\x77\x49\x04\xe3\xf9\xac\x93\x3c\x37\xa7\x73\x36\x97\x0f\xec\xed\xbf\xb3\xc9\x6e\x97\x0a\x36\x61\x7f\x63\x3f\x70\xc9\x25\x67\x3f\xb0\xbf\xb1\x2b\x2e\x73\x9e\xaa\x62\x27\xd8\x15\xfb\x9b\x19\x36\xd3\xde\xad\x32\xc7\xe1\x7e\xc4\x38\x93\x45\x8a\xa7\xfe\x6b\x8b\x63\x79\xe3\xbe\x8b\xfb\xd9\xb1\x62\x93\x99\xda\xd2\x51\xf8\x0b\x56\x33\x98\x91\x49\xe4\x3a\x15\xb9\x95\x78\x2d\x21\x8e\xf0\x05\x17\xf0\xa5\x6f\xe7\xd2\xc5\xf2\x7e\x31\x3d\xfe\x85\xfd\x8d\xdd\x16\x69\x6a\xba\x64\x0c\x8d\x59\x48\x6f\x99\x45\x80\x0b\x39\x7e\x4e\x1e\x93\x9d\x88\x13\x0e\x18\x70\xf3\xbf\x2e\x67\x30\xdb\x8b\xc2\x53\x0e\x84\x7b\xda\x51\xd8\x7e\x13\xde\x99\x21\x5a\xce\x8e\xc9\xd8\x4e\x7e\xc7\xcd\xaf\xfc\xe8\x70\x8f\xc8\x13\xae\xd0\x7e\x20\x87\x15\xe9\x87\x43\xc6\xe4\xa3\x4c\x40\xe5\xb0\xb5\x6d\x35\x1c\x05\xe1\xa1\x7e\xaa\x91\x05\x02\xee\xb3\xdf\x21\x7b\xb0\x21\xf7\x35\xb9\x35\x2e\xd7\xa7\x90\xbc\x1a\x7c\x49\x5f\x7f\xda\x2b\x2b\xe4\x38\x5c\x7f\x2e\x33\x90\x97\x86\x58\x25\xbd\xa8\xda\x2b\x9d\xfd\x48\xb1\x8b\x58\x48\x95\x9b\x8b\x8c\x4c\xd2\x4b\xb3\x55\x2f\x6f\x95\x34\xd7\xd6\x2c\x59\x63\xcd\x2c\x20\x20\x32\xe0\xb5\xb1\x4e\xc1\xac\xec\xb2\x06\x5b\x00\xfc\x03\xd3\x25\x44\xe5\xe4\xc6\x0a\x98\x29\x48\xf7\x73\x69\x9e\xa0\x13\x09\x10\xba\x89\x23\x03\xc2\xb7\x59\x51\x38\x7a\x17\x19\xe4\xa0\xf1\x86\x05\xd6\xa5\xa3\x76\x12\x09\x0f\x54\x9b\x9c\x10\x15\xbf\x0d\x68\x05\xa8\x35\x5b\x73\x86\xe0\x9f\xa5\x48\x95\x5c\x9b\x55\xd1\x66\x04\xd4\x96\x27\xa7\xe4\xc4\xc3\x2e\x60\x63\xad\x3d\x30\x87\x25\xfd\x84\xa6\x24\x10\xb3\x26\x31\x1b\x10\xc4\x74\x11\x59\x77\x1a\xd2\xc7\xb5\x7c\xc4\x50\x85\x9e\xfa\x2a\x05\xed\x6b\x4a\xce\xba\x68\x3f\x1e\x9c\x36\x9a\x66\xbf\xa8\xdf\xa6\xea\xc4\xf4\x35\x87\x42\x28\x9b\x60\x83\xc9\x2e\xa8\xd7\x63\x3d\xfe\x9a\xf0\xbe\x97\x54\xd5\x6b\x94\xd0\x83\xdf\x99\xd6\xe8\x9f\x86\xca\xe4\xd9\xd1\x3b\x07\xf2\xe9\x0b\xb2\xe6\x2e\xd4\xca\x16\x81\xf5\x3f\xd3\x6b\xbc\xc5\xfd\xa0\x27\x21\x57\x59\xc8\xef\x5b\x5f\x38\x6d\xf9\x06\x25\x17\x94\x91\xe8\xd7\xd9\xea\x80\x7d\x90\x3f\xe2\xe3\x77\x2a\x4d\xa2\x6e\xbc\x8e\x3d\xae\x40\xc4\xb9\x06\x80\x00\x3d\x75\x17\xff\xa1\x4e\xa1\x87\x9e\x8b\x28\xf7\x19\xb7\xfa\xc7\x0d\x0a\x87\x51\x80\xd5\xb5\x02\x52\x12\x2e\xa5\x05\x47\x0d\x90\xa0\x00\x5b\x1d\x86\x1e\xa1\x2a\x06\x52\xbd\x11\xa7\x88\x6c\xa9\x23\x60\xaf\x9e\x37\x2a\x35\x57\x13\x19\x13\xa1\xcc\x5c\xee\x84\x8e\x54\xca\x73\x63\x0d\x9f\x89\x34\x20\x49\x63\x4f\x09\xfb\x1a\xb0\x79\x80\xa0\x79\x43\xbc\xf7\xc2\xa5\x5c\x9d\x0e\xf9\xe1\x65\x6b\xb5\xaf\x4e\x0b\xc8\x9c\x0f\x6c\xd3\xb5\x0a\x3e\x11\x04\x06\x87\x82\xe4\x83\x2b\xc9\x33\x33\xe8\xa5\xfe\x0c\x9b\x61\xe1\xd8\x3e\x23\x7f\x8f\xc8\x2b\xf3\x4a\x57\x89\xea\x50\x02\x31\x10\xd6\x75\x20\x9e\x22\x13\xd0\x9d\xad\xe0\xe8\x9a\x78\x9a\x0e\x9a\xd4\xb9\xf4\xe9\xc2\x57\x59\xe8\xa6\x34\xce\x33\xf2\xde\x58\x38\xcf\x88\xbd\x2a\x7d\xe8\x2b\x20\x8e\x91\x0a\xde\x47\x29\x9d\xd2\xd0\xc0\x72\x1d\xb1\x24\x9f\xcb\x24\xc3\x95\xa9\x45\x2a\x9e\x4c\xef\xc2\xd8\x29\x41\x3f\xec\x55\xd2\x7e\x36\x20\x42\xb9\x2d\x24\x74\x92\x69\x50\xa2\xad\x43\x02\x12\x0e\x71\x5a\xd0\x94\x2e\x24\x90\x7d\x8a\xaf\x28\xdc\x9d\xee\x2d\x1a\x22\x16\xd2\xf6\x0f\x40\x12\xa8\xca\x32\x97\xd3\x15\x54\x73\x41\x0d\x59\x1c\xe3\xa5\xcc\xd2\x3f\xba\x6a\xf0\x84\x62\xa5\x8a\xae\xa8\x4e\x91\x17\x65\x1b\x70\x27\x89\x27\xa1\xf7\x39\xc4\x38\x61\x5c\xa5\xe0\xf9\x86\x25\xf9\x08\xca\xf8\xad\xe1\x98\x4b\x1e\x93\xea\x15\x35\x67\x86\x06\xd6\x7d\xc7\x3c\xd3\xdf\x97\xea\xa9\xcb\xcf\x3b\x15\x04\x85\xbb\x7a\x97\x72\xb9\x40\x83\xfa\x2b\xc0\xa0\x02\x45\x8d\xb6\xcc\x5f\xb1\x5c\x38\x85\xeb\xb3\xf4\xd3\x79\x3f\xf7\x25\x9d\x1b\xe3\xd6\xd9\x17\x8d\x70\x31\x78\xea\x31\xeb\xad\xbb\xb0\x05\x25\xdb\x35\xb3\x09\xc9\xfe\x56\xc0\x23\xa4\x78\x25\x31\x6f\x57\xeb\x21\x88\x94\x5d\x01\xdf\x2b\x5c\xa7\xcf\xcc\x57\xce\x90\xea\xb4\x0f\x47\x8a\xd4\x1c\xa6\xa3\xd0\x22\x07\xba\xf5\xb2\x88\x91\xd6\xb0\x42\x1d\x39\x62\xbf\x36\xc8\x7e\x21\x0c\x5a\x60\x58\xca\x45\x3d\x9a\x15\x53\xc2\x6b\x89\x6a\x80\x1a\x9e\x33\x64\x5b\xd6\x55\xee\x5d\x45\x09\xfd\x1a\xb3\xa9\x64\x36\x7a\x31\x62\xaf\x70\x61\x65\xaf\x28\x22\x47\xb2\x3b\x94\x4a\x8e\x69\xf7\x50\xdd\x59\x15\x99\x80\xe8\x5f\xbf\xdd\x30\x31\xd2\xe6\x7d\x36\xe7\x6c\xce\x39\x2e\x3f\x24\x80\x3e\x3e\xa6\xc0\x14\x93\x6a\x4b\x6c\x80\x0e\x49\xbc\x85\xee\xd1\x87\x55\x3e\xb8\xeb\x3f\xd8\xa6\x7f\xd8\x0f\xf6\x41\x33\x44\xbb\x82\xce\x53\xfb\x77\xa6\xf4\x5c\xda\xd6\x28\x42\x97\x21\x43\x73\xb5\x29\x7b\xf5\xf5\x2e\x70\xb0\x52\x21\xa7\x6f\x49\xb9\x81\xeb\xdd\x73\xe4\x54\xad\x00\x60\x04\x96\xc2\x0b\x86\x8d\xd9\xc4\xbf\xcd\x38\x1e\x66\x81\x6f\xf1\x98\x27\x4e\x38\x21\xa3\x3d\xd0\xdc\xa4\xa9\x19\x94\x24\xcf\xc8\x67\x0b\x80\xca\x59\x01\xe4\x33\xab\xc2\x18\xa3\x80\xa1\x67\x2e\xcd\xe0\xb1\x55\x02\x30\x58\x1a\x97\xb9\x7c\xaf\x32\x5b\x17\x9b\xf9\xf1\xb0\x90\x4a\x1a\xb6\x57\x8e\x9b\x9c\xfe\xe1\x1d\x1c\xda\x14\x02\xaf\x88\xd5\x01\x42\x9d\x8a\xdb\xf7\xaa\xd0\xfe\xa3\x22\x2e\xe7\xf2\xbf\xcc\xf0\xa0\x54\x94\xd3\x59\x53\x2b\xdc\xc2\x56\xdc\x8f\xbd\xfe\x8c\x8d\xbe\xfe\xd7\x37\x9f\xdf\x60\x7d\x7a\x91\x81\x1c\xc4\xa8\x7c\x80\x38\xb2\xb6\x22\x4d\x21\x31\x6b\xbf\xc0\x95\x95\xfb\x57\x74\x4a\x8f\xd3\x1d\x67\x21\xcb\x2e\x46\x9f\x8d\xde\xb5\x82\x7d\x2c\x76\xc2\x22\x9e\x47\x9b\x0b\xeb\xcb\x91\x19\xb3\xa7\x1f\x4d\x1f\xf2\xc2\x1b\x4f\xab\x99\xaf\xcc\xdc\xbf\xf4\xd6\xc9\xad\x95\xd6\x8b\xf9\x04\xc0\x99\xcc\x4a\xab\x32\x14\x35\xc4\xc5\xe9\x95\xce\xbc\x9f\xe7\x7e\x6e\xc9\xde\x7d\x00\x95\x82\xc6\x92\x6f\x45\xcc\x5e\x41\xed\xc3\x2b\x3b\xf9\x73\xb9\x5b\x8e\xd3\xfd\x2a\x27\xb2\x16\x33\x28\x63\xa0\x43\x3e\x70\xca\x2d\xe2\xfa\x35\xe9\xc0\x60\xb7\x5e\xb4\x9a\x7d\x1d\x37\x36\xee\x4d\xfd\x1d\x16\x0c\xf9\xb8\xd1\x79\x28\x23\x66\xca\x6c\x77\x3c\x7b\x1c\xb1\xa5\xe6\x12\xf8\x41\xe3\xd0\xa9\xf2\xbb\x13\xd5\xcc\x81\x09\x85\x12\x38\x5c\xf2\x74\x0f\x50\xea\xd1\x5c\x22\x6d\x0c\x30\x47\xed\xa3\x34\x89\x50\x59\xb1\xe2\x07\x89\x27\x21\xf3\x6b\xaa\x93\xb6\x98\xed\x53\x33\xad\xae\xee\xfa\x24\x89\xc8\x69\xd9\xdb\xe1\xbe\xa0\xdc\x07\x1c\x23\x2d\x00\xcb\xbc\xdc\x07\x18\x4f\xb7\xc0\x47\x44\xb0\x0e\xcc\x3a\xec\xaf\xc5\x52\xa5\x96\x9a\x68\xfa\x8e\x29\x0d\x7c\x8f\xb9\xa2\x7f\x4a\xe2\xb6\x53\x2c\x91\xb1\xf8\x7a\x52\x7d\x70\xf7\x81\x64\xdd\x3b\xf3\x9a\x80\x56\xb0\xfa\xb1\xb0\x8b\xb4\x30\x87\x45\x6e\x6f\x70\xb5\x5f\x65\x55\xc0\xd9\x24\xcd\x37\x80\x02\x43\xfc\xb1\x1f\xd4\x2d\xdf\xb3\x68\xc3\xe5\x3a\xb8\x42\x03\x28\x47\xec\x94\x46\x26\xff\x27\x20\xe2\x51\xda\xd6\x5f\x51\x55\x11\x81\xa0\x5d\xfc\x17\xb1\x87\xca\x96\x0e\xf1\xf5\x5a\x8b\x35\x94\xc4\x96\x04\xa0\xd1\x7e\x3a\x4a\x46\x7c\x4f\x57\x59\xd9\x79\x6a\xb3\xdb\x6e\x2d\xb9\xde\xbb\xa2\x1c\x92\xc1\x70\x43\x57\x1b\xd6\x11\x4b\xc4\x78\xc4\xfe\xe0\xf1\x96\x22\x52\xd2\x55\xf5\x34\x7f\xc3\xae\x12\xa9\x3d\x60\x8b\x1a\x8a\xb8\x9b\xfb\x0e\x7f\xab\x89\x69\x34\x2e\x9a\xce\xb2\xa8\x9c\xe7\xc5\x00\x5b\x49\x82\x49\x57\xe6\xe1\x07\x7c\xb6\x13\x92\xcc\x77\xc6\xbc\x59\x02\x0d\xf3\x7b\x63\xe1\xcd\xbb\x89\xdb\xab\x65\xac\x9b\xe3\x7e\x41\xf7\x53\xb5\x7e\x51\x97\xd2\x56\x49\xb7\xba\x94\x6e\x26\xd2\x96\xca\xdf\x8e\x6f\x1a\x1a\xca\xb4\xd8\x4c\x42\x5d\x67\xd5\xeb\x56\x83\x05\x70\x12\xb3\x4a\xa3\xdf\x8e\x40\x06\x57\x80\x5c\x32\x92\x4d\x07\x42\x89\x45\x01\x64\xb3\xbe\xd5\xdd\xb8\x8d\xbf\xa1\x79\xf8\x3f\xb6\xdc\x8b\xad\x67\xd2\x34\xe8\xe1\xfe\xc4\x71\xd2\x03\xcf\x29\x2f\x36\x0f\xa4\xb4\x36\xb8\xa9\x74\xb2\x4e\x24\xcf\x95\x66\xaf\xef\x2c\x93\xe3\x1b\xc7\x3e\x0c\xa3\x78\x0e\x33\x51\x1a\x22\x34\x13\xcd\x77\x2f\x80\xf7\x8a\x78\x31\x8c\x05\xa7\x49\xf6\xf1\x20\x7c\xdd\xfc\x2a\xcb\xf9\x76\x17\x12\xb8\x39\x35\x22\x1a\x99\x14\x07\x81\xd9\x8e\x41\x8c\x2f\xc9\x7c\x49\xd2\x5c\x52\x64\x1c\xe7\x4d\xe9\x06\x3d\xe3\xea\x57\x82\x1f\xb9\x38\x92\x94\x00\xfd\xf8\x1e\x4f\x77\x66\x14\xef\x6f\x6c\xc2\xc0\xdf\x0b\x4a\x8e\x36\x7c\x28\xf2\x49\x65\x70\x6a\xe3\x15\xcf\x99\x0d\x73\x4a\xda\xda\xeb\xab\x54\x15\x31\x23\xa3\x41\xd9\x49\x3d\xc6\xd3\x07\x08\xde\xc6\xe3\x36\xb6\x9b\x81\xfa\x22\x6e\x7f\xc3\x73\xcd\x2b\x1c\xfe\xd6\x62\xe1\x3a\xb7\x16\x8d\xec\xb0\xd8\x13\x25\xe6\xdf\xf3\x5d\x77\x05\x3d\xb7\x37\x67\xac\x77\x09\x15\xb5\x1b\xf6\x7e\xcb\x70\xb9\x68\x28\xb0\xcd\x0c\x0b\x94\x59\xfd\x18\x58\xcf\x61\x20\xb9\x81\x0f\x2f\x44\x64\xf2\xec\xf1\xe4\xd7\xd9\xc2\xce\xee\x57\xed\xb8\x16\x32\x5f\xc0\x1b\x87\xbd\x0c\x5e\x72\x07\x8f\x97\x1c\x92\x5e\x01\xc1\xff\x98\x29\x8c\xf3\xda\xd2\xf2\xff\x64\x0f\x14\xdb\xc8\xac\x16\x9d\x39\x7d\x5e\x27\x00\xc5\x08\x72\x62\x6e\xe2\x5a\xa6\x8b\x3e\xe8\x88\xd1\x0b\x3e\xa8\x64\x3a\x7b\x7d\x90\xef\x3d\x32\xb3\x9b\x56\x28\xcc\x43\x05\x85\xc6\x94\xd9\x7f\xf3\x6b\x0e\x8b\x74\x7d\x76\x96\xf1\x9c\x99\xf9\x4b\xd9\x7f\x0b\xad\x3c\x4a\x9e\xf4\xad\x83\x86\x3b\xfd\xe1\xe3\x35\x50\xd0\xdf\x45\xf5\x8d\x90\x7e\x1e\xfe\x85\xaa\xf7\xf1\x66\xb9\xdc\x5b\x77\xbf\x25\x95\xb0\x13\x11\xce\xc3\x91\xc7\x66\x70\xb1\x0b\xec\xbb\x0d\x7d\xb9\xc3\xc2\x6e\xd0\x4b\xb8\xb7\x12\x3f\xd6\x96\xef\x08\xf6\x44\x08\xcb\x6a\x10\x7f\x0c\x1f\xf1\x1f\xbf\xfc\xe7\xb8\x4d\x87\x09\xba\x3e\x14\x45\xe2\x3a\xff\xa3\x4e\x84\x8c\x21\x29\xc7\x63\x07\xc5\x72\x66\x51\x96\xa2\xb4\x25\xf3\x6c\x96\xe1\x59\x8a\xc9\x9a\xcf\xc1\x6c\x81\x8b\xe8\x1b\x64\x76\xbd\x91\x75\xdb\xb7\x94\xf7\x69\x3b\xaa\xb3\x45\xbc\x97\x7c\x5b\x57\xae\x7a\xd1\x3e\xee\x13\x91\xc6\xd0\x45\x7a\xfb\xa1\xec\x44\x2c\xa2\xc7\xa1\x3e\xc1\xd1\x54\xaf\x22\x7a\x64\x3f\xcd\xde\xdf\xa0\x66\x43\x92\xcd\xe5\x2d\xcf\x93\x27\xf1\x51\xa7\x2e\x2c\x8c\xc6\xa7\xd0\xa9\xdd\x23\x65\xea\x41\x2c\x86\x2b\x40\x18\x95\x78\x0a\xad\xe3\x10\x32\xc3\x6e\xf7\x17\xcb\x22\x7a\x14\xf9\xa5\xe6\x32\x56\x5b\xfc\x8c\xcb\xac\x58\xad\x92\xaf\xe3\x9c\xeb\x37\x87\x20\xee\x07\x2d\xe9\x09\x97\x84\x53\x0c\x4a\xfd\x1a\xe0\x94\x34\xbc\x6d\x4e\xe2\x50\xfd\xd5\x59\x66\xcf\xbb\xe7\x4c\x0a\xc4\x1b\x5b\x2e\x22\x63\xea\x67\xc3\x1b\x06\x8c\x5e\xf3\xc1\xfa\x8d\xae\x58\x6d\x0c\x80\x7d\xba\x6f\x23\x84\x77\x4a\xa5\xa7\x46\x09\x79\x6a\x37\xc9\x02\x24\x01\x4e\x71\xc1\x71\x01\xb8\xcb\xf6\xf4\x9d\xcb\x57\x39\x4a\x3d\x8a\x35\x38\x41\x1e\x80\x52\x50\x17\x00\xc0\x00\x9d\xe8\x00\x1d\x66\xbb\x86\x84\xe5\x40\xf0\x24\xb4\x81\x48\x07\x27\xcd\x5b\x0b\x5b\x06\xe5\xb0\xdc\xf7\x11\x68\x87\x2a\x3d\x1c\x14\x40\x40\x02\xff\xca\xab\x5c\x30\x21\xa4\x27\x73\xe3\x18\xbc\xdb\x8e\x27\xca\x06\x19\x9b\x43\x9e\xcf\x5c\x06\x5e\x0e\x12\x73\x58\x74\xaa\x1b\xb5\xa6\x18\x43\x69\x19\x9e\x1c\x63\x38\x85\x83\xb2\x33\x08\xfd\x2e\x94\x87\x80\x3c\x6a\xa4\xb6\x4b\x73\xcf\xc7\x6a\x47\x0a\xbc\x81\x7b\x36\xb1\x14\x3f\x2e\x48\x6a\xdd\x2c\xe4\x18\xae\x8c\xbd\x3b\x1a\x42\xb6\xa4\xd0\x64\x1d\xba\xc2\x84\x3e\xf1\x79\xe9\x32\x9b\xed\xec\xa4\xfa\x05\x20\xd3\xfe\xcc\xf7\x19\x68\x69\x08\x63\x15\x57\x18\x6c\x2a\xf7\x7f\xe4\x43\x20\x8e\x3e\x8a\x84\xa9\x0a\x92\xd8\xa1\x6f\x49\xb0\x04\x5c\xa4\x56\x35\xc4\x53\x6b\xbc\xca\x9a\x07\xe7\xd7\x89\x1f\xeb\xce\xf8\x31\x26\x70\xfe\x31\x42\xc6\x1d\x81\xa9\x13\xe3\x63\xc1\x31\xa9\x55\x44\x7a\xd2\x39\x03\x89\x2d\x34\xc7\xe6\xdd\x23\xb6\xe5\x89\xa4\x6d\x90\x6b\x63\x20\x63\xb1\x2c\xd6\xeb\xd6\xb0\xcd\xf7\x1f\xff\x2d\xef\x93\x7f\xfa\xf8\x5c\x27\x39\xcc\x39\x22\x6c\x53\xfb\x26\x4c\x1b\x1b\x5f\xf9\xdb\x04\xd5\xce\x14\x21\x9c\xf6\x89\x10\x5a\xdc\x01\x54\x43\x90\x8b\x6f\x73\xc3\xbf\x85\x0e\xbf\x4d\xe8\xb0\x31\x37\x52\xed\x21\x56\xe0\x2f\x92\xb2\x03\xdc\xd1\xc3\x23\x89\x7c\x1c\xe3\x1b\xf4\x8a\x54\xa4\x32\x21\xe3\x0c\x14\xdd\xcf\xcf\xec\x03\xa7\xcf\xe9\x31\x8a\x03\x09\xef\x07\xb5\x15\x0c\x5e\x95\x21\xb3\x32\xa3\x82\x93\x11\x20\xa9\xcc\x07\xfa\x2c\x31\xe5\xa0\xe1\xb8\xc2\x6c\x75\xec\x9d\xd6\xd7\x52\x3c\x33\x73\x1a\x8c\x42\x68\x49\x30\x3d\x40\xb9\xff\x86\x64\x60\x3d\x0e\xd5\x55\xd7\x6a\xb1\xe6\x3a\x06\xf4\x33\x6d\xc9\x94\x47\x8f\xe6\xbf\x43\xff\xe8\x8d\x04\x7f\xb1\xec\x9f\x08\xc9\xf2\xad\x25\x32\x42\x49\x4e\x42\xda\xf8\xfe\xe1\xe3\x19\xe3\x91\x56\x19\xde\xe2\xe3\x42\xfb\xfa\x78\x09\x0e\xe2\x53\x12\x17\x3c\xc5\x37\xb6\x46\xff\x78\x76\x12\x9b\xe9\x24\x20\x95\x17\x5f\x77\x29\x97\xe5\x3d\x89\x9f\x0b\x74\x12\x49\xc7\xca\x77\xac\x48\xdf\x94\xdd\x2d\x94\x76\xf4\xdb\x0a\xbd\x4f\x2d\x78\xbc\x0f\xb9\x63\x12\x49\x7a\x6d\x3c\xde\x26\xd2\x4c\xbd\xd5\x0c\x71\xf6\x15\x9a\x8e\x78\x8a\x20\x30\xa0\xd6\x4e\xd3\xca\xd6\xcf\x98\x14\xc6\x65\xe1\x3a\x49\xf7\xe0\xa5\xee\xb4\xb8\x08\xde\x13\xec\x6f\xc2\xa0\x27\xd9\x5c\xda\x3a\xe7\x22\x13\xab\x22\x45\x5f\x16\x6e\x7b\xee\x03\x68\x1f\x7e\x9c\x8e\xcc\x31\x96\x13\xa1\x6d\xf0\x62\x94\x89\x38\x07\x9e\xb7\x7e\xcf\xea\x15\xf3\xf6\x9c\x46\x1a\xe0\x86\x1b\xf5\x6c\x8b\x0e\x9e\xb9\x47\x95\xb5\x9d\x25\x67\x8b\x73\x76\x7b\x35\xf6\x3e\x61\x77\x25\x0e\x7a\x59\x5b\x95\xfe\x26\x62\xb7\x13\x13\x09\x9f\x43\x0a\x4b\x84\x41\x11\x31\x2b\x32\xac\x5d\x30\x73\x08\xd6\xda\x5e\x9b\xb1\x9a\xc3\xaa\x73\x31\xf7\x75\x49\xa6\x24\x9b\x17\xbf\xfb\xdd\x1f\x05\xfb\x1d\xe9\xf7\x81\x95\xc1\x08\x35\xb0\x1a\x61\xeb\x60\xa0\xdc\x0b\x04\x52\x1e\xd5\x66\x84\x35\x81\xb0\x6c\x21\x21\xc0\x98\x78\xb4\x61\x59\xb1\x44\x8c\x0e\xa7\x20\x27\x97\x8e\x34\xf0\x46\x01\xdc\x06\xcf\x31\xdb\xfb\x01\xc1\x82\x3b\x3a\x5f\x6c\x20\x20\xc0\x09\xc2\x40\x87\x22\x3d\x30\x28\xf8\x91\x60\xc0\xef\x40\xa9\x67\xc4\x7e\x4a\x9e\xc4\x88\x3d\xec\xb8\x7e\x1c\xb1\x77\x18\x6e\xfd\xb3\x5a\x1e\xbc\xff\x9f\x23\x06\xe6\xdc\xd4\xc1\xc1\xfd\xc6\x68\xd2\x28\xa0\xca\x0c\x42\xfc\xf5\x68\x8d\x45\x58\x80\xf6\x09\xaa\xc8\x1e\xd2\x23\x69\xe5\x53\x3d\xd7\x2d\xa6\x1d\xd6\xd7\x7a\xa7\xa9\x5a\x69\x7f\x9e\x52\xd5\x54\x13\xd2\xc4\x9c\x63\xb0\x12\xcd\x87\x5f\x80\x67\xa2\x34\xdb\xa5\x3c\x37\x6b\x25\xa3\xf0\x33\xae\x0a\xc4\xdf\xe1\x89\x5c\xa9\x85\xeb\xeb\x78\xd9\x17\x2f\x76\x4a\xa5\x8d\xfe\xd7\x59\x07\xb0\x16\xed\xec\x3b\x78\x53\xac\x21\xc8\x42\xaf\xc4\x8e\xa2\x8f\x9c\xf9\x38\x5b\xa0\xc5\x0d\xab\x29\x2e\x20\x89\xe0\x87\x23\x94\x87\x31\x66\x05\x51\x8f\xe8\x88\x58\x35\x31\x6e\x3d\x44\xe3\x44\x51\x08\x31\x44\xdb\xd5\x62\x7a\x59\xfd\x3d\x2d\x6e\x21\xb4\xbb\x48\x9a\x0a\xe1\x87\x6e\xae\xd9\xa6\x31\x50\x8f\x3d\xb7\x06\xdc\xe2\xce\x0f\xd1\x00\xda\x22\xbb\x45\x94\xf2\xac\x27\x92\xad\xd1\xee\x4c\xa9\xa1\x2b\x68\xa7\xbf\xcd\xfc\x09\x62\xaa\xdb\x9e\x07\xe6\x5c\x4e\x1c\x0d\x9e\x77\xb5\x9c\x7b\x88\x66\x16\x1d\xe3\xda\xd4\x20\x98\xdd\x73\x26\x8e\x58\x56\x44\x1b\x80\xeb\x97\xed\x54\x68\xb7\xea\x3b\x76\x34\x97\xc6\x59\x41\x15\x09\x0e\x09\xe1\x67\x20\x1c\x4f\xfe\x5b\x38\x6f\x88\x50\xa1\xa1\x03\xb4\xe4\x66\x6a\x48\x3e\xbe\xea\x2c\xda\xca\x09\xae\x1f\x45\x1c\x84\xfa\x8a\x5d\xcc\x73\xe3\x3d\xbb\x43\x0e\xd6\xaf\xe3\x0f\xb5\xde\x67\x16\x7e\x58\xe8\x2c\x57\x2c\x6d\x9a\xac\x44\xb4\x8f\x6a\xbc\x20\x25\x18\xc6\xf9\x62\xca\xc7\x85\x54\xbb\xf8\x23\x9a\x6f\xca\x9f\x6a\xf5\xce\xac\x2d\x77\xfd\x8f\x89\x58\x6b\xa1\x30\xf8\x67\x8f\x8a\x1d\x48\x33\xff\x06\x3e\xfb\xa7\x8c\x20\xf5\x63\x2f\x28\xd9\x2f\x8b\xef\x82\x1b\x2b\x79\xcd\x8d\xa8\xb2\xef\xab\x40\x35\x89\xc3\x7d\x83\xa4\x93\x2d\x89\xf8\x03\x5b\x81\xca\x80\x63\x57\xa2\x3c\x00\x94\x4e\x8f\xda\xf1\xba\x4a\x55\x56\xe8\xee\xcd\x7f\x5f\xee\xb5\x7d\x7b\x03\x83\x21\x2c\xb6\xed\x52\x40\xf5\x79\x17\x7c\xe4\x90\xa3\x60\xee\x4b\xd5\xe7\x09\x6f\xf5\x2c\x58\x84\x50\xf9\x16\x4d\xa0\xda\x73\x41\x0c\x04\x4e\xde\xb5\x08\xbd\x80\xca\xe1\x58\x5a\x5c\xa5\x7c\xdf\x77\x85\xe9\x6e\xbc\x83\x55\x58\x73\x4a\xe1\xb2\x5e\x19\xd2\x73\x64\x1f\xee\x78\xbe\xc1\x40\x0e\x68\xea\x63\xb6\x3c\x37\x0e\x14\xc2\x78\x30\x25\xb1\x4c\xd5\x12\x64\xbe\x40\x85\xbb\x6d\x9d\xd3\xe2\xec\x35\x74\xf5\x09\xeb\xb3\xb6\xcd\x7e\x80\x9a\x3f\x2d\x32\xa0\x7e\xa8\xe7\xfc\xfa\x22\x64\x87\x05\x9b\xea\xdd\x35\x66\xeb\x5d\x2d\xd8\x54\xa7\xce\x36\x56\x1d\xe0\x92\xd7\x47\xd4\x48\x5c\x87\x75\x73\xe6\x78\x23\x16\x51\x4a\xaa\x23\x91\x60\xe5\x7b\xad\x8e\xe2\x5c\x4e\xf0\x2f\x25\xd5\x71\x27\x11\xe1\x10\x89\x24\x99\xe5\xf6\x1f\x16\xd2\xb1\x49\x88\x81\x23\xbf\x7e\xe4\x6f\x5c\x10\x1e\x19\x41\xdd\x9a\xcc\x13\x6d\xfc\xe9\x0c\xdc\x85\xac\x58\x5e\x78\x8a\x04\xa5\xc1\xc1\x00\x06\x8d\x1d\xd7\xa0\x47\xb8\x49\xd2\xf8\xa2\xe1\x20\xc1\x38\xb4\xa7\x7a\xb7\xcc\x5a\x3c\x25\xf3\x05\xf7\x42\xac\xd1\x75\xdf\xee\xda\x31\xee\x3d\x44\x91\x6c\x7d\x28\x9a\xeb\x2e\x7b\x51\xba\x2c\xfd\xda\x00\xa5\x1e\x08\xa0\x16\x89\xa0\x7f\x7e\x3b\x51\x1a\xb3\x3e\x76\x62\x56\xbe\x5a\xd9\x5d\x63\x2e\x87\x64\x39\xda\x51\x9c\xdf\x16\x68\x0a\x13\x98\xed\xf8\xb3\x24\x6a\x82\x6e\xaa\xc3\xa3\xec\x43\xb3\xce\xaa\xb1\x0f\x35\x68\x96\xb7\x14\x92\x48\x7e\xf2\xc4\xe9\xe9\x8c\x02\x15\x3d\x9e\xa6\x21\x6b\xb4\x0f\x05\xcd\xa5\x0f\x18\x98\xe3\x3f\x4d\xcd\x7f\x46\x55\xc3\x4d\x44\x14\xa0\xfe\x9f\x8b\x91\xad\xa3\x27\x06\x2a\x4a\x23\x5d\xe0\xc5\xdc\x5f\x9f\x0f\xed\xe6\x73\xf9\x93\xdf\x59\x09\xe1\x81\x84\x2d\xbe\x76\xf1\x28\xf6\x83\xfb\xda\x9c\x32\xf1\x32\x6b\xa0\x4a\xee\x6a\xb9\x23\xae\xb5\x05\xec\xd2\x5b\x19\xd7\x79\xb2\xe2\x51\x29\x82\xde\x8b\x57\xb0\x74\x42\x62\x8b\x19\xc0\x03\x2c\x74\xd0\x13\xdd\x70\xe6\x04\xdd\xda\xe7\xff\xdc\x77\x0a\xe1\x8d\xf4\x0b\xc4\x47\xba\x03\x87\xb8\x7d\xeb\x67\x64\x29\xb2\xcc\x6b\x15\x15\x3d\x07\x9b\xb3\x12\x3d\x54\xe3\x90\x82\x2c\x0a\xe8\x79\x9f\x32\x86\x47\x56\xae\x0d\x63\x14\xc6\x6e\x0e\xe4\x76\xaf\x09\x2f\x91\x78\x39\x5c\x39\x62\xe2\xd8\xc9\xab\xb4\x10\x30\x84\x58\x3f\xf2\x64\x09\xb1\x2b\x7a\x04\x16\xa4\xbe\x15\x71\x52\x54\xe5\x3c\x4a\xb5\x4e\xbf\xdd\x85\xff\xff\xbb\x0b\x03\xfc\xe3\x25\x2f\xc2\xcd\x55\x74\xbf\x1d\x85\xdf\xc1\x51\x58\x4e\xf5\x09\xfd\x84\xe5\x01\x43\x86\x96\xba\x7a\xef\x1f\x3f\x6d\x70\x05\x0b\x7a\x92\xf5\x1f\x67\x5a\xab\x03\x77\x71\x6f\xeb\xd7\x9d\x7d\xf4\xce\x82\xf7\xa0\x83\x52\xad\xda\x3e\x0a\x43\x50\x79\x38\x87\xe6\xe2\xd2\x3b\x7c\xd9\x5e\x0d\xfb\x5d\x25\x61\xfa\x38\x03\xc6\x44\xb9\xb4\xcc\xad\x35\x4d\x52\x60\x7a\xb2\xc3\x44\x05\x2c\x84\x3c\x7f\x95\xb9\x51\x2f\x9b\x22\x8b\x07\xbc\x49\xb2\xfc\xe7\x8a\xe4\xcb\x71\x9a\x31\x2f\x86\x24\xb0\x5d\xc5\x6e\x06\x4f\x74\x26\xc0\xef\xcb\x29\x6a\xe3\x17\xe0\x9a\x03\x9a\x22\x4b\xf2\x6f\xfa\x3d\xe4\xe0\xf8\xec\xc6\xeb\x33\xfa\xbc\xcf\x9a\xef\x76\x42\xdb\xbc\x6b\x2d\x35\x0e\x8c\xf9\xf0\x16\x90\xbc\xd8\x08\xd4\xdd\xaa\x9c\x6d\x66\x4f\x57\x9a\x86\x9f\xc1\xd0\x8d\x9b\x67\xee\xb6\x48\xd3\xd6\x99\x3b\x4c\xc4\x7d\xfb\xf1\xe6\x66\xf1\xf3\xe4\xe6\xe3\x75\x27\xb1\x75\xf0\xb3\xd6\x31\x71\x3d\xa1\x31\xf1\xd2\x19\xe6\xb5\xc2\x6a\x7f\x29\xff\xd5\x78\x71\x28\xd2\xb4\x4c\x7a\x3e\x97\x9f\xa9\x1d\x00\xb1\xa1\xa0\x8b\x19\x37\xd6\x39\x70\xe5\xf7\xc3\xcf\x3e\x9b\xc6\x3f\xe3\xb3\x17\xcc\x7f\xc4\x5b\x90\xe6\x20\xca\xff\xe6\x71\x25\x84\xec\x09\xdb\x01\x21\x53\x6d\xdb\xe1\xdc\xb2\x0e\xc7\x6d\x8f\x8f\x12\x18\xf4\x44\x6c\xd5\x18\xce\xb2\x3b\x70\xec\x3e\x97\xa3\x99\xce\x96\xc7\xe8\x9a\x43\xbb\x23\x24\xe3\x07\x89\x31\xcf\x57\x3f\x97\x78\xaf\x34\x7d\xca\x55\x7b\x9f\xd8\x94\xd0\x08\x29\x97\xeb\x82\xaf\x45\x36\x62\xf6\xe5\x73\xb9\x4d\xd6\x1b\xe0\x2a\x24\x2d\x78\x77\x13\x83\xb2\xd6\xca\x12\xaa\xa0\xeb\x12\x39\x97\xf4\x4d\x72\xed\x9b\x47\x8c\xd9\x9f\x1f\xdc\xe7\x10\x74\x0f\x1b\x22\x3d\x01\x39\x97\x38\xb9\x48\x88\x6c\xc3\x3c\xe0\xb8\xf2\xbc\xba\x74\x39\xe8\x4d\xa1\xe6\x9e\xb1\xe9\x6b\x08\x38\xcd\xa5\x2b\x8b\x41\x10\x60\xa8\x67\x8f\xe8\x60\xec\xd2\x61\x7b\x62\x27\xc3\xee\x09\xea\x5b\xf3\xaa\x3f\xf9\x0c\x30\x1b\x6e\x31\x40\x3c\xac\x6e\xc6\x7a\xde\x11\x78\x60\x38\xda\x6a\x25\xa1\x16\xaa\xb9\x37\xf6\xbb\xf0\x37\xad\x29\x7c\x55\x2c\xd3\x01\x5d\xc2\xdf\x77\x76\x0a\x4d\x72\x77\xa7\x7a\xc4\x78\xef\x2b\x5b\xcb\x2c\xd3\xae\xd7\x2e\x95\x6a\x99\x97\x33\x46\x4b\x4b\x9d\xa2\x07\x0e\x0d\x46\x11\xe5\xc7\xac\x97\x1e\x05\x0c\xd5\x21\xb2\xd6\xa7\xab\x43\x69\x92\x1d\xd5\x1d\xef\x3f\xf5\xee\x91\xf3\x10\xe8\xb0\x1b\x64\x61\xe9\x9c\x2b\x19\xd8\x16\x33\x49\x31\x3a\xab\xc2\x95\xa0\x79\x31\x9b\x07\x25\xb2\xcc\xfa\x1f\xb9\x45\x34\xf2\x33\x37\x82\x4e\x46\x85\xce\x8c\xb9\x24\x7b\x47\x56\x5b\x69\xc6\xe7\xd2\xf2\xd7\x5a\x73\x3c\xb1\x20\x04\xed\xfe\x15\x8b\x42\x76\xc8\xff\x08\x1e\x6b\xce\x94\x14\xd6\x1a\xce\xa5\x95\x6e\x1b\x31\xbe\xcc\xac\x22\x1a\x97\x7b\x27\x53\x96\x38\x0d\x0a\x2e\x19\xa0\x3b\x0e\xdb\xbc\x8a\x1b\x50\x3a\xe7\xff\xc5\xfc\xdf\xdf\xff\xe5\xff\x05\x00\x00\xff\xff\x89\x1f\x2e\xa6\x61\x32\x04\x00") func adminSwaggerJsonBytes() ([]byte, error) { return bindataRead( @@ -93,7 +93,7 @@ func adminSwaggerJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "admin.swagger.json", size: 277116, mode: os.FileMode(420), modTime: time.Unix(1562572800, 0)} + info := bindataFileInfo{name: "admin.swagger.json", size: 275041, mode: os.FileMode(420), modTime: time.Unix(1562572800, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/gen/pb-java/flyteidl/admin/ClusterAssignmentOuterClass.java b/gen/pb-java/flyteidl/admin/ClusterAssignmentOuterClass.java index a48b48be0..9de1ccf7a 100644 --- a/gen/pb-java/flyteidl/admin/ClusterAssignmentOuterClass.java +++ b/gen/pb-java/flyteidl/admin/ClusterAssignmentOuterClass.java @@ -19,30 +19,14 @@ public interface ClusterAssignmentOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .flyteidl.admin.Affinity affinity = 1; + * string cluster_pool_name = 1; */ - boolean hasAffinity(); + java.lang.String getClusterPoolName(); /** - * .flyteidl.admin.Affinity affinity = 1; + * string cluster_pool_name = 1; */ - flyteidl.admin.ClusterAssignmentOuterClass.Affinity getAffinity(); - /** - * .flyteidl.admin.Affinity affinity = 1; - */ - flyteidl.admin.ClusterAssignmentOuterClass.AffinityOrBuilder getAffinityOrBuilder(); - - /** - * .flyteidl.admin.Toleration toleration = 2; - */ - boolean hasToleration(); - /** - * .flyteidl.admin.Toleration toleration = 2; - */ - flyteidl.admin.ClusterAssignmentOuterClass.Toleration getToleration(); - /** - * .flyteidl.admin.Toleration toleration = 2; - */ - flyteidl.admin.ClusterAssignmentOuterClass.TolerationOrBuilder getTolerationOrBuilder(); + com.google.protobuf.ByteString + getClusterPoolNameBytes(); } /** *
@@ -61,6 +45,7 @@ private ClusterAssignment(com.google.protobuf.GeneratedMessageV3.Builder buil
       super(builder);
     }
     private ClusterAssignment() {
+      clusterPoolName_ = "";
     }
 
     @java.lang.Override
@@ -88,29 +73,9 @@ private ClusterAssignment(
               done = true;
               break;
             case 10: {
-              flyteidl.admin.ClusterAssignmentOuterClass.Affinity.Builder subBuilder = null;
-              if (affinity_ != null) {
-                subBuilder = affinity_.toBuilder();
-              }
-              affinity_ = input.readMessage(flyteidl.admin.ClusterAssignmentOuterClass.Affinity.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(affinity_);
-                affinity_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-            case 18: {
-              flyteidl.admin.ClusterAssignmentOuterClass.Toleration.Builder subBuilder = null;
-              if (toleration_ != null) {
-                subBuilder = toleration_.toBuilder();
-              }
-              toleration_ = input.readMessage(flyteidl.admin.ClusterAssignmentOuterClass.Toleration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(toleration_);
-                toleration_ = subBuilder.buildPartial();
-              }
+              java.lang.String s = input.readStringRequireUtf8();
 
+              clusterPoolName_ = s;
               break;
             }
             default: {
@@ -145,46 +110,38 @@ private ClusterAssignment(
               flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.class, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder.class);
     }
 
-    public static final int AFFINITY_FIELD_NUMBER = 1;
-    private flyteidl.admin.ClusterAssignmentOuterClass.Affinity affinity_;
-    /**
-     * .flyteidl.admin.Affinity affinity = 1;
-     */
-    public boolean hasAffinity() {
-      return affinity_ != null;
-    }
-    /**
-     * .flyteidl.admin.Affinity affinity = 1;
-     */
-    public flyteidl.admin.ClusterAssignmentOuterClass.Affinity getAffinity() {
-      return affinity_ == null ? flyteidl.admin.ClusterAssignmentOuterClass.Affinity.getDefaultInstance() : affinity_;
-    }
-    /**
-     * .flyteidl.admin.Affinity affinity = 1;
-     */
-    public flyteidl.admin.ClusterAssignmentOuterClass.AffinityOrBuilder getAffinityOrBuilder() {
-      return getAffinity();
-    }
-
-    public static final int TOLERATION_FIELD_NUMBER = 2;
-    private flyteidl.admin.ClusterAssignmentOuterClass.Toleration toleration_;
+    public static final int CLUSTER_POOL_NAME_FIELD_NUMBER = 1;
+    private volatile java.lang.Object clusterPoolName_;
     /**
-     * .flyteidl.admin.Toleration toleration = 2;
+     * string cluster_pool_name = 1;
      */
-    public boolean hasToleration() {
-      return toleration_ != null;
-    }
-    /**
-     * .flyteidl.admin.Toleration toleration = 2;
-     */
-    public flyteidl.admin.ClusterAssignmentOuterClass.Toleration getToleration() {
-      return toleration_ == null ? flyteidl.admin.ClusterAssignmentOuterClass.Toleration.getDefaultInstance() : toleration_;
+    public java.lang.String getClusterPoolName() {
+      java.lang.Object ref = clusterPoolName_;
+      if (ref instanceof java.lang.String) {
+        return (java.lang.String) ref;
+      } else {
+        com.google.protobuf.ByteString bs = 
+            (com.google.protobuf.ByteString) ref;
+        java.lang.String s = bs.toStringUtf8();
+        clusterPoolName_ = s;
+        return s;
+      }
     }
     /**
-     * .flyteidl.admin.Toleration toleration = 2;
+     * string cluster_pool_name = 1;
      */
-    public flyteidl.admin.ClusterAssignmentOuterClass.TolerationOrBuilder getTolerationOrBuilder() {
-      return getToleration();
+    public com.google.protobuf.ByteString
+        getClusterPoolNameBytes() {
+      java.lang.Object ref = clusterPoolName_;
+      if (ref instanceof java.lang.String) {
+        com.google.protobuf.ByteString b = 
+            com.google.protobuf.ByteString.copyFromUtf8(
+                (java.lang.String) ref);
+        clusterPoolName_ = b;
+        return b;
+      } else {
+        return (com.google.protobuf.ByteString) ref;
+      }
     }
 
     private byte memoizedIsInitialized = -1;
@@ -201,11 +158,8 @@ public final boolean isInitialized() {
     @java.lang.Override
     public void writeTo(com.google.protobuf.CodedOutputStream output)
                         throws java.io.IOException {
-      if (affinity_ != null) {
-        output.writeMessage(1, getAffinity());
-      }
-      if (toleration_ != null) {
-        output.writeMessage(2, getToleration());
+      if (!getClusterPoolNameBytes().isEmpty()) {
+        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterPoolName_);
       }
       unknownFields.writeTo(output);
     }
@@ -216,13 +170,8 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (affinity_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getAffinity());
-      }
-      if (toleration_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getToleration());
+      if (!getClusterPoolNameBytes().isEmpty()) {
+        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clusterPoolName_);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -239,16 +188,8 @@ public boolean equals(final java.lang.Object obj) {
       }
       flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment other = (flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) obj;
 
-      if (hasAffinity() != other.hasAffinity()) return false;
-      if (hasAffinity()) {
-        if (!getAffinity()
-            .equals(other.getAffinity())) return false;
-      }
-      if (hasToleration() != other.hasToleration()) return false;
-      if (hasToleration()) {
-        if (!getToleration()
-            .equals(other.getToleration())) return false;
-      }
+      if (!getClusterPoolName()
+          .equals(other.getClusterPoolName())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -260,14 +201,8 @@ public int hashCode() {
       }
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
-      if (hasAffinity()) {
-        hash = (37 * hash) + AFFINITY_FIELD_NUMBER;
-        hash = (53 * hash) + getAffinity().hashCode();
-      }
-      if (hasToleration()) {
-        hash = (37 * hash) + TOLERATION_FIELD_NUMBER;
-        hash = (53 * hash) + getToleration().hashCode();
-      }
+      hash = (37 * hash) + CLUSTER_POOL_NAME_FIELD_NUMBER;
+      hash = (53 * hash) + getClusterPoolName().hashCode();
       hash = (29 * hash) + unknownFields.hashCode();
       memoizedHashCode = hash;
       return hash;
@@ -405,18 +340,8 @@ private void maybeForceBuilderInitialization() {
       @java.lang.Override
       public Builder clear() {
         super.clear();
-        if (affinityBuilder_ == null) {
-          affinity_ = null;
-        } else {
-          affinity_ = null;
-          affinityBuilder_ = null;
-        }
-        if (tolerationBuilder_ == null) {
-          toleration_ = null;
-        } else {
-          toleration_ = null;
-          tolerationBuilder_ = null;
-        }
+        clusterPoolName_ = "";
+
         return this;
       }
 
@@ -443,16 +368,7 @@ public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment build() {
       @java.lang.Override
       public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment buildPartial() {
         flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment result = new flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment(this);
-        if (affinityBuilder_ == null) {
-          result.affinity_ = affinity_;
-        } else {
-          result.affinity_ = affinityBuilder_.build();
-        }
-        if (tolerationBuilder_ == null) {
-          result.toleration_ = toleration_;
-        } else {
-          result.toleration_ = tolerationBuilder_.build();
-        }
+        result.clusterPoolName_ = clusterPoolName_;
         onBuilt();
         return result;
       }
@@ -501,11 +417,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
       public Builder mergeFrom(flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment other) {
         if (other == flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance()) return this;
-        if (other.hasAffinity()) {
-          mergeAffinity(other.getAffinity());
-        }
-        if (other.hasToleration()) {
-          mergeToleration(other.getToleration());
+        if (!other.getClusterPoolName().isEmpty()) {
+          clusterPoolName_ = other.clusterPoolName_;
+          onChanged();
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -536,238 +450,73 @@ public Builder mergeFrom(
         return this;
       }
 
-      private flyteidl.admin.ClusterAssignmentOuterClass.Affinity affinity_;
-      private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.ClusterAssignmentOuterClass.Affinity, flyteidl.admin.ClusterAssignmentOuterClass.Affinity.Builder, flyteidl.admin.ClusterAssignmentOuterClass.AffinityOrBuilder> affinityBuilder_;
-      /**
-       * .flyteidl.admin.Affinity affinity = 1;
-       */
-      public boolean hasAffinity() {
-        return affinityBuilder_ != null || affinity_ != null;
-      }
-      /**
-       * .flyteidl.admin.Affinity affinity = 1;
-       */
-      public flyteidl.admin.ClusterAssignmentOuterClass.Affinity getAffinity() {
-        if (affinityBuilder_ == null) {
-          return affinity_ == null ? flyteidl.admin.ClusterAssignmentOuterClass.Affinity.getDefaultInstance() : affinity_;
-        } else {
-          return affinityBuilder_.getMessage();
-        }
-      }
-      /**
-       * .flyteidl.admin.Affinity affinity = 1;
-       */
-      public Builder setAffinity(flyteidl.admin.ClusterAssignmentOuterClass.Affinity value) {
-        if (affinityBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          affinity_ = value;
-          onChanged();
-        } else {
-          affinityBuilder_.setMessage(value);
-        }
-
-        return this;
-      }
+      private java.lang.Object clusterPoolName_ = "";
       /**
-       * .flyteidl.admin.Affinity affinity = 1;
+       * string cluster_pool_name = 1;
        */
-      public Builder setAffinity(
-          flyteidl.admin.ClusterAssignmentOuterClass.Affinity.Builder builderForValue) {
-        if (affinityBuilder_ == null) {
-          affinity_ = builderForValue.build();
-          onChanged();
+      public java.lang.String getClusterPoolName() {
+        java.lang.Object ref = clusterPoolName_;
+        if (!(ref instanceof java.lang.String)) {
+          com.google.protobuf.ByteString bs =
+              (com.google.protobuf.ByteString) ref;
+          java.lang.String s = bs.toStringUtf8();
+          clusterPoolName_ = s;
+          return s;
         } else {
-          affinityBuilder_.setMessage(builderForValue.build());
+          return (java.lang.String) ref;
         }
-
-        return this;
       }
       /**
-       * .flyteidl.admin.Affinity affinity = 1;
+       * string cluster_pool_name = 1;
        */
-      public Builder mergeAffinity(flyteidl.admin.ClusterAssignmentOuterClass.Affinity value) {
-        if (affinityBuilder_ == null) {
-          if (affinity_ != null) {
-            affinity_ =
-              flyteidl.admin.ClusterAssignmentOuterClass.Affinity.newBuilder(affinity_).mergeFrom(value).buildPartial();
-          } else {
-            affinity_ = value;
-          }
-          onChanged();
+      public com.google.protobuf.ByteString
+          getClusterPoolNameBytes() {
+        java.lang.Object ref = clusterPoolName_;
+        if (ref instanceof String) {
+          com.google.protobuf.ByteString b = 
+              com.google.protobuf.ByteString.copyFromUtf8(
+                  (java.lang.String) ref);
+          clusterPoolName_ = b;
+          return b;
         } else {
-          affinityBuilder_.mergeFrom(value);
+          return (com.google.protobuf.ByteString) ref;
         }
-
-        return this;
       }
       /**
-       * .flyteidl.admin.Affinity affinity = 1;
+       * string cluster_pool_name = 1;
        */
-      public Builder clearAffinity() {
-        if (affinityBuilder_ == null) {
-          affinity_ = null;
-          onChanged();
-        } else {
-          affinity_ = null;
-          affinityBuilder_ = null;
-        }
-
+      public Builder setClusterPoolName(
+          java.lang.String value) {
+        if (value == null) {
+    throw new NullPointerException();
+  }
+  
+        clusterPoolName_ = value;
+        onChanged();
         return this;
       }
       /**
-       * .flyteidl.admin.Affinity affinity = 1;
+       * string cluster_pool_name = 1;
        */
-      public flyteidl.admin.ClusterAssignmentOuterClass.Affinity.Builder getAffinityBuilder() {
+      public Builder clearClusterPoolName() {
         
+        clusterPoolName_ = getDefaultInstance().getClusterPoolName();
         onChanged();
-        return getAffinityFieldBuilder().getBuilder();
-      }
-      /**
-       * .flyteidl.admin.Affinity affinity = 1;
-       */
-      public flyteidl.admin.ClusterAssignmentOuterClass.AffinityOrBuilder getAffinityOrBuilder() {
-        if (affinityBuilder_ != null) {
-          return affinityBuilder_.getMessageOrBuilder();
-        } else {
-          return affinity_ == null ?
-              flyteidl.admin.ClusterAssignmentOuterClass.Affinity.getDefaultInstance() : affinity_;
-        }
-      }
-      /**
-       * .flyteidl.admin.Affinity affinity = 1;
-       */
-      private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.ClusterAssignmentOuterClass.Affinity, flyteidl.admin.ClusterAssignmentOuterClass.Affinity.Builder, flyteidl.admin.ClusterAssignmentOuterClass.AffinityOrBuilder> 
-          getAffinityFieldBuilder() {
-        if (affinityBuilder_ == null) {
-          affinityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              flyteidl.admin.ClusterAssignmentOuterClass.Affinity, flyteidl.admin.ClusterAssignmentOuterClass.Affinity.Builder, flyteidl.admin.ClusterAssignmentOuterClass.AffinityOrBuilder>(
-                  getAffinity(),
-                  getParentForChildren(),
-                  isClean());
-          affinity_ = null;
-        }
-        return affinityBuilder_;
-      }
-
-      private flyteidl.admin.ClusterAssignmentOuterClass.Toleration toleration_;
-      private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.ClusterAssignmentOuterClass.Toleration, flyteidl.admin.ClusterAssignmentOuterClass.Toleration.Builder, flyteidl.admin.ClusterAssignmentOuterClass.TolerationOrBuilder> tolerationBuilder_;
-      /**
-       * .flyteidl.admin.Toleration toleration = 2;
-       */
-      public boolean hasToleration() {
-        return tolerationBuilder_ != null || toleration_ != null;
-      }
-      /**
-       * .flyteidl.admin.Toleration toleration = 2;
-       */
-      public flyteidl.admin.ClusterAssignmentOuterClass.Toleration getToleration() {
-        if (tolerationBuilder_ == null) {
-          return toleration_ == null ? flyteidl.admin.ClusterAssignmentOuterClass.Toleration.getDefaultInstance() : toleration_;
-        } else {
-          return tolerationBuilder_.getMessage();
-        }
-      }
-      /**
-       * .flyteidl.admin.Toleration toleration = 2;
-       */
-      public Builder setToleration(flyteidl.admin.ClusterAssignmentOuterClass.Toleration value) {
-        if (tolerationBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          toleration_ = value;
-          onChanged();
-        } else {
-          tolerationBuilder_.setMessage(value);
-        }
-
-        return this;
-      }
-      /**
-       * .flyteidl.admin.Toleration toleration = 2;
-       */
-      public Builder setToleration(
-          flyteidl.admin.ClusterAssignmentOuterClass.Toleration.Builder builderForValue) {
-        if (tolerationBuilder_ == null) {
-          toleration_ = builderForValue.build();
-          onChanged();
-        } else {
-          tolerationBuilder_.setMessage(builderForValue.build());
-        }
-
-        return this;
-      }
-      /**
-       * .flyteidl.admin.Toleration toleration = 2;
-       */
-      public Builder mergeToleration(flyteidl.admin.ClusterAssignmentOuterClass.Toleration value) {
-        if (tolerationBuilder_ == null) {
-          if (toleration_ != null) {
-            toleration_ =
-              flyteidl.admin.ClusterAssignmentOuterClass.Toleration.newBuilder(toleration_).mergeFrom(value).buildPartial();
-          } else {
-            toleration_ = value;
-          }
-          onChanged();
-        } else {
-          tolerationBuilder_.mergeFrom(value);
-        }
-
-        return this;
-      }
-      /**
-       * .flyteidl.admin.Toleration toleration = 2;
-       */
-      public Builder clearToleration() {
-        if (tolerationBuilder_ == null) {
-          toleration_ = null;
-          onChanged();
-        } else {
-          toleration_ = null;
-          tolerationBuilder_ = null;
-        }
-
         return this;
       }
       /**
-       * .flyteidl.admin.Toleration toleration = 2;
+       * string cluster_pool_name = 1;
        */
-      public flyteidl.admin.ClusterAssignmentOuterClass.Toleration.Builder getTolerationBuilder() {
+      public Builder setClusterPoolNameBytes(
+          com.google.protobuf.ByteString value) {
+        if (value == null) {
+    throw new NullPointerException();
+  }
+  checkByteStringIsUtf8(value);
         
+        clusterPoolName_ = value;
         onChanged();
-        return getTolerationFieldBuilder().getBuilder();
-      }
-      /**
-       * .flyteidl.admin.Toleration toleration = 2;
-       */
-      public flyteidl.admin.ClusterAssignmentOuterClass.TolerationOrBuilder getTolerationOrBuilder() {
-        if (tolerationBuilder_ != null) {
-          return tolerationBuilder_.getMessageOrBuilder();
-        } else {
-          return toleration_ == null ?
-              flyteidl.admin.ClusterAssignmentOuterClass.Toleration.getDefaultInstance() : toleration_;
-        }
-      }
-      /**
-       * .flyteidl.admin.Toleration toleration = 2;
-       */
-      private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.ClusterAssignmentOuterClass.Toleration, flyteidl.admin.ClusterAssignmentOuterClass.Toleration.Builder, flyteidl.admin.ClusterAssignmentOuterClass.TolerationOrBuilder> 
-          getTolerationFieldBuilder() {
-        if (tolerationBuilder_ == null) {
-          tolerationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              flyteidl.admin.ClusterAssignmentOuterClass.Toleration, flyteidl.admin.ClusterAssignmentOuterClass.Toleration.Builder, flyteidl.admin.ClusterAssignmentOuterClass.TolerationOrBuilder>(
-                  getToleration(),
-                  getParentForChildren(),
-                  isClean());
-          toleration_ = null;
-        }
-        return tolerationBuilder_;
+        return this;
       }
       @java.lang.Override
       public final Builder setUnknownFields(
@@ -822,2970 +571,25 @@ public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getDefaultIn
 
   }
 
-  public interface AffinityOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:flyteidl.admin.Affinity)
-      com.google.protobuf.MessageOrBuilder {
+  private static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_flyteidl_admin_ClusterAssignment_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_flyteidl_admin_ClusterAssignment_fieldAccessorTable;
 
-    /**
-     * 
-     * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - java.util.List - getSelectorsList(); - /** - *
-     * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - flyteidl.admin.ClusterAssignmentOuterClass.Selector getSelectors(int index); - /** - *
-     * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - int getSelectorsCount(); - /** - *
-     * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - java.util.List - getSelectorsOrBuilderList(); - /** - *
-     * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - flyteidl.admin.ClusterAssignmentOuterClass.SelectorOrBuilder getSelectorsOrBuilder( - int index); - } - /** - *
-   * Defines a set of constraints used to select eligible objects based on labels they possess.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Affinity} - */ - public static final class Affinity extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Affinity) - AffinityOrBuilder { - private static final long serialVersionUID = 0L; - // Use Affinity.newBuilder() to construct. - private Affinity(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Affinity() { - selectors_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Affinity( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - selectors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - selectors_.add( - input.readMessage(flyteidl.admin.ClusterAssignmentOuterClass.Selector.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - selectors_ = java.util.Collections.unmodifiableList(selectors_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Affinity_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Affinity_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ClusterAssignmentOuterClass.Affinity.class, flyteidl.admin.ClusterAssignmentOuterClass.Affinity.Builder.class); - } - - public static final int SELECTORS_FIELD_NUMBER = 1; - private java.util.List selectors_; - /** - *
-     * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public java.util.List getSelectorsList() { - return selectors_; - } - /** - *
-     * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public java.util.List - getSelectorsOrBuilderList() { - return selectors_; - } - /** - *
-     * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public int getSelectorsCount() { - return selectors_.size(); - } - /** - *
-     * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.Selector getSelectors(int index) { - return selectors_.get(index); - } - /** - *
-     * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.SelectorOrBuilder getSelectorsOrBuilder( - int index) { - return selectors_.get(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < selectors_.size(); i++) { - output.writeMessage(1, selectors_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < selectors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, selectors_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ClusterAssignmentOuterClass.Affinity)) { - return super.equals(obj); - } - flyteidl.admin.ClusterAssignmentOuterClass.Affinity other = (flyteidl.admin.ClusterAssignmentOuterClass.Affinity) obj; - - if (!getSelectorsList() - .equals(other.getSelectorsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getSelectorsCount() > 0) { - hash = (37 * hash) + SELECTORS_FIELD_NUMBER; - hash = (53 * hash) + getSelectorsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ClusterAssignmentOuterClass.Affinity parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Affinity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Affinity parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Affinity parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Affinity parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Affinity parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Affinity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Affinity parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Affinity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Affinity parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Affinity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Affinity parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ClusterAssignmentOuterClass.Affinity prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a set of constraints used to select eligible objects based on labels they possess.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Affinity} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Affinity) - flyteidl.admin.ClusterAssignmentOuterClass.AffinityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Affinity_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Affinity_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ClusterAssignmentOuterClass.Affinity.class, flyteidl.admin.ClusterAssignmentOuterClass.Affinity.Builder.class); - } - - // Construct using flyteidl.admin.ClusterAssignmentOuterClass.Affinity.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getSelectorsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (selectorsBuilder_ == null) { - selectors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - selectorsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Affinity_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.Affinity getDefaultInstanceForType() { - return flyteidl.admin.ClusterAssignmentOuterClass.Affinity.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.Affinity build() { - flyteidl.admin.ClusterAssignmentOuterClass.Affinity result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.Affinity buildPartial() { - flyteidl.admin.ClusterAssignmentOuterClass.Affinity result = new flyteidl.admin.ClusterAssignmentOuterClass.Affinity(this); - int from_bitField0_ = bitField0_; - if (selectorsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - selectors_ = java.util.Collections.unmodifiableList(selectors_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.selectors_ = selectors_; - } else { - result.selectors_ = selectorsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ClusterAssignmentOuterClass.Affinity) { - return mergeFrom((flyteidl.admin.ClusterAssignmentOuterClass.Affinity)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ClusterAssignmentOuterClass.Affinity other) { - if (other == flyteidl.admin.ClusterAssignmentOuterClass.Affinity.getDefaultInstance()) return this; - if (selectorsBuilder_ == null) { - if (!other.selectors_.isEmpty()) { - if (selectors_.isEmpty()) { - selectors_ = other.selectors_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureSelectorsIsMutable(); - selectors_.addAll(other.selectors_); - } - onChanged(); - } - } else { - if (!other.selectors_.isEmpty()) { - if (selectorsBuilder_.isEmpty()) { - selectorsBuilder_.dispose(); - selectorsBuilder_ = null; - selectors_ = other.selectors_; - bitField0_ = (bitField0_ & ~0x00000001); - selectorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSelectorsFieldBuilder() : null; - } else { - selectorsBuilder_.addAllMessages(other.selectors_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ClusterAssignmentOuterClass.Affinity parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ClusterAssignmentOuterClass.Affinity) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List selectors_ = - java.util.Collections.emptyList(); - private void ensureSelectorsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - selectors_ = new java.util.ArrayList(selectors_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ClusterAssignmentOuterClass.Selector, flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder, flyteidl.admin.ClusterAssignmentOuterClass.SelectorOrBuilder> selectorsBuilder_; - - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public java.util.List getSelectorsList() { - if (selectorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(selectors_); - } else { - return selectorsBuilder_.getMessageList(); - } - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public int getSelectorsCount() { - if (selectorsBuilder_ == null) { - return selectors_.size(); - } else { - return selectorsBuilder_.getCount(); - } - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.Selector getSelectors(int index) { - if (selectorsBuilder_ == null) { - return selectors_.get(index); - } else { - return selectorsBuilder_.getMessage(index); - } - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder setSelectors( - int index, flyteidl.admin.ClusterAssignmentOuterClass.Selector value) { - if (selectorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSelectorsIsMutable(); - selectors_.set(index, value); - onChanged(); - } else { - selectorsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder setSelectors( - int index, flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder builderForValue) { - if (selectorsBuilder_ == null) { - ensureSelectorsIsMutable(); - selectors_.set(index, builderForValue.build()); - onChanged(); - } else { - selectorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder addSelectors(flyteidl.admin.ClusterAssignmentOuterClass.Selector value) { - if (selectorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSelectorsIsMutable(); - selectors_.add(value); - onChanged(); - } else { - selectorsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder addSelectors( - int index, flyteidl.admin.ClusterAssignmentOuterClass.Selector value) { - if (selectorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSelectorsIsMutable(); - selectors_.add(index, value); - onChanged(); - } else { - selectorsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder addSelectors( - flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder builderForValue) { - if (selectorsBuilder_ == null) { - ensureSelectorsIsMutable(); - selectors_.add(builderForValue.build()); - onChanged(); - } else { - selectorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder addSelectors( - int index, flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder builderForValue) { - if (selectorsBuilder_ == null) { - ensureSelectorsIsMutable(); - selectors_.add(index, builderForValue.build()); - onChanged(); - } else { - selectorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder addAllSelectors( - java.lang.Iterable values) { - if (selectorsBuilder_ == null) { - ensureSelectorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, selectors_); - onChanged(); - } else { - selectorsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder clearSelectors() { - if (selectorsBuilder_ == null) { - selectors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - selectorsBuilder_.clear(); - } - return this; - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder removeSelectors(int index) { - if (selectorsBuilder_ == null) { - ensureSelectorsIsMutable(); - selectors_.remove(index); - onChanged(); - } else { - selectorsBuilder_.remove(index); - } - return this; - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder getSelectorsBuilder( - int index) { - return getSelectorsFieldBuilder().getBuilder(index); - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.SelectorOrBuilder getSelectorsOrBuilder( - int index) { - if (selectorsBuilder_ == null) { - return selectors_.get(index); } else { - return selectorsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public java.util.List - getSelectorsOrBuilderList() { - if (selectorsBuilder_ != null) { - return selectorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(selectors_); - } - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder addSelectorsBuilder() { - return getSelectorsFieldBuilder().addBuilder( - flyteidl.admin.ClusterAssignmentOuterClass.Selector.getDefaultInstance()); - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder addSelectorsBuilder( - int index) { - return getSelectorsFieldBuilder().addBuilder( - index, flyteidl.admin.ClusterAssignmentOuterClass.Selector.getDefaultInstance()); - } - /** - *
-       * Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public java.util.List - getSelectorsBuilderList() { - return getSelectorsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ClusterAssignmentOuterClass.Selector, flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder, flyteidl.admin.ClusterAssignmentOuterClass.SelectorOrBuilder> - getSelectorsFieldBuilder() { - if (selectorsBuilder_ == null) { - selectorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ClusterAssignmentOuterClass.Selector, flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder, flyteidl.admin.ClusterAssignmentOuterClass.SelectorOrBuilder>( - selectors_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - selectors_ = null; - } - return selectorsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Affinity) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Affinity) - private static final flyteidl.admin.ClusterAssignmentOuterClass.Affinity DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ClusterAssignmentOuterClass.Affinity(); - } - - public static flyteidl.admin.ClusterAssignmentOuterClass.Affinity getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Affinity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Affinity(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.Affinity getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TolerationOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Toleration) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - java.util.List - getSelectorsList(); - /** - *
-     * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - flyteidl.admin.ClusterAssignmentOuterClass.Selector getSelectors(int index); - /** - *
-     * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - int getSelectorsCount(); - /** - *
-     * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - java.util.List - getSelectorsOrBuilderList(); - /** - *
-     * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - flyteidl.admin.ClusterAssignmentOuterClass.SelectorOrBuilder getSelectorsOrBuilder( - int index); - } - /** - *
-   * Defines a set of specific label selectors that the execution can tolerate on a cluster.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Toleration} - */ - public static final class Toleration extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Toleration) - TolerationOrBuilder { - private static final long serialVersionUID = 0L; - // Use Toleration.newBuilder() to construct. - private Toleration(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Toleration() { - selectors_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Toleration( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - selectors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - selectors_.add( - input.readMessage(flyteidl.admin.ClusterAssignmentOuterClass.Selector.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - selectors_ = java.util.Collections.unmodifiableList(selectors_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Toleration_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Toleration_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ClusterAssignmentOuterClass.Toleration.class, flyteidl.admin.ClusterAssignmentOuterClass.Toleration.Builder.class); - } - - public static final int SELECTORS_FIELD_NUMBER = 1; - private java.util.List selectors_; - /** - *
-     * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public java.util.List getSelectorsList() { - return selectors_; - } - /** - *
-     * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public java.util.List - getSelectorsOrBuilderList() { - return selectors_; - } - /** - *
-     * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public int getSelectorsCount() { - return selectors_.size(); - } - /** - *
-     * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.Selector getSelectors(int index) { - return selectors_.get(index); - } - /** - *
-     * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-     * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.SelectorOrBuilder getSelectorsOrBuilder( - int index) { - return selectors_.get(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < selectors_.size(); i++) { - output.writeMessage(1, selectors_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < selectors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, selectors_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ClusterAssignmentOuterClass.Toleration)) { - return super.equals(obj); - } - flyteidl.admin.ClusterAssignmentOuterClass.Toleration other = (flyteidl.admin.ClusterAssignmentOuterClass.Toleration) obj; - - if (!getSelectorsList() - .equals(other.getSelectorsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getSelectorsCount() > 0) { - hash = (37 * hash) + SELECTORS_FIELD_NUMBER; - hash = (53 * hash) + getSelectorsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ClusterAssignmentOuterClass.Toleration parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Toleration parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Toleration parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Toleration parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Toleration parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Toleration parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Toleration parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Toleration parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Toleration parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Toleration parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Toleration parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Toleration parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ClusterAssignmentOuterClass.Toleration prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a set of specific label selectors that the execution can tolerate on a cluster.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Toleration} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Toleration) - flyteidl.admin.ClusterAssignmentOuterClass.TolerationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Toleration_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Toleration_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ClusterAssignmentOuterClass.Toleration.class, flyteidl.admin.ClusterAssignmentOuterClass.Toleration.Builder.class); - } - - // Construct using flyteidl.admin.ClusterAssignmentOuterClass.Toleration.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getSelectorsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (selectorsBuilder_ == null) { - selectors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - selectorsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Toleration_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.Toleration getDefaultInstanceForType() { - return flyteidl.admin.ClusterAssignmentOuterClass.Toleration.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.Toleration build() { - flyteidl.admin.ClusterAssignmentOuterClass.Toleration result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.Toleration buildPartial() { - flyteidl.admin.ClusterAssignmentOuterClass.Toleration result = new flyteidl.admin.ClusterAssignmentOuterClass.Toleration(this); - int from_bitField0_ = bitField0_; - if (selectorsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - selectors_ = java.util.Collections.unmodifiableList(selectors_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.selectors_ = selectors_; - } else { - result.selectors_ = selectorsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ClusterAssignmentOuterClass.Toleration) { - return mergeFrom((flyteidl.admin.ClusterAssignmentOuterClass.Toleration)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ClusterAssignmentOuterClass.Toleration other) { - if (other == flyteidl.admin.ClusterAssignmentOuterClass.Toleration.getDefaultInstance()) return this; - if (selectorsBuilder_ == null) { - if (!other.selectors_.isEmpty()) { - if (selectors_.isEmpty()) { - selectors_ = other.selectors_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureSelectorsIsMutable(); - selectors_.addAll(other.selectors_); - } - onChanged(); - } - } else { - if (!other.selectors_.isEmpty()) { - if (selectorsBuilder_.isEmpty()) { - selectorsBuilder_.dispose(); - selectorsBuilder_ = null; - selectors_ = other.selectors_; - bitField0_ = (bitField0_ & ~0x00000001); - selectorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSelectorsFieldBuilder() : null; - } else { - selectorsBuilder_.addAllMessages(other.selectors_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ClusterAssignmentOuterClass.Toleration parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ClusterAssignmentOuterClass.Toleration) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List selectors_ = - java.util.Collections.emptyList(); - private void ensureSelectorsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - selectors_ = new java.util.ArrayList(selectors_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ClusterAssignmentOuterClass.Selector, flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder, flyteidl.admin.ClusterAssignmentOuterClass.SelectorOrBuilder> selectorsBuilder_; - - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public java.util.List getSelectorsList() { - if (selectorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(selectors_); - } else { - return selectorsBuilder_.getMessageList(); - } - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public int getSelectorsCount() { - if (selectorsBuilder_ == null) { - return selectors_.size(); - } else { - return selectorsBuilder_.getCount(); - } - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.Selector getSelectors(int index) { - if (selectorsBuilder_ == null) { - return selectors_.get(index); - } else { - return selectorsBuilder_.getMessage(index); - } - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder setSelectors( - int index, flyteidl.admin.ClusterAssignmentOuterClass.Selector value) { - if (selectorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSelectorsIsMutable(); - selectors_.set(index, value); - onChanged(); - } else { - selectorsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder setSelectors( - int index, flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder builderForValue) { - if (selectorsBuilder_ == null) { - ensureSelectorsIsMutable(); - selectors_.set(index, builderForValue.build()); - onChanged(); - } else { - selectorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder addSelectors(flyteidl.admin.ClusterAssignmentOuterClass.Selector value) { - if (selectorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSelectorsIsMutable(); - selectors_.add(value); - onChanged(); - } else { - selectorsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder addSelectors( - int index, flyteidl.admin.ClusterAssignmentOuterClass.Selector value) { - if (selectorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSelectorsIsMutable(); - selectors_.add(index, value); - onChanged(); - } else { - selectorsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder addSelectors( - flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder builderForValue) { - if (selectorsBuilder_ == null) { - ensureSelectorsIsMutable(); - selectors_.add(builderForValue.build()); - onChanged(); - } else { - selectorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder addSelectors( - int index, flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder builderForValue) { - if (selectorsBuilder_ == null) { - ensureSelectorsIsMutable(); - selectors_.add(index, builderForValue.build()); - onChanged(); - } else { - selectorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder addAllSelectors( - java.lang.Iterable values) { - if (selectorsBuilder_ == null) { - ensureSelectorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, selectors_); - onChanged(); - } else { - selectorsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder clearSelectors() { - if (selectorsBuilder_ == null) { - selectors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - selectorsBuilder_.clear(); - } - return this; - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public Builder removeSelectors(int index) { - if (selectorsBuilder_ == null) { - ensureSelectorsIsMutable(); - selectors_.remove(index); - onChanged(); - } else { - selectorsBuilder_.remove(index); - } - return this; - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder getSelectorsBuilder( - int index) { - return getSelectorsFieldBuilder().getBuilder(index); - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.SelectorOrBuilder getSelectorsOrBuilder( - int index) { - if (selectorsBuilder_ == null) { - return selectors_.get(index); } else { - return selectorsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public java.util.List - getSelectorsOrBuilderList() { - if (selectorsBuilder_ != null) { - return selectorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(selectors_); - } - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder addSelectorsBuilder() { - return getSelectorsFieldBuilder().addBuilder( - flyteidl.admin.ClusterAssignmentOuterClass.Selector.getDefaultInstance()); - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder addSelectorsBuilder( - int index) { - return getSelectorsFieldBuilder().addBuilder( - index, flyteidl.admin.ClusterAssignmentOuterClass.Selector.getDefaultInstance()); - } - /** - *
-       * A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
-       * 
- * - * repeated .flyteidl.admin.Selector selectors = 1; - */ - public java.util.List - getSelectorsBuilderList() { - return getSelectorsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ClusterAssignmentOuterClass.Selector, flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder, flyteidl.admin.ClusterAssignmentOuterClass.SelectorOrBuilder> - getSelectorsFieldBuilder() { - if (selectorsBuilder_ == null) { - selectorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ClusterAssignmentOuterClass.Selector, flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder, flyteidl.admin.ClusterAssignmentOuterClass.SelectorOrBuilder>( - selectors_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - selectors_ = null; - } - return selectorsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Toleration) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Toleration) - private static final flyteidl.admin.ClusterAssignmentOuterClass.Toleration DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ClusterAssignmentOuterClass.Toleration(); - } - - public static flyteidl.admin.ClusterAssignmentOuterClass.Toleration getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Toleration parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Toleration(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.Toleration getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SelectorOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Selector) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The label key.
-     * 
- * - * string key = 1; - */ - java.lang.String getKey(); - /** - *
-     * The label key.
-     * 
- * - * string key = 1; - */ - com.google.protobuf.ByteString - getKeyBytes(); - - /** - *
-     * One or more values used to match labels.
-     * For equality (or inequality) requirements, values must contain a single element.
-     * For set-based requirements, values may contain one or more elements.
-     * 
- * - * repeated string value = 2; - */ - java.util.List - getValueList(); - /** - *
-     * One or more values used to match labels.
-     * For equality (or inequality) requirements, values must contain a single element.
-     * For set-based requirements, values may contain one or more elements.
-     * 
- * - * repeated string value = 2; - */ - int getValueCount(); - /** - *
-     * One or more values used to match labels.
-     * For equality (or inequality) requirements, values must contain a single element.
-     * For set-based requirements, values may contain one or more elements.
-     * 
- * - * repeated string value = 2; - */ - java.lang.String getValue(int index); - /** - *
-     * One or more values used to match labels.
-     * For equality (or inequality) requirements, values must contain a single element.
-     * For set-based requirements, values may contain one or more elements.
-     * 
- * - * repeated string value = 2; - */ - com.google.protobuf.ByteString - getValueBytes(int index); - - /** - * .flyteidl.admin.Selector.Operator operator = 3; - */ - int getOperatorValue(); - /** - * .flyteidl.admin.Selector.Operator operator = 3; - */ - flyteidl.admin.ClusterAssignmentOuterClass.Selector.Operator getOperator(); - } - /** - *
-   * A Selector is a specification for identifying a set of objects with corresponding labels.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Selector} - */ - public static final class Selector extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Selector) - SelectorOrBuilder { - private static final long serialVersionUID = 0L; - // Use Selector.newBuilder() to construct. - private Selector(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Selector() { - key_ = ""; - value_ = com.google.protobuf.LazyStringArrayList.EMPTY; - operator_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Selector( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - key_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - value_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - value_.add(s); - break; - } - case 24: { - int rawValue = input.readEnum(); - - operator_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - value_ = value_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Selector_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Selector_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ClusterAssignmentOuterClass.Selector.class, flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder.class); - } - - /** - *
-     * Defines how a label with a corresponding key and value is selected or excluded.
-     * 
- * - * Protobuf enum {@code flyteidl.admin.Selector.Operator} - */ - public enum Operator - implements com.google.protobuf.ProtocolMessageEnum { - /** - * EQUALS = 0; - */ - EQUALS(0), - /** - * NOT_EQUALS = 1; - */ - NOT_EQUALS(1), - /** - * IN = 2; - */ - IN(2), - /** - * NOT_IN = 3; - */ - NOT_IN(3), - /** - *
-       * A label key with any value
-       * 
- * - * EXISTS = 4; - */ - EXISTS(4), - UNRECOGNIZED(-1), - ; - - /** - * EQUALS = 0; - */ - public static final int EQUALS_VALUE = 0; - /** - * NOT_EQUALS = 1; - */ - public static final int NOT_EQUALS_VALUE = 1; - /** - * IN = 2; - */ - public static final int IN_VALUE = 2; - /** - * NOT_IN = 3; - */ - public static final int NOT_IN_VALUE = 3; - /** - *
-       * A label key with any value
-       * 
- * - * EXISTS = 4; - */ - public static final int EXISTS_VALUE = 4; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static Operator valueOf(int value) { - return forNumber(value); - } - - public static Operator forNumber(int value) { - switch (value) { - case 0: return EQUALS; - case 1: return NOT_EQUALS; - case 2: return IN; - case 3: return NOT_IN; - case 4: return EXISTS; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - Operator> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operator findValueByNumber(int number) { - return Operator.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return flyteidl.admin.ClusterAssignmentOuterClass.Selector.getDescriptor().getEnumTypes().get(0); - } - - private static final Operator[] VALUES = values(); - - public static Operator valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private Operator(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.admin.Selector.Operator) - } - - private int bitField0_; - public static final int KEY_FIELD_NUMBER = 1; - private volatile java.lang.Object key_; - /** - *
-     * The label key.
-     * 
- * - * string key = 1; - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } - } - /** - *
-     * The label key.
-     * 
- * - * string key = 1; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VALUE_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList value_; - /** - *
-     * One or more values used to match labels.
-     * For equality (or inequality) requirements, values must contain a single element.
-     * For set-based requirements, values may contain one or more elements.
-     * 
- * - * repeated string value = 2; - */ - public com.google.protobuf.ProtocolStringList - getValueList() { - return value_; - } - /** - *
-     * One or more values used to match labels.
-     * For equality (or inequality) requirements, values must contain a single element.
-     * For set-based requirements, values may contain one or more elements.
-     * 
- * - * repeated string value = 2; - */ - public int getValueCount() { - return value_.size(); - } - /** - *
-     * One or more values used to match labels.
-     * For equality (or inequality) requirements, values must contain a single element.
-     * For set-based requirements, values may contain one or more elements.
-     * 
- * - * repeated string value = 2; - */ - public java.lang.String getValue(int index) { - return value_.get(index); - } - /** - *
-     * One or more values used to match labels.
-     * For equality (or inequality) requirements, values must contain a single element.
-     * For set-based requirements, values may contain one or more elements.
-     * 
- * - * repeated string value = 2; - */ - public com.google.protobuf.ByteString - getValueBytes(int index) { - return value_.getByteString(index); - } - - public static final int OPERATOR_FIELD_NUMBER = 3; - private int operator_; - /** - * .flyteidl.admin.Selector.Operator operator = 3; - */ - public int getOperatorValue() { - return operator_; - } - /** - * .flyteidl.admin.Selector.Operator operator = 3; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.Selector.Operator getOperator() { - @SuppressWarnings("deprecation") - flyteidl.admin.ClusterAssignmentOuterClass.Selector.Operator result = flyteidl.admin.ClusterAssignmentOuterClass.Selector.Operator.valueOf(operator_); - return result == null ? flyteidl.admin.ClusterAssignmentOuterClass.Selector.Operator.UNRECOGNIZED : result; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getKeyBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); - } - for (int i = 0; i < value_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_.getRaw(i)); - } - if (operator_ != flyteidl.admin.ClusterAssignmentOuterClass.Selector.Operator.EQUALS.getNumber()) { - output.writeEnum(3, operator_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getKeyBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); - } - { - int dataSize = 0; - for (int i = 0; i < value_.size(); i++) { - dataSize += computeStringSizeNoTag(value_.getRaw(i)); - } - size += dataSize; - size += 1 * getValueList().size(); - } - if (operator_ != flyteidl.admin.ClusterAssignmentOuterClass.Selector.Operator.EQUALS.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, operator_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ClusterAssignmentOuterClass.Selector)) { - return super.equals(obj); - } - flyteidl.admin.ClusterAssignmentOuterClass.Selector other = (flyteidl.admin.ClusterAssignmentOuterClass.Selector) obj; - - if (!getKey() - .equals(other.getKey())) return false; - if (!getValueList() - .equals(other.getValueList())) return false; - if (operator_ != other.operator_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KEY_FIELD_NUMBER; - hash = (53 * hash) + getKey().hashCode(); - if (getValueCount() > 0) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValueList().hashCode(); - } - hash = (37 * hash) + OPERATOR_FIELD_NUMBER; - hash = (53 * hash) + operator_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ClusterAssignmentOuterClass.Selector parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Selector parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Selector parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Selector parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Selector parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Selector parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Selector parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Selector parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Selector parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Selector parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Selector parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.Selector parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ClusterAssignmentOuterClass.Selector prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * A Selector is a specification for identifying a set of objects with corresponding labels.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Selector} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Selector) - flyteidl.admin.ClusterAssignmentOuterClass.SelectorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Selector_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Selector_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ClusterAssignmentOuterClass.Selector.class, flyteidl.admin.ClusterAssignmentOuterClass.Selector.Builder.class); - } - - // Construct using flyteidl.admin.ClusterAssignmentOuterClass.Selector.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - key_ = ""; - - value_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - operator_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_Selector_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.Selector getDefaultInstanceForType() { - return flyteidl.admin.ClusterAssignmentOuterClass.Selector.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.Selector build() { - flyteidl.admin.ClusterAssignmentOuterClass.Selector result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.Selector buildPartial() { - flyteidl.admin.ClusterAssignmentOuterClass.Selector result = new flyteidl.admin.ClusterAssignmentOuterClass.Selector(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.key_ = key_; - if (((bitField0_ & 0x00000002) != 0)) { - value_ = value_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.value_ = value_; - result.operator_ = operator_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ClusterAssignmentOuterClass.Selector) { - return mergeFrom((flyteidl.admin.ClusterAssignmentOuterClass.Selector)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ClusterAssignmentOuterClass.Selector other) { - if (other == flyteidl.admin.ClusterAssignmentOuterClass.Selector.getDefaultInstance()) return this; - if (!other.getKey().isEmpty()) { - key_ = other.key_; - onChanged(); - } - if (!other.value_.isEmpty()) { - if (value_.isEmpty()) { - value_ = other.value_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureValueIsMutable(); - value_.addAll(other.value_); - } - onChanged(); - } - if (other.operator_ != 0) { - setOperatorValue(other.getOperatorValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ClusterAssignmentOuterClass.Selector parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ClusterAssignmentOuterClass.Selector) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object key_ = ""; - /** - *
-       * The label key.
-       * 
- * - * string key = 1; - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The label key.
-       * 
- * - * string key = 1; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The label key.
-       * 
- * - * string key = 1; - */ - public Builder setKey( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - key_ = value; - onChanged(); - return this; - } - /** - *
-       * The label key.
-       * 
- * - * string key = 1; - */ - public Builder clearKey() { - - key_ = getDefaultInstance().getKey(); - onChanged(); - return this; - } - /** - *
-       * The label key.
-       * 
- * - * string key = 1; - */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - key_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList value_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureValueIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - value_ = new com.google.protobuf.LazyStringArrayList(value_); - bitField0_ |= 0x00000002; - } - } - /** - *
-       * One or more values used to match labels.
-       * For equality (or inequality) requirements, values must contain a single element.
-       * For set-based requirements, values may contain one or more elements.
-       * 
- * - * repeated string value = 2; - */ - public com.google.protobuf.ProtocolStringList - getValueList() { - return value_.getUnmodifiableView(); - } - /** - *
-       * One or more values used to match labels.
-       * For equality (or inequality) requirements, values must contain a single element.
-       * For set-based requirements, values may contain one or more elements.
-       * 
- * - * repeated string value = 2; - */ - public int getValueCount() { - return value_.size(); - } - /** - *
-       * One or more values used to match labels.
-       * For equality (or inequality) requirements, values must contain a single element.
-       * For set-based requirements, values may contain one or more elements.
-       * 
- * - * repeated string value = 2; - */ - public java.lang.String getValue(int index) { - return value_.get(index); - } - /** - *
-       * One or more values used to match labels.
-       * For equality (or inequality) requirements, values must contain a single element.
-       * For set-based requirements, values may contain one or more elements.
-       * 
- * - * repeated string value = 2; - */ - public com.google.protobuf.ByteString - getValueBytes(int index) { - return value_.getByteString(index); - } - /** - *
-       * One or more values used to match labels.
-       * For equality (or inequality) requirements, values must contain a single element.
-       * For set-based requirements, values may contain one or more elements.
-       * 
- * - * repeated string value = 2; - */ - public Builder setValue( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValueIsMutable(); - value_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * One or more values used to match labels.
-       * For equality (or inequality) requirements, values must contain a single element.
-       * For set-based requirements, values may contain one or more elements.
-       * 
- * - * repeated string value = 2; - */ - public Builder addValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValueIsMutable(); - value_.add(value); - onChanged(); - return this; - } - /** - *
-       * One or more values used to match labels.
-       * For equality (or inequality) requirements, values must contain a single element.
-       * For set-based requirements, values may contain one or more elements.
-       * 
- * - * repeated string value = 2; - */ - public Builder addAllValue( - java.lang.Iterable values) { - ensureValueIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, value_); - onChanged(); - return this; - } - /** - *
-       * One or more values used to match labels.
-       * For equality (or inequality) requirements, values must contain a single element.
-       * For set-based requirements, values may contain one or more elements.
-       * 
- * - * repeated string value = 2; - */ - public Builder clearValue() { - value_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - *
-       * One or more values used to match labels.
-       * For equality (or inequality) requirements, values must contain a single element.
-       * For set-based requirements, values may contain one or more elements.
-       * 
- * - * repeated string value = 2; - */ - public Builder addValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureValueIsMutable(); - value_.add(value); - onChanged(); - return this; - } - - private int operator_ = 0; - /** - * .flyteidl.admin.Selector.Operator operator = 3; - */ - public int getOperatorValue() { - return operator_; - } - /** - * .flyteidl.admin.Selector.Operator operator = 3; - */ - public Builder setOperatorValue(int value) { - operator_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.admin.Selector.Operator operator = 3; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.Selector.Operator getOperator() { - @SuppressWarnings("deprecation") - flyteidl.admin.ClusterAssignmentOuterClass.Selector.Operator result = flyteidl.admin.ClusterAssignmentOuterClass.Selector.Operator.valueOf(operator_); - return result == null ? flyteidl.admin.ClusterAssignmentOuterClass.Selector.Operator.UNRECOGNIZED : result; - } - /** - * .flyteidl.admin.Selector.Operator operator = 3; - */ - public Builder setOperator(flyteidl.admin.ClusterAssignmentOuterClass.Selector.Operator value) { - if (value == null) { - throw new NullPointerException(); - } - - operator_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.admin.Selector.Operator operator = 3; - */ - public Builder clearOperator() { - - operator_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Selector) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Selector) - private static final flyteidl.admin.ClusterAssignmentOuterClass.Selector DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ClusterAssignmentOuterClass.Selector(); - } - - public static flyteidl.admin.ClusterAssignmentOuterClass.Selector getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Selector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Selector(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.Selector getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ClusterAssignment_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ClusterAssignment_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Affinity_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Affinity_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Toleration_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Toleration_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Selector_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Selector_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\'flyteidl/admin/cluster_assignment.prot" + - "o\022\016flyteidl.admin\"o\n\021ClusterAssignment\022*" + - "\n\010affinity\030\001 \001(\0132\030.flyteidl.admin.Affini" + - "ty\022.\n\ntoleration\030\002 \001(\0132\032.flyteidl.admin." + - "Toleration\"7\n\010Affinity\022+\n\tselectors\030\001 \003(" + - "\0132\030.flyteidl.admin.Selector\"9\n\nToleratio" + - "n\022+\n\tselectors\030\001 \003(\0132\030.flyteidl.admin.Se" + - "lector\"\243\001\n\010Selector\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + - "e\030\002 \003(\t\0223\n\010operator\030\003 \001(\0162!.flyteidl.adm" + - "in.Selector.Operator\"F\n\010Operator\022\n\n\006EQUA" + - "LS\020\000\022\016\n\nNOT_EQUALS\020\001\022\006\n\002IN\020\002\022\n\n\006NOT_IN\020\003" + - "\022\n\n\006EXISTS\020\004B7Z5github.com/flyteorg/flyt" + - "eidl/gen/pb-go/flyteidl/adminb\006proto3" + "o\022\016flyteidl.admin\".\n\021ClusterAssignment\022\031" + + "\n\021cluster_pool_name\030\001 \001(\tB7Z5github.com/" + + "flyteorg/flyteidl/gen/pb-go/flyteidl/adm" + + "inb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -3804,25 +608,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_admin_ClusterAssignment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_ClusterAssignment_descriptor, - new java.lang.String[] { "Affinity", "Toleration", }); - internal_static_flyteidl_admin_Affinity_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_Affinity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Affinity_descriptor, - new java.lang.String[] { "Selectors", }); - internal_static_flyteidl_admin_Toleration_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_Toleration_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Toleration_descriptor, - new java.lang.String[] { "Selectors", }); - internal_static_flyteidl_admin_Selector_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_Selector_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Selector_descriptor, - new java.lang.String[] { "Key", "Value", "Operator", }); + new java.lang.String[] { "ClusterPoolName", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/gen/pb-js/flyteidl.d.ts b/gen/pb-js/flyteidl.d.ts index 4f41ecbc0..614d301b9 100644 --- a/gen/pb-js/flyteidl.d.ts +++ b/gen/pb-js/flyteidl.d.ts @@ -7031,11 +7031,8 @@ export namespace flyteidl { /** Properties of a ClusterAssignment. */ interface IClusterAssignment { - /** ClusterAssignment affinity */ - affinity?: (flyteidl.admin.IAffinity|null); - - /** ClusterAssignment toleration */ - toleration?: (flyteidl.admin.IToleration|null); + /** ClusterAssignment clusterPoolName */ + clusterPoolName?: (string|null); } /** Represents a ClusterAssignment. */ @@ -7047,11 +7044,8 @@ export namespace flyteidl { */ constructor(properties?: flyteidl.admin.IClusterAssignment); - /** ClusterAssignment affinity. */ - public affinity?: (flyteidl.admin.IAffinity|null); - - /** ClusterAssignment toleration. */ - public toleration?: (flyteidl.admin.IToleration|null); + /** ClusterAssignment clusterPoolName. */ + public clusterPoolName: string; /** * Creates a new ClusterAssignment instance using the specified properties. @@ -7086,186 +7080,6 @@ export namespace flyteidl { public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an Affinity. */ - interface IAffinity { - - /** Affinity selectors */ - selectors?: (flyteidl.admin.ISelector[]|null); - } - - /** Represents an Affinity. */ - class Affinity implements IAffinity { - - /** - * Constructs a new Affinity. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IAffinity); - - /** Affinity selectors. */ - public selectors: flyteidl.admin.ISelector[]; - - /** - * Creates a new Affinity instance using the specified properties. - * @param [properties] Properties to set - * @returns Affinity instance - */ - public static create(properties?: flyteidl.admin.IAffinity): flyteidl.admin.Affinity; - - /** - * Encodes the specified Affinity message. Does not implicitly {@link flyteidl.admin.Affinity.verify|verify} messages. - * @param message Affinity message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.admin.IAffinity, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Affinity message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Affinity - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Affinity; - - /** - * Verifies an Affinity message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - } - - /** Properties of a Toleration. */ - interface IToleration { - - /** Toleration selectors */ - selectors?: (flyteidl.admin.ISelector[]|null); - } - - /** Represents a Toleration. */ - class Toleration implements IToleration { - - /** - * Constructs a new Toleration. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IToleration); - - /** Toleration selectors. */ - public selectors: flyteidl.admin.ISelector[]; - - /** - * Creates a new Toleration instance using the specified properties. - * @param [properties] Properties to set - * @returns Toleration instance - */ - public static create(properties?: flyteidl.admin.IToleration): flyteidl.admin.Toleration; - - /** - * Encodes the specified Toleration message. Does not implicitly {@link flyteidl.admin.Toleration.verify|verify} messages. - * @param message Toleration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.admin.IToleration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Toleration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Toleration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Toleration; - - /** - * Verifies a Toleration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - } - - /** Properties of a Selector. */ - interface ISelector { - - /** Selector key */ - key?: (string|null); - - /** Selector value */ - value?: (string[]|null); - - /** Selector operator */ - operator?: (flyteidl.admin.Selector.Operator|null); - } - - /** Represents a Selector. */ - class Selector implements ISelector { - - /** - * Constructs a new Selector. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.ISelector); - - /** Selector key. */ - public key: string; - - /** Selector value. */ - public value: string[]; - - /** Selector operator. */ - public operator: flyteidl.admin.Selector.Operator; - - /** - * Creates a new Selector instance using the specified properties. - * @param [properties] Properties to set - * @returns Selector instance - */ - public static create(properties?: flyteidl.admin.ISelector): flyteidl.admin.Selector; - - /** - * Encodes the specified Selector message. Does not implicitly {@link flyteidl.admin.Selector.verify|verify} messages. - * @param message Selector message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.admin.ISelector, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Selector message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Selector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Selector; - - /** - * Verifies a Selector message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - } - - namespace Selector { - - /** Operator enum. */ - enum Operator { - EQUALS = 0, - NOT_EQUALS = 1, - IN = 2, - NOT_IN = 3, - EXISTS = 4 - } - } - /** Properties of a NamedEntityIdentifier. */ interface INamedEntityIdentifier { diff --git a/gen/pb-js/flyteidl.js b/gen/pb-js/flyteidl.js index af9ddb662..a1c1d9ba7 100644 --- a/gen/pb-js/flyteidl.js +++ b/gen/pb-js/flyteidl.js @@ -17039,8 +17039,7 @@ export const flyteidl = $root.flyteidl = (() => { * Properties of a ClusterAssignment. * @memberof flyteidl.admin * @interface IClusterAssignment - * @property {flyteidl.admin.IAffinity|null} [affinity] ClusterAssignment affinity - * @property {flyteidl.admin.IToleration|null} [toleration] ClusterAssignment toleration + * @property {string|null} [clusterPoolName] ClusterAssignment clusterPoolName */ /** @@ -17059,20 +17058,12 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * ClusterAssignment affinity. - * @member {flyteidl.admin.IAffinity|null|undefined} affinity + * ClusterAssignment clusterPoolName. + * @member {string} clusterPoolName * @memberof flyteidl.admin.ClusterAssignment * @instance */ - ClusterAssignment.prototype.affinity = null; - - /** - * ClusterAssignment toleration. - * @member {flyteidl.admin.IToleration|null|undefined} toleration - * @memberof flyteidl.admin.ClusterAssignment - * @instance - */ - ClusterAssignment.prototype.toleration = null; + ClusterAssignment.prototype.clusterPoolName = ""; /** * Creates a new ClusterAssignment instance using the specified properties. @@ -17098,10 +17089,8 @@ export const flyteidl = $root.flyteidl = (() => { ClusterAssignment.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.affinity != null && message.hasOwnProperty("affinity")) - $root.flyteidl.admin.Affinity.encode(message.affinity, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.toleration != null && message.hasOwnProperty("toleration")) - $root.flyteidl.admin.Toleration.encode(message.toleration, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.clusterPoolName != null && message.hasOwnProperty("clusterPoolName")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.clusterPoolName); return writer; }; @@ -17124,10 +17113,7 @@ export const flyteidl = $root.flyteidl = (() => { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.affinity = $root.flyteidl.admin.Affinity.decode(reader, reader.uint32()); - break; - case 2: - message.toleration = $root.flyteidl.admin.Toleration.decode(reader, reader.uint32()); + message.clusterPoolName = reader.string(); break; default: reader.skipType(tag & 7); @@ -17148,442 +17134,15 @@ export const flyteidl = $root.flyteidl = (() => { ClusterAssignment.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.affinity != null && message.hasOwnProperty("affinity")) { - let error = $root.flyteidl.admin.Affinity.verify(message.affinity); - if (error) - return "affinity." + error; - } - if (message.toleration != null && message.hasOwnProperty("toleration")) { - let error = $root.flyteidl.admin.Toleration.verify(message.toleration); - if (error) - return "toleration." + error; - } + if (message.clusterPoolName != null && message.hasOwnProperty("clusterPoolName")) + if (!$util.isString(message.clusterPoolName)) + return "clusterPoolName: string expected"; return null; }; return ClusterAssignment; })(); - admin.Affinity = (function() { - - /** - * Properties of an Affinity. - * @memberof flyteidl.admin - * @interface IAffinity - * @property {Array.|null} [selectors] Affinity selectors - */ - - /** - * Constructs a new Affinity. - * @memberof flyteidl.admin - * @classdesc Represents an Affinity. - * @implements IAffinity - * @constructor - * @param {flyteidl.admin.IAffinity=} [properties] Properties to set - */ - function Affinity(properties) { - this.selectors = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Affinity selectors. - * @member {Array.} selectors - * @memberof flyteidl.admin.Affinity - * @instance - */ - Affinity.prototype.selectors = $util.emptyArray; - - /** - * Creates a new Affinity instance using the specified properties. - * @function create - * @memberof flyteidl.admin.Affinity - * @static - * @param {flyteidl.admin.IAffinity=} [properties] Properties to set - * @returns {flyteidl.admin.Affinity} Affinity instance - */ - Affinity.create = function create(properties) { - return new Affinity(properties); - }; - - /** - * Encodes the specified Affinity message. Does not implicitly {@link flyteidl.admin.Affinity.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.Affinity - * @static - * @param {flyteidl.admin.IAffinity} message Affinity message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Affinity.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.selectors != null && message.selectors.length) - for (let i = 0; i < message.selectors.length; ++i) - $root.flyteidl.admin.Selector.encode(message.selectors[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Decodes an Affinity message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.Affinity - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Affinity} Affinity - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Affinity.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Affinity(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if (!(message.selectors && message.selectors.length)) - message.selectors = []; - message.selectors.push($root.flyteidl.admin.Selector.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Verifies an Affinity message. - * @function verify - * @memberof flyteidl.admin.Affinity - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Affinity.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.selectors != null && message.hasOwnProperty("selectors")) { - if (!Array.isArray(message.selectors)) - return "selectors: array expected"; - for (let i = 0; i < message.selectors.length; ++i) { - let error = $root.flyteidl.admin.Selector.verify(message.selectors[i]); - if (error) - return "selectors." + error; - } - } - return null; - }; - - return Affinity; - })(); - - admin.Toleration = (function() { - - /** - * Properties of a Toleration. - * @memberof flyteidl.admin - * @interface IToleration - * @property {Array.|null} [selectors] Toleration selectors - */ - - /** - * Constructs a new Toleration. - * @memberof flyteidl.admin - * @classdesc Represents a Toleration. - * @implements IToleration - * @constructor - * @param {flyteidl.admin.IToleration=} [properties] Properties to set - */ - function Toleration(properties) { - this.selectors = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Toleration selectors. - * @member {Array.} selectors - * @memberof flyteidl.admin.Toleration - * @instance - */ - Toleration.prototype.selectors = $util.emptyArray; - - /** - * Creates a new Toleration instance using the specified properties. - * @function create - * @memberof flyteidl.admin.Toleration - * @static - * @param {flyteidl.admin.IToleration=} [properties] Properties to set - * @returns {flyteidl.admin.Toleration} Toleration instance - */ - Toleration.create = function create(properties) { - return new Toleration(properties); - }; - - /** - * Encodes the specified Toleration message. Does not implicitly {@link flyteidl.admin.Toleration.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.Toleration - * @static - * @param {flyteidl.admin.IToleration} message Toleration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Toleration.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.selectors != null && message.selectors.length) - for (let i = 0; i < message.selectors.length; ++i) - $root.flyteidl.admin.Selector.encode(message.selectors[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Decodes a Toleration message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.Toleration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Toleration} Toleration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Toleration.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Toleration(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if (!(message.selectors && message.selectors.length)) - message.selectors = []; - message.selectors.push($root.flyteidl.admin.Selector.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Verifies a Toleration message. - * @function verify - * @memberof flyteidl.admin.Toleration - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Toleration.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.selectors != null && message.hasOwnProperty("selectors")) { - if (!Array.isArray(message.selectors)) - return "selectors: array expected"; - for (let i = 0; i < message.selectors.length; ++i) { - let error = $root.flyteidl.admin.Selector.verify(message.selectors[i]); - if (error) - return "selectors." + error; - } - } - return null; - }; - - return Toleration; - })(); - - admin.Selector = (function() { - - /** - * Properties of a Selector. - * @memberof flyteidl.admin - * @interface ISelector - * @property {string|null} [key] Selector key - * @property {Array.|null} [value] Selector value - * @property {flyteidl.admin.Selector.Operator|null} [operator] Selector operator - */ - - /** - * Constructs a new Selector. - * @memberof flyteidl.admin - * @classdesc Represents a Selector. - * @implements ISelector - * @constructor - * @param {flyteidl.admin.ISelector=} [properties] Properties to set - */ - function Selector(properties) { - this.value = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Selector key. - * @member {string} key - * @memberof flyteidl.admin.Selector - * @instance - */ - Selector.prototype.key = ""; - - /** - * Selector value. - * @member {Array.} value - * @memberof flyteidl.admin.Selector - * @instance - */ - Selector.prototype.value = $util.emptyArray; - - /** - * Selector operator. - * @member {flyteidl.admin.Selector.Operator} operator - * @memberof flyteidl.admin.Selector - * @instance - */ - Selector.prototype.operator = 0; - - /** - * Creates a new Selector instance using the specified properties. - * @function create - * @memberof flyteidl.admin.Selector - * @static - * @param {flyteidl.admin.ISelector=} [properties] Properties to set - * @returns {flyteidl.admin.Selector} Selector instance - */ - Selector.create = function create(properties) { - return new Selector(properties); - }; - - /** - * Encodes the specified Selector message. Does not implicitly {@link flyteidl.admin.Selector.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.Selector - * @static - * @param {flyteidl.admin.ISelector} message Selector message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Selector.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.key != null && message.hasOwnProperty("key")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.key); - if (message.value != null && message.value.length) - for (let i = 0; i < message.value.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.value[i]); - if (message.operator != null && message.hasOwnProperty("operator")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.operator); - return writer; - }; - - /** - * Decodes a Selector message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.Selector - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Selector} Selector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Selector.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Selector(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - if (!(message.value && message.value.length)) - message.value = []; - message.value.push(reader.string()); - break; - case 3: - message.operator = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Verifies a Selector message. - * @function verify - * @memberof flyteidl.admin.Selector - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Selector.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.key != null && message.hasOwnProperty("key")) - if (!$util.isString(message.key)) - return "key: string expected"; - if (message.value != null && message.hasOwnProperty("value")) { - if (!Array.isArray(message.value)) - return "value: array expected"; - for (let i = 0; i < message.value.length; ++i) - if (!$util.isString(message.value[i])) - return "value: string[] expected"; - } - if (message.operator != null && message.hasOwnProperty("operator")) - switch (message.operator) { - default: - return "operator: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - return null; - }; - - /** - * Operator enum. - * @name flyteidl.admin.Selector.Operator - * @enum {string} - * @property {number} EQUALS=0 EQUALS value - * @property {number} NOT_EQUALS=1 NOT_EQUALS value - * @property {number} IN=2 IN value - * @property {number} NOT_IN=3 NOT_IN value - * @property {number} EXISTS=4 EXISTS value - */ - Selector.Operator = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "EQUALS"] = 0; - values[valuesById[1] = "NOT_EQUALS"] = 1; - values[valuesById[2] = "IN"] = 2; - values[valuesById[3] = "NOT_IN"] = 3; - values[valuesById[4] = "EXISTS"] = 4; - return values; - })(); - - return Selector; - })(); - admin.NamedEntityIdentifier = (function() { /** diff --git a/gen/pb_python/flyteidl/admin/cluster_assignment_pb2.py b/gen/pb_python/flyteidl/admin/cluster_assignment_pb2.py index ce562b7fc..dad9429a4 100644 --- a/gen/pb_python/flyteidl/admin/cluster_assignment_pb2.py +++ b/gen/pb_python/flyteidl/admin/cluster_assignment_pb2.py @@ -20,45 +20,11 @@ package='flyteidl.admin', syntax='proto3', serialized_options=_b('Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin'), - serialized_pb=_b('\n\'flyteidl/admin/cluster_assignment.proto\x12\x0e\x66lyteidl.admin\"o\n\x11\x43lusterAssignment\x12*\n\x08\x61\x66\x66inity\x18\x01 \x01(\x0b\x32\x18.flyteidl.admin.Affinity\x12.\n\ntoleration\x18\x02 \x01(\x0b\x32\x1a.flyteidl.admin.Toleration\"7\n\x08\x41\x66\x66inity\x12+\n\tselectors\x18\x01 \x03(\x0b\x32\x18.flyteidl.admin.Selector\"9\n\nToleration\x12+\n\tselectors\x18\x01 \x03(\x0b\x32\x18.flyteidl.admin.Selector\"\xa3\x01\n\x08Selector\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x03(\t\x12\x33\n\x08operator\x18\x03 \x01(\x0e\x32!.flyteidl.admin.Selector.Operator\"F\n\x08Operator\x12\n\n\x06\x45QUALS\x10\x00\x12\x0e\n\nNOT_EQUALS\x10\x01\x12\x06\n\x02IN\x10\x02\x12\n\n\x06NOT_IN\x10\x03\x12\n\n\x06\x45XISTS\x10\x04\x42\x37Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') + serialized_pb=_b('\n\'flyteidl/admin/cluster_assignment.proto\x12\x0e\x66lyteidl.admin\".\n\x11\x43lusterAssignment\x12\x19\n\x11\x63luster_pool_name\x18\x01 \x01(\tB7Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') ) -_SELECTOR_OPERATOR = _descriptor.EnumDescriptor( - name='Operator', - full_name='flyteidl.admin.Selector.Operator', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='EQUALS', index=0, number=0, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NOT_EQUALS', index=1, number=1, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IN', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NOT_IN', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXISTS', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=382, - serialized_end=452, -) -_sym_db.RegisterEnumDescriptor(_SELECTOR_OPERATOR) - _CLUSTERASSIGNMENT = _descriptor.Descriptor( name='ClusterAssignment', @@ -68,132 +34,17 @@ containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='affinity', full_name='flyteidl.admin.ClusterAssignment.affinity', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='toleration', full_name='flyteidl.admin.ClusterAssignment.toleration', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=59, - serialized_end=170, -) - - -_AFFINITY = _descriptor.Descriptor( - name='Affinity', - full_name='flyteidl.admin.Affinity', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='selectors', full_name='flyteidl.admin.Affinity.selectors', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=172, - serialized_end=227, -) - - -_TOLERATION = _descriptor.Descriptor( - name='Toleration', - full_name='flyteidl.admin.Toleration', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='selectors', full_name='flyteidl.admin.Toleration.selectors', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=229, - serialized_end=286, -) - - -_SELECTOR = _descriptor.Descriptor( - name='Selector', - full_name='flyteidl.admin.Selector', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='flyteidl.admin.Selector.key', index=0, + name='cluster_pool_name', full_name='flyteidl.admin.ClusterAssignment.cluster_pool_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='value', full_name='flyteidl.admin.Selector.value', index=1, - number=2, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='operator', full_name='flyteidl.admin.Selector.operator', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ - _SELECTOR_OPERATOR, ], serialized_options=None, is_extendable=False, @@ -201,20 +52,11 @@ extension_ranges=[], oneofs=[ ], - serialized_start=289, - serialized_end=452, + serialized_start=59, + serialized_end=105, ) -_CLUSTERASSIGNMENT.fields_by_name['affinity'].message_type = _AFFINITY -_CLUSTERASSIGNMENT.fields_by_name['toleration'].message_type = _TOLERATION -_AFFINITY.fields_by_name['selectors'].message_type = _SELECTOR -_TOLERATION.fields_by_name['selectors'].message_type = _SELECTOR -_SELECTOR.fields_by_name['operator'].enum_type = _SELECTOR_OPERATOR -_SELECTOR_OPERATOR.containing_type = _SELECTOR DESCRIPTOR.message_types_by_name['ClusterAssignment'] = _CLUSTERASSIGNMENT -DESCRIPTOR.message_types_by_name['Affinity'] = _AFFINITY -DESCRIPTOR.message_types_by_name['Toleration'] = _TOLERATION -DESCRIPTOR.message_types_by_name['Selector'] = _SELECTOR _sym_db.RegisterFileDescriptor(DESCRIPTOR) ClusterAssignment = _reflection.GeneratedProtocolMessageType('ClusterAssignment', (_message.Message,), dict( @@ -224,27 +66,6 @@ )) _sym_db.RegisterMessage(ClusterAssignment) -Affinity = _reflection.GeneratedProtocolMessageType('Affinity', (_message.Message,), dict( - DESCRIPTOR = _AFFINITY, - __module__ = 'flyteidl.admin.cluster_assignment_pb2' - # @@protoc_insertion_point(class_scope:flyteidl.admin.Affinity) - )) -_sym_db.RegisterMessage(Affinity) - -Toleration = _reflection.GeneratedProtocolMessageType('Toleration', (_message.Message,), dict( - DESCRIPTOR = _TOLERATION, - __module__ = 'flyteidl.admin.cluster_assignment_pb2' - # @@protoc_insertion_point(class_scope:flyteidl.admin.Toleration) - )) -_sym_db.RegisterMessage(Toleration) - -Selector = _reflection.GeneratedProtocolMessageType('Selector', (_message.Message,), dict( - DESCRIPTOR = _SELECTOR, - __module__ = 'flyteidl.admin.cluster_assignment_pb2' - # @@protoc_insertion_point(class_scope:flyteidl.admin.Selector) - )) -_sym_db.RegisterMessage(Selector) - DESCRIPTOR._options = None # @@protoc_insertion_point(module_scope) diff --git a/gen/pb_python/flyteidl/service/flyteadmin/README.md b/gen/pb_python/flyteidl/service/flyteadmin/README.md index b8fa8d90c..642cede66 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/README.md +++ b/gen/pb_python/flyteidl/service/flyteadmin/README.md @@ -125,7 +125,6 @@ Class | Method | HTTP request | Description ## Documentation For Models - [AdminAbortMetadata](docs/AdminAbortMetadata.md) - - [AdminAffinity](docs/AdminAffinity.md) - [AdminAnnotations](docs/AdminAnnotations.md) - [AdminAuth](docs/AdminAuth.md) - [AdminAuthRole](docs/AdminAuthRole.md) @@ -202,8 +201,6 @@ Class | Method | HTTP request | Description - [AdminProjects](docs/AdminProjects.md) - [AdminRawOutputDataConfig](docs/AdminRawOutputDataConfig.md) - [AdminSchedule](docs/AdminSchedule.md) - - [AdminSelector](docs/AdminSelector.md) - - [AdminSelectorOperator](docs/AdminSelectorOperator.md) - [AdminSlackNotification](docs/AdminSlackNotification.md) - [AdminSort](docs/AdminSort.md) - [AdminSystemMetadata](docs/AdminSystemMetadata.md) @@ -220,7 +217,6 @@ Class | Method | HTTP request | Description - [AdminTaskResourceAttributes](docs/AdminTaskResourceAttributes.md) - [AdminTaskResourceSpec](docs/AdminTaskResourceSpec.md) - [AdminTaskSpec](docs/AdminTaskSpec.md) - - [AdminToleration](docs/AdminToleration.md) - [AdminUrlBlob](docs/AdminUrlBlob.md) - [AdminVersion](docs/AdminVersion.md) - [AdminWorkflow](docs/AdminWorkflow.md) @@ -241,6 +237,7 @@ Class | Method | HTTP request | Description - [AdminWorkflowSpec](docs/AdminWorkflowSpec.md) - [BlobTypeBlobDimensionality](docs/BlobTypeBlobDimensionality.md) - [CatalogReservationStatus](docs/CatalogReservationStatus.md) + - [ComparisonExpressionOperator](docs/ComparisonExpressionOperator.md) - [ConjunctionExpressionLogicalOperator](docs/ConjunctionExpressionLogicalOperator.md) - [ConnectionSetIdList](docs/ConnectionSetIdList.md) - [ContainerArchitecture](docs/ContainerArchitecture.md) @@ -259,7 +256,6 @@ Class | Method | HTTP request | Description - [CoreCatalogCacheStatus](docs/CoreCatalogCacheStatus.md) - [CoreCatalogMetadata](docs/CoreCatalogMetadata.md) - [CoreComparisonExpression](docs/CoreComparisonExpression.md) - - [CoreComparisonExpressionOperator](docs/CoreComparisonExpressionOperator.md) - [CoreCompiledTask](docs/CoreCompiledTask.md) - [CoreCompiledWorkflow](docs/CoreCompiledWorkflow.md) - [CoreCompiledWorkflowClosure](docs/CoreCompiledWorkflowClosure.md) diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py index 2e83943fc..ccaf26afb 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py @@ -23,7 +23,6 @@ from flyteadmin.configuration import Configuration # import models into sdk package from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata -from flyteadmin.models.admin_affinity import AdminAffinity from flyteadmin.models.admin_annotations import AdminAnnotations from flyteadmin.models.admin_auth import AdminAuth from flyteadmin.models.admin_auth_role import AdminAuthRole @@ -100,8 +99,6 @@ from flyteadmin.models.admin_projects import AdminProjects from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig from flyteadmin.models.admin_schedule import AdminSchedule -from flyteadmin.models.admin_selector import AdminSelector -from flyteadmin.models.admin_selector_operator import AdminSelectorOperator from flyteadmin.models.admin_slack_notification import AdminSlackNotification from flyteadmin.models.admin_sort import AdminSort from flyteadmin.models.admin_system_metadata import AdminSystemMetadata @@ -118,7 +115,6 @@ from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec from flyteadmin.models.admin_task_spec import AdminTaskSpec -from flyteadmin.models.admin_toleration import AdminToleration from flyteadmin.models.admin_url_blob import AdminUrlBlob from flyteadmin.models.admin_version import AdminVersion from flyteadmin.models.admin_workflow import AdminWorkflow @@ -139,6 +135,7 @@ from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus +from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator from flyteadmin.models.connection_set_id_list import ConnectionSetIdList from flyteadmin.models.container_architecture import ContainerArchitecture @@ -157,7 +154,6 @@ from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata from flyteadmin.models.core_comparison_expression import CoreComparisonExpression -from flyteadmin.models.core_comparison_expression_operator import CoreComparisonExpressionOperator from flyteadmin.models.core_compiled_task import CoreCompiledTask from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py index 6d9846675..8a9b75041 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py @@ -16,7 +16,6 @@ # import models into model package from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata -from flyteadmin.models.admin_affinity import AdminAffinity from flyteadmin.models.admin_annotations import AdminAnnotations from flyteadmin.models.admin_auth import AdminAuth from flyteadmin.models.admin_auth_role import AdminAuthRole @@ -93,8 +92,6 @@ from flyteadmin.models.admin_projects import AdminProjects from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig from flyteadmin.models.admin_schedule import AdminSchedule -from flyteadmin.models.admin_selector import AdminSelector -from flyteadmin.models.admin_selector_operator import AdminSelectorOperator from flyteadmin.models.admin_slack_notification import AdminSlackNotification from flyteadmin.models.admin_sort import AdminSort from flyteadmin.models.admin_system_metadata import AdminSystemMetadata @@ -111,7 +108,6 @@ from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec from flyteadmin.models.admin_task_spec import AdminTaskSpec -from flyteadmin.models.admin_toleration import AdminToleration from flyteadmin.models.admin_url_blob import AdminUrlBlob from flyteadmin.models.admin_version import AdminVersion from flyteadmin.models.admin_workflow import AdminWorkflow @@ -132,6 +128,7 @@ from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus +from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator from flyteadmin.models.connection_set_id_list import ConnectionSetIdList from flyteadmin.models.container_architecture import ContainerArchitecture @@ -150,7 +147,6 @@ from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata from flyteadmin.models.core_comparison_expression import CoreComparisonExpression -from flyteadmin.models.core_comparison_expression_operator import CoreComparisonExpressionOperator from flyteadmin.models.core_compiled_task import CoreCompiledTask from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_affinity.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_affinity.py deleted file mode 100644 index f1e0e9f4a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_affinity.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_selector import AdminSelector # noqa: F401,E501 - - -class AdminAffinity(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'selectors': 'list[AdminSelector]' - } - - attribute_map = { - 'selectors': 'selectors' - } - - def __init__(self, selectors=None): # noqa: E501 - """AdminAffinity - a model defined in Swagger""" # noqa: E501 - - self._selectors = None - self.discriminator = None - - if selectors is not None: - self.selectors = selectors - - @property - def selectors(self): - """Gets the selectors of this AdminAffinity. # noqa: E501 - - Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects. # noqa: E501 - - :return: The selectors of this AdminAffinity. # noqa: E501 - :rtype: list[AdminSelector] - """ - return self._selectors - - @selectors.setter - def selectors(self, selectors): - """Sets the selectors of this AdminAffinity. - - Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects. # noqa: E501 - - :param selectors: The selectors of this AdminAffinity. # noqa: E501 - :type: list[AdminSelector] - """ - - self._selectors = selectors - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminAffinity, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminAffinity): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py index 2aa325296..15f5fd96f 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py @@ -16,9 +16,6 @@ import six -from flyteadmin.models.admin_affinity import AdminAffinity # noqa: F401,E501 -from flyteadmin.models.admin_toleration import AdminToleration # noqa: F401,E501 - class AdminClusterAssignment(object): """NOTE: This class is auto generated by the swagger code generator program. @@ -34,68 +31,42 @@ class AdminClusterAssignment(object): and the value is json key in definition. """ swagger_types = { - 'affinity': 'AdminAffinity', - 'toleration': 'AdminToleration' + 'cluster_pool_name': 'str' } attribute_map = { - 'affinity': 'affinity', - 'toleration': 'toleration' + 'cluster_pool_name': 'cluster_pool_name' } - def __init__(self, affinity=None, toleration=None): # noqa: E501 + def __init__(self, cluster_pool_name=None): # noqa: E501 """AdminClusterAssignment - a model defined in Swagger""" # noqa: E501 - self._affinity = None - self._toleration = None + self._cluster_pool_name = None self.discriminator = None - if affinity is not None: - self.affinity = affinity - if toleration is not None: - self.toleration = toleration - - @property - def affinity(self): - """Gets the affinity of this AdminClusterAssignment. # noqa: E501 - - - :return: The affinity of this AdminClusterAssignment. # noqa: E501 - :rtype: AdminAffinity - """ - return self._affinity - - @affinity.setter - def affinity(self, affinity): - """Sets the affinity of this AdminClusterAssignment. - - - :param affinity: The affinity of this AdminClusterAssignment. # noqa: E501 - :type: AdminAffinity - """ - - self._affinity = affinity + if cluster_pool_name is not None: + self.cluster_pool_name = cluster_pool_name @property - def toleration(self): - """Gets the toleration of this AdminClusterAssignment. # noqa: E501 + def cluster_pool_name(self): + """Gets the cluster_pool_name of this AdminClusterAssignment. # noqa: E501 - :return: The toleration of this AdminClusterAssignment. # noqa: E501 - :rtype: AdminToleration + :return: The cluster_pool_name of this AdminClusterAssignment. # noqa: E501 + :rtype: str """ - return self._toleration + return self._cluster_pool_name - @toleration.setter - def toleration(self, toleration): - """Sets the toleration of this AdminClusterAssignment. + @cluster_pool_name.setter + def cluster_pool_name(self, cluster_pool_name): + """Sets the cluster_pool_name of this AdminClusterAssignment. - :param toleration: The toleration of this AdminClusterAssignment. # noqa: E501 - :type: AdminToleration + :param cluster_pool_name: The cluster_pool_name of this AdminClusterAssignment. # noqa: E501 + :type: str """ - self._toleration = toleration + self._cluster_pool_name = cluster_pool_name def to_dict(self): """Returns the model properties as a dict""" diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_selector.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_selector.py deleted file mode 100644 index 371f0a12b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_selector.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_selector_operator import AdminSelectorOperator # noqa: F401,E501 - - -class AdminSelector(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'key': 'str', - 'value': 'list[str]', - 'operator': 'AdminSelectorOperator' - } - - attribute_map = { - 'key': 'key', - 'value': 'value', - 'operator': 'operator' - } - - def __init__(self, key=None, value=None, operator=None): # noqa: E501 - """AdminSelector - a model defined in Swagger""" # noqa: E501 - - self._key = None - self._value = None - self._operator = None - self.discriminator = None - - if key is not None: - self.key = key - if value is not None: - self.value = value - if operator is not None: - self.operator = operator - - @property - def key(self): - """Gets the key of this AdminSelector. # noqa: E501 - - The label key. # noqa: E501 - - :return: The key of this AdminSelector. # noqa: E501 - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - """Sets the key of this AdminSelector. - - The label key. # noqa: E501 - - :param key: The key of this AdminSelector. # noqa: E501 - :type: str - """ - - self._key = key - - @property - def value(self): - """Gets the value of this AdminSelector. # noqa: E501 - - One or more values used to match labels. For equality (or inequality) requirements, values must contain a single element. For set-based requirements, values may contain one or more elements. # noqa: E501 - - :return: The value of this AdminSelector. # noqa: E501 - :rtype: list[str] - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this AdminSelector. - - One or more values used to match labels. For equality (or inequality) requirements, values must contain a single element. For set-based requirements, values may contain one or more elements. # noqa: E501 - - :param value: The value of this AdminSelector. # noqa: E501 - :type: list[str] - """ - - self._value = value - - @property - def operator(self): - """Gets the operator of this AdminSelector. # noqa: E501 - - - :return: The operator of this AdminSelector. # noqa: E501 - :rtype: AdminSelectorOperator - """ - return self._operator - - @operator.setter - def operator(self, operator): - """Sets the operator of this AdminSelector. - - - :param operator: The operator of this AdminSelector. # noqa: E501 - :type: AdminSelectorOperator - """ - - self._operator = operator - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminSelector, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminSelector): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_selector_operator.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_selector_operator.py deleted file mode 100644 index 6a748ce06..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_selector_operator.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminSelectorOperator(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - EQUALS = "EQUALS" - NOT_EQUALS = "NOT_EQUALS" - IN = "IN" - NOT_IN = "NOT_IN" - EXISTS = "EXISTS" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminSelectorOperator - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminSelectorOperator, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminSelectorOperator): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_toleration.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_toleration.py deleted file mode 100644 index 393c4d8ae..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_toleration.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_selector import AdminSelector # noqa: F401,E501 - - -class AdminToleration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'selectors': 'list[AdminSelector]' - } - - attribute_map = { - 'selectors': 'selectors' - } - - def __init__(self, selectors=None): # noqa: E501 - """AdminToleration - a model defined in Swagger""" # noqa: E501 - - self._selectors = None - self.discriminator = None - - if selectors is not None: - self.selectors = selectors - - @property - def selectors(self): - """Gets the selectors of this AdminToleration. # noqa: E501 - - A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS. # noqa: E501 - - :return: The selectors of this AdminToleration. # noqa: E501 - :rtype: list[AdminSelector] - """ - return self._selectors - - @selectors.setter - def selectors(self, selectors): - """Sets the selectors of this AdminToleration. - - A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS. # noqa: E501 - - :param selectors: The selectors of this AdminToleration. # noqa: E501 - :type: list[AdminSelector] - """ - - self._selectors = selectors - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminToleration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminToleration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression_operator.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py similarity index 89% rename from gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression_operator.py rename to gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py index f7db8f458..b14151518 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression_operator.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py @@ -17,7 +17,7 @@ import six -class CoreComparisonExpressionOperator(object): +class ComparisonExpressionOperator(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -47,7 +47,7 @@ class CoreComparisonExpressionOperator(object): } def __init__(self): # noqa: E501 - """CoreComparisonExpressionOperator - a model defined in Swagger""" # noqa: E501 + """ComparisonExpressionOperator - a model defined in Swagger""" # noqa: E501 self.discriminator = None def to_dict(self): @@ -71,7 +71,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(CoreComparisonExpressionOperator, dict): + if issubclass(ComparisonExpressionOperator, dict): for key, value in self.items(): result[key] = value @@ -87,7 +87,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CoreComparisonExpressionOperator): + if not isinstance(other, ComparisonExpressionOperator): return False return self.__dict__ == other.__dict__ diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py index 57cecc7f8..76e06e75c 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py @@ -16,7 +16,7 @@ import six -from flyteadmin.models.core_comparison_expression_operator import CoreComparisonExpressionOperator # noqa: F401,E501 +from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator # noqa: F401,E501 from flyteadmin.models.core_operand import CoreOperand # noqa: F401,E501 @@ -34,7 +34,7 @@ class CoreComparisonExpression(object): and the value is json key in definition. """ swagger_types = { - 'operator': 'CoreComparisonExpressionOperator', + 'operator': 'ComparisonExpressionOperator', 'left_value': 'CoreOperand', 'right_value': 'CoreOperand' } @@ -66,7 +66,7 @@ def operator(self): :return: The operator of this CoreComparisonExpression. # noqa: E501 - :rtype: CoreComparisonExpressionOperator + :rtype: ComparisonExpressionOperator """ return self._operator @@ -76,7 +76,7 @@ def operator(self, operator): :param operator: The operator of this CoreComparisonExpression. # noqa: E501 - :type: CoreComparisonExpressionOperator + :type: ComparisonExpressionOperator """ self._operator = operator diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_selector.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_selector.py deleted file mode 100644 index b2c4e85e7..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_selector.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_selector import AdminSelector # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminSelector(unittest.TestCase): - """AdminSelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminSelector(self): - """Test AdminSelector""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_selector.AdminSelector() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_selector_operator.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_selector_operator.py deleted file mode 100644 index e83fb20aa..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_selector_operator.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_selector_operator import AdminSelectorOperator # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminSelectorOperator(unittest.TestCase): - """AdminSelectorOperator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminSelectorOperator(self): - """Test AdminSelectorOperator""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_selector_operator.AdminSelectorOperator() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_toleration.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_toleration.py deleted file mode 100644 index 47960c5b7..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_toleration.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_toleration import AdminToleration # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminToleration(unittest.TestCase): - """AdminToleration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminToleration(self): - """Test AdminToleration""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_toleration.AdminToleration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_affinity.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py similarity index 59% rename from gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_affinity.py rename to gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py index ee0de5fa8..577750bcb 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_affinity.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py @@ -16,12 +16,12 @@ import unittest import flyteadmin -from flyteadmin.models.admin_affinity import AdminAffinity # noqa: E501 +from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator # noqa: E501 from flyteadmin.rest import ApiException -class TestAdminAffinity(unittest.TestCase): - """AdminAffinity unit test stubs""" +class TestComparisonExpressionOperator(unittest.TestCase): + """ComparisonExpressionOperator unit test stubs""" def setUp(self): pass @@ -29,10 +29,10 @@ def setUp(self): def tearDown(self): pass - def testAdminAffinity(self): - """Test AdminAffinity""" + def testComparisonExpressionOperator(self): + """Test ComparisonExpressionOperator""" # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_affinity.AdminAffinity() # noqa: E501 + # model = flyteadmin.models.comparison_expression_operator.ComparisonExpressionOperator() # noqa: E501 pass diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression_operator.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression_operator.py deleted file mode 100644 index 138b4bc89..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression_operator.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_comparison_expression_operator import CoreComparisonExpressionOperator # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreComparisonExpressionOperator(unittest.TestCase): - """CoreComparisonExpressionOperator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreComparisonExpressionOperator(self): - """Test CoreComparisonExpressionOperator""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_comparison_expression_operator.CoreComparisonExpressionOperator() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/protos/docs/admin/admin.rst b/protos/docs/admin/admin.rst deleted file mode 100644 index 000dd9765..000000000 --- a/protos/docs/admin/admin.rst +++ /dev/null @@ -1,4053 +0,0 @@ -###################### -Protocol Documentation -###################### - - - - -.. _ref_flyteidl/admin/cluster_assignment.proto: - -flyteidl/admin/cluster_assignment.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.ClusterAssignment: - -ClusterAssignment ------------------------------------------------------------------- - -Encapsulates specifications for routing an execution onto a specific cluster. - - - -.. csv-table:: ClusterAssignment type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "cluster_pool_name", ":ref:`ref_string`", "", "" - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/common.proto: - -flyteidl/admin/common.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.Annotations: - -Annotations ------------------------------------------------------------------- - -Annotation values to be applied to an execution resource. -In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined -to specify how to merge annotations defined at registration and execution time. - - - -.. csv-table:: Annotations type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "values", ":ref:`ref_flyteidl.admin.Annotations.ValuesEntry`", "repeated", "Map of custom annotations to be applied to the execution resource." - - - - - - - -.. _ref_flyteidl.admin.Annotations.ValuesEntry: - -Annotations.ValuesEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: Annotations.ValuesEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_flyteidl.admin.AuthRole: - -AuthRole ------------------------------------------------------------------- - -Defines permissions associated with executions created by this launch plan spec. -Use either of these roles when they have permissions required by your workflow execution. -Deprecated. - - - -.. csv-table:: AuthRole type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "assumable_iam_role", ":ref:`ref_string`", "", "Defines an optional iam role which will be used for tasks run in executions created with this launch plan." - "kubernetes_service_account", ":ref:`ref_string`", "", "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan." - - - - - - - -.. _ref_flyteidl.admin.EmailNotification: - -EmailNotification ------------------------------------------------------------------- - -Defines an email notification specification. - - - -.. csv-table:: EmailNotification type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "recipients_email", ":ref:`ref_string`", "repeated", "The list of email addresses recipients for this notification. +required" - - - - - - - -.. _ref_flyteidl.admin.Labels: - -Labels ------------------------------------------------------------------- - -Label values to be applied to an execution resource. -In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined -to specify how to merge labels defined at registration and execution time. - - - -.. csv-table:: Labels type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "values", ":ref:`ref_flyteidl.admin.Labels.ValuesEntry`", "repeated", "Map of custom labels to be applied to the execution resource." - - - - - - - -.. _ref_flyteidl.admin.Labels.ValuesEntry: - -Labels.ValuesEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: Labels.ValuesEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_flyteidl.admin.NamedEntity: - -NamedEntity ------------------------------------------------------------------- - -Encapsulates information common to a NamedEntity, a Flyte resource such as a task, -workflow or launch plan. A NamedEntity is exclusively identified by its resource type -and identifier. - - - -.. csv-table:: NamedEntity type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Resource type of the named entity. One of Task, Workflow or LaunchPlan." - "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "" - "metadata", ":ref:`ref_flyteidl.admin.NamedEntityMetadata`", "", "Additional metadata around a named entity." - - - - - - - -.. _ref_flyteidl.admin.NamedEntityGetRequest: - -NamedEntityGetRequest ------------------------------------------------------------------- - -A request to retrieve the metadata associated with a NamedEntityIdentifier - - - -.. csv-table:: NamedEntityGetRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required" - "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "The identifier for the named entity for which to fetch metadata. +required" - - - - - - - -.. _ref_flyteidl.admin.NamedEntityIdentifier: - -NamedEntityIdentifier ------------------------------------------------------------------- - -Encapsulation of fields that identifies a Flyte resource. -A Flyte resource can be a task, workflow or launch plan. -A resource can internally have multiple versions and is uniquely identified -by project, domain, and name. - - - -.. csv-table:: NamedEntityIdentifier type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "Name of the project the resource belongs to." - "domain", ":ref:`ref_string`", "", "Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project." - "name", ":ref:`ref_string`", "", "User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'" - - - - - - - -.. _ref_flyteidl.admin.NamedEntityIdentifierList: - -NamedEntityIdentifierList ------------------------------------------------------------------- - -Represents a list of NamedEntityIdentifiers. - - - -.. csv-table:: NamedEntityIdentifierList type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "entities", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "repeated", "A list of identifiers." - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." - - - - - - - -.. _ref_flyteidl.admin.NamedEntityIdentifierListRequest: - -NamedEntityIdentifierListRequest ------------------------------------------------------------------- - -Represents a request structure to list NamedEntityIdentifiers. - - - -.. csv-table:: NamedEntityIdentifierListRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "Name of the project that contains the identifiers. +required" - "domain", ":ref:`ref_string`", "", "Name of the domain the identifiers belongs to within the project. +required" - "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required" - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional" - "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Specifies how listed entities should be sorted in the response. +optional" - "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. +optional" - - - - - - - -.. _ref_flyteidl.admin.NamedEntityList: - -NamedEntityList ------------------------------------------------------------------- - -Represents a list of NamedEntityIdentifiers. - - - -.. csv-table:: NamedEntityList type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "entities", ":ref:`ref_flyteidl.admin.NamedEntity`", "repeated", "A list of NamedEntity objects" - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." - - - - - - - -.. _ref_flyteidl.admin.NamedEntityListRequest: - -NamedEntityListRequest ------------------------------------------------------------------- - -Represents a request structure to list NamedEntity objects - - - -.. csv-table:: NamedEntityListRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required" - "project", ":ref:`ref_string`", "", "Name of the project that contains the identifiers. +required" - "domain", ":ref:`ref_string`", "", "Name of the domain the identifiers belongs to within the project." - "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned." - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional" - "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Specifies how listed entities should be sorted in the response. +optional" - "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. +optional" - - - - - - - -.. _ref_flyteidl.admin.NamedEntityMetadata: - -NamedEntityMetadata ------------------------------------------------------------------- - -Additional metadata around a named entity. - - - -.. csv-table:: NamedEntityMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "description", ":ref:`ref_string`", "", "Common description across all versions of the entity +optional" - "state", ":ref:`ref_flyteidl.admin.NamedEntityState`", "", "Shared state across all version of the entity At this point in time, only workflow entities can have their state archived." - - - - - - - -.. _ref_flyteidl.admin.NamedEntityUpdateRequest: - -NamedEntityUpdateRequest ------------------------------------------------------------------- - -Request to set the referenced named entity state to the configured value. - - - -.. csv-table:: NamedEntityUpdateRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Resource type of the metadata to update +required" - "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "Identifier of the metadata to update +required" - "metadata", ":ref:`ref_flyteidl.admin.NamedEntityMetadata`", "", "Metadata object to set as the new value +required" - - - - - - - -.. _ref_flyteidl.admin.NamedEntityUpdateResponse: - -NamedEntityUpdateResponse ------------------------------------------------------------------- - -Purposefully empty, may be populated in the future. - - - - - - - - -.. _ref_flyteidl.admin.Notification: - -Notification ------------------------------------------------------------------- - -Represents a structure for notifications based on execution status. -The notification content is configured within flyte admin but can be templatized. -Future iterations could expose configuring notifications with custom content. - - - -.. csv-table:: Notification type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "phases", ":ref:`ref_flyteidl.core.WorkflowExecution.Phase`", "repeated", "A list of phases to which users can associate the notifications to. +required" - "email", ":ref:`ref_flyteidl.admin.EmailNotification`", "", "" - "pager_duty", ":ref:`ref_flyteidl.admin.PagerDutyNotification`", "", "" - "slack", ":ref:`ref_flyteidl.admin.SlackNotification`", "", "" - - - - - - - -.. _ref_flyteidl.admin.ObjectGetRequest: - -ObjectGetRequest ------------------------------------------------------------------- - -Shared request structure to fetch a single resource. -Resources include: Task, Workflow, LaunchPlan - - - -.. csv-table:: ObjectGetRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Indicates a unique version of resource. +required" - - - - - - - -.. _ref_flyteidl.admin.PagerDutyNotification: - -PagerDutyNotification ------------------------------------------------------------------- - -Defines a pager duty notification specification. - - - -.. csv-table:: PagerDutyNotification type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "recipients_email", ":ref:`ref_string`", "repeated", "Currently, PagerDuty notifications leverage email to trigger a notification. +required" - - - - - - - -.. _ref_flyteidl.admin.RawOutputDataConfig: - -RawOutputDataConfig ------------------------------------------------------------------- - -Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). -See https://github.com/flyteorg/flyte/issues/211 for more background information. - - - -.. csv-table:: RawOutputDataConfig type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "output_location_prefix", ":ref:`ref_string`", "", "Prefix for where offloaded data from user workflows will be written e.g. s3://bucket/key or s3://bucket/" - - - - - - - -.. _ref_flyteidl.admin.ResourceListRequest: - -ResourceListRequest ------------------------------------------------------------------- - -Shared request structure to retrieve a list of resources. -Resources include: Task, Workflow, LaunchPlan - - - -.. csv-table:: ResourceListRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "id represents the unique identifier of the resource. +required" - "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required" - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional" - "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : +optional" - "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional" - - - - - - - -.. _ref_flyteidl.admin.SlackNotification: - -SlackNotification ------------------------------------------------------------------- - -Defines a slack notification specification. - - - -.. csv-table:: SlackNotification type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "recipients_email", ":ref:`ref_string`", "repeated", "Currently, Slack notifications leverage email to trigger a notification. +required" - - - - - - - -.. _ref_flyteidl.admin.Sort: - -Sort ------------------------------------------------------------------- - -Specifies sort ordering in a list request. - - - -.. csv-table:: Sort type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "Indicates an attribute to sort the response values. +required" - "direction", ":ref:`ref_flyteidl.admin.Sort.Direction`", "", "Indicates the direction to apply sort key for response values. +optional" - - - - - - - -.. _ref_flyteidl.admin.UrlBlob: - -UrlBlob ------------------------------------------------------------------- - -Represents a string url and associated metadata used throughout the platform. - - - -.. csv-table:: UrlBlob type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "url", ":ref:`ref_string`", "", "Actual url value." - "bytes", ":ref:`ref_int64`", "", "Represents the size of the file accessible at the above url." - - - - - - -.. - end messages - - - -.. _ref_flyteidl.admin.NamedEntityState: - -NamedEntityState ------------------------------------------------------------------- - -The status of the named entity is used to control its visibility in the UI. - -.. csv-table:: Enum NamedEntityState values - :header: "Name", "Number", "Description" - :widths: auto - - "NAMED_ENTITY_ACTIVE", "0", "By default, all named entities are considered active and under development." - "NAMED_ENTITY_ARCHIVED", "1", "Archived named entities are no longer visible in the UI." - "SYSTEM_GENERATED", "2", "System generated entities that aren't explicitly created or managed by a user." - - - -.. _ref_flyteidl.admin.Sort.Direction: - -Sort.Direction ------------------------------------------------------------------- - - - -.. csv-table:: Enum Sort.Direction values - :header: "Name", "Number", "Description" - :widths: auto - - "DESCENDING", "0", "By default, fields are sorted in descending order." - "ASCENDING", "1", "" - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/event.proto: - -flyteidl/admin/event.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.EventErrorAlreadyInTerminalState: - -EventErrorAlreadyInTerminalState ------------------------------------------------------------------- - -Indicates that a sent event was not used to update execution state due to -the referenced execution already being terminated (and therefore ineligible -for further state transitions). - - - -.. csv-table:: EventErrorAlreadyInTerminalState type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "current_phase", ":ref:`ref_string`", "", "+required" - - - - - - - -.. _ref_flyteidl.admin.EventErrorIncompatibleCluster: - -EventErrorIncompatibleCluster ------------------------------------------------------------------- - -Indicates an event was rejected because it came from a different cluster than -is on record as running the execution. - - - -.. csv-table:: EventErrorIncompatibleCluster type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "cluster", ":ref:`ref_string`", "", "The cluster which has been recorded as processing the execution. +required" - - - - - - - -.. _ref_flyteidl.admin.EventFailureReason: - -EventFailureReason ------------------------------------------------------------------- - -Indicates why a sent event was not used to update execution. - - - -.. csv-table:: EventFailureReason type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "already_in_terminal_state", ":ref:`ref_flyteidl.admin.EventErrorAlreadyInTerminalState`", "", "" - "incompatible_cluster", ":ref:`ref_flyteidl.admin.EventErrorIncompatibleCluster`", "", "" - - - - - - - -.. _ref_flyteidl.admin.NodeExecutionEventRequest: - -NodeExecutionEventRequest ------------------------------------------------------------------- - -Request to send a notification that a node execution event has occurred. - - - -.. csv-table:: NodeExecutionEventRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "request_id", ":ref:`ref_string`", "", "Unique ID for this request that can be traced between services" - "event", ":ref:`ref_flyteidl.event.NodeExecutionEvent`", "", "Details about the event that occurred." - - - - - - - -.. _ref_flyteidl.admin.NodeExecutionEventResponse: - -NodeExecutionEventResponse ------------------------------------------------------------------- - -Purposefully empty, may be populated in the future. - - - - - - - - -.. _ref_flyteidl.admin.TaskExecutionEventRequest: - -TaskExecutionEventRequest ------------------------------------------------------------------- - -Request to send a notification that a task execution event has occurred. - - - -.. csv-table:: TaskExecutionEventRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "request_id", ":ref:`ref_string`", "", "Unique ID for this request that can be traced between services" - "event", ":ref:`ref_flyteidl.event.TaskExecutionEvent`", "", "Details about the event that occurred." - - - - - - - -.. _ref_flyteidl.admin.TaskExecutionEventResponse: - -TaskExecutionEventResponse ------------------------------------------------------------------- - -Purposefully empty, may be populated in the future. - - - - - - - - -.. _ref_flyteidl.admin.WorkflowExecutionEventRequest: - -WorkflowExecutionEventRequest ------------------------------------------------------------------- - -Request to send a notification that a workflow execution event has occurred. - - - -.. csv-table:: WorkflowExecutionEventRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "request_id", ":ref:`ref_string`", "", "Unique ID for this request that can be traced between services" - "event", ":ref:`ref_flyteidl.event.WorkflowExecutionEvent`", "", "Details about the event that occurred." - - - - - - - -.. _ref_flyteidl.admin.WorkflowExecutionEventResponse: - -WorkflowExecutionEventResponse ------------------------------------------------------------------- - -Purposefully empty, may be populated in the future. - - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/execution.proto: - -flyteidl/admin/execution.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.AbortMetadata: - -AbortMetadata ------------------------------------------------------------------- - -Specifies metadata around an aborted workflow execution. - - - -.. csv-table:: AbortMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "cause", ":ref:`ref_string`", "", "In the case of a user-specified abort, this will pass along the user-supplied cause." - "principal", ":ref:`ref_string`", "", "Identifies the entity (if any) responsible for terminating the execution" - - - - - - - -.. _ref_flyteidl.admin.Execution: - -Execution ------------------------------------------------------------------- - -A workflow execution represents an instantiated workflow, including all inputs and additional -metadata as well as computed results included state, outputs, and duration-based attributes. -Used as a response object used in Get and List execution requests. - - - -.. csv-table:: Execution type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Unique identifier of the workflow execution." - "spec", ":ref:`ref_flyteidl.admin.ExecutionSpec`", "", "User-provided configuration and inputs for launching the execution." - "closure", ":ref:`ref_flyteidl.admin.ExecutionClosure`", "", "Execution results." - - - - - - - -.. _ref_flyteidl.admin.ExecutionClosure: - -ExecutionClosure ------------------------------------------------------------------- - -Encapsulates the results of the Execution - - - -.. csv-table:: ExecutionClosure type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "outputs", ":ref:`ref_flyteidl.admin.LiteralMapBlob`", "", "**Deprecated.** Output URI in the case of a successful execution. DEPRECATED. Use GetExecutionData to fetch output data instead." - "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information in the case of a failed execution." - "abort_cause", ":ref:`ref_string`", "", "**Deprecated.** In the case of a user-specified abort, this will pass along the user-supplied cause." - "abort_metadata", ":ref:`ref_flyteidl.admin.AbortMetadata`", "", "In the case of a user-specified abort, this will pass along the user and their supplied cause." - "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead." - "computed_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Inputs computed and passed for execution. computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan" - "phase", ":ref:`ref_flyteidl.core.WorkflowExecution.Phase`", "", "Most recent recorded phase for the execution." - "started_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Reported time at which the execution began running." - "duration", ":ref:`ref_google.protobuf.Duration`", "", "The amount of time the execution spent running." - "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Reported time at which the execution was created." - "updated_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Reported time at which the execution was last updated." - "notifications", ":ref:`ref_flyteidl.admin.Notification`", "repeated", "The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan." - "workflow_id", ":ref:`ref_flyteidl.core.Identifier`", "", "Identifies the workflow definition for this execution." - "state_change_details", ":ref:`ref_flyteidl.admin.ExecutionStateChangeDetails`", "", "Provides the details of the last stage change" - - - - - - - -.. _ref_flyteidl.admin.ExecutionCreateRequest: - -ExecutionCreateRequest ------------------------------------------------------------------- - -Request to launch an execution with the given project, domain and optionally-assigned name. - - - -.. csv-table:: ExecutionCreateRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "Name of the project the execution belongs to. +required" - "domain", ":ref:`ref_string`", "", "Name of the domain the execution belongs to. A domain can be considered as a subset within a specific project. +required" - "name", ":ref:`ref_string`", "", "User provided value for the resource. If none is provided the system will generate a unique string. +optional" - "spec", ":ref:`ref_flyteidl.admin.ExecutionSpec`", "", "Additional fields necessary to launch the execution. +optional" - "inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "The inputs required to start the execution. All required inputs must be included in this map. If not required and not provided, defaults apply. +optional" - - - - - - - -.. _ref_flyteidl.admin.ExecutionCreateResponse: - -ExecutionCreateResponse ------------------------------------------------------------------- - -The unique identifier for a successfully created execution. -If the name was *not* specified in the create request, this identifier will include a generated name. - - - -.. csv-table:: ExecutionCreateResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "" - - - - - - - -.. _ref_flyteidl.admin.ExecutionList: - -ExecutionList ------------------------------------------------------------------- - -Used as a response for request to list executions. -See :ref:`ref_flyteidl.admin.Execution` for more details - - - -.. csv-table:: ExecutionList type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "executions", ":ref:`ref_flyteidl.admin.Execution`", "repeated", "" - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." - - - - - - - -.. _ref_flyteidl.admin.ExecutionMetadata: - -ExecutionMetadata ------------------------------------------------------------------- - -Represents attributes about an execution which are not required to launch the execution but are useful to record. -These attributes are assigned at launch time and do not change. - - - -.. csv-table:: ExecutionMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "mode", ":ref:`ref_flyteidl.admin.ExecutionMetadata.ExecutionMode`", "", "" - "principal", ":ref:`ref_string`", "", "Identifier of the entity that triggered this execution. For systems using back-end authentication any value set here will be discarded in favor of the authenticated user context." - "nesting", ":ref:`ref_uint32`", "", "Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1." - "scheduled_at", ":ref:`ref_google.protobuf.Timestamp`", "", "For scheduled executions, the requested time for execution for this specific schedule invocation." - "parent_node_execution", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Which subworkflow node (if any) launched this execution" - "reference_execution", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution." - "system_metadata", ":ref:`ref_flyteidl.admin.SystemMetadata`", "", "Optional, platform-specific metadata about the execution. In this the future this may be gated behind an ACL or some sort of authorization." - - - - - - - -.. _ref_flyteidl.admin.ExecutionRecoverRequest: - -ExecutionRecoverRequest ------------------------------------------------------------------- - -Request to recover the referenced execution. - - - -.. csv-table:: ExecutionRecoverRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Identifier of the workflow execution to recover." - "name", ":ref:`ref_string`", "", "User provided value for the recovered execution. If none is provided the system will generate a unique string. +optional" - "metadata", ":ref:`ref_flyteidl.admin.ExecutionMetadata`", "", "Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution." - - - - - - - -.. _ref_flyteidl.admin.ExecutionRelaunchRequest: - -ExecutionRelaunchRequest ------------------------------------------------------------------- - -Request to relaunch the referenced execution. - - - -.. csv-table:: ExecutionRelaunchRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Identifier of the workflow execution to relaunch. +required" - "name", ":ref:`ref_string`", "", "User provided value for the relaunched execution. If none is provided the system will generate a unique string. +optional" - - - - - - - -.. _ref_flyteidl.admin.ExecutionSpec: - -ExecutionSpec ------------------------------------------------------------------- - -An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime -of an execution as it progresses across phase changes. - - - -.. csv-table:: ExecutionSpec type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "launch_plan", ":ref:`ref_flyteidl.core.Identifier`", "", "Launch plan to be executed" - "inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Input values to be passed for the execution" - "metadata", ":ref:`ref_flyteidl.admin.ExecutionMetadata`", "", "Metadata for the execution" - "notifications", ":ref:`ref_flyteidl.admin.NotificationList`", "", "List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied." - "disable_all", ":ref:`ref_bool`", "", "This should be set to true if all notifications are intended to be disabled for this execution." - "labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Labels to apply to the execution resource." - "annotations", ":ref:`ref_flyteidl.admin.Annotations`", "", "Annotations to apply to the execution resource." - "security_context", ":ref:`ref_flyteidl.core.SecurityContext`", "", "Optional: security context override to apply this execution." - "auth_role", ":ref:`ref_flyteidl.admin.AuthRole`", "", "**Deprecated.** Optional: auth override to apply this execution." - "quality_of_service", ":ref:`ref_flyteidl.core.QualityOfService`", "", "Indicates the runtime priority of the execution." - "max_parallelism", ":ref:`ref_int32`", "", "Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this." - "raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.). This should be a prefix like s3://my-bucket/my-data" - "cluster_assignment", ":ref:`ref_flyteidl.admin.ClusterAssignment`", "", "Controls how to select an available cluster on which this execution should run." - "interruptible", ":ref:`ref_google.protobuf.BoolValue`", "", "Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field." - - - - - - - -.. _ref_flyteidl.admin.ExecutionStateChangeDetails: - -ExecutionStateChangeDetails ------------------------------------------------------------------- - - - - - -.. csv-table:: ExecutionStateChangeDetails type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "state", ":ref:`ref_flyteidl.admin.ExecutionState`", "", "The state of the execution is used to control its visibility in the UI/CLI." - "occurred_at", ":ref:`ref_google.protobuf.Timestamp`", "", "This timestamp represents when the state changed." - "principal", ":ref:`ref_string`", "", "Identifies the entity (if any) responsible for causing the state change of the execution" - - - - - - - -.. _ref_flyteidl.admin.ExecutionTerminateRequest: - -ExecutionTerminateRequest ------------------------------------------------------------------- - -Request to terminate an in-progress execution. This action is irreversible. -If an execution is already terminated, this request will simply be a no-op. -This request will fail if it references a non-existent execution. -If the request succeeds the phase "ABORTED" will be recorded for the termination -with the optional cause added to the output_result. - - - -.. csv-table:: ExecutionTerminateRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Uniquely identifies the individual workflow execution to be terminated." - "cause", ":ref:`ref_string`", "", "Optional reason for aborting." - - - - - - - -.. _ref_flyteidl.admin.ExecutionTerminateResponse: - -ExecutionTerminateResponse ------------------------------------------------------------------- - -Purposefully empty, may be populated in the future. - - - - - - - - -.. _ref_flyteidl.admin.ExecutionUpdateRequest: - -ExecutionUpdateRequest ------------------------------------------------------------------- - - - - - -.. csv-table:: ExecutionUpdateRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Identifier of the execution to update" - "state", ":ref:`ref_flyteidl.admin.ExecutionState`", "", "State to set as the new value active/archive" - - - - - - - -.. _ref_flyteidl.admin.ExecutionUpdateResponse: - -ExecutionUpdateResponse ------------------------------------------------------------------- - - - - - - - - - - -.. _ref_flyteidl.admin.LiteralMapBlob: - -LiteralMapBlob ------------------------------------------------------------------- - -Input/output data can represented by actual values or a link to where values are stored - - - -.. csv-table:: LiteralMapBlob type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "values", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Data in LiteralMap format" - "uri", ":ref:`ref_string`", "", "In the event that the map is too large, we return a uri to the data" - - - - - - - -.. _ref_flyteidl.admin.NotificationList: - -NotificationList ------------------------------------------------------------------- - - - - - -.. csv-table:: NotificationList type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "notifications", ":ref:`ref_flyteidl.admin.Notification`", "repeated", "" - - - - - - - -.. _ref_flyteidl.admin.SystemMetadata: - -SystemMetadata ------------------------------------------------------------------- - -Represents system, rather than user-facing, metadata about an execution. - - - -.. csv-table:: SystemMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "execution_cluster", ":ref:`ref_string`", "", "Which execution cluster this execution ran on." - - - - - - - -.. _ref_flyteidl.admin.WorkflowExecutionGetDataRequest: - -WorkflowExecutionGetDataRequest ------------------------------------------------------------------- - -Request structure to fetch inputs, output and other data produced by an execution. -By default this data is not returned inline in :ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest` - - - -.. csv-table:: WorkflowExecutionGetDataRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "The identifier of the execution for which to fetch inputs and outputs." - - - - - - - -.. _ref_flyteidl.admin.WorkflowExecutionGetDataResponse: - -WorkflowExecutionGetDataResponse ------------------------------------------------------------------- - -Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution. - - - -.. csv-table:: WorkflowExecutionGetDataResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "outputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of execution outputs. Deprecated: Please use full_outputs instead." - "inputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of execution inputs. Deprecated: Please use full_inputs instead." - "full_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_inputs will only be populated if they are under a configured size threshold." - "full_outputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_outputs will only be populated if they are under a configured size threshold." - - - - - - - -.. _ref_flyteidl.admin.WorkflowExecutionGetRequest: - -WorkflowExecutionGetRequest ------------------------------------------------------------------- - -A message used to fetch a single workflow execution entity. -See :ref:`ref_flyteidl.admin.Execution` for more details - - - -.. csv-table:: WorkflowExecutionGetRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Uniquely identifies an individual workflow execution." - - - - - - -.. - end messages - - - -.. _ref_flyteidl.admin.ExecutionMetadata.ExecutionMode: - -ExecutionMetadata.ExecutionMode ------------------------------------------------------------------- - -The method by which this execution was launched. - -.. csv-table:: Enum ExecutionMetadata.ExecutionMode values - :header: "Name", "Number", "Description" - :widths: auto - - "MANUAL", "0", "The default execution mode, MANUAL implies that an execution was launched by an individual." - "SCHEDULED", "1", "A schedule triggered this execution launch." - "SYSTEM", "2", "A system process was responsible for launching this execution rather an individual." - "RELAUNCH", "3", "This execution was launched with identical inputs as a previous execution." - "CHILD_WORKFLOW", "4", "This execution was triggered by another execution." - "RECOVERED", "5", "This execution was recovered from another execution." - - - -.. _ref_flyteidl.admin.ExecutionState: - -ExecutionState ------------------------------------------------------------------- - -The state of the execution is used to control its visibility in the UI/CLI. - -.. csv-table:: Enum ExecutionState values - :header: "Name", "Number", "Description" - :widths: auto - - "EXECUTION_ACTIVE", "0", "By default, all executions are considered active." - "EXECUTION_ARCHIVED", "1", "Archived executions are no longer visible in the UI." - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/launch_plan.proto: - -flyteidl/admin/launch_plan.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.ActiveLaunchPlanListRequest: - -ActiveLaunchPlanListRequest ------------------------------------------------------------------- - -Represents a request structure to list active launch plans within a project/domain. -See :ref:`ref_flyteidl.admin.LaunchPlan` for more details - - - -.. csv-table:: ActiveLaunchPlanListRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "Name of the project that contains the identifiers. +required." - "domain", ":ref:`ref_string`", "", "Name of the domain the identifiers belongs to within the project. +required." - "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required." - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional" - "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional" - - - - - - - -.. _ref_flyteidl.admin.ActiveLaunchPlanRequest: - -ActiveLaunchPlanRequest ------------------------------------------------------------------- - -Represents a request struct for finding an active launch plan for a given NamedEntityIdentifier -See :ref:`ref_flyteidl.admin.LaunchPlan` for more details - - - -.. csv-table:: ActiveLaunchPlanRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "+required." - - - - - - - -.. _ref_flyteidl.admin.Auth: - -Auth ------------------------------------------------------------------- - -Defines permissions associated with executions created by this launch plan spec. -Use either of these roles when they have permissions required by your workflow execution. -Deprecated. - - - -.. csv-table:: Auth type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "assumable_iam_role", ":ref:`ref_string`", "", "Defines an optional iam role which will be used for tasks run in executions created with this launch plan." - "kubernetes_service_account", ":ref:`ref_string`", "", "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan." - - - - - - - -.. _ref_flyteidl.admin.LaunchPlan: - -LaunchPlan ------------------------------------------------------------------- - -A LaunchPlan provides the capability to templatize workflow executions. -Launch plans simplify associating one or more schedules, inputs and notifications with your workflows. -Launch plans can be shared and used to trigger executions with predefined inputs even when a workflow -definition doesn't necessarily have a default value for said input. - - - -.. csv-table:: LaunchPlan type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Uniquely identifies a launch plan entity." - "spec", ":ref:`ref_flyteidl.admin.LaunchPlanSpec`", "", "User-provided launch plan details, including reference workflow, inputs and other metadata." - "closure", ":ref:`ref_flyteidl.admin.LaunchPlanClosure`", "", "Values computed by the flyte platform after launch plan registration." - - - - - - - -.. _ref_flyteidl.admin.LaunchPlanClosure: - -LaunchPlanClosure ------------------------------------------------------------------- - -Values computed by the flyte platform after launch plan registration. -These include expected_inputs required to be present in a CreateExecutionRequest -to launch the reference workflow as well timestamp values associated with the launch plan. - - - -.. csv-table:: LaunchPlanClosure type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "state", ":ref:`ref_flyteidl.admin.LaunchPlanState`", "", "Indicate the Launch plan state." - "expected_inputs", ":ref:`ref_flyteidl.core.ParameterMap`", "", "Indicates the set of inputs expected when creating an execution with the Launch plan" - "expected_outputs", ":ref:`ref_flyteidl.core.VariableMap`", "", "Indicates the set of outputs expected to be produced by creating an execution with the Launch plan" - "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the launch plan was created." - "updated_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the launch plan was last updated." - - - - - - - -.. _ref_flyteidl.admin.LaunchPlanCreateRequest: - -LaunchPlanCreateRequest ------------------------------------------------------------------- - -Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required -to launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to -set the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan. - - - -.. csv-table:: LaunchPlanCreateRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Uniquely identifies a launch plan entity." - "spec", ":ref:`ref_flyteidl.admin.LaunchPlanSpec`", "", "User-provided launch plan details, including reference workflow, inputs and other metadata." - - - - - - - -.. _ref_flyteidl.admin.LaunchPlanCreateResponse: - -LaunchPlanCreateResponse ------------------------------------------------------------------- - -Purposefully empty, may be populated in the future. - - - - - - - - -.. _ref_flyteidl.admin.LaunchPlanList: - -LaunchPlanList ------------------------------------------------------------------- - -Response object for list launch plan requests. -See :ref:`ref_flyteidl.admin.LaunchPlan` for more details - - - -.. csv-table:: LaunchPlanList type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "launch_plans", ":ref:`ref_flyteidl.admin.LaunchPlan`", "repeated", "" - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." - - - - - - - -.. _ref_flyteidl.admin.LaunchPlanMetadata: - -LaunchPlanMetadata ------------------------------------------------------------------- - -Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch -the reference workflow. - - - -.. csv-table:: LaunchPlanMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "schedule", ":ref:`ref_flyteidl.admin.Schedule`", "", "Schedule to execute the Launch Plan" - "notifications", ":ref:`ref_flyteidl.admin.Notification`", "repeated", "List of notifications based on Execution status transitions" - - - - - - - -.. _ref_flyteidl.admin.LaunchPlanSpec: - -LaunchPlanSpec ------------------------------------------------------------------- - -User-provided launch plan definition and configuration values. - - - -.. csv-table:: LaunchPlanSpec type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "workflow_id", ":ref:`ref_flyteidl.core.Identifier`", "", "Reference to the Workflow template that the launch plan references" - "entity_metadata", ":ref:`ref_flyteidl.admin.LaunchPlanMetadata`", "", "Metadata for the Launch Plan" - "default_inputs", ":ref:`ref_flyteidl.core.ParameterMap`", "", "Input values to be passed for the execution. These can be overriden when an execution is created with this launch plan." - "fixed_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Fixed, non-overridable inputs for the Launch Plan. These can not be overriden when an execution is created with this launch plan." - "role", ":ref:`ref_string`", "", "**Deprecated.** String to indicate the role to use to execute the workflow underneath" - "labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Custom labels to be applied to the execution resource." - "annotations", ":ref:`ref_flyteidl.admin.Annotations`", "", "Custom annotations to be applied to the execution resource." - "auth", ":ref:`ref_flyteidl.admin.Auth`", "", "**Deprecated.** Indicates the permission associated with workflow executions triggered with this launch plan." - "auth_role", ":ref:`ref_flyteidl.admin.AuthRole`", "", "**Deprecated.** " - "security_context", ":ref:`ref_flyteidl.core.SecurityContext`", "", "Indicates security context for permissions triggered with this launch plan" - "quality_of_service", ":ref:`ref_flyteidl.core.QualityOfService`", "", "Indicates the runtime priority of the execution." - "raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)." - "max_parallelism", ":ref:`ref_int32`", "", "Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this." - "interruptible", ":ref:`ref_google.protobuf.BoolValue`", "", "Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field." - - - - - - - -.. _ref_flyteidl.admin.LaunchPlanUpdateRequest: - -LaunchPlanUpdateRequest ------------------------------------------------------------------- - -Request to set the referenced launch plan state to the configured value. -See :ref:`ref_flyteidl.admin.LaunchPlan` for more details - - - -.. csv-table:: LaunchPlanUpdateRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Identifier of launch plan for which to change state. +required." - "state", ":ref:`ref_flyteidl.admin.LaunchPlanState`", "", "Desired state to apply to the launch plan. +required." - - - - - - - -.. _ref_flyteidl.admin.LaunchPlanUpdateResponse: - -LaunchPlanUpdateResponse ------------------------------------------------------------------- - -Purposefully empty, may be populated in the future. - - - - - - - -.. - end messages - - - -.. _ref_flyteidl.admin.LaunchPlanState: - -LaunchPlanState ------------------------------------------------------------------- - -By default any launch plan regardless of state can be used to launch a workflow execution. -However, at most one version of a launch plan -(e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be -active at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier -group will be observed and trigger executions at a defined cadence. - -.. csv-table:: Enum LaunchPlanState values - :header: "Name", "Number", "Description" - :widths: auto - - "INACTIVE", "0", "" - "ACTIVE", "1", "" - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/matchable_resource.proto: - -flyteidl/admin/matchable_resource.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.ClusterResourceAttributes: - -ClusterResourceAttributes ------------------------------------------------------------------- - - - - - -.. csv-table:: ClusterResourceAttributes type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "attributes", ":ref:`ref_flyteidl.admin.ClusterResourceAttributes.AttributesEntry`", "repeated", "Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation." - - - - - - - -.. _ref_flyteidl.admin.ClusterResourceAttributes.AttributesEntry: - -ClusterResourceAttributes.AttributesEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: ClusterResourceAttributes.AttributesEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_flyteidl.admin.ExecutionClusterLabel: - -ExecutionClusterLabel ------------------------------------------------------------------- - - - - - -.. csv-table:: ExecutionClusterLabel type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "value", ":ref:`ref_string`", "", "Label value to determine where the execution will be run" - - - - - - - -.. _ref_flyteidl.admin.ExecutionQueueAttributes: - -ExecutionQueueAttributes ------------------------------------------------------------------- - - - - - -.. csv-table:: ExecutionQueueAttributes type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "tags", ":ref:`ref_string`", "repeated", "Tags used for assigning execution queues for tasks defined within this project." - - - - - - - -.. _ref_flyteidl.admin.ListMatchableAttributesRequest: - -ListMatchableAttributesRequest ------------------------------------------------------------------- - -Request all matching resource attributes for a resource type. -See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details - - - -.. csv-table:: ListMatchableAttributesRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "+required" - - - - - - - -.. _ref_flyteidl.admin.ListMatchableAttributesResponse: - -ListMatchableAttributesResponse ------------------------------------------------------------------- - -Response for a request for all matching resource attributes for a resource type. -See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details - - - -.. csv-table:: ListMatchableAttributesResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "configurations", ":ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`", "repeated", "" - - - - - - - -.. _ref_flyteidl.admin.MatchableAttributesConfiguration: - -MatchableAttributesConfiguration ------------------------------------------------------------------- - -Represents a custom set of attributes applied for either a domain; a domain and project; or -domain, project and workflow name. -These are used to override system level defaults for kubernetes cluster resource management, -default execution values, and more all across different levels of specificity. - - - -.. csv-table:: MatchableAttributesConfiguration type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "attributes", ":ref:`ref_flyteidl.admin.MatchingAttributes`", "", "" - "domain", ":ref:`ref_string`", "", "" - "project", ":ref:`ref_string`", "", "" - "workflow", ":ref:`ref_string`", "", "" - "launch_plan", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_flyteidl.admin.MatchingAttributes: - -MatchingAttributes ------------------------------------------------------------------- - -Generic container for encapsulating all types of the above attributes messages. - - - -.. csv-table:: MatchingAttributes type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "task_resource_attributes", ":ref:`ref_flyteidl.admin.TaskResourceAttributes`", "", "" - "cluster_resource_attributes", ":ref:`ref_flyteidl.admin.ClusterResourceAttributes`", "", "" - "execution_queue_attributes", ":ref:`ref_flyteidl.admin.ExecutionQueueAttributes`", "", "" - "execution_cluster_label", ":ref:`ref_flyteidl.admin.ExecutionClusterLabel`", "", "" - "quality_of_service", ":ref:`ref_flyteidl.core.QualityOfService`", "", "" - "plugin_overrides", ":ref:`ref_flyteidl.admin.PluginOverrides`", "", "" - "workflow_execution_config", ":ref:`ref_flyteidl.admin.WorkflowExecutionConfig`", "", "" - "cluster_assignment", ":ref:`ref_flyteidl.admin.ClusterAssignment`", "", "" - - - - - - - -.. _ref_flyteidl.admin.PluginOverride: - -PluginOverride ------------------------------------------------------------------- - -This MatchableAttribute configures selecting alternate plugin implementations for a given task type. -In addition to an override implementation a selection of fallbacks can be provided or other modes -for handling cases where the desired plugin override is not enabled in a given Flyte deployment. - - - -.. csv-table:: PluginOverride type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "task_type", ":ref:`ref_string`", "", "A predefined yet extensible Task type identifier." - "plugin_id", ":ref:`ref_string`", "repeated", "A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id." - "missing_plugin_behavior", ":ref:`ref_flyteidl.admin.PluginOverride.MissingPluginBehavior`", "", "Defines the behavior when no plugin from the plugin_id list is not found." - - - - - - - -.. _ref_flyteidl.admin.PluginOverrides: - -PluginOverrides ------------------------------------------------------------------- - - - - - -.. csv-table:: PluginOverrides type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "overrides", ":ref:`ref_flyteidl.admin.PluginOverride`", "repeated", "" - - - - - - - -.. _ref_flyteidl.admin.TaskResourceAttributes: - -TaskResourceAttributes ------------------------------------------------------------------- - -Defines task resource defaults and limits that will be applied at task registration. - - - -.. csv-table:: TaskResourceAttributes type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "defaults", ":ref:`ref_flyteidl.admin.TaskResourceSpec`", "", "" - "limits", ":ref:`ref_flyteidl.admin.TaskResourceSpec`", "", "" - - - - - - - -.. _ref_flyteidl.admin.TaskResourceSpec: - -TaskResourceSpec ------------------------------------------------------------------- - -Defines a set of overridable task resource attributes set during task registration. - - - -.. csv-table:: TaskResourceSpec type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "cpu", ":ref:`ref_string`", "", "" - "gpu", ":ref:`ref_string`", "", "" - "memory", ":ref:`ref_string`", "", "" - "storage", ":ref:`ref_string`", "", "" - "ephemeral_storage", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_flyteidl.admin.WorkflowExecutionConfig: - -WorkflowExecutionConfig ------------------------------------------------------------------- - -Adds defaults for customizable workflow-execution specifications and overrides. - - - -.. csv-table:: WorkflowExecutionConfig type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "max_parallelism", ":ref:`ref_int32`", "", "Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness." - "security_context", ":ref:`ref_flyteidl.core.SecurityContext`", "", "Indicates security context permissions for executions triggered with this matchable attribute." - "raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)." - "labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Custom labels to be applied to a triggered execution resource." - "annotations", ":ref:`ref_flyteidl.admin.Annotations`", "", "Custom annotations to be applied to a triggered execution resource." - "interruptible", ":ref:`ref_google.protobuf.BoolValue`", "", "Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field." - - - - - - -.. - end messages - - - -.. _ref_flyteidl.admin.MatchableResource: - -MatchableResource ------------------------------------------------------------------- - -Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes -based on matching tags. - -.. csv-table:: Enum MatchableResource values - :header: "Name", "Number", "Description" - :widths: auto - - "TASK_RESOURCE", "0", "Applies to customizable task resource requests and limits." - "CLUSTER_RESOURCE", "1", "Applies to configuring templated kubernetes cluster resources." - "EXECUTION_QUEUE", "2", "Configures task and dynamic task execution queue assignment." - "EXECUTION_CLUSTER_LABEL", "3", "Configures the K8s cluster label to be used for execution to be run" - "QUALITY_OF_SERVICE_SPECIFICATION", "4", "Configures default quality of service when undefined in an execution spec." - "PLUGIN_OVERRIDE", "5", "Selects configurable plugin implementation behavior for a given task type." - "WORKFLOW_EXECUTION_CONFIG", "6", "Adds defaults for customizable workflow-execution specifications and overrides." - "CLUSTER_ASSIGNMENT", "7", "Controls how to select an available cluster on which this execution should run." - - - -.. _ref_flyteidl.admin.PluginOverride.MissingPluginBehavior: - -PluginOverride.MissingPluginBehavior ------------------------------------------------------------------- - - - -.. csv-table:: Enum PluginOverride.MissingPluginBehavior values - :header: "Name", "Number", "Description" - :widths: auto - - "FAIL", "0", "By default, if this plugin is not enabled for a Flyte deployment then execution will fail." - "USE_DEFAULT", "1", "Uses the system-configured default implementation." - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/node_execution.proto: - -flyteidl/admin/node_execution.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.DynamicWorkflowNodeMetadata: - -DynamicWorkflowNodeMetadata ------------------------------------------------------------------- - -For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated. - - - -.. csv-table:: DynamicWorkflowNodeMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the workflow." - "compiled_workflow", ":ref:`ref_flyteidl.core.CompiledWorkflowClosure`", "", "Represents the compiled representation of the embedded dynamic workflow." - - - - - - - -.. _ref_flyteidl.admin.NodeExecution: - -NodeExecution ------------------------------------------------------------------- - -Encapsulates all details for a single node execution entity. -A node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested -sub-workflow, or even a separate child-workflow execution. -The same task can be called repeatedly in a single workflow but each node is unique. - - - -.. csv-table:: NodeExecution type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Uniquely identifies an individual node execution." - "input_uri", ":ref:`ref_string`", "", "Path to remote data store where input blob is stored." - "closure", ":ref:`ref_flyteidl.admin.NodeExecutionClosure`", "", "Computed results associated with this node execution." - "metadata", ":ref:`ref_flyteidl.admin.NodeExecutionMetaData`", "", "Metadata for Node Execution" - - - - - - - -.. _ref_flyteidl.admin.NodeExecutionClosure: - -NodeExecutionClosure ------------------------------------------------------------------- - -Container for node execution details and results. - - - -.. csv-table:: NodeExecutionClosure type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "output_uri", ":ref:`ref_string`", "", "**Deprecated.** Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead." - "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information for the Node" - "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead." - "phase", ":ref:`ref_flyteidl.core.NodeExecution.Phase`", "", "The last recorded phase for this node execution." - "started_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the node execution began running." - "duration", ":ref:`ref_google.protobuf.Duration`", "", "The amount of time the node execution spent running." - "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the node execution was created." - "updated_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the node execution was last updated." - "workflow_node_metadata", ":ref:`ref_flyteidl.admin.WorkflowNodeMetadata`", "", "" - "task_node_metadata", ":ref:`ref_flyteidl.admin.TaskNodeMetadata`", "", "" - "deck_uri", ":ref:`ref_string`", "", "String location uniquely identifying where the deck HTML file is. NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" - - - - - - - -.. _ref_flyteidl.admin.NodeExecutionForTaskListRequest: - -NodeExecutionForTaskListRequest ------------------------------------------------------------------- - -Represents a request structure to retrieve a list of node execution entities launched by a specific task. -This can arise when a task yields a subworkflow. - - - -.. csv-table:: NodeExecutionForTaskListRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "task_execution_id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "Indicates the node execution to filter by. +required" - "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required" - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional" - "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : +optional" - "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional" - - - - - - - -.. _ref_flyteidl.admin.NodeExecutionGetDataRequest: - -NodeExecutionGetDataRequest ------------------------------------------------------------------- - -Request structure to fetch inputs and output for a node execution. -By default, these are not returned in :ref:`ref_flyteidl.admin.NodeExecutionGetRequest` - - - -.. csv-table:: NodeExecutionGetDataRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "The identifier of the node execution for which to fetch inputs and outputs." - - - - - - - -.. _ref_flyteidl.admin.NodeExecutionGetDataResponse: - -NodeExecutionGetDataResponse ------------------------------------------------------------------- - -Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution. - - - -.. csv-table:: NodeExecutionGetDataResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "inputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of node execution inputs. Deprecated: Please use full_inputs instead." - "outputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of node execution outputs. Deprecated: Please use full_outputs instead." - "full_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_inputs will only be populated if they are under a configured size threshold." - "full_outputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_outputs will only be populated if they are under a configured size threshold." - "dynamic_workflow", ":ref:`ref_flyteidl.admin.DynamicWorkflowNodeMetadata`", "", "Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here." - - - - - - - -.. _ref_flyteidl.admin.NodeExecutionGetRequest: - -NodeExecutionGetRequest ------------------------------------------------------------------- - -A message used to fetch a single node execution entity. -See :ref:`ref_flyteidl.admin.NodeExecution` for more details - - - -.. csv-table:: NodeExecutionGetRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Uniquely identifies an individual node execution. +required" - - - - - - - -.. _ref_flyteidl.admin.NodeExecutionList: - -NodeExecutionList ------------------------------------------------------------------- - -Request structure to retrieve a list of node execution entities. -See :ref:`ref_flyteidl.admin.NodeExecution` for more details - - - -.. csv-table:: NodeExecutionList type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "node_executions", ":ref:`ref_flyteidl.admin.NodeExecution`", "repeated", "" - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." - - - - - - - -.. _ref_flyteidl.admin.NodeExecutionListRequest: - -NodeExecutionListRequest ------------------------------------------------------------------- - -Represents a request structure to retrieve a list of node execution entities. -See :ref:`ref_flyteidl.admin.NodeExecution` for more details - - - -.. csv-table:: NodeExecutionListRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "workflow_execution_id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Indicates the workflow execution to filter by. +required" - "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required" - "token", ":ref:`ref_string`", "", "" - "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : +optional" - "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional" - "unique_parent_id", ":ref:`ref_string`", "", "Unique identifier of the parent node in the execution +optional" - - - - - - - -.. _ref_flyteidl.admin.NodeExecutionMetaData: - -NodeExecutionMetaData ------------------------------------------------------------------- - -Represents additional attributes related to a Node Execution - - - -.. csv-table:: NodeExecutionMetaData type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "retry_group", ":ref:`ref_string`", "", "Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node." - "is_parent_node", ":ref:`ref_bool`", "", "Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes." - "spec_node_id", ":ref:`ref_string`", "", "Node id of the node in the original workflow This maps to value of WorkflowTemplate.nodes[X].id" - "is_dynamic", ":ref:`ref_bool`", "", "Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true." - - - - - - - -.. _ref_flyteidl.admin.TaskNodeMetadata: - -TaskNodeMetadata ------------------------------------------------------------------- - -Metadata for the case in which the node is a TaskNode - - - -.. csv-table:: TaskNodeMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "cache_status", ":ref:`ref_flyteidl.core.CatalogCacheStatus`", "", "Captures the status of caching for this execution." - "catalog_key", ":ref:`ref_flyteidl.core.CatalogMetadata`", "", "This structure carries the catalog artifact information" - - - - - - - -.. _ref_flyteidl.admin.WorkflowNodeMetadata: - -WorkflowNodeMetadata ------------------------------------------------------------------- - -Metadata for a WorkflowNode - - - -.. csv-table:: WorkflowNodeMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "executionId", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "The identifier for a workflow execution launched by a node." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/notification.proto: - -flyteidl/admin/notification.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.EmailMessage: - -EmailMessage ------------------------------------------------------------------- - -Represents the Email object that is sent to a publisher/subscriber -to forward the notification. -Note: This is internal to Admin and doesn't need to be exposed to other components. - - - -.. csv-table:: EmailMessage type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "recipients_email", ":ref:`ref_string`", "repeated", "The list of email addresses to receive an email with the content populated in the other fields. Currently, each email recipient will receive its own email. This populates the TO field." - "sender_email", ":ref:`ref_string`", "", "The email of the sender. This populates the FROM field." - "subject_line", ":ref:`ref_string`", "", "The content of the subject line. This populates the SUBJECT field." - "body", ":ref:`ref_string`", "", "The content of the email body. This populates the BODY field." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/project.proto: - -flyteidl/admin/project.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.Domain: - -Domain ------------------------------------------------------------------- - -Namespace within a project commonly used to differentiate between different service instances. -e.g. "production", "development", etc. - - - -.. csv-table:: Domain type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_string`", "", "Globally unique domain name." - "name", ":ref:`ref_string`", "", "Display name." - - - - - - - -.. _ref_flyteidl.admin.Project: - -Project ------------------------------------------------------------------- - -Top-level namespace used to classify different entities like workflows and executions. - - - -.. csv-table:: Project type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_string`", "", "Globally unique project name." - "name", ":ref:`ref_string`", "", "Display name." - "domains", ":ref:`ref_flyteidl.admin.Domain`", "repeated", "" - "description", ":ref:`ref_string`", "", "" - "labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Leverage Labels from flyteidel.admin.common.proto to tag projects with ownership information." - "state", ":ref:`ref_flyteidl.admin.Project.ProjectState`", "", "" - - - - - - - -.. _ref_flyteidl.admin.ProjectListRequest: - -ProjectListRequest ------------------------------------------------------------------- - -Request to retrieve a list of projects matching specified filters. -See :ref:`ref_flyteidl.admin.Project` for more details - - - -.. csv-table:: ProjectListRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "limit", ":ref:`ref_uint32`", "", "Indicates the number of projects to be returned. +required" - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional" - "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : +optional" - "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional" - - - - - - - -.. _ref_flyteidl.admin.ProjectRegisterRequest: - -ProjectRegisterRequest ------------------------------------------------------------------- - -Adds a new user-project within the Flyte deployment. -See :ref:`ref_flyteidl.admin.Project` for more details - - - -.. csv-table:: ProjectRegisterRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_flyteidl.admin.Project`", "", "+required" - - - - - - - -.. _ref_flyteidl.admin.ProjectRegisterResponse: - -ProjectRegisterResponse ------------------------------------------------------------------- - -Purposefully empty, may be updated in the future. - - - - - - - - -.. _ref_flyteidl.admin.ProjectUpdateResponse: - -ProjectUpdateResponse ------------------------------------------------------------------- - -Purposefully empty, may be updated in the future. - - - - - - - - -.. _ref_flyteidl.admin.Projects: - -Projects ------------------------------------------------------------------- - -Represents a list of projects. -See :ref:`ref_flyteidl.admin.Project` for more details - - - -.. csv-table:: Projects type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "projects", ":ref:`ref_flyteidl.admin.Project`", "repeated", "" - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." - - - - - - -.. - end messages - - - -.. _ref_flyteidl.admin.Project.ProjectState: - -Project.ProjectState ------------------------------------------------------------------- - -The state of the project is used to control its visibility in the UI and validity. - -.. csv-table:: Enum Project.ProjectState values - :header: "Name", "Number", "Description" - :widths: auto - - "ACTIVE", "0", "By default, all projects are considered active." - "ARCHIVED", "1", "Archived projects are no longer visible in the UI and no longer valid." - "SYSTEM_GENERATED", "2", "System generated projects that aren't explicitly created or managed by a user." - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/project_domain_attributes.proto: - -flyteidl/admin/project_domain_attributes.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.ProjectDomainAttributes: - -ProjectDomainAttributes ------------------------------------------------------------------- - -Defines a set of custom matching attributes which defines resource defaults for a project and domain. -For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` - - - -.. csv-table:: ProjectDomainAttributes type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "Unique project id for which this set of attributes will be applied." - "domain", ":ref:`ref_string`", "", "Unique domain id for which this set of attributes will be applied." - "matching_attributes", ":ref:`ref_flyteidl.admin.MatchingAttributes`", "", "" - - - - - - - -.. _ref_flyteidl.admin.ProjectDomainAttributesDeleteRequest: - -ProjectDomainAttributesDeleteRequest ------------------------------------------------------------------- - -Request to delete a set matchable project domain attribute override. -For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` - - - -.. csv-table:: ProjectDomainAttributesDeleteRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "Unique project id which this set of attributes references. +required" - "domain", ":ref:`ref_string`", "", "Unique domain id which this set of attributes references. +required" - "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "Which type of matchable attributes to delete. +required" - - - - - - - -.. _ref_flyteidl.admin.ProjectDomainAttributesDeleteResponse: - -ProjectDomainAttributesDeleteResponse ------------------------------------------------------------------- - -Purposefully empty, may be populated in the future. - - - - - - - - -.. _ref_flyteidl.admin.ProjectDomainAttributesGetRequest: - -ProjectDomainAttributesGetRequest ------------------------------------------------------------------- - -Request to get an individual project domain attribute override. -For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` - - - -.. csv-table:: ProjectDomainAttributesGetRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "Unique project id which this set of attributes references. +required" - "domain", ":ref:`ref_string`", "", "Unique domain id which this set of attributes references. +required" - "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "Which type of matchable attributes to return. +required" - - - - - - - -.. _ref_flyteidl.admin.ProjectDomainAttributesGetResponse: - -ProjectDomainAttributesGetResponse ------------------------------------------------------------------- - -Response to get an individual project domain attribute override. -For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` - - - -.. csv-table:: ProjectDomainAttributesGetResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "attributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributes`", "", "" - - - - - - - -.. _ref_flyteidl.admin.ProjectDomainAttributesUpdateRequest: - -ProjectDomainAttributesUpdateRequest ------------------------------------------------------------------- - -Sets custom attributes for a project-domain combination. -For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` - - - -.. csv-table:: ProjectDomainAttributesUpdateRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "attributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributes`", "", "+required" - - - - - - - -.. _ref_flyteidl.admin.ProjectDomainAttributesUpdateResponse: - -ProjectDomainAttributesUpdateResponse ------------------------------------------------------------------- - -Purposefully empty, may be populated in the future. - - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/schedule.proto: - -flyteidl/admin/schedule.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.CronSchedule: - -CronSchedule ------------------------------------------------------------------- - -Options for schedules to run according to a cron expression. - - - -.. csv-table:: CronSchedule type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "schedule", ":ref:`ref_string`", "", "Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression; Also supports nonstandard predefined scheduling definitions as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions except @reboot" - "offset", ":ref:`ref_string`", "", "ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations" - - - - - - - -.. _ref_flyteidl.admin.FixedRate: - -FixedRate ------------------------------------------------------------------- - -Option for schedules run at a certain frequency e.g. every 2 minutes. - - - -.. csv-table:: FixedRate type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "value", ":ref:`ref_uint32`", "", "" - "unit", ":ref:`ref_flyteidl.admin.FixedRateUnit`", "", "" - - - - - - - -.. _ref_flyteidl.admin.Schedule: - -Schedule ------------------------------------------------------------------- - -Defines complete set of information required to trigger an execution on a schedule. - - - -.. csv-table:: Schedule type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "cron_expression", ":ref:`ref_string`", "", "**Deprecated.** Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *" - "rate", ":ref:`ref_flyteidl.admin.FixedRate`", "", "" - "cron_schedule", ":ref:`ref_flyteidl.admin.CronSchedule`", "", "" - "kickoff_time_input_arg", ":ref:`ref_string`", "", "Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off." - - - - - - -.. - end messages - - - -.. _ref_flyteidl.admin.FixedRateUnit: - -FixedRateUnit ------------------------------------------------------------------- - -Represents a frequency at which to run a schedule. - -.. csv-table:: Enum FixedRateUnit values - :header: "Name", "Number", "Description" - :widths: auto - - "MINUTE", "0", "" - "HOUR", "1", "" - "DAY", "2", "" - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/task.proto: - -flyteidl/admin/task.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.Task: - -Task ------------------------------------------------------------------- - -Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks -arranged to process workflow inputs and produce a deterministic set of outputs. -Tasks can come in many varieties tuned for specialized behavior. - - - -.. csv-table:: Task type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the task." - "closure", ":ref:`ref_flyteidl.admin.TaskClosure`", "", "closure encapsulates all the fields that maps to a compiled version of the task." - - - - - - - -.. _ref_flyteidl.admin.TaskClosure: - -TaskClosure ------------------------------------------------------------------- - -Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data -and task metadata. - - - -.. csv-table:: TaskClosure type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "compiled_task", ":ref:`ref_flyteidl.core.CompiledTask`", "", "Represents the compiled representation of the task from the specification provided." - "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the task was created." - - - - - - - -.. _ref_flyteidl.admin.TaskCreateRequest: - -TaskCreateRequest ------------------------------------------------------------------- - -Represents a request structure to create a revision of a task. -See :ref:`ref_flyteidl.admin.Task` for more details - - - -.. csv-table:: TaskCreateRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the task. +required" - "spec", ":ref:`ref_flyteidl.admin.TaskSpec`", "", "Represents the specification for task. +required" - - - - - - - -.. _ref_flyteidl.admin.TaskCreateResponse: - -TaskCreateResponse ------------------------------------------------------------------- - -Represents a response structure if task creation succeeds. - -Purposefully empty, may be populated in the future. - - - - - - - - -.. _ref_flyteidl.admin.TaskList: - -TaskList ------------------------------------------------------------------- - -Represents a list of tasks returned from the admin. -See :ref:`ref_flyteidl.admin.Task` for more details - - - -.. csv-table:: TaskList type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "tasks", ":ref:`ref_flyteidl.admin.Task`", "repeated", "A list of tasks returned based on the request." - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." - - - - - - - -.. _ref_flyteidl.admin.TaskSpec: - -TaskSpec ------------------------------------------------------------------- - -Represents a structure that encapsulates the user-configured specification of the task. - - - -.. csv-table:: TaskSpec type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "template", ":ref:`ref_flyteidl.core.TaskTemplate`", "", "Template of the task that encapsulates all the metadata of the task." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/task_execution.proto: - -flyteidl/admin/task_execution.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.TaskExecution: - -TaskExecution ------------------------------------------------------------------- - -Encapsulates all details for a single task execution entity. -A task execution represents an instantiated task, including all inputs and additional -metadata as well as computed results included state, outputs, and duration-based attributes. - - - -.. csv-table:: TaskExecution type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "Unique identifier for the task execution." - "input_uri", ":ref:`ref_string`", "", "Path to remote data store where input blob is stored." - "closure", ":ref:`ref_flyteidl.admin.TaskExecutionClosure`", "", "Task execution details and results." - "is_parent", ":ref:`ref_bool`", "", "Whether this task spawned nodes." - - - - - - - -.. _ref_flyteidl.admin.TaskExecutionClosure: - -TaskExecutionClosure ------------------------------------------------------------------- - -Container for task execution details and results. - - - -.. csv-table:: TaskExecutionClosure type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "output_uri", ":ref:`ref_string`", "", "**Deprecated.** Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead." - "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information for the task execution. Populated if the execution failed." - "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead." - "phase", ":ref:`ref_flyteidl.core.TaskExecution.Phase`", "", "The last recorded phase for this task execution." - "logs", ":ref:`ref_flyteidl.core.TaskLog`", "repeated", "Detailed log information output by the task execution." - "started_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the task execution began running." - "duration", ":ref:`ref_google.protobuf.Duration`", "", "The amount of time the task execution spent running." - "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the task execution was created." - "updated_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the task execution was last updated." - "custom_info", ":ref:`ref_google.protobuf.Struct`", "", "Custom data specific to the task plugin." - "reason", ":ref:`ref_string`", "", "If there is an explanation for the most recent phase transition, the reason will capture it." - "task_type", ":ref:`ref_string`", "", "A predefined yet extensible Task type identifier." - "metadata", ":ref:`ref_flyteidl.event.TaskExecutionMetadata`", "", "Metadata around how a task was executed." - "event_version", ":ref:`ref_int32`", "", "The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message." - - - - - - - -.. _ref_flyteidl.admin.TaskExecutionGetDataRequest: - -TaskExecutionGetDataRequest ------------------------------------------------------------------- - -Request structure to fetch inputs and output for a task execution. -By default this data is not returned inline in :ref:`ref_flyteidl.admin.TaskExecutionGetRequest` - - - -.. csv-table:: TaskExecutionGetDataRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "The identifier of the task execution for which to fetch inputs and outputs. +required" - - - - - - - -.. _ref_flyteidl.admin.TaskExecutionGetDataResponse: - -TaskExecutionGetDataResponse ------------------------------------------------------------------- - -Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution. - - - -.. csv-table:: TaskExecutionGetDataResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "inputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of task execution inputs. Deprecated: Please use full_inputs instead." - "outputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of task execution outputs. Deprecated: Please use full_outputs instead." - "full_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_inputs will only be populated if they are under a configured size threshold." - "full_outputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_outputs will only be populated if they are under a configured size threshold." - - - - - - - -.. _ref_flyteidl.admin.TaskExecutionGetRequest: - -TaskExecutionGetRequest ------------------------------------------------------------------- - -A message used to fetch a single task execution entity. -See :ref:`ref_flyteidl.admin.TaskExecution` for more details - - - -.. csv-table:: TaskExecutionGetRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "Unique identifier for the task execution. +required" - - - - - - - -.. _ref_flyteidl.admin.TaskExecutionList: - -TaskExecutionList ------------------------------------------------------------------- - -Response structure for a query to list of task execution entities. -See :ref:`ref_flyteidl.admin.TaskExecution` for more details - - - -.. csv-table:: TaskExecutionList type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "task_executions", ":ref:`ref_flyteidl.admin.TaskExecution`", "repeated", "" - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." - - - - - - - -.. _ref_flyteidl.admin.TaskExecutionListRequest: - -TaskExecutionListRequest ------------------------------------------------------------------- - -Represents a request structure to retrieve a list of task execution entities yielded by a specific node execution. -See :ref:`ref_flyteidl.admin.TaskExecution` for more details - - - -.. csv-table:: TaskExecutionListRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "node_execution_id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Indicates the node execution to filter by. +required" - "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required" - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional" - "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : +optional" - "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering for returned list. +optional" - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/version.proto: - -flyteidl/admin/version.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.GetVersionRequest: - -GetVersionRequest ------------------------------------------------------------------- - -Empty request for GetVersion - - - - - - - - -.. _ref_flyteidl.admin.GetVersionResponse: - -GetVersionResponse ------------------------------------------------------------------- - -Response for the GetVersion API - - - -.. csv-table:: GetVersionResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "control_plane_version", ":ref:`ref_flyteidl.admin.Version`", "", "The control plane version information. FlyteAdmin and related components form the control plane of Flyte" - - - - - - - -.. _ref_flyteidl.admin.Version: - -Version ------------------------------------------------------------------- - -Provides Version information for a component - - - -.. csv-table:: Version type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "Build", ":ref:`ref_string`", "", "Specifies the GIT sha of the build" - "Version", ":ref:`ref_string`", "", "Version for the build, should follow a semver" - "BuildTime", ":ref:`ref_string`", "", "Build timestamp" - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/workflow.proto: - -flyteidl/admin/workflow.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.Workflow: - -Workflow ------------------------------------------------------------------- - -Represents the workflow structure stored in the Admin -A workflow is created by ordering tasks and associating outputs to inputs -in order to produce a directed-acyclic execution graph. - - - -.. csv-table:: Workflow type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the workflow." - "closure", ":ref:`ref_flyteidl.admin.WorkflowClosure`", "", "closure encapsulates all the fields that maps to a compiled version of the workflow." - - - - - - - -.. _ref_flyteidl.admin.WorkflowClosure: - -WorkflowClosure ------------------------------------------------------------------- - -A container holding the compiled workflow produced from the WorkflowSpec and additional metadata. - - - -.. csv-table:: WorkflowClosure type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "compiled_workflow", ":ref:`ref_flyteidl.core.CompiledWorkflowClosure`", "", "Represents the compiled representation of the workflow from the specification provided." - "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the workflow was created." - - - - - - - -.. _ref_flyteidl.admin.WorkflowCreateRequest: - -WorkflowCreateRequest ------------------------------------------------------------------- - -Represents a request structure to create a revision of a workflow. -See :ref:`ref_flyteidl.admin.Workflow` for more details - - - -.. csv-table:: WorkflowCreateRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the workflow. +required" - "spec", ":ref:`ref_flyteidl.admin.WorkflowSpec`", "", "Represents the specification for workflow. +required" - - - - - - - -.. _ref_flyteidl.admin.WorkflowCreateResponse: - -WorkflowCreateResponse ------------------------------------------------------------------- - -Purposefully empty, may be populated in the future. - - - - - - - - -.. _ref_flyteidl.admin.WorkflowList: - -WorkflowList ------------------------------------------------------------------- - -Represents a list of workflows returned from the admin. -See :ref:`ref_flyteidl.admin.Workflow` for more details - - - -.. csv-table:: WorkflowList type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "workflows", ":ref:`ref_flyteidl.admin.Workflow`", "repeated", "A list of workflows returned based on the request." - "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." - - - - - - - -.. _ref_flyteidl.admin.WorkflowSpec: - -WorkflowSpec ------------------------------------------------------------------- - -Represents a structure that encapsulates the specification of the workflow. - - - -.. csv-table:: WorkflowSpec type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "template", ":ref:`ref_flyteidl.core.WorkflowTemplate`", "", "Template of the task that encapsulates all the metadata of the workflow." - "sub_workflows", ":ref:`ref_flyteidl.core.WorkflowTemplate`", "repeated", "Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/admin/workflow_attributes.proto: - -flyteidl/admin/workflow_attributes.proto -================================================================== - - - - - -.. _ref_flyteidl.admin.WorkflowAttributes: - -WorkflowAttributes ------------------------------------------------------------------- - -Defines a set of custom matching attributes which defines resource defaults for a project, domain and workflow. -For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` - - - -.. csv-table:: WorkflowAttributes type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "Unique project id for which this set of attributes will be applied." - "domain", ":ref:`ref_string`", "", "Unique domain id for which this set of attributes will be applied." - "workflow", ":ref:`ref_string`", "", "Workflow name for which this set of attributes will be applied." - "matching_attributes", ":ref:`ref_flyteidl.admin.MatchingAttributes`", "", "" - - - - - - - -.. _ref_flyteidl.admin.WorkflowAttributesDeleteRequest: - -WorkflowAttributesDeleteRequest ------------------------------------------------------------------- - -Request to delete a set matchable workflow attribute override. -For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` - - - -.. csv-table:: WorkflowAttributesDeleteRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "Unique project id which this set of attributes references. +required" - "domain", ":ref:`ref_string`", "", "Unique domain id which this set of attributes references. +required" - "workflow", ":ref:`ref_string`", "", "Workflow name which this set of attributes references. +required" - "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "Which type of matchable attributes to delete. +required" - - - - - - - -.. _ref_flyteidl.admin.WorkflowAttributesDeleteResponse: - -WorkflowAttributesDeleteResponse ------------------------------------------------------------------- - -Purposefully empty, may be populated in the future. - - - - - - - - -.. _ref_flyteidl.admin.WorkflowAttributesGetRequest: - -WorkflowAttributesGetRequest ------------------------------------------------------------------- - -Request to get an individual workflow attribute override. -For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` - - - -.. csv-table:: WorkflowAttributesGetRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "Unique project id which this set of attributes references. +required" - "domain", ":ref:`ref_string`", "", "Unique domain id which this set of attributes references. +required" - "workflow", ":ref:`ref_string`", "", "Workflow name which this set of attributes references. +required" - "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "Which type of matchable attributes to return. +required" - - - - - - - -.. _ref_flyteidl.admin.WorkflowAttributesGetResponse: - -WorkflowAttributesGetResponse ------------------------------------------------------------------- - -Response to get an individual workflow attribute override. - - - -.. csv-table:: WorkflowAttributesGetResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "attributes", ":ref:`ref_flyteidl.admin.WorkflowAttributes`", "", "" - - - - - - - -.. _ref_flyteidl.admin.WorkflowAttributesUpdateRequest: - -WorkflowAttributesUpdateRequest ------------------------------------------------------------------- - -Sets custom attributes for a project, domain and workflow combination. -For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` - - - -.. csv-table:: WorkflowAttributesUpdateRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "attributes", ":ref:`ref_flyteidl.admin.WorkflowAttributes`", "", "" - - - - - - - -.. _ref_flyteidl.admin.WorkflowAttributesUpdateResponse: - -WorkflowAttributesUpdateResponse ------------------------------------------------------------------- - -Purposefully empty, may be populated in the future. - - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_google/protobuf/duration.proto: - -google/protobuf/duration.proto -================================================================== - - - - - -.. _ref_google.protobuf.Duration: - -Duration ------------------------------------------------------------------- - -A Duration represents a signed, fixed-length span of time represented -as a count of seconds and fractions of seconds at nanosecond -resolution. It is independent of any calendar and concepts like "day" -or "month". It is related to Timestamp in that the difference between -two Timestamp values is a Duration and it can be added or subtracted -from a Timestamp. Range is approximately +-10,000 years. - -# Examples - -Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - -Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - -Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - -# JSON Mapping - -In JSON format, the Duration type is encoded as a string rather than an -object, where the string ends in the suffix "s" (indicating seconds) and -is preceded by the number of seconds, with nanoseconds expressed as -fractional seconds. For example, 3 seconds with 0 nanoseconds should be -encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should -be expressed in JSON format as "3.000000001s", and 3 seconds and 1 -microsecond should be expressed in JSON format as "3.000001s". - - - -.. csv-table:: Duration type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "seconds", ":ref:`ref_int64`", "", "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years" - "nanos", ":ref:`ref_int32`", "", "Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_google/protobuf/wrappers.proto: - -google/protobuf/wrappers.proto -================================================================== - - - - - -.. _ref_google.protobuf.BoolValue: - -BoolValue ------------------------------------------------------------------- - -Wrapper message for `bool`. - -The JSON representation for `BoolValue` is JSON `true` and `false`. - - - -.. csv-table:: BoolValue type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "value", ":ref:`ref_bool`", "", "The bool value." - - - - - - - -.. _ref_google.protobuf.BytesValue: - -BytesValue ------------------------------------------------------------------- - -Wrapper message for `bytes`. - -The JSON representation for `BytesValue` is JSON string. - - - -.. csv-table:: BytesValue type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "value", ":ref:`ref_bytes`", "", "The bytes value." - - - - - - - -.. _ref_google.protobuf.DoubleValue: - -DoubleValue ------------------------------------------------------------------- - -Wrapper message for `double`. - -The JSON representation for `DoubleValue` is JSON number. - - - -.. csv-table:: DoubleValue type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "value", ":ref:`ref_double`", "", "The double value." - - - - - - - -.. _ref_google.protobuf.FloatValue: - -FloatValue ------------------------------------------------------------------- - -Wrapper message for `float`. - -The JSON representation for `FloatValue` is JSON number. - - - -.. csv-table:: FloatValue type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "value", ":ref:`ref_float`", "", "The float value." - - - - - - - -.. _ref_google.protobuf.Int32Value: - -Int32Value ------------------------------------------------------------------- - -Wrapper message for `int32`. - -The JSON representation for `Int32Value` is JSON number. - - - -.. csv-table:: Int32Value type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "value", ":ref:`ref_int32`", "", "The int32 value." - - - - - - - -.. _ref_google.protobuf.Int64Value: - -Int64Value ------------------------------------------------------------------- - -Wrapper message for `int64`. - -The JSON representation for `Int64Value` is JSON string. - - - -.. csv-table:: Int64Value type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "value", ":ref:`ref_int64`", "", "The int64 value." - - - - - - - -.. _ref_google.protobuf.StringValue: - -StringValue ------------------------------------------------------------------- - -Wrapper message for `string`. - -The JSON representation for `StringValue` is JSON string. - - - -.. csv-table:: StringValue type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "value", ":ref:`ref_string`", "", "The string value." - - - - - - - -.. _ref_google.protobuf.UInt32Value: - -UInt32Value ------------------------------------------------------------------- - -Wrapper message for `uint32`. - -The JSON representation for `UInt32Value` is JSON number. - - - -.. csv-table:: UInt32Value type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "value", ":ref:`ref_uint32`", "", "The uint32 value." - - - - - - - -.. _ref_google.protobuf.UInt64Value: - -UInt64Value ------------------------------------------------------------------- - -Wrapper message for `uint64`. - -The JSON representation for `UInt64Value` is JSON string. - - - -.. csv-table:: UInt64Value type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "value", ":ref:`ref_uint64`", "", "The uint64 value." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - diff --git a/protos/docs/core/core.rst b/protos/docs/core/core.rst deleted file mode 100644 index 2701bff08..000000000 --- a/protos/docs/core/core.rst +++ /dev/null @@ -1,3794 +0,0 @@ -###################### -Protocol Documentation -###################### - - - - -.. _ref_flyteidl/core/catalog.proto: - -flyteidl/core/catalog.proto -================================================================== - - - - - -.. _ref_flyteidl.core.CatalogArtifactTag: - -CatalogArtifactTag ------------------------------------------------------------------- - - - - - -.. csv-table:: CatalogArtifactTag type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "artifact_id", ":ref:`ref_string`", "", "Artifact ID is generated name" - "name", ":ref:`ref_string`", "", "Flyte computes the tag automatically, as the hash of the values" - - - - - - - -.. _ref_flyteidl.core.CatalogMetadata: - -CatalogMetadata ------------------------------------------------------------------- - -Catalog artifact information with specific metadata - - - -.. csv-table:: CatalogMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "dataset_id", ":ref:`ref_flyteidl.core.Identifier`", "", "Dataset ID in the catalog" - "artifact_tag", ":ref:`ref_flyteidl.core.CatalogArtifactTag`", "", "Artifact tag in the catalog" - "source_task_execution", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions" - - - - - - - -.. _ref_flyteidl.core.CatalogReservation: - -CatalogReservation ------------------------------------------------------------------- - - - - - - - - - -.. - end messages - - - -.. _ref_flyteidl.core.CatalogCacheStatus: - -CatalogCacheStatus ------------------------------------------------------------------- - -Indicates the status of CatalogCaching. The reason why this is not embedded in TaskNodeMetadata is, that we may use for other types of nodes as well in the future - -.. csv-table:: Enum CatalogCacheStatus values - :header: "Name", "Number", "Description" - :widths: auto - - "CACHE_DISABLED", "0", "Used to indicate that caching was disabled" - "CACHE_MISS", "1", "Used to indicate that the cache lookup resulted in no matches" - "CACHE_HIT", "2", "used to indicate that the associated artifact was a result of a previous execution" - "CACHE_POPULATED", "3", "used to indicate that the resultant artifact was added to the cache" - "CACHE_LOOKUP_FAILURE", "4", "Used to indicate that cache lookup failed because of an error" - "CACHE_PUT_FAILURE", "5", "Used to indicate that cache lookup failed because of an error" - - - -.. _ref_flyteidl.core.CatalogReservation.Status: - -CatalogReservation.Status ------------------------------------------------------------------- - -Indicates the status of a catalog reservation operation. - -.. csv-table:: Enum CatalogReservation.Status values - :header: "Name", "Number", "Description" - :widths: auto - - "RESERVATION_DISABLED", "0", "Used to indicate that reservations are disabled" - "RESERVATION_ACQUIRED", "1", "Used to indicate that a reservation was successfully acquired or extended" - "RESERVATION_EXISTS", "2", "Used to indicate that an active reservation currently exists" - "RESERVATION_RELEASED", "3", "Used to indicate that the reservation has been successfully released" - "RESERVATION_FAILURE", "4", "Used to indicate that a reservation operation resulted in failure" - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/core/compiler.proto: - -flyteidl/core/compiler.proto -================================================================== - - - - - -.. _ref_flyteidl.core.CompiledTask: - -CompiledTask ------------------------------------------------------------------- - -Output of the Compilation step. This object represent one Task. We store more metadata at this layer - - - -.. csv-table:: CompiledTask type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "template", ":ref:`ref_flyteidl.core.TaskTemplate`", "", "Completely contained TaskTemplate" - - - - - - - -.. _ref_flyteidl.core.CompiledWorkflow: - -CompiledWorkflow ------------------------------------------------------------------- - -Output of the compilation Step. This object represents one workflow. We store more metadata at this layer - - - -.. csv-table:: CompiledWorkflow type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "template", ":ref:`ref_flyteidl.core.WorkflowTemplate`", "", "Completely contained Workflow Template" - "connections", ":ref:`ref_flyteidl.core.ConnectionSet`", "", "For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored." - - - - - - - -.. _ref_flyteidl.core.CompiledWorkflowClosure: - -CompiledWorkflowClosure ------------------------------------------------------------------- - -A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow -and its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that -will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of -compiled subworkflows. - - - -.. csv-table:: CompiledWorkflowClosure type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "primary", ":ref:`ref_flyteidl.core.CompiledWorkflow`", "", "+required" - "sub_workflows", ":ref:`ref_flyteidl.core.CompiledWorkflow`", "repeated", "Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow as an inlined workflow +optional" - "tasks", ":ref:`ref_flyteidl.core.CompiledTask`", "repeated", "Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id +required (at least 1)" - - - - - - - -.. _ref_flyteidl.core.ConnectionSet: - -ConnectionSet ------------------------------------------------------------------- - -Adjacency list for the workflow. This is created as part of the compilation process. Every process after the compilation -step uses this created ConnectionSet - - - -.. csv-table:: ConnectionSet type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "downstream", ":ref:`ref_flyteidl.core.ConnectionSet.DownstreamEntry`", "repeated", "A list of all the node ids that are downstream from a given node id" - "upstream", ":ref:`ref_flyteidl.core.ConnectionSet.UpstreamEntry`", "repeated", "A list of all the node ids, that are upstream of this node id" - - - - - - - -.. _ref_flyteidl.core.ConnectionSet.DownstreamEntry: - -ConnectionSet.DownstreamEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: ConnectionSet.DownstreamEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_flyteidl.core.ConnectionSet.IdList`", "", "" - - - - - - - -.. _ref_flyteidl.core.ConnectionSet.IdList: - -ConnectionSet.IdList ------------------------------------------------------------------- - - - - - -.. csv-table:: ConnectionSet.IdList type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "ids", ":ref:`ref_string`", "repeated", "" - - - - - - - -.. _ref_flyteidl.core.ConnectionSet.UpstreamEntry: - -ConnectionSet.UpstreamEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: ConnectionSet.UpstreamEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_flyteidl.core.ConnectionSet.IdList`", "", "" - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/core/condition.proto: - -flyteidl/core/condition.proto -================================================================== - - - - - -.. _ref_flyteidl.core.BooleanExpression: - -BooleanExpression ------------------------------------------------------------------- - -Defines a boolean expression tree. It can be a simple or a conjunction expression. -Multiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result. - - - -.. csv-table:: BooleanExpression type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "conjunction", ":ref:`ref_flyteidl.core.ConjunctionExpression`", "", "" - "comparison", ":ref:`ref_flyteidl.core.ComparisonExpression`", "", "" - - - - - - - -.. _ref_flyteidl.core.ComparisonExpression: - -ComparisonExpression ------------------------------------------------------------------- - -Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables. -Each expression results in a boolean result. - - - -.. csv-table:: ComparisonExpression type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "operator", ":ref:`ref_flyteidl.core.ComparisonExpression.Operator`", "", "" - "left_value", ":ref:`ref_flyteidl.core.Operand`", "", "" - "right_value", ":ref:`ref_flyteidl.core.Operand`", "", "" - - - - - - - -.. _ref_flyteidl.core.ConjunctionExpression: - -ConjunctionExpression ------------------------------------------------------------------- - -Defines a conjunction expression of two boolean expressions. - - - -.. csv-table:: ConjunctionExpression type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "operator", ":ref:`ref_flyteidl.core.ConjunctionExpression.LogicalOperator`", "", "" - "left_expression", ":ref:`ref_flyteidl.core.BooleanExpression`", "", "" - "right_expression", ":ref:`ref_flyteidl.core.BooleanExpression`", "", "" - - - - - - - -.. _ref_flyteidl.core.Operand: - -Operand ------------------------------------------------------------------- - -Defines an operand to a comparison expression. - - - -.. csv-table:: Operand type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "primitive", ":ref:`ref_flyteidl.core.Primitive`", "", "Can be a constant" - "var", ":ref:`ref_string`", "", "Or one of this node's input variables" - - - - - - -.. - end messages - - - -.. _ref_flyteidl.core.ComparisonExpression.Operator: - -ComparisonExpression.Operator ------------------------------------------------------------------- - -Binary Operator for each expression - -.. csv-table:: Enum ComparisonExpression.Operator values - :header: "Name", "Number", "Description" - :widths: auto - - "EQ", "0", "" - "NEQ", "1", "" - "GT", "2", "Greater Than" - "GTE", "3", "" - "LT", "4", "Less Than" - "LTE", "5", "" - - - -.. _ref_flyteidl.core.ConjunctionExpression.LogicalOperator: - -ConjunctionExpression.LogicalOperator ------------------------------------------------------------------- - -Nested conditions. They can be conjoined using AND / OR -Order of evaluation is not important as the operators are Commutative - -.. csv-table:: Enum ConjunctionExpression.LogicalOperator values - :header: "Name", "Number", "Description" - :widths: auto - - "AND", "0", "Conjunction" - "OR", "1", "" - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/core/dynamic_job.proto: - -flyteidl/core/dynamic_job.proto -================================================================== - - - - - -.. _ref_flyteidl.core.DynamicJobSpec: - -DynamicJobSpec ------------------------------------------------------------------- - -Describes a set of tasks to execute and how the final outputs are produced. - - - -.. csv-table:: DynamicJobSpec type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "nodes", ":ref:`ref_flyteidl.core.Node`", "repeated", "A collection of nodes to execute." - "min_successes", ":ref:`ref_int64`", "", "An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks < min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not specified, is the count of nodes repeated field." - "outputs", ":ref:`ref_flyteidl.core.Binding`", "repeated", "Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids in bindings should have the generated id for the subtask." - "tasks", ":ref:`ref_flyteidl.core.TaskTemplate`", "repeated", "[Optional] A complete list of task specs referenced in nodes." - "subworkflows", ":ref:`ref_flyteidl.core.WorkflowTemplate`", "repeated", "[Optional] A complete list of task specs referenced in nodes." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/core/errors.proto: - -flyteidl/core/errors.proto -================================================================== - - - - - -.. _ref_flyteidl.core.ContainerError: - -ContainerError ------------------------------------------------------------------- - -Error message to propagate detailed errors from container executions to the execution -engine. - - - -.. csv-table:: ContainerError type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "code", ":ref:`ref_string`", "", "A simplified code for errors, so that we can provide a glossary of all possible errors." - "message", ":ref:`ref_string`", "", "A detailed error message." - "kind", ":ref:`ref_flyteidl.core.ContainerError.Kind`", "", "An abstract error kind for this error. Defaults to Non_Recoverable if not specified." - "origin", ":ref:`ref_flyteidl.core.ExecutionError.ErrorKind`", "", "Defines the origin of the error (system, user, unknown)." - - - - - - - -.. _ref_flyteidl.core.ErrorDocument: - -ErrorDocument ------------------------------------------------------------------- - -Defines the errors.pb file format the container can produce to communicate -failure reasons to the execution engine. - - - -.. csv-table:: ErrorDocument type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "error", ":ref:`ref_flyteidl.core.ContainerError`", "", "The error raised during execution." - - - - - - -.. - end messages - - - -.. _ref_flyteidl.core.ContainerError.Kind: - -ContainerError.Kind ------------------------------------------------------------------- - -Defines a generic error type that dictates the behavior of the retry strategy. - -.. csv-table:: Enum ContainerError.Kind values - :header: "Name", "Number", "Description" - :widths: auto - - "NON_RECOVERABLE", "0", "" - "RECOVERABLE", "1", "" - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/core/execution.proto: - -flyteidl/core/execution.proto -================================================================== - - - - - -.. _ref_flyteidl.core.ExecutionError: - -ExecutionError ------------------------------------------------------------------- - -Represents the error message from the execution. - - - -.. csv-table:: ExecutionError type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "code", ":ref:`ref_string`", "", "Error code indicates a grouping of a type of error. More Info: " - "message", ":ref:`ref_string`", "", "Detailed description of the error - including stack trace." - "error_uri", ":ref:`ref_string`", "", "Full error contents accessible via a URI" - "kind", ":ref:`ref_flyteidl.core.ExecutionError.ErrorKind`", "", "" - - - - - - - -.. _ref_flyteidl.core.NodeExecution: - -NodeExecution ------------------------------------------------------------------- - -Indicates various phases of Node Execution that only include the time spent to run the nodes/workflows - - - - - - - - -.. _ref_flyteidl.core.QualityOfService: - -QualityOfService ------------------------------------------------------------------- - -Indicates the priority of an execution. - - - -.. csv-table:: QualityOfService type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "tier", ":ref:`ref_flyteidl.core.QualityOfService.Tier`", "", "" - "spec", ":ref:`ref_flyteidl.core.QualityOfServiceSpec`", "", "" - - - - - - - -.. _ref_flyteidl.core.QualityOfServiceSpec: - -QualityOfServiceSpec ------------------------------------------------------------------- - -Represents customized execution run-time attributes. - - - -.. csv-table:: QualityOfServiceSpec type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "queueing_budget", ":ref:`ref_google.protobuf.Duration`", "", "Indicates how much queueing delay an execution can tolerate." - - - - - - - -.. _ref_flyteidl.core.TaskExecution: - -TaskExecution ------------------------------------------------------------------- - -Phases that task plugins can go through. Not all phases may be applicable to a specific plugin task, -but this is the cumulative list that customers may want to know about for their task. - - - - - - - - -.. _ref_flyteidl.core.TaskLog: - -TaskLog ------------------------------------------------------------------- - -Log information for the task that is specific to a log sink -When our log story is flushed out, we may have more metadata here like log link expiry - - - -.. csv-table:: TaskLog type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "uri", ":ref:`ref_string`", "", "" - "name", ":ref:`ref_string`", "", "" - "message_format", ":ref:`ref_flyteidl.core.TaskLog.MessageFormat`", "", "" - "ttl", ":ref:`ref_google.protobuf.Duration`", "", "" - - - - - - - -.. _ref_flyteidl.core.WorkflowExecution: - -WorkflowExecution ------------------------------------------------------------------- - -Indicates various phases of Workflow Execution - - - - - - - -.. - end messages - - - -.. _ref_flyteidl.core.ExecutionError.ErrorKind: - -ExecutionError.ErrorKind ------------------------------------------------------------------- - -Error type: System or User - -.. csv-table:: Enum ExecutionError.ErrorKind values - :header: "Name", "Number", "Description" - :widths: auto - - "UNKNOWN", "0", "" - "USER", "1", "" - "SYSTEM", "2", "" - - - -.. _ref_flyteidl.core.NodeExecution.Phase: - -NodeExecution.Phase ------------------------------------------------------------------- - - - -.. csv-table:: Enum NodeExecution.Phase values - :header: "Name", "Number", "Description" - :widths: auto - - "UNDEFINED", "0", "" - "QUEUED", "1", "" - "RUNNING", "2", "" - "SUCCEEDED", "3", "" - "FAILING", "4", "" - "FAILED", "5", "" - "ABORTED", "6", "" - "SKIPPED", "7", "" - "TIMED_OUT", "8", "" - "DYNAMIC_RUNNING", "9", "" - "RECOVERED", "10", "" - - - -.. _ref_flyteidl.core.QualityOfService.Tier: - -QualityOfService.Tier ------------------------------------------------------------------- - - - -.. csv-table:: Enum QualityOfService.Tier values - :header: "Name", "Number", "Description" - :widths: auto - - "UNDEFINED", "0", "Default: no quality of service specified." - "HIGH", "1", "" - "MEDIUM", "2", "" - "LOW", "3", "" - - - -.. _ref_flyteidl.core.TaskExecution.Phase: - -TaskExecution.Phase ------------------------------------------------------------------- - - - -.. csv-table:: Enum TaskExecution.Phase values - :header: "Name", "Number", "Description" - :widths: auto - - "UNDEFINED", "0", "" - "QUEUED", "1", "" - "RUNNING", "2", "" - "SUCCEEDED", "3", "" - "ABORTED", "4", "" - "FAILED", "5", "" - "INITIALIZING", "6", "To indicate cases where task is initializing, like: ErrImagePull, ContainerCreating, PodInitializing" - "WAITING_FOR_RESOURCES", "7", "To address cases, where underlying resource is not available: Backoff error, Resource quota exceeded" - - - -.. _ref_flyteidl.core.TaskLog.MessageFormat: - -TaskLog.MessageFormat ------------------------------------------------------------------- - - - -.. csv-table:: Enum TaskLog.MessageFormat values - :header: "Name", "Number", "Description" - :widths: auto - - "UNKNOWN", "0", "" - "CSV", "1", "" - "JSON", "2", "" - - - -.. _ref_flyteidl.core.WorkflowExecution.Phase: - -WorkflowExecution.Phase ------------------------------------------------------------------- - - - -.. csv-table:: Enum WorkflowExecution.Phase values - :header: "Name", "Number", "Description" - :widths: auto - - "UNDEFINED", "0", "" - "QUEUED", "1", "" - "RUNNING", "2", "" - "SUCCEEDING", "3", "" - "SUCCEEDED", "4", "" - "FAILING", "5", "" - "FAILED", "6", "" - "ABORTED", "7", "" - "TIMED_OUT", "8", "" - "ABORTING", "9", "" - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/core/identifier.proto: - -flyteidl/core/identifier.proto -================================================================== - - - - - -.. _ref_flyteidl.core.Identifier: - -Identifier ------------------------------------------------------------------- - -Encapsulation of fields that uniquely identifies a Flyte resource. - - - -.. csv-table:: Identifier type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Identifies the specific type of resource that this identifier corresponds to." - "project", ":ref:`ref_string`", "", "Name of the project the resource belongs to." - "domain", ":ref:`ref_string`", "", "Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project." - "name", ":ref:`ref_string`", "", "User provided value for the resource." - "version", ":ref:`ref_string`", "", "Specific version of the resource." - - - - - - - -.. _ref_flyteidl.core.NodeExecutionIdentifier: - -NodeExecutionIdentifier ------------------------------------------------------------------- - -Encapsulation of fields that identify a Flyte node execution entity. - - - -.. csv-table:: NodeExecutionIdentifier type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "node_id", ":ref:`ref_string`", "", "" - "execution_id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "" - - - - - - - -.. _ref_flyteidl.core.TaskExecutionIdentifier: - -TaskExecutionIdentifier ------------------------------------------------------------------- - -Encapsulation of fields that identify a Flyte task execution entity. - - - -.. csv-table:: TaskExecutionIdentifier type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "task_id", ":ref:`ref_flyteidl.core.Identifier`", "", "" - "node_execution_id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "" - "retry_attempt", ":ref:`ref_uint32`", "", "" - - - - - - - -.. _ref_flyteidl.core.WorkflowExecutionIdentifier: - -WorkflowExecutionIdentifier ------------------------------------------------------------------- - -Encapsulation of fields that uniquely identifies a Flyte workflow execution - - - -.. csv-table:: WorkflowExecutionIdentifier type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "Name of the project the resource belongs to." - "domain", ":ref:`ref_string`", "", "Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project." - "name", ":ref:`ref_string`", "", "User or system provided value for the resource." - - - - - - -.. - end messages - - - -.. _ref_flyteidl.core.ResourceType: - -ResourceType ------------------------------------------------------------------- - -Indicates a resource type within Flyte. - -.. csv-table:: Enum ResourceType values - :header: "Name", "Number", "Description" - :widths: auto - - "UNSPECIFIED", "0", "" - "TASK", "1", "" - "WORKFLOW", "2", "" - "LAUNCH_PLAN", "3", "" - "DATASET", "4", "A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects" - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/core/interface.proto: - -flyteidl/core/interface.proto -================================================================== - - - - - -.. _ref_flyteidl.core.Parameter: - -Parameter ------------------------------------------------------------------- - -A parameter is used as input to a launch plan and has -the special ability to have a default value or mark itself as required. - - - -.. csv-table:: Parameter type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "var", ":ref:`ref_flyteidl.core.Variable`", "", "+required Variable. Defines the type of the variable backing this parameter." - "default", ":ref:`ref_flyteidl.core.Literal`", "", "Defines a default value that has to match the variable type defined." - "required", ":ref:`ref_bool`", "", "+optional, is this value required to be filled." - - - - - - - -.. _ref_flyteidl.core.ParameterMap: - -ParameterMap ------------------------------------------------------------------- - -A map of Parameters. - - - -.. csv-table:: ParameterMap type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "parameters", ":ref:`ref_flyteidl.core.ParameterMap.ParametersEntry`", "repeated", "Defines a map of parameter names to parameters." - - - - - - - -.. _ref_flyteidl.core.ParameterMap.ParametersEntry: - -ParameterMap.ParametersEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: ParameterMap.ParametersEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_flyteidl.core.Parameter`", "", "" - - - - - - - -.. _ref_flyteidl.core.TypedInterface: - -TypedInterface ------------------------------------------------------------------- - -Defines strongly typed inputs and outputs. - - - -.. csv-table:: TypedInterface type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "inputs", ":ref:`ref_flyteidl.core.VariableMap`", "", "" - "outputs", ":ref:`ref_flyteidl.core.VariableMap`", "", "" - - - - - - - -.. _ref_flyteidl.core.Variable: - -Variable ------------------------------------------------------------------- - -Defines a strongly typed variable. - - - -.. csv-table:: Variable type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "type", ":ref:`ref_flyteidl.core.LiteralType`", "", "Variable literal type." - "description", ":ref:`ref_string`", "", "+optional string describing input variable" - - - - - - - -.. _ref_flyteidl.core.VariableMap: - -VariableMap ------------------------------------------------------------------- - -A map of Variables - - - -.. csv-table:: VariableMap type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "variables", ":ref:`ref_flyteidl.core.VariableMap.VariablesEntry`", "repeated", "Defines a map of variable names to variables." - - - - - - - -.. _ref_flyteidl.core.VariableMap.VariablesEntry: - -VariableMap.VariablesEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: VariableMap.VariablesEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_flyteidl.core.Variable`", "", "" - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/core/literals.proto: - -flyteidl/core/literals.proto -================================================================== - - - - - -.. _ref_flyteidl.core.Binary: - -Binary ------------------------------------------------------------------- - -A simple byte array with a tag to help different parts of the system communicate about what is in the byte array. -It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data. - - - -.. csv-table:: Binary type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "value", ":ref:`ref_bytes`", "", "" - "tag", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_flyteidl.core.Binding: - -Binding ------------------------------------------------------------------- - -An input/output binding of a variable to either static value or a node output. - - - -.. csv-table:: Binding type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "var", ":ref:`ref_string`", "", "Variable name must match an input/output variable of the node." - "binding", ":ref:`ref_flyteidl.core.BindingData`", "", "Data to use to bind this variable." - - - - - - - -.. _ref_flyteidl.core.BindingData: - -BindingData ------------------------------------------------------------------- - -Specifies either a simple value or a reference to another output. - - - -.. csv-table:: BindingData type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "scalar", ":ref:`ref_flyteidl.core.Scalar`", "", "A simple scalar value." - "collection", ":ref:`ref_flyteidl.core.BindingDataCollection`", "", "A collection of binding data. This allows nesting of binding data to any number of levels." - "promise", ":ref:`ref_flyteidl.core.OutputReference`", "", "References an output promised by another node." - "map", ":ref:`ref_flyteidl.core.BindingDataMap`", "", "A map of bindings. The key is always a string." - "union", ":ref:`ref_flyteidl.core.UnionInfo`", "", "" - - - - - - - -.. _ref_flyteidl.core.BindingDataCollection: - -BindingDataCollection ------------------------------------------------------------------- - -A collection of BindingData items. - - - -.. csv-table:: BindingDataCollection type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "bindings", ":ref:`ref_flyteidl.core.BindingData`", "repeated", "" - - - - - - - -.. _ref_flyteidl.core.BindingDataMap: - -BindingDataMap ------------------------------------------------------------------- - -A map of BindingData items. - - - -.. csv-table:: BindingDataMap type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "bindings", ":ref:`ref_flyteidl.core.BindingDataMap.BindingsEntry`", "repeated", "" - - - - - - - -.. _ref_flyteidl.core.BindingDataMap.BindingsEntry: - -BindingDataMap.BindingsEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: BindingDataMap.BindingsEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_flyteidl.core.BindingData`", "", "" - - - - - - - -.. _ref_flyteidl.core.Blob: - -Blob ------------------------------------------------------------------- - -Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is. -There are no restrictions on how the uri is formatted since it will depend on how to interact with the store. - - - -.. csv-table:: Blob type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "metadata", ":ref:`ref_flyteidl.core.BlobMetadata`", "", "" - "uri", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_flyteidl.core.BlobMetadata: - -BlobMetadata ------------------------------------------------------------------- - - - - - -.. csv-table:: BlobMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "type", ":ref:`ref_flyteidl.core.BlobType`", "", "" - - - - - - - -.. _ref_flyteidl.core.KeyValuePair: - -KeyValuePair ------------------------------------------------------------------- - -A generic key value pair. - - - -.. csv-table:: KeyValuePair type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "required." - "value", ":ref:`ref_string`", "", "+optional." - - - - - - - -.. _ref_flyteidl.core.Literal: - -Literal ------------------------------------------------------------------- - -A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives. - - - -.. csv-table:: Literal type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "scalar", ":ref:`ref_flyteidl.core.Scalar`", "", "A simple value." - "collection", ":ref:`ref_flyteidl.core.LiteralCollection`", "", "A collection of literals to allow nesting." - "map", ":ref:`ref_flyteidl.core.LiteralMap`", "", "A map of strings to literals." - "hash", ":ref:`ref_string`", "", "A hash representing this literal. This is used for caching purposes. For more details refer to RFC 1893 (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" - - - - - - - -.. _ref_flyteidl.core.LiteralCollection: - -LiteralCollection ------------------------------------------------------------------- - -A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. - - - -.. csv-table:: LiteralCollection type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "literals", ":ref:`ref_flyteidl.core.Literal`", "repeated", "" - - - - - - - -.. _ref_flyteidl.core.LiteralMap: - -LiteralMap ------------------------------------------------------------------- - -A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. - - - -.. csv-table:: LiteralMap type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "literals", ":ref:`ref_flyteidl.core.LiteralMap.LiteralsEntry`", "repeated", "" - - - - - - - -.. _ref_flyteidl.core.LiteralMap.LiteralsEntry: - -LiteralMap.LiteralsEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: LiteralMap.LiteralsEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_flyteidl.core.Literal`", "", "" - - - - - - - -.. _ref_flyteidl.core.Primitive: - -Primitive ------------------------------------------------------------------- - -Primitive Types - - - -.. csv-table:: Primitive type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "integer", ":ref:`ref_int64`", "", "" - "float_value", ":ref:`ref_double`", "", "" - "string_value", ":ref:`ref_string`", "", "" - "boolean", ":ref:`ref_bool`", "", "" - "datetime", ":ref:`ref_google.protobuf.Timestamp`", "", "" - "duration", ":ref:`ref_google.protobuf.Duration`", "", "" - - - - - - - -.. _ref_flyteidl.core.RetryStrategy: - -RetryStrategy ------------------------------------------------------------------- - -Retry strategy associated with an executable unit. - - - -.. csv-table:: RetryStrategy type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "retries", ":ref:`ref_uint32`", "", "Number of retries. Retries will be consumed when the job fails with a recoverable error. The number of retries must be less than or equals to 10." - - - - - - - -.. _ref_flyteidl.core.Scalar: - -Scalar ------------------------------------------------------------------- - - - - - -.. csv-table:: Scalar type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "primitive", ":ref:`ref_flyteidl.core.Primitive`", "", "" - "blob", ":ref:`ref_flyteidl.core.Blob`", "", "" - "binary", ":ref:`ref_flyteidl.core.Binary`", "", "" - "schema", ":ref:`ref_flyteidl.core.Schema`", "", "" - "none_type", ":ref:`ref_flyteidl.core.Void`", "", "" - "error", ":ref:`ref_flyteidl.core.Error`", "", "" - "generic", ":ref:`ref_google.protobuf.Struct`", "", "" - "structured_dataset", ":ref:`ref_flyteidl.core.StructuredDataset`", "", "" - "union", ":ref:`ref_flyteidl.core.Union`", "", "" - - - - - - - -.. _ref_flyteidl.core.Schema: - -Schema ------------------------------------------------------------------- - -A strongly typed schema that defines the interface of data retrieved from the underlying storage medium. - - - -.. csv-table:: Schema type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "uri", ":ref:`ref_string`", "", "" - "type", ":ref:`ref_flyteidl.core.SchemaType`", "", "" - - - - - - - -.. _ref_flyteidl.core.StructuredDataset: - -StructuredDataset ------------------------------------------------------------------- - - - - - -.. csv-table:: StructuredDataset type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "uri", ":ref:`ref_string`", "", "String location uniquely identifying where the data is. Should start with the storage location (e.g. s3://, gs://, bq://, etc.)" - "metadata", ":ref:`ref_flyteidl.core.StructuredDatasetMetadata`", "", "" - - - - - - - -.. _ref_flyteidl.core.StructuredDatasetMetadata: - -StructuredDatasetMetadata ------------------------------------------------------------------- - - - - - -.. csv-table:: StructuredDatasetMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "structured_dataset_type", ":ref:`ref_flyteidl.core.StructuredDatasetType`", "", "Bundle the type information along with the literal. This is here because StructuredDatasets can often be more defined at run time than at compile time. That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset, without any column information, but at run time, you might have that column information. flytekit python will copy this type information into the literal, from the type information, if not provided by the various plugins (encoders). Since this field is run time generated, it's not used for any type checking." - - - - - - - -.. _ref_flyteidl.core.Union: - -Union ------------------------------------------------------------------- - -The runtime representation of a tagged union value. See `UnionType` for more details. - - - -.. csv-table:: Union type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "value", ":ref:`ref_flyteidl.core.Literal`", "", "" - "type", ":ref:`ref_flyteidl.core.LiteralType`", "", "" - - - - - - - -.. _ref_flyteidl.core.UnionInfo: - -UnionInfo ------------------------------------------------------------------- - - - - - -.. csv-table:: UnionInfo type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "targetType", ":ref:`ref_flyteidl.core.LiteralType`", "", "" - - - - - - - -.. _ref_flyteidl.core.Void: - -Void ------------------------------------------------------------------- - -Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally -undefined since it can be assigned to a scalar of any LiteralType. - - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/core/security.proto: - -flyteidl/core/security.proto -================================================================== - - - - - -.. _ref_flyteidl.core.Identity: - -Identity ------------------------------------------------------------------- - -Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the -right identity for the execution environment. - - - -.. csv-table:: Identity type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "iam_role", ":ref:`ref_string`", "", "iam_role references the fully qualified name of Identity & Access Management role to impersonate." - "k8s_service_account", ":ref:`ref_string`", "", "k8s_service_account references a kubernetes service account to impersonate." - "oauth2_client", ":ref:`ref_flyteidl.core.OAuth2Client`", "", "oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls." - - - - - - - -.. _ref_flyteidl.core.OAuth2Client: - -OAuth2Client ------------------------------------------------------------------- - -OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task. - - - -.. csv-table:: OAuth2Client type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "client_id", ":ref:`ref_string`", "", "client_id is the public id for the client to use. The system will not perform any pre-auth validation that the secret requested matches the client_id indicated here. +required" - "client_secret", ":ref:`ref_flyteidl.core.Secret`", "", "client_secret is a reference to the secret used to authenticate the OAuth2 client. +required" - - - - - - - -.. _ref_flyteidl.core.OAuth2TokenRequest: - -OAuth2TokenRequest ------------------------------------------------------------------- - -OAuth2TokenRequest encapsulates information needed to request an OAuth2 token. -FLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if -tokens are passed through environment variables. -FLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens -are passed through file mounts. - - - -.. csv-table:: OAuth2TokenRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "name", ":ref:`ref_string`", "", "name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for environment variables and as a filename for mounting tokens as files. +required" - "type", ":ref:`ref_flyteidl.core.OAuth2TokenRequest.Type`", "", "type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS. +required" - "client", ":ref:`ref_flyteidl.core.OAuth2Client`", "", "client references the client_id/secret to use to request the OAuth2 token. +required" - "idp_discovery_endpoint", ":ref:`ref_string`", "", "idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related information. +optional" - "token_endpoint", ":ref:`ref_string`", "", "token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is mandatory. +optional" - - - - - - - -.. _ref_flyteidl.core.Secret: - -Secret ------------------------------------------------------------------- - -Secret encapsulates information about the secret a task needs to proceed. An environment variable -FLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if -secrets are passed through environment variables. -FLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets -are passed through file mounts. - - - -.. csv-table:: Secret type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "group", ":ref:`ref_string`", "", "The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name. For AWS Secret Manager, this should be the name of the secret. +required" - "group_version", ":ref:`ref_string`", "", "The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones that do not support it. +optional" - "key", ":ref:`ref_string`", "", "The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation of the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should match one of the keys inside the secret. For AWS Secret Manager, it's ignored. +optional" - "mount_requirement", ":ref:`ref_flyteidl.core.Secret.MountType`", "", "mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail if the underlying key management system cannot satisfy that requirement. If not provided, the default location will depend on the key management system. +optional" - - - - - - - -.. _ref_flyteidl.core.SecurityContext: - -SecurityContext ------------------------------------------------------------------- - -SecurityContext holds security attributes that apply to tasks. - - - -.. csv-table:: SecurityContext type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "run_as", ":ref:`ref_flyteidl.core.Identity`", "", "run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on." - "secrets", ":ref:`ref_flyteidl.core.Secret`", "repeated", "secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine." - "tokens", ":ref:`ref_flyteidl.core.OAuth2TokenRequest`", "repeated", "tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine." - - - - - - -.. - end messages - - - -.. _ref_flyteidl.core.OAuth2TokenRequest.Type: - -OAuth2TokenRequest.Type ------------------------------------------------------------------- - -Type of the token requested. - -.. csv-table:: Enum OAuth2TokenRequest.Type values - :header: "Name", "Number", "Description" - :widths: auto - - "CLIENT_CREDENTIALS", "0", "CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials." - - - -.. _ref_flyteidl.core.Secret.MountType: - -Secret.MountType ------------------------------------------------------------------- - - - -.. csv-table:: Enum Secret.MountType values - :header: "Name", "Number", "Description" - :widths: auto - - "ANY", "0", "Default case, indicates the client can tolerate either mounting options." - "ENV_VAR", "1", "ENV_VAR indicates the secret needs to be mounted as an environment variable." - "FILE", "2", "FILE indicates the secret needs to be mounted as a file." - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/core/tasks.proto: - -flyteidl/core/tasks.proto -================================================================== - - - - - -.. _ref_flyteidl.core.Container: - -Container ------------------------------------------------------------------- - - - - - -.. csv-table:: Container type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "image", ":ref:`ref_string`", "", "Container image url. Eg: docker/redis:latest" - "command", ":ref:`ref_string`", "repeated", "Command to be executed, if not provided, the default entrypoint in the container image will be used." - "args", ":ref:`ref_string`", "repeated", "These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container." - "resources", ":ref:`ref_flyteidl.core.Resources`", "", "Container resources requirement as specified by the container engine." - "env", ":ref:`ref_flyteidl.core.KeyValuePair`", "repeated", "Environment variables will be set as the container is starting up." - "config", ":ref:`ref_flyteidl.core.KeyValuePair`", "repeated", "**Deprecated.** Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead." - "ports", ":ref:`ref_flyteidl.core.ContainerPort`", "repeated", "Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s" - "data_config", ":ref:`ref_flyteidl.core.DataLoadingConfig`", "", "BETA: Optional configuration for DataLoading. If not specified, then default values are used. This makes it possible to to run a completely portable container, that uses inputs and outputs only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment. If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation to understand the default paths. Only K8s" - "architecture", ":ref:`ref_flyteidl.core.Container.Architecture`", "", "" - - - - - - - -.. _ref_flyteidl.core.ContainerPort: - -ContainerPort ------------------------------------------------------------------- - -Defines port properties for a container. - - - -.. csv-table:: ContainerPort type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "container_port", ":ref:`ref_uint32`", "", "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536." - - - - - - - -.. _ref_flyteidl.core.DataLoadingConfig: - -DataLoadingConfig ------------------------------------------------------------------- - -This configuration allows executing raw containers in Flyte using the Flyte CoPilot system. -Flyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path -Any outputs generated by the user container - within output_path are automatically uploaded. - - - -.. csv-table:: DataLoadingConfig type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "enabled", ":ref:`ref_bool`", "", "Flag enables DataLoading Config. If this is not set, data loading will not be used!" - "input_path", ":ref:`ref_string`", "", "File system path (start at root). This folder will contain all the inputs exploded to a separate file. Example, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like /var/flyte/inputs/inputs. .pb .json .yaml> -> Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations /var/flyte/inputs/x -> X is a file that contains the value of x (integer) in string format /var/flyte/inputs/y -> Y is a file in Binary format /var/flyte/inputs/z/... -> Note Z itself is a directory More information about the protocol - refer to docs #TODO reference docs here" - "output_path", ":ref:`ref_string`", "", "File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file" - "format", ":ref:`ref_flyteidl.core.DataLoadingConfig.LiteralMapFormat`", "", "In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values. This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding" - "io_strategy", ":ref:`ref_flyteidl.core.IOStrategy`", "", "" - - - - - - - -.. _ref_flyteidl.core.IOStrategy: - -IOStrategy ------------------------------------------------------------------- - -Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets) - - - -.. csv-table:: IOStrategy type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "download_mode", ":ref:`ref_flyteidl.core.IOStrategy.DownloadMode`", "", "Mode to use to manage downloads" - "upload_mode", ":ref:`ref_flyteidl.core.IOStrategy.UploadMode`", "", "Mode to use to manage uploads" - - - - - - - -.. _ref_flyteidl.core.K8sObjectMetadata: - -K8sObjectMetadata ------------------------------------------------------------------- - -Metadata for building a kubernetes object when a task is executed. - - - -.. csv-table:: K8sObjectMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "labels", ":ref:`ref_flyteidl.core.K8sObjectMetadata.LabelsEntry`", "repeated", "Optional labels to add to the pod definition." - "annotations", ":ref:`ref_flyteidl.core.K8sObjectMetadata.AnnotationsEntry`", "repeated", "Optional annotations to add to the pod definition." - - - - - - - -.. _ref_flyteidl.core.K8sObjectMetadata.AnnotationsEntry: - -K8sObjectMetadata.AnnotationsEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: K8sObjectMetadata.AnnotationsEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_flyteidl.core.K8sObjectMetadata.LabelsEntry: - -K8sObjectMetadata.LabelsEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: K8sObjectMetadata.LabelsEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_flyteidl.core.K8sPod: - -K8sPod ------------------------------------------------------------------- - -Defines a pod spec and additional pod metadata that is created when a task is executed. - - - -.. csv-table:: K8sPod type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "metadata", ":ref:`ref_flyteidl.core.K8sObjectMetadata`", "", "Contains additional metadata for building a kubernetes pod." - "pod_spec", ":ref:`ref_google.protobuf.Struct`", "", "Defines the primary pod spec created when a task is executed. This should be a JSON-marshalled pod spec, which can be defined in - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936 - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" - - - - - - - -.. _ref_flyteidl.core.Resources: - -Resources ------------------------------------------------------------------- - -A customizable interface to convey resources requested for a container. This can be interpreted differently for different -container engines. - - - -.. csv-table:: Resources type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "requests", ":ref:`ref_flyteidl.core.Resources.ResourceEntry`", "repeated", "The desired set of resources requested. ResourceNames must be unique within the list." - "limits", ":ref:`ref_flyteidl.core.Resources.ResourceEntry`", "repeated", "Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique within the list." - - - - - - - -.. _ref_flyteidl.core.Resources.ResourceEntry: - -Resources.ResourceEntry ------------------------------------------------------------------- - -Encapsulates a resource name and value. - - - -.. csv-table:: Resources.ResourceEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "name", ":ref:`ref_flyteidl.core.Resources.ResourceName`", "", "Resource name." - "value", ":ref:`ref_string`", "", "Value must be a valid k8s quantity. See https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80" - - - - - - - -.. _ref_flyteidl.core.RuntimeMetadata: - -RuntimeMetadata ------------------------------------------------------------------- - -Runtime information. This is loosely defined to allow for extensibility. - - - -.. csv-table:: RuntimeMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "type", ":ref:`ref_flyteidl.core.RuntimeMetadata.RuntimeType`", "", "Type of runtime." - "version", ":ref:`ref_string`", "", "Version of the runtime. All versions should be backward compatible. However, certain cases call for version checks to ensure tighter validation or setting expectations." - "flavor", ":ref:`ref_string`", "", "+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.)." - - - - - - - -.. _ref_flyteidl.core.Sql: - -Sql ------------------------------------------------------------------- - -Sql represents a generic sql workload with a statement and dialect. - - - -.. csv-table:: Sql type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "statement", ":ref:`ref_string`", "", "The actual query to run, the query can have templated parameters. We use Flyte's Golang templating format for Query templating. Refer to the templating documentation. https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py For example, insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet select * from my_table where ds = '{{ .Inputs.ds }}'" - "dialect", ":ref:`ref_flyteidl.core.Sql.Dialect`", "", "" - - - - - - - -.. _ref_flyteidl.core.TaskMetadata: - -TaskMetadata ------------------------------------------------------------------- - -Task Metadata - - - -.. csv-table:: TaskMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "discoverable", ":ref:`ref_bool`", "", "Indicates whether the system should attempt to lookup this task's output to avoid duplication of work." - "runtime", ":ref:`ref_flyteidl.core.RuntimeMetadata`", "", "Runtime information about the task." - "timeout", ":ref:`ref_google.protobuf.Duration`", "", "The overall timeout of a task including user-triggered retries." - "retries", ":ref:`ref_flyteidl.core.RetryStrategy`", "", "Number of retries per task." - "discovery_version", ":ref:`ref_string`", "", "Indicates a logical version to apply to this task for the purpose of discovery." - "deprecated_error_message", ":ref:`ref_string`", "", "If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task." - "interruptible", ":ref:`ref_bool`", "", "" - "cache_serializable", ":ref:`ref_bool`", "", "Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work" - - - - - - - -.. _ref_flyteidl.core.TaskTemplate: - -TaskTemplate ------------------------------------------------------------------- - -A Task structure that uniquely identifies a task in the system -Tasks are registered as a first step in the system. - - - -.. csv-table:: TaskTemplate type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Auto generated taskId by the system. Task Id uniquely identifies this task globally." - "type", ":ref:`ref_string`", "", "A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the implementation registered for the TaskCategory." - "metadata", ":ref:`ref_flyteidl.core.TaskMetadata`", "", "Extra metadata about the task." - "interface", ":ref:`ref_flyteidl.core.TypedInterface`", "", "A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures." - "custom", ":ref:`ref_google.protobuf.Struct`", "", "Custom data about the task. This is extensible to allow various plugins in the system." - "container", ":ref:`ref_flyteidl.core.Container`", "", "" - "k8s_pod", ":ref:`ref_flyteidl.core.K8sPod`", "", "" - "sql", ":ref:`ref_flyteidl.core.Sql`", "", "" - "task_type_version", ":ref:`ref_int32`", "", "This can be used to customize task handling at execution time for the same task type." - "security_context", ":ref:`ref_flyteidl.core.SecurityContext`", "", "security_context encapsulates security attributes requested to run this task." - "config", ":ref:`ref_flyteidl.core.TaskTemplate.ConfigEntry`", "repeated", "Metadata about the custom defined for this task. This is extensible to allow various plugins in the system to use as required. reserve the field numbers 1 through 15 for very frequently occurring message elements" - - - - - - - -.. _ref_flyteidl.core.TaskTemplate.ConfigEntry: - -TaskTemplate.ConfigEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: TaskTemplate.ConfigEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_string`", "", "" - - - - - - -.. - end messages - - - -.. _ref_flyteidl.core.Container.Architecture: - -Container.Architecture ------------------------------------------------------------------- - -Architecture-type the container image supports. - -.. csv-table:: Enum Container.Architecture values - :header: "Name", "Number", "Description" - :widths: auto - - "UNKNOWN", "0", "" - "AMD64", "1", "" - "ARM64", "2", "" - "ARM_V6", "3", "" - "ARM_V7", "4", "" - - - -.. _ref_flyteidl.core.DataLoadingConfig.LiteralMapFormat: - -DataLoadingConfig.LiteralMapFormat ------------------------------------------------------------------- - -LiteralMapFormat decides the encoding format in which the input metadata should be made available to the containers. -If the user has access to the protocol buffer definitions, it is recommended to use the PROTO format. -JSON and YAML do not need any protobuf definitions to read it -All remote references in core.LiteralMap are replaced with local filesystem references (the data is downloaded to local filesystem) - -.. csv-table:: Enum DataLoadingConfig.LiteralMapFormat values - :header: "Name", "Number", "Description" - :widths: auto - - "JSON", "0", "JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html" - "YAML", "1", "" - "PROTO", "2", "Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core" - - - -.. _ref_flyteidl.core.IOStrategy.DownloadMode: - -IOStrategy.DownloadMode ------------------------------------------------------------------- - -Mode to use for downloading - -.. csv-table:: Enum IOStrategy.DownloadMode values - :header: "Name", "Number", "Description" - :widths: auto - - "DOWNLOAD_EAGER", "0", "All data will be downloaded before the main container is executed" - "DOWNLOAD_STREAM", "1", "Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details" - "DO_NOT_DOWNLOAD", "2", "Large objects (offloaded) will not be downloaded" - - - -.. _ref_flyteidl.core.IOStrategy.UploadMode: - -IOStrategy.UploadMode ------------------------------------------------------------------- - -Mode to use for uploading - -.. csv-table:: Enum IOStrategy.UploadMode values - :header: "Name", "Number", "Description" - :widths: auto - - "UPLOAD_ON_EXIT", "0", "All data will be uploaded after the main container exits" - "UPLOAD_EAGER", "1", "Data will be uploaded as it appears. Refer to protocol specification for details" - "DO_NOT_UPLOAD", "2", "Data will not be uploaded, only references will be written" - - - -.. _ref_flyteidl.core.Resources.ResourceName: - -Resources.ResourceName ------------------------------------------------------------------- - -Known resource names. - -.. csv-table:: Enum Resources.ResourceName values - :header: "Name", "Number", "Description" - :widths: auto - - "UNKNOWN", "0", "" - "CPU", "1", "" - "GPU", "2", "" - "MEMORY", "3", "" - "STORAGE", "4", "" - "EPHEMERAL_STORAGE", "5", "For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs." - - - -.. _ref_flyteidl.core.RuntimeMetadata.RuntimeType: - -RuntimeMetadata.RuntimeType ------------------------------------------------------------------- - - - -.. csv-table:: Enum RuntimeMetadata.RuntimeType values - :header: "Name", "Number", "Description" - :widths: auto - - "OTHER", "0", "" - "FLYTE_SDK", "1", "" - - - -.. _ref_flyteidl.core.Sql.Dialect: - -Sql.Dialect ------------------------------------------------------------------- - -The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid -expensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement. -We support the following dialect: ansi, hive. - -.. csv-table:: Enum Sql.Dialect values - :header: "Name", "Number", "Description" - :widths: auto - - "UNDEFINED", "0", "" - "ANSI", "1", "" - "HIVE", "2", "" - "OTHER", "3", "" - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/core/types.proto: - -flyteidl/core/types.proto -================================================================== - - - - - -.. _ref_flyteidl.core.BlobType: - -BlobType ------------------------------------------------------------------- - -Defines type behavior for blob objects - - - -.. csv-table:: BlobType type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "format", ":ref:`ref_string`", "", "Format can be a free form string understood by SDK/UI etc like csv, parquet etc" - "dimensionality", ":ref:`ref_flyteidl.core.BlobType.BlobDimensionality`", "", "" - - - - - - - -.. _ref_flyteidl.core.EnumType: - -EnumType ------------------------------------------------------------------- - -Enables declaring enum types, with predefined string values -For len(values) > 0, the first value in the ordered list is regarded as the default value. If you wish -To provide no defaults, make the first value as undefined. - - - -.. csv-table:: EnumType type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "values", ":ref:`ref_string`", "repeated", "Predefined set of enum values." - - - - - - - -.. _ref_flyteidl.core.Error: - -Error ------------------------------------------------------------------- - -Represents an error thrown from a node. - - - -.. csv-table:: Error type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "failed_node_id", ":ref:`ref_string`", "", "The node id that threw the error." - "message", ":ref:`ref_string`", "", "Error message thrown." - - - - - - - -.. _ref_flyteidl.core.LiteralType: - -LiteralType ------------------------------------------------------------------- - -Defines a strong type to allow type checking between interfaces. - - - -.. csv-table:: LiteralType type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "simple", ":ref:`ref_flyteidl.core.SimpleType`", "", "A simple type that can be compared one-to-one with another." - "schema", ":ref:`ref_flyteidl.core.SchemaType`", "", "A complex type that requires matching of inner fields." - "collection_type", ":ref:`ref_flyteidl.core.LiteralType`", "", "Defines the type of the value of a collection. Only homogeneous collections are allowed." - "map_value_type", ":ref:`ref_flyteidl.core.LiteralType`", "", "Defines the type of the value of a map type. The type of the key is always a string." - "blob", ":ref:`ref_flyteidl.core.BlobType`", "", "A blob might have specialized implementation details depending on associated metadata." - "enum_type", ":ref:`ref_flyteidl.core.EnumType`", "", "Defines an enum with pre-defined string values." - "structured_dataset_type", ":ref:`ref_flyteidl.core.StructuredDatasetType`", "", "Generalized schema support" - "union_type", ":ref:`ref_flyteidl.core.UnionType`", "", "Defines an union type with pre-defined LiteralTypes." - "metadata", ":ref:`ref_google.protobuf.Struct`", "", "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type." - "annotation", ":ref:`ref_flyteidl.core.TypeAnnotation`", "", "This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior." - "structure", ":ref:`ref_flyteidl.core.TypeStructure`", "", "Hints to improve type matching." - - - - - - - -.. _ref_flyteidl.core.OutputReference: - -OutputReference ------------------------------------------------------------------- - -A reference to an output produced by a node. The type can be retrieved -and validated- from -the underlying interface of the node. - - - -.. csv-table:: OutputReference type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "node_id", ":ref:`ref_string`", "", "Node id must exist at the graph layer." - "var", ":ref:`ref_string`", "", "Variable name must refer to an output variable for the node." - - - - - - - -.. _ref_flyteidl.core.SchemaType: - -SchemaType ------------------------------------------------------------------- - -Defines schema columns and types to strongly type-validate schemas interoperability. - - - -.. csv-table:: SchemaType type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "columns", ":ref:`ref_flyteidl.core.SchemaType.SchemaColumn`", "repeated", "A list of ordered columns this schema comprises of." - - - - - - - -.. _ref_flyteidl.core.SchemaType.SchemaColumn: - -SchemaType.SchemaColumn ------------------------------------------------------------------- - - - - - -.. csv-table:: SchemaType.SchemaColumn type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "name", ":ref:`ref_string`", "", "A unique name -within the schema type- for the column" - "type", ":ref:`ref_flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType`", "", "The column type. This allows a limited set of types currently." - - - - - - - -.. _ref_flyteidl.core.StructuredDatasetType: - -StructuredDatasetType ------------------------------------------------------------------- - - - - - -.. csv-table:: StructuredDatasetType type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "columns", ":ref:`ref_flyteidl.core.StructuredDatasetType.DatasetColumn`", "repeated", "A list of ordered columns this schema comprises of." - "format", ":ref:`ref_string`", "", "This is the storage format, the format of the bits at rest parquet, feather, csv, etc. For two types to be compatible, the format will need to be an exact match." - "external_schema_type", ":ref:`ref_string`", "", "This is a string representing the type that the bytes in external_schema_bytes are formatted in. This is an optional field that will not be used for type checking." - "external_schema_bytes", ":ref:`ref_bytes`", "", "The serialized bytes of a third-party schema library like Arrow. This is an optional field that will not be used for type checking." - - - - - - - -.. _ref_flyteidl.core.StructuredDatasetType.DatasetColumn: - -StructuredDatasetType.DatasetColumn ------------------------------------------------------------------- - - - - - -.. csv-table:: StructuredDatasetType.DatasetColumn type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "name", ":ref:`ref_string`", "", "A unique name within the schema type for the column." - "literal_type", ":ref:`ref_flyteidl.core.LiteralType`", "", "The column type." - - - - - - - -.. _ref_flyteidl.core.TypeAnnotation: - -TypeAnnotation ------------------------------------------------------------------- - -TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs. - - - -.. csv-table:: TypeAnnotation type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "annotations", ":ref:`ref_google.protobuf.Struct`", "", "A arbitrary JSON payload to describe a type." - - - - - - - -.. _ref_flyteidl.core.TypeStructure: - -TypeStructure ------------------------------------------------------------------- - -Hints to improve type matching -e.g. allows distinguishing output from custom type transformers -even if the underlying IDL serialization matches. - - - -.. csv-table:: TypeStructure type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "tag", ":ref:`ref_string`", "", "Must exactly match for types to be castable" - - - - - - - -.. _ref_flyteidl.core.UnionType: - -UnionType ------------------------------------------------------------------- - -Defines a tagged union type, also known as a variant (and formally as the sum type). - -A sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag -A value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by -storing the varaint's tag with the literal value and can be examined in runtime. - -Type S is typically written as -S := Apple A | Banana B | Cantaloupe C | ... - -Notably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value: -Optional X := X | Null - -See also: https://en.wikipedia.org/wiki/Tagged_union - - - -.. csv-table:: UnionType type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "variants", ":ref:`ref_flyteidl.core.LiteralType`", "repeated", "Predefined set of variants in union." - - - - - - -.. - end messages - - - -.. _ref_flyteidl.core.BlobType.BlobDimensionality: - -BlobType.BlobDimensionality ------------------------------------------------------------------- - - - -.. csv-table:: Enum BlobType.BlobDimensionality values - :header: "Name", "Number", "Description" - :widths: auto - - "SINGLE", "0", "" - "MULTIPART", "1", "" - - - -.. _ref_flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType: - -SchemaType.SchemaColumn.SchemaColumnType ------------------------------------------------------------------- - - - -.. csv-table:: Enum SchemaType.SchemaColumn.SchemaColumnType values - :header: "Name", "Number", "Description" - :widths: auto - - "INTEGER", "0", "" - "FLOAT", "1", "" - "STRING", "2", "" - "BOOLEAN", "3", "" - "DATETIME", "4", "" - "DURATION", "5", "" - - - -.. _ref_flyteidl.core.SimpleType: - -SimpleType ------------------------------------------------------------------- - -Define a set of simple types. - -.. csv-table:: Enum SimpleType values - :header: "Name", "Number", "Description" - :widths: auto - - "NONE", "0", "" - "INTEGER", "1", "" - "FLOAT", "2", "" - "STRING", "3", "" - "BOOLEAN", "4", "" - "DATETIME", "5", "" - "DURATION", "6", "" - "BINARY", "7", "" - "ERROR", "8", "" - "STRUCT", "9", "" - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/core/workflow.proto: - -flyteidl/core/workflow.proto -================================================================== - - - - - -.. _ref_flyteidl.core.Alias: - -Alias ------------------------------------------------------------------- - -Links a variable to an alias. - - - -.. csv-table:: Alias type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "var", ":ref:`ref_string`", "", "Must match one of the output variable names on a node." - "alias", ":ref:`ref_string`", "", "A workflow-level unique alias that downstream nodes can refer to in their input." - - - - - - - -.. _ref_flyteidl.core.BranchNode: - -BranchNode ------------------------------------------------------------------- - -BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at -runtime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives). - - - -.. csv-table:: BranchNode type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "if_else", ":ref:`ref_flyteidl.core.IfElseBlock`", "", "+required" - - - - - - - -.. _ref_flyteidl.core.IfBlock: - -IfBlock ------------------------------------------------------------------- - -Defines a condition and the execution unit that should be executed if the condition is satisfied. - - - -.. csv-table:: IfBlock type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "condition", ":ref:`ref_flyteidl.core.BooleanExpression`", "", "" - "then_node", ":ref:`ref_flyteidl.core.Node`", "", "" - - - - - - - -.. _ref_flyteidl.core.IfElseBlock: - -IfElseBlock ------------------------------------------------------------------- - -Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute. -If no conditions were satisfied, the else_node or the error will execute. - - - -.. csv-table:: IfElseBlock type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "case", ":ref:`ref_flyteidl.core.IfBlock`", "", "+required. First condition to evaluate." - "other", ":ref:`ref_flyteidl.core.IfBlock`", "repeated", "+optional. Additional branches to evaluate." - "else_node", ":ref:`ref_flyteidl.core.Node`", "", "The node to execute in case none of the branches were taken." - "error", ":ref:`ref_flyteidl.core.Error`", "", "An error to throw in case none of the branches were taken." - - - - - - - -.. _ref_flyteidl.core.Node: - -Node ------------------------------------------------------------------- - -A Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch -node. - - - -.. csv-table:: Node type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_string`", "", "A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes." - "metadata", ":ref:`ref_flyteidl.core.NodeMetadata`", "", "Extra metadata about the node." - "inputs", ":ref:`ref_flyteidl.core.Binding`", "repeated", "Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled." - "upstream_node_ids", ":ref:`ref_string`", "repeated", "+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field." - "output_aliases", ":ref:`ref_flyteidl.core.Alias`", "repeated", "+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified." - "task_node", ":ref:`ref_flyteidl.core.TaskNode`", "", "Information about the Task to execute in this node." - "workflow_node", ":ref:`ref_flyteidl.core.WorkflowNode`", "", "Information about the Workflow to execute in this mode." - "branch_node", ":ref:`ref_flyteidl.core.BranchNode`", "", "Information about the branch node to evaluate in this node." - - - - - - - -.. _ref_flyteidl.core.NodeMetadata: - -NodeMetadata ------------------------------------------------------------------- - -Defines extra information about the Node. - - - -.. csv-table:: NodeMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "name", ":ref:`ref_string`", "", "A friendly name for the Node" - "timeout", ":ref:`ref_google.protobuf.Duration`", "", "The overall timeout of a task." - "retries", ":ref:`ref_flyteidl.core.RetryStrategy`", "", "Number of retries per task." - "interruptible", ":ref:`ref_bool`", "", "" - - - - - - - -.. _ref_flyteidl.core.TaskNode: - -TaskNode ------------------------------------------------------------------- - -Refers to the task that the Node is to execute. - - - -.. csv-table:: TaskNode type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "reference_id", ":ref:`ref_flyteidl.core.Identifier`", "", "A globally unique identifier for the task." - "overrides", ":ref:`ref_flyteidl.core.TaskNodeOverrides`", "", "Optional overrides applied at task execution time." - - - - - - - -.. _ref_flyteidl.core.TaskNodeOverrides: - -TaskNodeOverrides ------------------------------------------------------------------- - -Optional task node overrides that will be applied at task execution time. - - - -.. csv-table:: TaskNodeOverrides type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "resources", ":ref:`ref_flyteidl.core.Resources`", "", "A customizable interface to convey resources requested for a task container." - - - - - - - -.. _ref_flyteidl.core.WorkflowMetadata: - -WorkflowMetadata ------------------------------------------------------------------- - -This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not -percolate down to child entities (like tasks) launched by the workflow. - - - -.. csv-table:: WorkflowMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "quality_of_service", ":ref:`ref_flyteidl.core.QualityOfService`", "", "Indicates the runtime priority of workflow executions." - "on_failure", ":ref:`ref_flyteidl.core.WorkflowMetadata.OnFailurePolicy`", "", "Defines how the system should behave when a failure is detected in the workflow execution." - - - - - - - -.. _ref_flyteidl.core.WorkflowMetadataDefaults: - -WorkflowMetadataDefaults ------------------------------------------------------------------- - -The difference between these settings and the WorkflowMetadata ones is that these are meant to be passed down to -a workflow's underlying entities (like tasks). For instance, 'interruptible' has no meaning at the workflow layer, it -is only relevant when a task executes. The settings here are the defaults that are passed to all nodes -unless explicitly overridden at the node layer. -If you are adding a setting that applies to both the Workflow itself, and everything underneath it, it should be -added to both this object and the WorkflowMetadata object above. - - - -.. csv-table:: WorkflowMetadataDefaults type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "interruptible", ":ref:`ref_bool`", "", "Whether child nodes of the workflow are interruptible." - - - - - - - -.. _ref_flyteidl.core.WorkflowNode: - -WorkflowNode ------------------------------------------------------------------- - -Refers to a the workflow the node is to execute. - - - -.. csv-table:: WorkflowNode type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "launchplan_ref", ":ref:`ref_flyteidl.core.Identifier`", "", "A globally unique identifier for the launch plan." - "sub_workflow_ref", ":ref:`ref_flyteidl.core.Identifier`", "", "Reference to a subworkflow, that should be defined with the compiler context" - - - - - - - -.. _ref_flyteidl.core.WorkflowTemplate: - -WorkflowTemplate ------------------------------------------------------------------- - -Flyte Workflow Structure that encapsulates task, branch and subworkflow nodes to form a statically analyzable, -directed acyclic graph. - - - -.. csv-table:: WorkflowTemplate type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.Identifier`", "", "A globally unique identifier for the workflow." - "metadata", ":ref:`ref_flyteidl.core.WorkflowMetadata`", "", "Extra metadata about the workflow." - "interface", ":ref:`ref_flyteidl.core.TypedInterface`", "", "Defines a strongly typed interface for the Workflow. This can include some optional parameters." - "nodes", ":ref:`ref_flyteidl.core.Node`", "repeated", "A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs." - "outputs", ":ref:`ref_flyteidl.core.Binding`", "repeated", "A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task." - "failure_node", ":ref:`ref_flyteidl.core.Node`", "", "+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error." - "metadata_defaults", ":ref:`ref_flyteidl.core.WorkflowMetadataDefaults`", "", "workflow defaults" - - - - - - -.. - end messages - - - -.. _ref_flyteidl.core.WorkflowMetadata.OnFailurePolicy: - -WorkflowMetadata.OnFailurePolicy ------------------------------------------------------------------- - -Failure Handling Strategy - -.. csv-table:: Enum WorkflowMetadata.OnFailurePolicy values - :header: "Name", "Number", "Description" - :widths: auto - - "FAIL_IMMEDIATELY", "0", "FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically abort all currently running nodes and clean up resources before finally marking the workflow executions as failed." - "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE", "1", "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will not alter the dependencies of the execution graph so any node that depend on the failed node will not be run. Other nodes that will be executed to completion before cleaning up resources and marking the workflow execution as failed." - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/core/workflow_closure.proto: - -flyteidl/core/workflow_closure.proto -================================================================== - - - - - -.. _ref_flyteidl.core.WorkflowClosure: - -WorkflowClosure ------------------------------------------------------------------- - -Defines an enclosed package of workflow and tasks it references. - - - -.. csv-table:: WorkflowClosure type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "workflow", ":ref:`ref_flyteidl.core.WorkflowTemplate`", "", "required. Workflow template." - "tasks", ":ref:`ref_flyteidl.core.TaskTemplate`", "repeated", "optional. A collection of tasks referenced by the workflow. Only needed if the workflow references tasks." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_google/protobuf/timestamp.proto: - -google/protobuf/timestamp.proto -================================================================== - - - - - -.. _ref_google.protobuf.Timestamp: - -Timestamp ------------------------------------------------------------------- - -A Timestamp represents a point in time independent of any time zone or local -calendar, encoded as a count of seconds and fractions of seconds at -nanosecond resolution. The count is relative to an epoch at UTC midnight on -January 1, 1970, in the proleptic Gregorian calendar which extends the -Gregorian calendar backwards to year one. - -All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap -second table is needed for interpretation, using a [24-hour linear -smear](https://developers.google.com/time/smear). - -The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By -restricting to that range, we ensure that we can convert to and from [RFC -3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - -# Examples - -Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - -Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - -Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - -Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - -Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - -Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - -# JSON Mapping - -In JSON format, the Timestamp type is encoded as a string in the -[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the -format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" -where {year} is always expressed using four digits while {month}, {day}, -{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional -seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), -are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone -is required. A proto3 JSON serializer should always use UTC (as indicated by -"Z") when printing the Timestamp type and a proto3 JSON parser should be -able to accept both UTC and other timezones (as indicated by an offset). - -For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past -01:30 UTC on January 15, 2017. - -In JavaScript, one can convert a Date object to this format using the -standard -[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) -method. In Python, a standard `datetime.datetime` object can be converted -to this format using -[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with -the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use -the Joda Time's [`ISODateTimeFormat.dateTime()`]( -http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D -) to obtain a formatter capable of generating timestamps in this format. - - - -.. csv-table:: Timestamp type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "seconds", ":ref:`ref_int64`", "", "Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive." - "nanos", ":ref:`ref_int32`", "", "Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_google/protobuf/duration.proto: - -google/protobuf/duration.proto -================================================================== - - - - - -.. _ref_google.protobuf.Duration: - -Duration ------------------------------------------------------------------- - -A Duration represents a signed, fixed-length span of time represented -as a count of seconds and fractions of seconds at nanosecond -resolution. It is independent of any calendar and concepts like "day" -or "month". It is related to Timestamp in that the difference between -two Timestamp values is a Duration and it can be added or subtracted -from a Timestamp. Range is approximately +-10,000 years. - -# Examples - -Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - -Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - -Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - -# JSON Mapping - -In JSON format, the Duration type is encoded as a string rather than an -object, where the string ends in the suffix "s" (indicating seconds) and -is preceded by the number of seconds, with nanoseconds expressed as -fractional seconds. For example, 3 seconds with 0 nanoseconds should be -encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should -be expressed in JSON format as "3.000000001s", and 3 seconds and 1 -microsecond should be expressed in JSON format as "3.000001s". - - - -.. csv-table:: Duration type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "seconds", ":ref:`ref_int64`", "", "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years" - "nanos", ":ref:`ref_int32`", "", "Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_google/protobuf/struct.proto: - -google/protobuf/struct.proto -================================================================== - - - - - -.. _ref_google.protobuf.ListValue: - -ListValue ------------------------------------------------------------------- - -`ListValue` is a wrapper around a repeated field of values. - -The JSON representation for `ListValue` is JSON array. - - - -.. csv-table:: ListValue type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "values", ":ref:`ref_google.protobuf.Value`", "repeated", "Repeated field of dynamically typed values." - - - - - - - -.. _ref_google.protobuf.Struct: - -Struct ------------------------------------------------------------------- - -`Struct` represents a structured data value, consisting of fields -which map to dynamically typed values. In some languages, `Struct` -might be supported by a native representation. For example, in -scripting languages like JS a struct is represented as an -object. The details of that representation are described together -with the proto support for the language. - -The JSON representation for `Struct` is JSON object. - - - -.. csv-table:: Struct type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "fields", ":ref:`ref_google.protobuf.Struct.FieldsEntry`", "repeated", "Unordered map of dynamically typed values." - - - - - - - -.. _ref_google.protobuf.Struct.FieldsEntry: - -Struct.FieldsEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: Struct.FieldsEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_google.protobuf.Value`", "", "" - - - - - - - -.. _ref_google.protobuf.Value: - -Value ------------------------------------------------------------------- - -`Value` represents a dynamically typed value which can be either -null, a number, a string, a boolean, a recursive struct value, or a -list of values. A producer of value is expected to set one of these -variants. Absence of any variant indicates an error. - -The JSON representation for `Value` is JSON value. - - - -.. csv-table:: Value type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "null_value", ":ref:`ref_google.protobuf.NullValue`", "", "Represents a null value." - "number_value", ":ref:`ref_double`", "", "Represents a double value." - "string_value", ":ref:`ref_string`", "", "Represents a string value." - "bool_value", ":ref:`ref_bool`", "", "Represents a boolean value." - "struct_value", ":ref:`ref_google.protobuf.Struct`", "", "Represents a structured value." - "list_value", ":ref:`ref_google.protobuf.ListValue`", "", "Represents a repeated `Value`." - - - - - - -.. - end messages - - - -.. _ref_google.protobuf.NullValue: - -NullValue ------------------------------------------------------------------- - -`NullValue` is a singleton enumeration to represent the null value for the -`Value` type union. - - The JSON representation for `NullValue` is JSON `null`. - -.. csv-table:: Enum NullValue values - :header: "Name", "Number", "Description" - :widths: auto - - "NULL_VALUE", "0", "Null value." - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - -.. _ref_scala_types: - -Scalar Value Types -================== - - - -.. _ref_double: - -double ------------------------------ - - - -.. csv-table:: double language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "double", "double", "double", "float", "float64", "double", "float", "Float" - - - -.. _ref_float: - -float ------------------------------ - - - -.. csv-table:: float language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "float", "float", "float", "float", "float32", "float", "float", "Float" - - - -.. _ref_int32: - -int32 ------------------------------ - -Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. - -.. csv-table:: int32 language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "int32", "int32", "int", "int", "int32", "int", "integer", "Bignum or Fixnum (as required)" - - - -.. _ref_int64: - -int64 ------------------------------ - -Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. - -.. csv-table:: int64 language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "int64", "int64", "long", "int/long", "int64", "long", "integer/string", "Bignum" - - - -.. _ref_uint32: - -uint32 ------------------------------ - -Uses variable-length encoding. - -.. csv-table:: uint32 language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "uint32", "uint32", "int", "int/long", "uint32", "uint", "integer", "Bignum or Fixnum (as required)" - - - -.. _ref_uint64: - -uint64 ------------------------------ - -Uses variable-length encoding. - -.. csv-table:: uint64 language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "uint64", "uint64", "long", "int/long", "uint64", "ulong", "integer/string", "Bignum or Fixnum (as required)" - - - -.. _ref_sint32: - -sint32 ------------------------------ - -Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. - -.. csv-table:: sint32 language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "sint32", "int32", "int", "int", "int32", "int", "integer", "Bignum or Fixnum (as required)" - - - -.. _ref_sint64: - -sint64 ------------------------------ - -Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. - -.. csv-table:: sint64 language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "sint64", "int64", "long", "int/long", "int64", "long", "integer/string", "Bignum" - - - -.. _ref_fixed32: - -fixed32 ------------------------------ - -Always four bytes. More efficient than uint32 if values are often greater than 2^28. - -.. csv-table:: fixed32 language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "fixed32", "uint32", "int", "int", "uint32", "uint", "integer", "Bignum or Fixnum (as required)" - - - -.. _ref_fixed64: - -fixed64 ------------------------------ - -Always eight bytes. More efficient than uint64 if values are often greater than 2^56. - -.. csv-table:: fixed64 language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "fixed64", "uint64", "long", "int/long", "uint64", "ulong", "integer/string", "Bignum" - - - -.. _ref_sfixed32: - -sfixed32 ------------------------------ - -Always four bytes. - -.. csv-table:: sfixed32 language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "sfixed32", "int32", "int", "int", "int32", "int", "integer", "Bignum or Fixnum (as required)" - - - -.. _ref_sfixed64: - -sfixed64 ------------------------------ - -Always eight bytes. - -.. csv-table:: sfixed64 language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "sfixed64", "int64", "long", "int/long", "int64", "long", "integer/string", "Bignum" - - - -.. _ref_bool: - -bool ------------------------------ - - - -.. csv-table:: bool language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "bool", "bool", "boolean", "boolean", "bool", "bool", "boolean", "TrueClass/FalseClass" - - - -.. _ref_string: - -string ------------------------------ - -A string must always contain UTF-8 encoded or 7-bit ASCII text. - -.. csv-table:: string language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "string", "string", "String", "str/unicode", "string", "string", "string", "String (UTF-8)" - - - -.. _ref_bytes: - -bytes ------------------------------ - -May contain any arbitrary sequence of bytes. - -.. csv-table:: bytes language representation - :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" - :widths: auto - - "bytes", "string", "ByteString", "str", "[]byte", "ByteString", "string", "String (ASCII-8BIT)" - - -.. - end scalars \ No newline at end of file diff --git a/protos/docs/datacatalog/datacatalog.rst b/protos/docs/datacatalog/datacatalog.rst deleted file mode 100644 index 36df9eea8..000000000 --- a/protos/docs/datacatalog/datacatalog.rst +++ /dev/null @@ -1,1269 +0,0 @@ -###################### -Protocol Documentation -###################### - - - - -.. _ref_flyteidl/datacatalog/datacatalog.proto: - -flyteidl/datacatalog/datacatalog.proto -================================================================== - - - - - -.. _ref_datacatalog.AddTagRequest: - -AddTagRequest ------------------------------------------------------------------- - -Request message for tagging an Artifact. - - - -.. csv-table:: AddTagRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "tag", ":ref:`ref_datacatalog.Tag`", "", "" - - - - - - - -.. _ref_datacatalog.AddTagResponse: - -AddTagResponse ------------------------------------------------------------------- - -Response message for tagging an Artifact. - - - - - - - - -.. _ref_datacatalog.Artifact: - -Artifact ------------------------------------------------------------------- - -Artifact message. It is composed of several string fields. - - - -.. csv-table:: Artifact type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_string`", "", "The unique ID of the artifact" - "dataset", ":ref:`ref_datacatalog.DatasetID`", "", "The Dataset that the artifact belongs to" - "data", ":ref:`ref_datacatalog.ArtifactData`", "repeated", "A list of data that is associated with the artifact" - "metadata", ":ref:`ref_datacatalog.Metadata`", "", "Free-form metadata associated with the artifact" - "partitions", ":ref:`ref_datacatalog.Partition`", "repeated", "" - "tags", ":ref:`ref_datacatalog.Tag`", "repeated", "" - "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "creation timestamp of artifact, autogenerated by service" - - - - - - - -.. _ref_datacatalog.ArtifactData: - -ArtifactData ------------------------------------------------------------------- - -ArtifactData that belongs to an artifact - - - -.. csv-table:: ArtifactData type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "name", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_flyteidl.core.Literal`", "", "" - - - - - - - -.. _ref_datacatalog.ArtifactPropertyFilter: - -ArtifactPropertyFilter ------------------------------------------------------------------- - -Artifact properties we can filter by - - - -.. csv-table:: ArtifactPropertyFilter type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "artifact_id", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_datacatalog.CreateArtifactRequest: - -CreateArtifactRequest ------------------------------------------------------------------- - -Request message for creating an Artifact and its associated artifact Data. - - - -.. csv-table:: CreateArtifactRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "artifact", ":ref:`ref_datacatalog.Artifact`", "", "" - - - - - - - -.. _ref_datacatalog.CreateArtifactResponse: - -CreateArtifactResponse ------------------------------------------------------------------- - -Response message for creating an Artifact. - - - - - - - - -.. _ref_datacatalog.CreateDatasetRequest: - -CreateDatasetRequest ------------------------------------------------------------------- - -Request message for creating a Dataset. - - - -.. csv-table:: CreateDatasetRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "dataset", ":ref:`ref_datacatalog.Dataset`", "", "" - - - - - - - -.. _ref_datacatalog.CreateDatasetResponse: - -CreateDatasetResponse ------------------------------------------------------------------- - -Response message for creating a Dataset - - - - - - - - -.. _ref_datacatalog.Dataset: - -Dataset ------------------------------------------------------------------- - -Dataset message. It is uniquely identified by DatasetID. - - - -.. csv-table:: Dataset type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_datacatalog.DatasetID`", "", "" - "metadata", ":ref:`ref_datacatalog.Metadata`", "", "" - "partitionKeys", ":ref:`ref_string`", "repeated", "" - - - - - - - -.. _ref_datacatalog.DatasetID: - -DatasetID ------------------------------------------------------------------- - -DatasetID message that is composed of several string fields. - - - -.. csv-table:: DatasetID type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "The name of the project" - "name", ":ref:`ref_string`", "", "The name of the dataset" - "domain", ":ref:`ref_string`", "", "The domain (eg. environment)" - "version", ":ref:`ref_string`", "", "Version of the data schema" - "UUID", ":ref:`ref_string`", "", "UUID for the dataset (if set the above fields are optional)" - - - - - - - -.. _ref_datacatalog.DatasetPropertyFilter: - -DatasetPropertyFilter ------------------------------------------------------------------- - -Dataset properties we can filter by - - - -.. csv-table:: DatasetPropertyFilter type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "" - "name", ":ref:`ref_string`", "", "" - "domain", ":ref:`ref_string`", "", "" - "version", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_datacatalog.FilterExpression: - -FilterExpression ------------------------------------------------------------------- - -Filter expression that is composed of a combination of single filters - - - -.. csv-table:: FilterExpression type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "filters", ":ref:`ref_datacatalog.SinglePropertyFilter`", "repeated", "" - - - - - - - -.. _ref_datacatalog.GetArtifactRequest: - -GetArtifactRequest ------------------------------------------------------------------- - -Request message for retrieving an Artifact. Retrieve an artifact based on a query handle that -can be one of artifact_id or tag. The result returned will include the artifact data and metadata -associated with the artifact. - - - -.. csv-table:: GetArtifactRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "dataset", ":ref:`ref_datacatalog.DatasetID`", "", "" - "artifact_id", ":ref:`ref_string`", "", "" - "tag_name", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_datacatalog.GetArtifactResponse: - -GetArtifactResponse ------------------------------------------------------------------- - -Response message for retrieving an Artifact. The result returned will include the artifact data -and metadata associated with the artifact. - - - -.. csv-table:: GetArtifactResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "artifact", ":ref:`ref_datacatalog.Artifact`", "", "" - - - - - - - -.. _ref_datacatalog.GetDatasetRequest: - -GetDatasetRequest ------------------------------------------------------------------- - -Request message for retrieving a Dataset. The Dataset is retrieved by it's unique identifier -which is a combination of several fields. - - - -.. csv-table:: GetDatasetRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "dataset", ":ref:`ref_datacatalog.DatasetID`", "", "" - - - - - - - -.. _ref_datacatalog.GetDatasetResponse: - -GetDatasetResponse ------------------------------------------------------------------- - -Response message for retrieving a Dataset. The response will include the metadata for the -Dataset. - - - -.. csv-table:: GetDatasetResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "dataset", ":ref:`ref_datacatalog.Dataset`", "", "" - - - - - - - -.. _ref_datacatalog.GetOrExtendReservationRequest: - -GetOrExtendReservationRequest ------------------------------------------------------------------- - -Try to acquire or extend an artifact reservation. If an active reservation exists, retreive that instance. - - - -.. csv-table:: GetOrExtendReservationRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "reservation_id", ":ref:`ref_datacatalog.ReservationID`", "", "" - "owner_id", ":ref:`ref_string`", "", "" - "heartbeat_interval", ":ref:`ref_google.protobuf.Duration`", "", "Requested reservation extension heartbeat interval" - - - - - - - -.. _ref_datacatalog.GetOrExtendReservationResponse: - -GetOrExtendReservationResponse ------------------------------------------------------------------- - -Response including either a newly minted reservation or the existing reservation - - - -.. csv-table:: GetOrExtendReservationResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "reservation", ":ref:`ref_datacatalog.Reservation`", "", "" - - - - - - - -.. _ref_datacatalog.KeyValuePair: - -KeyValuePair ------------------------------------------------------------------- - - - - - -.. csv-table:: KeyValuePair type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_datacatalog.ListArtifactsRequest: - -ListArtifactsRequest ------------------------------------------------------------------- - -List the artifacts that belong to the Dataset, optionally filtered using filtered expression. - - - -.. csv-table:: ListArtifactsRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "dataset", ":ref:`ref_datacatalog.DatasetID`", "", "Use a datasetID for which you want to retrieve the artifacts" - "filter", ":ref:`ref_datacatalog.FilterExpression`", "", "Apply the filter expression to this query" - "pagination", ":ref:`ref_datacatalog.PaginationOptions`", "", "Pagination options to get a page of artifacts" - - - - - - - -.. _ref_datacatalog.ListArtifactsResponse: - -ListArtifactsResponse ------------------------------------------------------------------- - -Response to list artifacts - - - -.. csv-table:: ListArtifactsResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "artifacts", ":ref:`ref_datacatalog.Artifact`", "repeated", "The list of artifacts" - "next_token", ":ref:`ref_string`", "", "Token to use to request the next page, pass this into the next requests PaginationOptions" - - - - - - - -.. _ref_datacatalog.ListDatasetsRequest: - -ListDatasetsRequest ------------------------------------------------------------------- - -List the datasets for the given query - - - -.. csv-table:: ListDatasetsRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "filter", ":ref:`ref_datacatalog.FilterExpression`", "", "Apply the filter expression to this query" - "pagination", ":ref:`ref_datacatalog.PaginationOptions`", "", "Pagination options to get a page of datasets" - - - - - - - -.. _ref_datacatalog.ListDatasetsResponse: - -ListDatasetsResponse ------------------------------------------------------------------- - -List the datasets response with token for next pagination - - - -.. csv-table:: ListDatasetsResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "datasets", ":ref:`ref_datacatalog.Dataset`", "repeated", "The list of datasets" - "next_token", ":ref:`ref_string`", "", "Token to use to request the next page, pass this into the next requests PaginationOptions" - - - - - - - -.. _ref_datacatalog.Metadata: - -Metadata ------------------------------------------------------------------- - -Metadata representation for artifacts and datasets - - - -.. csv-table:: Metadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key_map", ":ref:`ref_datacatalog.Metadata.KeyMapEntry`", "repeated", "key map is a dictionary of key/val strings that represent metadata" - - - - - - - -.. _ref_datacatalog.Metadata.KeyMapEntry: - -Metadata.KeyMapEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: Metadata.KeyMapEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_datacatalog.PaginationOptions: - -PaginationOptions ------------------------------------------------------------------- - -Pagination options for making list requests - - - -.. csv-table:: PaginationOptions type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "limit", ":ref:`ref_uint32`", "", "the max number of results to return" - "token", ":ref:`ref_string`", "", "the token to pass to fetch the next page" - "sortKey", ":ref:`ref_datacatalog.PaginationOptions.SortKey`", "", "the property that we want to sort the results by" - "sortOrder", ":ref:`ref_datacatalog.PaginationOptions.SortOrder`", "", "the sort order of the results" - - - - - - - -.. _ref_datacatalog.Partition: - -Partition ------------------------------------------------------------------- - -An artifact could have multiple partitions and each partition can have an arbitrary string key/value pair - - - -.. csv-table:: Partition type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_datacatalog.PartitionPropertyFilter: - -PartitionPropertyFilter ------------------------------------------------------------------- - -Partition properties we can filter by - - - -.. csv-table:: PartitionPropertyFilter type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key_val", ":ref:`ref_datacatalog.KeyValuePair`", "", "" - - - - - - - -.. _ref_datacatalog.ReleaseReservationRequest: - -ReleaseReservationRequest ------------------------------------------------------------------- - -Request to release reservation - - - -.. csv-table:: ReleaseReservationRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "reservation_id", ":ref:`ref_datacatalog.ReservationID`", "", "" - "owner_id", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_datacatalog.ReleaseReservationResponse: - -ReleaseReservationResponse ------------------------------------------------------------------- - -Response to release reservation - - - - - - - - -.. _ref_datacatalog.Reservation: - -Reservation ------------------------------------------------------------------- - -A reservation including owner, heartbeat interval, expiration timestamp, and various metadata. - - - -.. csv-table:: Reservation type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "reservation_id", ":ref:`ref_datacatalog.ReservationID`", "", "" - "owner_id", ":ref:`ref_string`", "", "" - "heartbeat_interval", ":ref:`ref_google.protobuf.Duration`", "", "Recommended heartbeat interval to extend reservation" - "expires_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Expiration timestamp of this reservation" - "metadata", ":ref:`ref_datacatalog.Metadata`", "", "" - - - - - - - -.. _ref_datacatalog.ReservationID: - -ReservationID ------------------------------------------------------------------- - -ReservationID message that is composed of several string fields. - - - -.. csv-table:: ReservationID type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "dataset_id", ":ref:`ref_datacatalog.DatasetID`", "", "" - "tag_name", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_datacatalog.SinglePropertyFilter: - -SinglePropertyFilter ------------------------------------------------------------------- - -A single property to filter on. - - - -.. csv-table:: SinglePropertyFilter type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "tag_filter", ":ref:`ref_datacatalog.TagPropertyFilter`", "", "" - "partition_filter", ":ref:`ref_datacatalog.PartitionPropertyFilter`", "", "" - "artifact_filter", ":ref:`ref_datacatalog.ArtifactPropertyFilter`", "", "" - "dataset_filter", ":ref:`ref_datacatalog.DatasetPropertyFilter`", "", "" - "operator", ":ref:`ref_datacatalog.SinglePropertyFilter.ComparisonOperator`", "", "field 10 in case we add more entities to query" - - - - - - - -.. _ref_datacatalog.Tag: - -Tag ------------------------------------------------------------------- - -Tag message that is unique to a Dataset. It is associated to a single artifact and -can be retrieved by name later. - - - -.. csv-table:: Tag type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "name", ":ref:`ref_string`", "", "Name of tag" - "artifact_id", ":ref:`ref_string`", "", "The tagged artifact" - "dataset", ":ref:`ref_datacatalog.DatasetID`", "", "The Dataset that this tag belongs to" - - - - - - - -.. _ref_datacatalog.TagPropertyFilter: - -TagPropertyFilter ------------------------------------------------------------------- - -Tag properties we can filter by - - - -.. csv-table:: TagPropertyFilter type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "tag_name", ":ref:`ref_string`", "", "" - - - - - - -.. - end messages - - - -.. _ref_datacatalog.PaginationOptions.SortKey: - -PaginationOptions.SortKey ------------------------------------------------------------------- - - - -.. csv-table:: Enum PaginationOptions.SortKey values - :header: "Name", "Number", "Description" - :widths: auto - - "CREATION_TIME", "0", "" - - - -.. _ref_datacatalog.PaginationOptions.SortOrder: - -PaginationOptions.SortOrder ------------------------------------------------------------------- - - - -.. csv-table:: Enum PaginationOptions.SortOrder values - :header: "Name", "Number", "Description" - :widths: auto - - "DESCENDING", "0", "" - "ASCENDING", "1", "" - - - -.. _ref_datacatalog.SinglePropertyFilter.ComparisonOperator: - -SinglePropertyFilter.ComparisonOperator ------------------------------------------------------------------- - -as use-cases come up we can add more operators, ex: gte, like, not eq etc. - -.. csv-table:: Enum SinglePropertyFilter.ComparisonOperator values - :header: "Name", "Number", "Description" - :widths: auto - - "EQUALS", "0", "" - - -.. - end enums - - -.. - end HasExtensions - - - -.. _ref_datacatalog.DataCatalog: - -DataCatalog ------------------------------------------------------------------- - -Data Catalog service definition -Data Catalog is a service for indexing parameterized, strongly-typed data artifacts across revisions. -Artifacts are associated with a Dataset, and can be tagged for retrieval. - -.. csv-table:: DataCatalog service methods - :header: "Method Name", "Request Type", "Response Type", "Description" - :widths: auto - - "CreateDataset", ":ref:`ref_datacatalog.CreateDatasetRequest`", ":ref:`ref_datacatalog.CreateDatasetResponse`", "Create a new Dataset. Datasets are unique based on the DatasetID. Datasets are logical groupings of artifacts. Each dataset can have one or more artifacts" - "GetDataset", ":ref:`ref_datacatalog.GetDatasetRequest`", ":ref:`ref_datacatalog.GetDatasetResponse`", "Get a Dataset by the DatasetID. This returns the Dataset with the associated metadata." - "CreateArtifact", ":ref:`ref_datacatalog.CreateArtifactRequest`", ":ref:`ref_datacatalog.CreateArtifactResponse`", "Create an artifact and the artifact data associated with it. An artifact can be a hive partition or arbitrary files or data values" - "GetArtifact", ":ref:`ref_datacatalog.GetArtifactRequest`", ":ref:`ref_datacatalog.GetArtifactResponse`", "Retrieve an artifact by an identifying handle. This returns an artifact along with the artifact data." - "AddTag", ":ref:`ref_datacatalog.AddTagRequest`", ":ref:`ref_datacatalog.AddTagResponse`", "Associate a tag with an artifact. Tags are unique within a Dataset." - "ListArtifacts", ":ref:`ref_datacatalog.ListArtifactsRequest`", ":ref:`ref_datacatalog.ListArtifactsResponse`", "Return a paginated list of artifacts" - "ListDatasets", ":ref:`ref_datacatalog.ListDatasetsRequest`", ":ref:`ref_datacatalog.ListDatasetsResponse`", "Return a paginated list of datasets" - "GetOrExtendReservation", ":ref:`ref_datacatalog.GetOrExtendReservationRequest`", ":ref:`ref_datacatalog.GetOrExtendReservationResponse`", "Attempts to get or extend a reservation for the corresponding artifact. If one already exists (ie. another entity owns the reservation) then that reservation is retrieved. Once you acquire a reservation, you need to periodically extend the reservation with an identical call. If the reservation is not extended before the defined expiration, it may be acquired by another task. Note: We may have multiple concurrent tasks with the same signature and the same input that try to populate the same artifact at the same time. Thus with reservation, only one task can run at a time, until the reservation expires. Note: If task A does not extend the reservation in time and the reservation expires, another task B may take over the reservation, resulting in two tasks A and B running in parallel. So a third task C may get the Artifact from A or B, whichever writes last." - "ReleaseReservation", ":ref:`ref_datacatalog.ReleaseReservationRequest`", ":ref:`ref_datacatalog.ReleaseReservationResponse`", "Release the reservation when the task holding the spot fails so that the other tasks can grab the spot." - -.. - end services - - - - -.. _ref_google/protobuf/timestamp.proto: - -google/protobuf/timestamp.proto -================================================================== - - - - - -.. _ref_google.protobuf.Timestamp: - -Timestamp ------------------------------------------------------------------- - -A Timestamp represents a point in time independent of any time zone or local -calendar, encoded as a count of seconds and fractions of seconds at -nanosecond resolution. The count is relative to an epoch at UTC midnight on -January 1, 1970, in the proleptic Gregorian calendar which extends the -Gregorian calendar backwards to year one. - -All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap -second table is needed for interpretation, using a [24-hour linear -smear](https://developers.google.com/time/smear). - -The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By -restricting to that range, we ensure that we can convert to and from [RFC -3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - -# Examples - -Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - -Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - -Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - -Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - -Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - -Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - -# JSON Mapping - -In JSON format, the Timestamp type is encoded as a string in the -[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the -format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" -where {year} is always expressed using four digits while {month}, {day}, -{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional -seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), -are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone -is required. A proto3 JSON serializer should always use UTC (as indicated by -"Z") when printing the Timestamp type and a proto3 JSON parser should be -able to accept both UTC and other timezones (as indicated by an offset). - -For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past -01:30 UTC on January 15, 2017. - -In JavaScript, one can convert a Date object to this format using the -standard -[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) -method. In Python, a standard `datetime.datetime` object can be converted -to this format using -[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with -the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use -the Joda Time's [`ISODateTimeFormat.dateTime()`]( -http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D -) to obtain a formatter capable of generating timestamps in this format. - - - -.. csv-table:: Timestamp type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "seconds", ":ref:`ref_int64`", "", "Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive." - "nanos", ":ref:`ref_int32`", "", "Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_google/protobuf/duration.proto: - -google/protobuf/duration.proto -================================================================== - - - - - -.. _ref_google.protobuf.Duration: - -Duration ------------------------------------------------------------------- - -A Duration represents a signed, fixed-length span of time represented -as a count of seconds and fractions of seconds at nanosecond -resolution. It is independent of any calendar and concepts like "day" -or "month". It is related to Timestamp in that the difference between -two Timestamp values is a Duration and it can be added or subtracted -from a Timestamp. Range is approximately +-10,000 years. - -# Examples - -Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - -Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - -Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - -# JSON Mapping - -In JSON format, the Duration type is encoded as a string rather than an -object, where the string ends in the suffix "s" (indicating seconds) and -is preceded by the number of seconds, with nanoseconds expressed as -fractional seconds. For example, 3 seconds with 0 nanoseconds should be -encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should -be expressed in JSON format as "3.000000001s", and 3 seconds and 1 -microsecond should be expressed in JSON format as "3.000001s". - - - -.. csv-table:: Duration type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "seconds", ":ref:`ref_int64`", "", "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years" - "nanos", ":ref:`ref_int32`", "", "Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_google/protobuf/struct.proto: - -google/protobuf/struct.proto -================================================================== - - - - - -.. _ref_google.protobuf.ListValue: - -ListValue ------------------------------------------------------------------- - -`ListValue` is a wrapper around a repeated field of values. - -The JSON representation for `ListValue` is JSON array. - - - -.. csv-table:: ListValue type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "values", ":ref:`ref_google.protobuf.Value`", "repeated", "Repeated field of dynamically typed values." - - - - - - - -.. _ref_google.protobuf.Struct: - -Struct ------------------------------------------------------------------- - -`Struct` represents a structured data value, consisting of fields -which map to dynamically typed values. In some languages, `Struct` -might be supported by a native representation. For example, in -scripting languages like JS a struct is represented as an -object. The details of that representation are described together -with the proto support for the language. - -The JSON representation for `Struct` is JSON object. - - - -.. csv-table:: Struct type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "fields", ":ref:`ref_google.protobuf.Struct.FieldsEntry`", "repeated", "Unordered map of dynamically typed values." - - - - - - - -.. _ref_google.protobuf.Struct.FieldsEntry: - -Struct.FieldsEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: Struct.FieldsEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_google.protobuf.Value`", "", "" - - - - - - - -.. _ref_google.protobuf.Value: - -Value ------------------------------------------------------------------- - -`Value` represents a dynamically typed value which can be either -null, a number, a string, a boolean, a recursive struct value, or a -list of values. A producer of value is expected to set one of these -variants. Absence of any variant indicates an error. - -The JSON representation for `Value` is JSON value. - - - -.. csv-table:: Value type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "null_value", ":ref:`ref_google.protobuf.NullValue`", "", "Represents a null value." - "number_value", ":ref:`ref_double`", "", "Represents a double value." - "string_value", ":ref:`ref_string`", "", "Represents a string value." - "bool_value", ":ref:`ref_bool`", "", "Represents a boolean value." - "struct_value", ":ref:`ref_google.protobuf.Struct`", "", "Represents a structured value." - "list_value", ":ref:`ref_google.protobuf.ListValue`", "", "Represents a repeated `Value`." - - - - - - -.. - end messages - - - -.. _ref_google.protobuf.NullValue: - -NullValue ------------------------------------------------------------------- - -`NullValue` is a singleton enumeration to represent the null value for the -`Value` type union. - - The JSON representation for `NullValue` is JSON `null`. - -.. csv-table:: Enum NullValue values - :header: "Name", "Number", "Description" - :widths: auto - - "NULL_VALUE", "0", "Null value." - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - diff --git a/protos/docs/event/event.rst b/protos/docs/event/event.rst deleted file mode 100644 index 0b253e8b6..000000000 --- a/protos/docs/event/event.rst +++ /dev/null @@ -1,727 +0,0 @@ -###################### -Protocol Documentation -###################### - - - - -.. _ref_flyteidl/event/event.proto: - -flyteidl/event/event.proto -================================================================== - - - - - -.. _ref_flyteidl.event.DynamicWorkflowNodeMetadata: - -DynamicWorkflowNodeMetadata ------------------------------------------------------------------- - -For dynamic workflow nodes we send information about the dynamic workflow definition that gets generated. - - - -.. csv-table:: DynamicWorkflowNodeMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the workflow." - "compiled_workflow", ":ref:`ref_flyteidl.core.CompiledWorkflowClosure`", "", "Represents the compiled representation of the embedded dynamic workflow." - - - - - - - -.. _ref_flyteidl.event.ExternalResourceInfo: - -ExternalResourceInfo ------------------------------------------------------------------- - -This message contains metadata about external resources produced or used by a specific task execution. - - - -.. csv-table:: ExternalResourceInfo type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "external_id", ":ref:`ref_string`", "", "Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids." - "index", ":ref:`ref_uint32`", "", "A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports." - "retry_attempt", ":ref:`ref_uint32`", "", "Retry attempt number for this external resource, ie., 2 for the second attempt" - "phase", ":ref:`ref_flyteidl.core.TaskExecution.Phase`", "", "Phase associated with the external resource" - "cache_status", ":ref:`ref_flyteidl.core.CatalogCacheStatus`", "", "Captures the status of caching for this external resource execution." - "logs", ":ref:`ref_flyteidl.core.TaskLog`", "repeated", "log information for the external resource execution" - - - - - - - -.. _ref_flyteidl.event.NodeExecutionEvent: - -NodeExecutionEvent ------------------------------------------------------------------- - - - - - -.. csv-table:: NodeExecutionEvent type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Unique identifier for this node execution" - "producer_id", ":ref:`ref_string`", "", "the id of the originator (Propeller) of the event" - "phase", ":ref:`ref_flyteidl.core.NodeExecution.Phase`", "", "" - "occurred_at", ":ref:`ref_google.protobuf.Timestamp`", "", "This timestamp represents when the original event occurred, it is generated by the executor of the node." - "input_uri", ":ref:`ref_string`", "", "" - "output_uri", ":ref:`ref_string`", "", "URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://..." - "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information for the execution" - "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Raw output data produced by this node execution." - "workflow_node_metadata", ":ref:`ref_flyteidl.event.WorkflowNodeMetadata`", "", "" - "task_node_metadata", ":ref:`ref_flyteidl.event.TaskNodeMetadata`", "", "" - "parent_task_metadata", ":ref:`ref_flyteidl.event.ParentTaskExecutionMetadata`", "", "[To be deprecated] Specifies which task (if any) launched this node." - "parent_node_metadata", ":ref:`ref_flyteidl.event.ParentNodeExecutionMetadata`", "", "Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node." - "retry_group", ":ref:`ref_string`", "", "Retry group to indicate grouping of nodes by retries" - "spec_node_id", ":ref:`ref_string`", "", "Identifier of the node in the original workflow/graph This maps to value of WorkflowTemplate.nodes[X].id" - "node_name", ":ref:`ref_string`", "", "Friendly readable name for the node" - "event_version", ":ref:`ref_int32`", "", "" - "is_parent", ":ref:`ref_bool`", "", "Whether this node launched a subworkflow." - "is_dynamic", ":ref:`ref_bool`", "", "Whether this node yielded a dynamic workflow." - "deck_uri", ":ref:`ref_string`", "", "String location uniquely identifying where the deck HTML file is NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" - - - - - - - -.. _ref_flyteidl.event.ParentNodeExecutionMetadata: - -ParentNodeExecutionMetadata ------------------------------------------------------------------- - - - - - -.. csv-table:: ParentNodeExecutionMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "node_id", ":ref:`ref_string`", "", "Unique identifier of the parent node id within the execution This is value of core.NodeExecutionIdentifier.node_id of the parent node" - - - - - - - -.. _ref_flyteidl.event.ParentTaskExecutionMetadata: - -ParentTaskExecutionMetadata ------------------------------------------------------------------- - - - - - -.. csv-table:: ParentTaskExecutionMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "" - - - - - - - -.. _ref_flyteidl.event.ResourcePoolInfo: - -ResourcePoolInfo ------------------------------------------------------------------- - -This message holds task execution metadata specific to resource allocation used to manage concurrent -executions for a project namespace. - - - -.. csv-table:: ResourcePoolInfo type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "allocation_token", ":ref:`ref_string`", "", "Unique resource ID used to identify this execution when allocating a token." - "namespace", ":ref:`ref_string`", "", "Namespace under which this task execution requested an allocation token." - - - - - - - -.. _ref_flyteidl.event.TaskExecutionEvent: - -TaskExecutionEvent ------------------------------------------------------------------- - -Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob. - - - -.. csv-table:: TaskExecutionEvent type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "task_id", ":ref:`ref_flyteidl.core.Identifier`", "", "ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution." - "parent_node_execution_id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "A task execution is always kicked off by a node execution, the event consumer will use the parent_id to relate the task to it's parent node execution" - "retry_attempt", ":ref:`ref_uint32`", "", "retry attempt number for this task, ie., 2 for the second attempt" - "phase", ":ref:`ref_flyteidl.core.TaskExecution.Phase`", "", "Phase associated with the event" - "producer_id", ":ref:`ref_string`", "", "id of the process that sent this event, mainly for trace debugging" - "logs", ":ref:`ref_flyteidl.core.TaskLog`", "repeated", "log information for the task execution" - "occurred_at", ":ref:`ref_google.protobuf.Timestamp`", "", "This timestamp represents when the original event occurred, it is generated by the executor of the task." - "input_uri", ":ref:`ref_string`", "", "URI of the input file, it encodes all the information including Cloud source provider. ie., s3://..." - "output_uri", ":ref:`ref_string`", "", "URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://..." - "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information for the execution" - "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Raw output data produced by this task execution." - "custom_info", ":ref:`ref_google.protobuf.Struct`", "", "Custom data that the task plugin sends back. This is extensible to allow various plugins in the system." - "phase_version", ":ref:`ref_uint32`", "", "Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) that should be recorded regardless of the lack of phase change. The version field should be incremented when metadata changes across the duration of an individual phase." - "reason", ":ref:`ref_string`", "", "An optional explanation for the phase transition." - "task_type", ":ref:`ref_string`", "", "A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin this type will be identical, but not all task executions necessarily use pre-registered definitions and this type is useful to render the task in the UI, filter task executions, etc." - "metadata", ":ref:`ref_flyteidl.event.TaskExecutionMetadata`", "", "Metadata around how a task was executed." - "event_version", ":ref:`ref_int32`", "", "The event version is used to indicate versioned changes in how data is reported using this proto message. For example, event_verison > 0 means that maps tasks report logs using the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message." - - - - - - - -.. _ref_flyteidl.event.TaskExecutionMetadata: - -TaskExecutionMetadata ------------------------------------------------------------------- - -Holds metadata around how a task was executed. -As a task transitions across event phases during execution some attributes, such its generated name, generated external resources, -and more may grow in size but not change necessarily based on the phase transition that sparked the event update. -Metadata is a container for these attributes across the task execution lifecycle. - - - -.. csv-table:: TaskExecutionMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "generated_name", ":ref:`ref_string`", "", "Unique, generated name for this task execution used by the backend." - "external_resources", ":ref:`ref_flyteidl.event.ExternalResourceInfo`", "repeated", "Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution." - "resource_pool_info", ":ref:`ref_flyteidl.event.ResourcePoolInfo`", "repeated", "Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution." - "plugin_identifier", ":ref:`ref_string`", "", "The identifier of the plugin used to execute this task." - "instance_class", ":ref:`ref_flyteidl.event.TaskExecutionMetadata.InstanceClass`", "", "" - - - - - - - -.. _ref_flyteidl.event.TaskNodeMetadata: - -TaskNodeMetadata ------------------------------------------------------------------- - - - - - -.. csv-table:: TaskNodeMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "cache_status", ":ref:`ref_flyteidl.core.CatalogCacheStatus`", "", "Captures the status of caching for this execution." - "catalog_key", ":ref:`ref_flyteidl.core.CatalogMetadata`", "", "This structure carries the catalog artifact information" - "reservation_status", ":ref:`ref_flyteidl.core.CatalogReservation.Status`", "", "Captures the status of cache reservations for this execution." - "dynamic_workflow", ":ref:`ref_flyteidl.event.DynamicWorkflowNodeMetadata`", "", "In the case this task launched a dynamic workflow we capture its structure here." - - - - - - - -.. _ref_flyteidl.event.WorkflowExecutionEvent: - -WorkflowExecutionEvent ------------------------------------------------------------------- - - - - - -.. csv-table:: WorkflowExecutionEvent type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "execution_id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Workflow execution id" - "producer_id", ":ref:`ref_string`", "", "the id of the originator (Propeller) of the event" - "phase", ":ref:`ref_flyteidl.core.WorkflowExecution.Phase`", "", "" - "occurred_at", ":ref:`ref_google.protobuf.Timestamp`", "", "This timestamp represents when the original event occurred, it is generated by the executor of the workflow." - "output_uri", ":ref:`ref_string`", "", "URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://..." - "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information for the execution" - "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Raw output data produced by this workflow execution." - - - - - - - -.. _ref_flyteidl.event.WorkflowNodeMetadata: - -WorkflowNodeMetadata ------------------------------------------------------------------- - -For Workflow Nodes we need to send information about the workflow that's launched - - - -.. csv-table:: WorkflowNodeMetadata type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "execution_id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "" - - - - - - -.. - end messages - - - -.. _ref_flyteidl.event.TaskExecutionMetadata.InstanceClass: - -TaskExecutionMetadata.InstanceClass ------------------------------------------------------------------- - -Includes the broad category of machine used for this specific task execution. - -.. csv-table:: Enum TaskExecutionMetadata.InstanceClass values - :header: "Name", "Number", "Description" - :widths: auto - - "DEFAULT", "0", "The default instance class configured for the flyte application platform." - "INTERRUPTIBLE", "1", "The instance class configured for interruptible tasks." - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_google/protobuf/timestamp.proto: - -google/protobuf/timestamp.proto -================================================================== - - - - - -.. _ref_google.protobuf.Timestamp: - -Timestamp ------------------------------------------------------------------- - -A Timestamp represents a point in time independent of any time zone or local -calendar, encoded as a count of seconds and fractions of seconds at -nanosecond resolution. The count is relative to an epoch at UTC midnight on -January 1, 1970, in the proleptic Gregorian calendar which extends the -Gregorian calendar backwards to year one. - -All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap -second table is needed for interpretation, using a [24-hour linear -smear](https://developers.google.com/time/smear). - -The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By -restricting to that range, we ensure that we can convert to and from [RFC -3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - -# Examples - -Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - -Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - -Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - -Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - -Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - -Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - -# JSON Mapping - -In JSON format, the Timestamp type is encoded as a string in the -[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the -format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" -where {year} is always expressed using four digits while {month}, {day}, -{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional -seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), -are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone -is required. A proto3 JSON serializer should always use UTC (as indicated by -"Z") when printing the Timestamp type and a proto3 JSON parser should be -able to accept both UTC and other timezones (as indicated by an offset). - -For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past -01:30 UTC on January 15, 2017. - -In JavaScript, one can convert a Date object to this format using the -standard -[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) -method. In Python, a standard `datetime.datetime` object can be converted -to this format using -[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with -the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use -the Joda Time's [`ISODateTimeFormat.dateTime()`]( -http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D -) to obtain a formatter capable of generating timestamps in this format. - - - -.. csv-table:: Timestamp type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "seconds", ":ref:`ref_int64`", "", "Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive." - "nanos", ":ref:`ref_int32`", "", "Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_google/protobuf/duration.proto: - -google/protobuf/duration.proto -================================================================== - - - - - -.. _ref_google.protobuf.Duration: - -Duration ------------------------------------------------------------------- - -A Duration represents a signed, fixed-length span of time represented -as a count of seconds and fractions of seconds at nanosecond -resolution. It is independent of any calendar and concepts like "day" -or "month". It is related to Timestamp in that the difference between -two Timestamp values is a Duration and it can be added or subtracted -from a Timestamp. Range is approximately +-10,000 years. - -# Examples - -Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - -Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - -Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - -# JSON Mapping - -In JSON format, the Duration type is encoded as a string rather than an -object, where the string ends in the suffix "s" (indicating seconds) and -is preceded by the number of seconds, with nanoseconds expressed as -fractional seconds. For example, 3 seconds with 0 nanoseconds should be -encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should -be expressed in JSON format as "3.000000001s", and 3 seconds and 1 -microsecond should be expressed in JSON format as "3.000001s". - - - -.. csv-table:: Duration type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "seconds", ":ref:`ref_int64`", "", "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years" - "nanos", ":ref:`ref_int32`", "", "Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_google/protobuf/struct.proto: - -google/protobuf/struct.proto -================================================================== - - - - - -.. _ref_google.protobuf.ListValue: - -ListValue ------------------------------------------------------------------- - -`ListValue` is a wrapper around a repeated field of values. - -The JSON representation for `ListValue` is JSON array. - - - -.. csv-table:: ListValue type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "values", ":ref:`ref_google.protobuf.Value`", "repeated", "Repeated field of dynamically typed values." - - - - - - - -.. _ref_google.protobuf.Struct: - -Struct ------------------------------------------------------------------- - -`Struct` represents a structured data value, consisting of fields -which map to dynamically typed values. In some languages, `Struct` -might be supported by a native representation. For example, in -scripting languages like JS a struct is represented as an -object. The details of that representation are described together -with the proto support for the language. - -The JSON representation for `Struct` is JSON object. - - - -.. csv-table:: Struct type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "fields", ":ref:`ref_google.protobuf.Struct.FieldsEntry`", "repeated", "Unordered map of dynamically typed values." - - - - - - - -.. _ref_google.protobuf.Struct.FieldsEntry: - -Struct.FieldsEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: Struct.FieldsEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_google.protobuf.Value`", "", "" - - - - - - - -.. _ref_google.protobuf.Value: - -Value ------------------------------------------------------------------- - -`Value` represents a dynamically typed value which can be either -null, a number, a string, a boolean, a recursive struct value, or a -list of values. A producer of value is expected to set one of these -variants. Absence of any variant indicates an error. - -The JSON representation for `Value` is JSON value. - - - -.. csv-table:: Value type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "null_value", ":ref:`ref_google.protobuf.NullValue`", "", "Represents a null value." - "number_value", ":ref:`ref_double`", "", "Represents a double value." - "string_value", ":ref:`ref_string`", "", "Represents a string value." - "bool_value", ":ref:`ref_bool`", "", "Represents a boolean value." - "struct_value", ":ref:`ref_google.protobuf.Struct`", "", "Represents a structured value." - "list_value", ":ref:`ref_google.protobuf.ListValue`", "", "Represents a repeated `Value`." - - - - - - -.. - end messages - - - -.. _ref_google.protobuf.NullValue: - -NullValue ------------------------------------------------------------------- - -`NullValue` is a singleton enumeration to represent the null value for the -`Value` type union. - - The JSON representation for `NullValue` is JSON `null`. - -.. csv-table:: Enum NullValue values - :header: "Name", "Number", "Description" - :widths: auto - - "NULL_VALUE", "0", "Null value." - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - diff --git a/protos/docs/plugins/plugins.rst b/protos/docs/plugins/plugins.rst deleted file mode 100644 index 074c3573f..000000000 --- a/protos/docs/plugins/plugins.rst +++ /dev/null @@ -1,685 +0,0 @@ -###################### -Protocol Documentation -###################### - - - - -.. _ref_flyteidl/plugins/array_job.proto: - -flyteidl/plugins/array_job.proto -================================================================== - - - - - -.. _ref_flyteidl.plugins.ArrayJob: - -ArrayJob ------------------------------------------------------------------- - -Describes a job that can process independent pieces of data concurrently. Multiple copies of the runnable component -will be executed concurrently. - - - -.. csv-table:: ArrayJob type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "parallelism", ":ref:`ref_int64`", "", "Defines the minimum number of instances to bring up concurrently at any given point. Note that this is an optimistic restriction and that, due to network partitioning or other failures, the actual number of currently running instances might be more. This has to be a positive number if assigned. Default value is size." - "size", ":ref:`ref_int64`", "", "Defines the number of instances to launch at most. This number should match the size of the input if the job requires processing of all input data. This has to be a positive number. In the case this is not defined, the back-end will determine the size at run-time by reading the inputs." - "min_successes", ":ref:`ref_int64`", "", "An absolute number of the minimum number of successful completions of subtasks. As soon as this criteria is met, the array job will be marked as successful and outputs will be computed. This has to be a non-negative number if assigned. Default value is size (if specified)." - "min_success_ratio", ":ref:`ref_float`", "", "If the array job size is not known beforehand, the min_success_ratio can instead be used to determine when an array job can be marked successful." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/plugins/mpi.proto: - -flyteidl/plugins/mpi.proto -================================================================== - - - - - -.. _ref_flyteidl.plugins.DistributedMPITrainingTask: - -DistributedMPITrainingTask ------------------------------------------------------------------- - -MPI operator proposal https://github.com/kubeflow/community/blob/master/proposals/mpi-operator-proposal.md -Custom proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator - - - -.. csv-table:: DistributedMPITrainingTask type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "num_workers", ":ref:`ref_int32`", "", "number of worker spawned in the cluster for this job" - "num_launcher_replicas", ":ref:`ref_int32`", "", "number of launcher replicas spawned in the cluster for this job The launcher pod invokes mpirun and communicates with worker pods through MPI." - "slots", ":ref:`ref_int32`", "", "number of slots per worker used in hostfile. The available slots (GPUs) in each pod." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/plugins/presto.proto: - -flyteidl/plugins/presto.proto -================================================================== - - - - - -.. _ref_flyteidl.plugins.PrestoQuery: - -PrestoQuery ------------------------------------------------------------------- - -This message works with the 'presto' task type in the SDK and is the object that will be in the 'custom' field -of a Presto task's TaskTemplate - - - -.. csv-table:: PrestoQuery type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "routing_group", ":ref:`ref_string`", "", "" - "catalog", ":ref:`ref_string`", "", "" - "schema", ":ref:`ref_string`", "", "" - "statement", ":ref:`ref_string`", "", "" - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/plugins/pytorch.proto: - -flyteidl/plugins/pytorch.proto -================================================================== - - - - - -.. _ref_flyteidl.plugins.DistributedPyTorchTrainingTask: - -DistributedPyTorchTrainingTask ------------------------------------------------------------------- - -Custom proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator - - - -.. csv-table:: DistributedPyTorchTrainingTask type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "workers", ":ref:`ref_int32`", "", "number of worker replicas spawned in the cluster for this job" - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/plugins/qubole.proto: - -flyteidl/plugins/qubole.proto -================================================================== - - - - - -.. _ref_flyteidl.plugins.HiveQuery: - -HiveQuery ------------------------------------------------------------------- - -Defines a query to execute on a hive cluster. - - - -.. csv-table:: HiveQuery type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "query", ":ref:`ref_string`", "", "" - "timeout_sec", ":ref:`ref_uint32`", "", "" - "retryCount", ":ref:`ref_uint32`", "", "" - - - - - - - -.. _ref_flyteidl.plugins.HiveQueryCollection: - -HiveQueryCollection ------------------------------------------------------------------- - -Defines a collection of hive queries. - - - -.. csv-table:: HiveQueryCollection type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "queries", ":ref:`ref_flyteidl.plugins.HiveQuery`", "repeated", "" - - - - - - - -.. _ref_flyteidl.plugins.QuboleHiveJob: - -QuboleHiveJob ------------------------------------------------------------------- - -This message works with the 'hive' task type in the SDK and is the object that will be in the 'custom' field -of a hive task's TaskTemplate - - - -.. csv-table:: QuboleHiveJob type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "cluster_label", ":ref:`ref_string`", "", "" - "query_collection", ":ref:`ref_flyteidl.plugins.HiveQueryCollection`", "", "**Deprecated.** " - "tags", ":ref:`ref_string`", "repeated", "" - "query", ":ref:`ref_flyteidl.plugins.HiveQuery`", "", "" - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/plugins/ray.proto: - -flyteidl/plugins/ray.proto -================================================================== - - - - - -.. _ref_flyteidl.plugins.HeadGroupSpec: - -HeadGroupSpec ------------------------------------------------------------------- - -HeadGroupSpec are the spec for the head pod - - - -.. csv-table:: HeadGroupSpec type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "ray_start_params", ":ref:`ref_flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry`", "repeated", "Optional. RayStartParams are the params of the start command: address, object-store-memory. Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start" - - - - - - - -.. _ref_flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry: - -HeadGroupSpec.RayStartParamsEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: HeadGroupSpec.RayStartParamsEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_flyteidl.plugins.RayCluster: - -RayCluster ------------------------------------------------------------------- - -Define Ray cluster defines the desired state of RayCluster - - - -.. csv-table:: RayCluster type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "head_group_spec", ":ref:`ref_flyteidl.plugins.HeadGroupSpec`", "", "HeadGroupSpecs are the spec for the head pod" - "worker_group_spec", ":ref:`ref_flyteidl.plugins.WorkerGroupSpec`", "repeated", "WorkerGroupSpecs are the specs for the worker pods" - - - - - - - -.. _ref_flyteidl.plugins.RayJob: - -RayJob ------------------------------------------------------------------- - -RayJobSpec defines the desired state of RayJob - - - -.. csv-table:: RayJob type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "ray_cluster", ":ref:`ref_flyteidl.plugins.RayCluster`", "", "RayClusterSpec is the cluster template to run the job" - "runtime_env", ":ref:`ref_string`", "", "runtime_env is base64 encoded. Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments" - - - - - - - -.. _ref_flyteidl.plugins.WorkerGroupSpec: - -WorkerGroupSpec ------------------------------------------------------------------- - -WorkerGroupSpec are the specs for the worker pods - - - -.. csv-table:: WorkerGroupSpec type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "group_name", ":ref:`ref_string`", "", "Required. RayCluster can have multiple worker groups, and it distinguishes them by name" - "replicas", ":ref:`ref_int32`", "", "Required. Desired replicas of the worker group. Defaults to 1." - "min_replicas", ":ref:`ref_int32`", "", "Optional. Min replicas of the worker group. MinReplicas defaults to 1." - "max_replicas", ":ref:`ref_int32`", "", "Optional. Max replicas of the worker group. MaxReplicas defaults to maxInt32" - "ray_start_params", ":ref:`ref_flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry`", "repeated", "Optional. RayStartParams are the params of the start command: address, object-store-memory. Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start" - - - - - - - -.. _ref_flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry: - -WorkerGroupSpec.RayStartParamsEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: WorkerGroupSpec.RayStartParamsEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_string`", "", "" - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/plugins/spark.proto: - -flyteidl/plugins/spark.proto -================================================================== - - - - - -.. _ref_flyteidl.plugins.SparkApplication: - -SparkApplication ------------------------------------------------------------------- - - - - - - - - - - -.. _ref_flyteidl.plugins.SparkJob: - -SparkJob ------------------------------------------------------------------- - -Custom Proto for Spark Plugin. - - - -.. csv-table:: SparkJob type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "applicationType", ":ref:`ref_flyteidl.plugins.SparkApplication.Type`", "", "" - "mainApplicationFile", ":ref:`ref_string`", "", "" - "mainClass", ":ref:`ref_string`", "", "" - "sparkConf", ":ref:`ref_flyteidl.plugins.SparkJob.SparkConfEntry`", "repeated", "" - "hadoopConf", ":ref:`ref_flyteidl.plugins.SparkJob.HadoopConfEntry`", "repeated", "" - "executorPath", ":ref:`ref_string`", "", "Executor path for Python jobs." - - - - - - - -.. _ref_flyteidl.plugins.SparkJob.HadoopConfEntry: - -SparkJob.HadoopConfEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: SparkJob.HadoopConfEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_string`", "", "" - - - - - - - -.. _ref_flyteidl.plugins.SparkJob.SparkConfEntry: - -SparkJob.SparkConfEntry ------------------------------------------------------------------- - - - - - -.. csv-table:: SparkJob.SparkConfEntry type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "key", ":ref:`ref_string`", "", "" - "value", ":ref:`ref_string`", "", "" - - - - - - -.. - end messages - - - -.. _ref_flyteidl.plugins.SparkApplication.Type: - -SparkApplication.Type ------------------------------------------------------------------- - - - -.. csv-table:: Enum SparkApplication.Type values - :header: "Name", "Number", "Description" - :widths: auto - - "PYTHON", "0", "" - "JAVA", "1", "" - "SCALA", "2", "" - "R", "3", "" - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/plugins/tensorflow.proto: - -flyteidl/plugins/tensorflow.proto -================================================================== - - - - - -.. _ref_flyteidl.plugins.DistributedTensorflowTrainingTask: - -DistributedTensorflowTrainingTask ------------------------------------------------------------------- - -Custom proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator - - - -.. csv-table:: DistributedTensorflowTrainingTask type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "workers", ":ref:`ref_int32`", "", "number of worker, ps, chief replicas spawned in the cluster for this job" - "ps_replicas", ":ref:`ref_int32`", "", "PS -> Parameter server" - "chief_replicas", ":ref:`ref_int32`", "", "" - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - - - -.. _ref_flyteidl/plugins/waitable.proto: - -flyteidl/plugins/waitable.proto -================================================================== - - - - - -.. _ref_flyteidl.plugins.Waitable: - -Waitable ------------------------------------------------------------------- - -Represents an Execution that was launched and could be waited on. - - - -.. csv-table:: Waitable type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "wf_exec_id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "" - "phase", ":ref:`ref_flyteidl.core.WorkflowExecution.Phase`", "", "" - "workflow_id", ":ref:`ref_string`", "", "" - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - -.. - end services - - diff --git a/protos/docs/service/service.rst b/protos/docs/service/service.rst deleted file mode 100644 index bd36c2f67..000000000 --- a/protos/docs/service/service.rst +++ /dev/null @@ -1,433 +0,0 @@ -###################### -Protocol Documentation -###################### - - - - -.. _ref_flyteidl/service/admin.proto: - -flyteidl/service/admin.proto -================================================================== - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - - -.. _ref_flyteidl.service.AdminService: - -AdminService ------------------------------------------------------------------- - -The following defines an RPC service that is also served over HTTP via grpc-gateway. -Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go - -.. csv-table:: AdminService service methods - :header: "Method Name", "Request Type", "Response Type", "Description" - :widths: auto - - "CreateTask", ":ref:`ref_flyteidl.admin.TaskCreateRequest`", ":ref:`ref_flyteidl.admin.TaskCreateResponse`", "Create and upload a :ref:`ref_flyteidl.admin.Task` definition" - "GetTask", ":ref:`ref_flyteidl.admin.ObjectGetRequest`", ":ref:`ref_flyteidl.admin.Task`", "Fetch a :ref:`ref_flyteidl.admin.Task` definition." - "ListTaskIds", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierList`", "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects." - "ListTasks", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.TaskList`", "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions." - "CreateWorkflow", ":ref:`ref_flyteidl.admin.WorkflowCreateRequest`", ":ref:`ref_flyteidl.admin.WorkflowCreateResponse`", "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition" - "GetWorkflow", ":ref:`ref_flyteidl.admin.ObjectGetRequest`", ":ref:`ref_flyteidl.admin.Workflow`", "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition." - "ListWorkflowIds", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierList`", "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects." - "ListWorkflows", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.WorkflowList`", "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions." - "CreateLaunchPlan", ":ref:`ref_flyteidl.admin.LaunchPlanCreateRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanCreateResponse`", "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition" - "GetLaunchPlan", ":ref:`ref_flyteidl.admin.ObjectGetRequest`", ":ref:`ref_flyteidl.admin.LaunchPlan`", "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition." - "GetActiveLaunchPlan", ":ref:`ref_flyteidl.admin.ActiveLaunchPlanRequest`", ":ref:`ref_flyteidl.admin.LaunchPlan`", "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`." - "ListActiveLaunchPlans", ":ref:`ref_flyteidl.admin.ActiveLaunchPlanListRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanList`", "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`." - "ListLaunchPlanIds", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierList`", "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects." - "ListLaunchPlans", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanList`", "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions." - "UpdateLaunchPlan", ":ref:`ref_flyteidl.admin.LaunchPlanUpdateRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanUpdateResponse`", "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`." - "CreateExecution", ":ref:`ref_flyteidl.admin.ExecutionCreateRequest`", ":ref:`ref_flyteidl.admin.ExecutionCreateResponse`", "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`" - "RelaunchExecution", ":ref:`ref_flyteidl.admin.ExecutionRelaunchRequest`", ":ref:`ref_flyteidl.admin.ExecutionCreateResponse`", "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`" - "RecoverExecution", ":ref:`ref_flyteidl.admin.ExecutionRecoverRequest`", ":ref:`ref_flyteidl.admin.ExecutionCreateResponse`", "Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details." - "GetExecution", ":ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest`", ":ref:`ref_flyteidl.admin.Execution`", "Fetches a :ref:`ref_flyteidl.admin.Execution`." - "UpdateExecution", ":ref:`ref_flyteidl.admin.ExecutionUpdateRequest`", ":ref:`ref_flyteidl.admin.ExecutionUpdateResponse`", "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`." - "GetExecutionData", ":ref:`ref_flyteidl.admin.WorkflowExecutionGetDataRequest`", ":ref:`ref_flyteidl.admin.WorkflowExecutionGetDataResponse`", "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`." - "ListExecutions", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.ExecutionList`", "Fetch a list of :ref:`ref_flyteidl.admin.Execution`." - "TerminateExecution", ":ref:`ref_flyteidl.admin.ExecutionTerminateRequest`", ":ref:`ref_flyteidl.admin.ExecutionTerminateResponse`", "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`." - "GetNodeExecution", ":ref:`ref_flyteidl.admin.NodeExecutionGetRequest`", ":ref:`ref_flyteidl.admin.NodeExecution`", "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`." - "ListNodeExecutions", ":ref:`ref_flyteidl.admin.NodeExecutionListRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionList`", "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`." - "ListNodeExecutionsForTask", ":ref:`ref_flyteidl.admin.NodeExecutionForTaskListRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionList`", "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`." - "GetNodeExecutionData", ":ref:`ref_flyteidl.admin.NodeExecutionGetDataRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionGetDataResponse`", "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`." - "RegisterProject", ":ref:`ref_flyteidl.admin.ProjectRegisterRequest`", ":ref:`ref_flyteidl.admin.ProjectRegisterResponse`", "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment." - "UpdateProject", ":ref:`ref_flyteidl.admin.Project`", ":ref:`ref_flyteidl.admin.ProjectUpdateResponse`", "Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API." - "ListProjects", ":ref:`ref_flyteidl.admin.ProjectListRequest`", ":ref:`ref_flyteidl.admin.Projects`", "Fetches a list of :ref:`ref_flyteidl.admin.Project`" - "CreateWorkflowEvent", ":ref:`ref_flyteidl.admin.WorkflowExecutionEventRequest`", ":ref:`ref_flyteidl.admin.WorkflowExecutionEventResponse`", "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred." - "CreateNodeEvent", ":ref:`ref_flyteidl.admin.NodeExecutionEventRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionEventResponse`", "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred." - "CreateTaskEvent", ":ref:`ref_flyteidl.admin.TaskExecutionEventRequest`", ":ref:`ref_flyteidl.admin.TaskExecutionEventResponse`", "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred." - "GetTaskExecution", ":ref:`ref_flyteidl.admin.TaskExecutionGetRequest`", ":ref:`ref_flyteidl.admin.TaskExecution`", "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`." - "ListTaskExecutions", ":ref:`ref_flyteidl.admin.TaskExecutionListRequest`", ":ref:`ref_flyteidl.admin.TaskExecutionList`", "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`." - "GetTaskExecutionData", ":ref:`ref_flyteidl.admin.TaskExecutionGetDataRequest`", ":ref:`ref_flyteidl.admin.TaskExecutionGetDataResponse`", "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`." - "UpdateProjectDomainAttributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesUpdateRequest`", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesUpdateResponse`", "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain." - "GetProjectDomainAttributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesGetRequest`", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesGetResponse`", "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain." - "DeleteProjectDomainAttributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesDeleteRequest`", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesDeleteResponse`", "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain." - "UpdateWorkflowAttributes", ":ref:`ref_flyteidl.admin.WorkflowAttributesUpdateRequest`", ":ref:`ref_flyteidl.admin.WorkflowAttributesUpdateResponse`", "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow." - "GetWorkflowAttributes", ":ref:`ref_flyteidl.admin.WorkflowAttributesGetRequest`", ":ref:`ref_flyteidl.admin.WorkflowAttributesGetResponse`", "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow." - "DeleteWorkflowAttributes", ":ref:`ref_flyteidl.admin.WorkflowAttributesDeleteRequest`", ":ref:`ref_flyteidl.admin.WorkflowAttributesDeleteResponse`", "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow." - "ListMatchableAttributes", ":ref:`ref_flyteidl.admin.ListMatchableAttributesRequest`", ":ref:`ref_flyteidl.admin.ListMatchableAttributesResponse`", "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type." - "ListNamedEntities", ":ref:`ref_flyteidl.admin.NamedEntityListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityList`", "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects." - "GetNamedEntity", ":ref:`ref_flyteidl.admin.NamedEntityGetRequest`", ":ref:`ref_flyteidl.admin.NamedEntity`", "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object." - "UpdateNamedEntity", ":ref:`ref_flyteidl.admin.NamedEntityUpdateRequest`", ":ref:`ref_flyteidl.admin.NamedEntityUpdateResponse`", "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object." - "GetVersion", ":ref:`ref_flyteidl.admin.GetVersionRequest`", ":ref:`ref_flyteidl.admin.GetVersionResponse`", "" - -.. - end services - - - - -.. _ref_flyteidl/service/auth.proto: - -flyteidl/service/auth.proto -================================================================== - - - - - -.. _ref_flyteidl.service.OAuth2MetadataRequest: - -OAuth2MetadataRequest ------------------------------------------------------------------- - - - - - - - - - - -.. _ref_flyteidl.service.OAuth2MetadataResponse: - -OAuth2MetadataResponse ------------------------------------------------------------------- - -OAuth2MetadataResponse defines an RFC-Compliant response for /.well-known/oauth-authorization-server metadata -as defined in https://tools.ietf.org/html/rfc8414 - - - -.. csv-table:: OAuth2MetadataResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "issuer", ":ref:`ref_string`", "", "Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external issuer." - "authorization_endpoint", ":ref:`ref_string`", "", "URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are supported that use the authorization endpoint." - "token_endpoint", ":ref:`ref_string`", "", "URL of the authorization server's token endpoint [RFC6749]." - "response_types_supported", ":ref:`ref_string`", "repeated", "Array containing a list of the OAuth 2.0 response_type values that this authorization server supports." - "scopes_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports." - "token_endpoint_auth_methods_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of client authentication methods supported by this token endpoint." - "jwks_uri", ":ref:`ref_string`", "", "URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the client uses to validate signatures from the authorization server." - "code_challenge_methods_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server." - "grant_types_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports." - "device_authorization_endpoint", ":ref:`ref_string`", "", "URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]" - - - - - - - -.. _ref_flyteidl.service.PublicClientAuthConfigRequest: - -PublicClientAuthConfigRequest ------------------------------------------------------------------- - - - - - - - - - - -.. _ref_flyteidl.service.PublicClientAuthConfigResponse: - -PublicClientAuthConfigResponse ------------------------------------------------------------------- - -FlyteClientResponse encapsulates public information that flyte clients (CLIs... etc.) can use to authenticate users. - - - -.. csv-table:: PublicClientAuthConfigResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "client_id", ":ref:`ref_string`", "", "client_id to use when initiating OAuth2 authorization requests." - "redirect_uri", ":ref:`ref_string`", "", "redirect uri to use when initiating OAuth2 authorization requests." - "scopes", ":ref:`ref_string`", "repeated", "scopes to request when initiating OAuth2 authorization requests." - "authorization_metadata_key", ":ref:`ref_string`", "", "Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the default http `Authorization` header." - "service_http_endpoint", ":ref:`ref_string`", "", "ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between SSL or no SSL connections." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - - -.. _ref_flyteidl.service.AuthMetadataService: - -AuthMetadataService ------------------------------------------------------------------- - -The following defines an RPC service that is also served over HTTP via grpc-gateway. -Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go -RPCs defined in this service must be anonymously accessible. - -.. csv-table:: AuthMetadataService service methods - :header: "Method Name", "Request Type", "Response Type", "Description" - :widths: auto - - "GetOAuth2Metadata", ":ref:`ref_flyteidl.service.OAuth2MetadataRequest`", ":ref:`ref_flyteidl.service.OAuth2MetadataResponse`", "Anonymously accessible. Retrieves local or external oauth authorization server metadata." - "GetPublicClientConfig", ":ref:`ref_flyteidl.service.PublicClientAuthConfigRequest`", ":ref:`ref_flyteidl.service.PublicClientAuthConfigResponse`", "Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization requests." - -.. - end services - - - - -.. _ref_flyteidl/service/dataproxy.proto: - -flyteidl/service/dataproxy.proto -================================================================== - - - - - -.. _ref_flyteidl.service.CreateDownloadLocationRequest: - -CreateDownloadLocationRequest ------------------------------------------------------------------- - -CreateDownloadLocationRequest specified request for the CreateDownloadLocation API. - - - -.. csv-table:: CreateDownloadLocationRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "native_url", ":ref:`ref_string`", "", "NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" - "expires_in", ":ref:`ref_google.protobuf.Duration`", "", "ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this exceeds the platform allowed max. +optional. The default value comes from a global config." - - - - - - - -.. _ref_flyteidl.service.CreateDownloadLocationResponse: - -CreateDownloadLocationResponse ------------------------------------------------------------------- - - - - - -.. csv-table:: CreateDownloadLocationResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "signed_url", ":ref:`ref_string`", "", "SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)" - "expires_at", ":ref:`ref_google.protobuf.Timestamp`", "", "ExpiresAt defines when will the signed URL expires." - - - - - - - -.. _ref_flyteidl.service.CreateUploadLocationRequest: - -CreateUploadLocationRequest ------------------------------------------------------------------- - -CreateUploadLocationRequest specified request for the CreateUploadLocation API. - - - -.. csv-table:: CreateUploadLocationRequest type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "project", ":ref:`ref_string`", "", "Project to create the upload location for +required" - "domain", ":ref:`ref_string`", "", "Domain to create the upload location for. +required" - "filename", ":ref:`ref_string`", "", "Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`. +optional. By default, the service will generate a consistent name based on the provided parameters." - "expires_in", ":ref:`ref_google.protobuf.Duration`", "", "ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this exceeds the platform allowed max. +optional. The default value comes from a global config." - "content_md5", ":ref:`ref_bytes`", "", "ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the generated path. +required" - - - - - - - -.. _ref_flyteidl.service.CreateUploadLocationResponse: - -CreateUploadLocationResponse ------------------------------------------------------------------- - - - - - -.. csv-table:: CreateUploadLocationResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "signed_url", ":ref:`ref_string`", "", "SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)" - "native_url", ":ref:`ref_string`", "", "NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" - "expires_at", ":ref:`ref_google.protobuf.Timestamp`", "", "ExpiresAt defines when will the signed URL expires." - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - - -.. _ref_flyteidl.service.DataProxyService: - -DataProxyService ------------------------------------------------------------------- - -DataProxyService defines an RPC Service that allows access to user-data in a controlled manner. - -.. csv-table:: DataProxyService service methods - :header: "Method Name", "Request Type", "Response Type", "Description" - :widths: auto - - "CreateUploadLocation", ":ref:`ref_flyteidl.service.CreateUploadLocationRequest`", ":ref:`ref_flyteidl.service.CreateUploadLocationResponse`", "CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain." - "CreateDownloadLocation", ":ref:`ref_flyteidl.service.CreateDownloadLocationRequest`", ":ref:`ref_flyteidl.service.CreateDownloadLocationResponse`", "CreateDownloadLocation creates a signed url to download artifacts." - -.. - end services - - - - -.. _ref_flyteidl/service/identity.proto: - -flyteidl/service/identity.proto -================================================================== - - - - - -.. _ref_flyteidl.service.UserInfoRequest: - -UserInfoRequest ------------------------------------------------------------------- - - - - - - - - - - -.. _ref_flyteidl.service.UserInfoResponse: - -UserInfoResponse ------------------------------------------------------------------- - -See the OpenID Connect spec at https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse for more information. - - - -.. csv-table:: UserInfoResponse type fields - :header: "Field", "Type", "Label", "Description" - :widths: auto - - "subject", ":ref:`ref_string`", "", "Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed by the Client." - "name", ":ref:`ref_string`", "", "Full name" - "preferred_username", ":ref:`ref_string`", "", "Shorthand name by which the End-User wishes to be referred to" - "given_name", ":ref:`ref_string`", "", "Given name(s) or first name(s)" - "family_name", ":ref:`ref_string`", "", "Surname(s) or last name(s)" - "email", ":ref:`ref_string`", "", "Preferred e-mail address" - "picture", ":ref:`ref_string`", "", "Profile picture URL" - - - - - - -.. - end messages - - -.. - end enums - - -.. - end HasExtensions - - - -.. _ref_flyteidl.service.IdentityService: - -IdentityService ------------------------------------------------------------------- - -IdentityService defines an RPC Service that interacts with user/app identities. - -.. csv-table:: IdentityService service methods - :header: "Method Name", "Request Type", "Response Type", "Description" - :widths: auto - - "UserInfo", ":ref:`ref_flyteidl.service.UserInfoRequest`", ":ref:`ref_flyteidl.service.UserInfoResponse`", "Retrieves user information about the currently logged in user." - -.. - end services - - From bf68762f3a942bb60eda39f3bc89919c58355d78 Mon Sep 17 00:00:00 2001 From: Haytham Abuelfutuh Date: Fri, 16 Sep 2022 13:39:37 -0700 Subject: [PATCH 03/10] wip Signed-off-by: Haytham Abuelfutuh --- protos/docs/admin/admin.rst | 4053 +++++++++++++++++++++++ protos/docs/core/core.rst | 3794 +++++++++++++++++++++ protos/docs/datacatalog/datacatalog.rst | 1269 +++++++ protos/docs/event/event.rst | 727 ++++ protos/docs/plugins/plugins.rst | 685 ++++ protos/docs/service/service.rst | 433 +++ 6 files changed, 10961 insertions(+) create mode 100644 protos/docs/admin/admin.rst create mode 100644 protos/docs/core/core.rst create mode 100644 protos/docs/datacatalog/datacatalog.rst create mode 100644 protos/docs/event/event.rst create mode 100644 protos/docs/plugins/plugins.rst create mode 100644 protos/docs/service/service.rst diff --git a/protos/docs/admin/admin.rst b/protos/docs/admin/admin.rst new file mode 100644 index 000000000..000dd9765 --- /dev/null +++ b/protos/docs/admin/admin.rst @@ -0,0 +1,4053 @@ +###################### +Protocol Documentation +###################### + + + + +.. _ref_flyteidl/admin/cluster_assignment.proto: + +flyteidl/admin/cluster_assignment.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.ClusterAssignment: + +ClusterAssignment +------------------------------------------------------------------ + +Encapsulates specifications for routing an execution onto a specific cluster. + + + +.. csv-table:: ClusterAssignment type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "cluster_pool_name", ":ref:`ref_string`", "", "" + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/common.proto: + +flyteidl/admin/common.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.Annotations: + +Annotations +------------------------------------------------------------------ + +Annotation values to be applied to an execution resource. +In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined +to specify how to merge annotations defined at registration and execution time. + + + +.. csv-table:: Annotations type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "values", ":ref:`ref_flyteidl.admin.Annotations.ValuesEntry`", "repeated", "Map of custom annotations to be applied to the execution resource." + + + + + + + +.. _ref_flyteidl.admin.Annotations.ValuesEntry: + +Annotations.ValuesEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: Annotations.ValuesEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_flyteidl.admin.AuthRole: + +AuthRole +------------------------------------------------------------------ + +Defines permissions associated with executions created by this launch plan spec. +Use either of these roles when they have permissions required by your workflow execution. +Deprecated. + + + +.. csv-table:: AuthRole type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "assumable_iam_role", ":ref:`ref_string`", "", "Defines an optional iam role which will be used for tasks run in executions created with this launch plan." + "kubernetes_service_account", ":ref:`ref_string`", "", "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan." + + + + + + + +.. _ref_flyteidl.admin.EmailNotification: + +EmailNotification +------------------------------------------------------------------ + +Defines an email notification specification. + + + +.. csv-table:: EmailNotification type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "recipients_email", ":ref:`ref_string`", "repeated", "The list of email addresses recipients for this notification. +required" + + + + + + + +.. _ref_flyteidl.admin.Labels: + +Labels +------------------------------------------------------------------ + +Label values to be applied to an execution resource. +In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined +to specify how to merge labels defined at registration and execution time. + + + +.. csv-table:: Labels type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "values", ":ref:`ref_flyteidl.admin.Labels.ValuesEntry`", "repeated", "Map of custom labels to be applied to the execution resource." + + + + + + + +.. _ref_flyteidl.admin.Labels.ValuesEntry: + +Labels.ValuesEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: Labels.ValuesEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_flyteidl.admin.NamedEntity: + +NamedEntity +------------------------------------------------------------------ + +Encapsulates information common to a NamedEntity, a Flyte resource such as a task, +workflow or launch plan. A NamedEntity is exclusively identified by its resource type +and identifier. + + + +.. csv-table:: NamedEntity type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Resource type of the named entity. One of Task, Workflow or LaunchPlan." + "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "" + "metadata", ":ref:`ref_flyteidl.admin.NamedEntityMetadata`", "", "Additional metadata around a named entity." + + + + + + + +.. _ref_flyteidl.admin.NamedEntityGetRequest: + +NamedEntityGetRequest +------------------------------------------------------------------ + +A request to retrieve the metadata associated with a NamedEntityIdentifier + + + +.. csv-table:: NamedEntityGetRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required" + "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "The identifier for the named entity for which to fetch metadata. +required" + + + + + + + +.. _ref_flyteidl.admin.NamedEntityIdentifier: + +NamedEntityIdentifier +------------------------------------------------------------------ + +Encapsulation of fields that identifies a Flyte resource. +A Flyte resource can be a task, workflow or launch plan. +A resource can internally have multiple versions and is uniquely identified +by project, domain, and name. + + + +.. csv-table:: NamedEntityIdentifier type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "Name of the project the resource belongs to." + "domain", ":ref:`ref_string`", "", "Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project." + "name", ":ref:`ref_string`", "", "User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'" + + + + + + + +.. _ref_flyteidl.admin.NamedEntityIdentifierList: + +NamedEntityIdentifierList +------------------------------------------------------------------ + +Represents a list of NamedEntityIdentifiers. + + + +.. csv-table:: NamedEntityIdentifierList type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "entities", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "repeated", "A list of identifiers." + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." + + + + + + + +.. _ref_flyteidl.admin.NamedEntityIdentifierListRequest: + +NamedEntityIdentifierListRequest +------------------------------------------------------------------ + +Represents a request structure to list NamedEntityIdentifiers. + + + +.. csv-table:: NamedEntityIdentifierListRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "Name of the project that contains the identifiers. +required" + "domain", ":ref:`ref_string`", "", "Name of the domain the identifiers belongs to within the project. +required" + "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required" + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional" + "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Specifies how listed entities should be sorted in the response. +optional" + "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. +optional" + + + + + + + +.. _ref_flyteidl.admin.NamedEntityList: + +NamedEntityList +------------------------------------------------------------------ + +Represents a list of NamedEntityIdentifiers. + + + +.. csv-table:: NamedEntityList type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "entities", ":ref:`ref_flyteidl.admin.NamedEntity`", "repeated", "A list of NamedEntity objects" + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." + + + + + + + +.. _ref_flyteidl.admin.NamedEntityListRequest: + +NamedEntityListRequest +------------------------------------------------------------------ + +Represents a request structure to list NamedEntity objects + + + +.. csv-table:: NamedEntityListRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required" + "project", ":ref:`ref_string`", "", "Name of the project that contains the identifiers. +required" + "domain", ":ref:`ref_string`", "", "Name of the domain the identifiers belongs to within the project." + "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned." + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional" + "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Specifies how listed entities should be sorted in the response. +optional" + "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. +optional" + + + + + + + +.. _ref_flyteidl.admin.NamedEntityMetadata: + +NamedEntityMetadata +------------------------------------------------------------------ + +Additional metadata around a named entity. + + + +.. csv-table:: NamedEntityMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "description", ":ref:`ref_string`", "", "Common description across all versions of the entity +optional" + "state", ":ref:`ref_flyteidl.admin.NamedEntityState`", "", "Shared state across all version of the entity At this point in time, only workflow entities can have their state archived." + + + + + + + +.. _ref_flyteidl.admin.NamedEntityUpdateRequest: + +NamedEntityUpdateRequest +------------------------------------------------------------------ + +Request to set the referenced named entity state to the configured value. + + + +.. csv-table:: NamedEntityUpdateRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Resource type of the metadata to update +required" + "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "Identifier of the metadata to update +required" + "metadata", ":ref:`ref_flyteidl.admin.NamedEntityMetadata`", "", "Metadata object to set as the new value +required" + + + + + + + +.. _ref_flyteidl.admin.NamedEntityUpdateResponse: + +NamedEntityUpdateResponse +------------------------------------------------------------------ + +Purposefully empty, may be populated in the future. + + + + + + + + +.. _ref_flyteidl.admin.Notification: + +Notification +------------------------------------------------------------------ + +Represents a structure for notifications based on execution status. +The notification content is configured within flyte admin but can be templatized. +Future iterations could expose configuring notifications with custom content. + + + +.. csv-table:: Notification type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "phases", ":ref:`ref_flyteidl.core.WorkflowExecution.Phase`", "repeated", "A list of phases to which users can associate the notifications to. +required" + "email", ":ref:`ref_flyteidl.admin.EmailNotification`", "", "" + "pager_duty", ":ref:`ref_flyteidl.admin.PagerDutyNotification`", "", "" + "slack", ":ref:`ref_flyteidl.admin.SlackNotification`", "", "" + + + + + + + +.. _ref_flyteidl.admin.ObjectGetRequest: + +ObjectGetRequest +------------------------------------------------------------------ + +Shared request structure to fetch a single resource. +Resources include: Task, Workflow, LaunchPlan + + + +.. csv-table:: ObjectGetRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Indicates a unique version of resource. +required" + + + + + + + +.. _ref_flyteidl.admin.PagerDutyNotification: + +PagerDutyNotification +------------------------------------------------------------------ + +Defines a pager duty notification specification. + + + +.. csv-table:: PagerDutyNotification type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "recipients_email", ":ref:`ref_string`", "repeated", "Currently, PagerDuty notifications leverage email to trigger a notification. +required" + + + + + + + +.. _ref_flyteidl.admin.RawOutputDataConfig: + +RawOutputDataConfig +------------------------------------------------------------------ + +Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). +See https://github.com/flyteorg/flyte/issues/211 for more background information. + + + +.. csv-table:: RawOutputDataConfig type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "output_location_prefix", ":ref:`ref_string`", "", "Prefix for where offloaded data from user workflows will be written e.g. s3://bucket/key or s3://bucket/" + + + + + + + +.. _ref_flyteidl.admin.ResourceListRequest: + +ResourceListRequest +------------------------------------------------------------------ + +Shared request structure to retrieve a list of resources. +Resources include: Task, Workflow, LaunchPlan + + + +.. csv-table:: ResourceListRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "id represents the unique identifier of the resource. +required" + "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required" + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional" + "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : +optional" + "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional" + + + + + + + +.. _ref_flyteidl.admin.SlackNotification: + +SlackNotification +------------------------------------------------------------------ + +Defines a slack notification specification. + + + +.. csv-table:: SlackNotification type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "recipients_email", ":ref:`ref_string`", "repeated", "Currently, Slack notifications leverage email to trigger a notification. +required" + + + + + + + +.. _ref_flyteidl.admin.Sort: + +Sort +------------------------------------------------------------------ + +Specifies sort ordering in a list request. + + + +.. csv-table:: Sort type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "Indicates an attribute to sort the response values. +required" + "direction", ":ref:`ref_flyteidl.admin.Sort.Direction`", "", "Indicates the direction to apply sort key for response values. +optional" + + + + + + + +.. _ref_flyteidl.admin.UrlBlob: + +UrlBlob +------------------------------------------------------------------ + +Represents a string url and associated metadata used throughout the platform. + + + +.. csv-table:: UrlBlob type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "url", ":ref:`ref_string`", "", "Actual url value." + "bytes", ":ref:`ref_int64`", "", "Represents the size of the file accessible at the above url." + + + + + + +.. + end messages + + + +.. _ref_flyteidl.admin.NamedEntityState: + +NamedEntityState +------------------------------------------------------------------ + +The status of the named entity is used to control its visibility in the UI. + +.. csv-table:: Enum NamedEntityState values + :header: "Name", "Number", "Description" + :widths: auto + + "NAMED_ENTITY_ACTIVE", "0", "By default, all named entities are considered active and under development." + "NAMED_ENTITY_ARCHIVED", "1", "Archived named entities are no longer visible in the UI." + "SYSTEM_GENERATED", "2", "System generated entities that aren't explicitly created or managed by a user." + + + +.. _ref_flyteidl.admin.Sort.Direction: + +Sort.Direction +------------------------------------------------------------------ + + + +.. csv-table:: Enum Sort.Direction values + :header: "Name", "Number", "Description" + :widths: auto + + "DESCENDING", "0", "By default, fields are sorted in descending order." + "ASCENDING", "1", "" + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/event.proto: + +flyteidl/admin/event.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.EventErrorAlreadyInTerminalState: + +EventErrorAlreadyInTerminalState +------------------------------------------------------------------ + +Indicates that a sent event was not used to update execution state due to +the referenced execution already being terminated (and therefore ineligible +for further state transitions). + + + +.. csv-table:: EventErrorAlreadyInTerminalState type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "current_phase", ":ref:`ref_string`", "", "+required" + + + + + + + +.. _ref_flyteidl.admin.EventErrorIncompatibleCluster: + +EventErrorIncompatibleCluster +------------------------------------------------------------------ + +Indicates an event was rejected because it came from a different cluster than +is on record as running the execution. + + + +.. csv-table:: EventErrorIncompatibleCluster type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "cluster", ":ref:`ref_string`", "", "The cluster which has been recorded as processing the execution. +required" + + + + + + + +.. _ref_flyteidl.admin.EventFailureReason: + +EventFailureReason +------------------------------------------------------------------ + +Indicates why a sent event was not used to update execution. + + + +.. csv-table:: EventFailureReason type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "already_in_terminal_state", ":ref:`ref_flyteidl.admin.EventErrorAlreadyInTerminalState`", "", "" + "incompatible_cluster", ":ref:`ref_flyteidl.admin.EventErrorIncompatibleCluster`", "", "" + + + + + + + +.. _ref_flyteidl.admin.NodeExecutionEventRequest: + +NodeExecutionEventRequest +------------------------------------------------------------------ + +Request to send a notification that a node execution event has occurred. + + + +.. csv-table:: NodeExecutionEventRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "request_id", ":ref:`ref_string`", "", "Unique ID for this request that can be traced between services" + "event", ":ref:`ref_flyteidl.event.NodeExecutionEvent`", "", "Details about the event that occurred." + + + + + + + +.. _ref_flyteidl.admin.NodeExecutionEventResponse: + +NodeExecutionEventResponse +------------------------------------------------------------------ + +Purposefully empty, may be populated in the future. + + + + + + + + +.. _ref_flyteidl.admin.TaskExecutionEventRequest: + +TaskExecutionEventRequest +------------------------------------------------------------------ + +Request to send a notification that a task execution event has occurred. + + + +.. csv-table:: TaskExecutionEventRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "request_id", ":ref:`ref_string`", "", "Unique ID for this request that can be traced between services" + "event", ":ref:`ref_flyteidl.event.TaskExecutionEvent`", "", "Details about the event that occurred." + + + + + + + +.. _ref_flyteidl.admin.TaskExecutionEventResponse: + +TaskExecutionEventResponse +------------------------------------------------------------------ + +Purposefully empty, may be populated in the future. + + + + + + + + +.. _ref_flyteidl.admin.WorkflowExecutionEventRequest: + +WorkflowExecutionEventRequest +------------------------------------------------------------------ + +Request to send a notification that a workflow execution event has occurred. + + + +.. csv-table:: WorkflowExecutionEventRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "request_id", ":ref:`ref_string`", "", "Unique ID for this request that can be traced between services" + "event", ":ref:`ref_flyteidl.event.WorkflowExecutionEvent`", "", "Details about the event that occurred." + + + + + + + +.. _ref_flyteidl.admin.WorkflowExecutionEventResponse: + +WorkflowExecutionEventResponse +------------------------------------------------------------------ + +Purposefully empty, may be populated in the future. + + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/execution.proto: + +flyteidl/admin/execution.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.AbortMetadata: + +AbortMetadata +------------------------------------------------------------------ + +Specifies metadata around an aborted workflow execution. + + + +.. csv-table:: AbortMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "cause", ":ref:`ref_string`", "", "In the case of a user-specified abort, this will pass along the user-supplied cause." + "principal", ":ref:`ref_string`", "", "Identifies the entity (if any) responsible for terminating the execution" + + + + + + + +.. _ref_flyteidl.admin.Execution: + +Execution +------------------------------------------------------------------ + +A workflow execution represents an instantiated workflow, including all inputs and additional +metadata as well as computed results included state, outputs, and duration-based attributes. +Used as a response object used in Get and List execution requests. + + + +.. csv-table:: Execution type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Unique identifier of the workflow execution." + "spec", ":ref:`ref_flyteidl.admin.ExecutionSpec`", "", "User-provided configuration and inputs for launching the execution." + "closure", ":ref:`ref_flyteidl.admin.ExecutionClosure`", "", "Execution results." + + + + + + + +.. _ref_flyteidl.admin.ExecutionClosure: + +ExecutionClosure +------------------------------------------------------------------ + +Encapsulates the results of the Execution + + + +.. csv-table:: ExecutionClosure type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "outputs", ":ref:`ref_flyteidl.admin.LiteralMapBlob`", "", "**Deprecated.** Output URI in the case of a successful execution. DEPRECATED. Use GetExecutionData to fetch output data instead." + "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information in the case of a failed execution." + "abort_cause", ":ref:`ref_string`", "", "**Deprecated.** In the case of a user-specified abort, this will pass along the user-supplied cause." + "abort_metadata", ":ref:`ref_flyteidl.admin.AbortMetadata`", "", "In the case of a user-specified abort, this will pass along the user and their supplied cause." + "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead." + "computed_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Inputs computed and passed for execution. computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan" + "phase", ":ref:`ref_flyteidl.core.WorkflowExecution.Phase`", "", "Most recent recorded phase for the execution." + "started_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Reported time at which the execution began running." + "duration", ":ref:`ref_google.protobuf.Duration`", "", "The amount of time the execution spent running." + "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Reported time at which the execution was created." + "updated_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Reported time at which the execution was last updated." + "notifications", ":ref:`ref_flyteidl.admin.Notification`", "repeated", "The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan." + "workflow_id", ":ref:`ref_flyteidl.core.Identifier`", "", "Identifies the workflow definition for this execution." + "state_change_details", ":ref:`ref_flyteidl.admin.ExecutionStateChangeDetails`", "", "Provides the details of the last stage change" + + + + + + + +.. _ref_flyteidl.admin.ExecutionCreateRequest: + +ExecutionCreateRequest +------------------------------------------------------------------ + +Request to launch an execution with the given project, domain and optionally-assigned name. + + + +.. csv-table:: ExecutionCreateRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "Name of the project the execution belongs to. +required" + "domain", ":ref:`ref_string`", "", "Name of the domain the execution belongs to. A domain can be considered as a subset within a specific project. +required" + "name", ":ref:`ref_string`", "", "User provided value for the resource. If none is provided the system will generate a unique string. +optional" + "spec", ":ref:`ref_flyteidl.admin.ExecutionSpec`", "", "Additional fields necessary to launch the execution. +optional" + "inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "The inputs required to start the execution. All required inputs must be included in this map. If not required and not provided, defaults apply. +optional" + + + + + + + +.. _ref_flyteidl.admin.ExecutionCreateResponse: + +ExecutionCreateResponse +------------------------------------------------------------------ + +The unique identifier for a successfully created execution. +If the name was *not* specified in the create request, this identifier will include a generated name. + + + +.. csv-table:: ExecutionCreateResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "" + + + + + + + +.. _ref_flyteidl.admin.ExecutionList: + +ExecutionList +------------------------------------------------------------------ + +Used as a response for request to list executions. +See :ref:`ref_flyteidl.admin.Execution` for more details + + + +.. csv-table:: ExecutionList type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "executions", ":ref:`ref_flyteidl.admin.Execution`", "repeated", "" + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." + + + + + + + +.. _ref_flyteidl.admin.ExecutionMetadata: + +ExecutionMetadata +------------------------------------------------------------------ + +Represents attributes about an execution which are not required to launch the execution but are useful to record. +These attributes are assigned at launch time and do not change. + + + +.. csv-table:: ExecutionMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "mode", ":ref:`ref_flyteidl.admin.ExecutionMetadata.ExecutionMode`", "", "" + "principal", ":ref:`ref_string`", "", "Identifier of the entity that triggered this execution. For systems using back-end authentication any value set here will be discarded in favor of the authenticated user context." + "nesting", ":ref:`ref_uint32`", "", "Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1." + "scheduled_at", ":ref:`ref_google.protobuf.Timestamp`", "", "For scheduled executions, the requested time for execution for this specific schedule invocation." + "parent_node_execution", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Which subworkflow node (if any) launched this execution" + "reference_execution", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution." + "system_metadata", ":ref:`ref_flyteidl.admin.SystemMetadata`", "", "Optional, platform-specific metadata about the execution. In this the future this may be gated behind an ACL or some sort of authorization." + + + + + + + +.. _ref_flyteidl.admin.ExecutionRecoverRequest: + +ExecutionRecoverRequest +------------------------------------------------------------------ + +Request to recover the referenced execution. + + + +.. csv-table:: ExecutionRecoverRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Identifier of the workflow execution to recover." + "name", ":ref:`ref_string`", "", "User provided value for the recovered execution. If none is provided the system will generate a unique string. +optional" + "metadata", ":ref:`ref_flyteidl.admin.ExecutionMetadata`", "", "Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution." + + + + + + + +.. _ref_flyteidl.admin.ExecutionRelaunchRequest: + +ExecutionRelaunchRequest +------------------------------------------------------------------ + +Request to relaunch the referenced execution. + + + +.. csv-table:: ExecutionRelaunchRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Identifier of the workflow execution to relaunch. +required" + "name", ":ref:`ref_string`", "", "User provided value for the relaunched execution. If none is provided the system will generate a unique string. +optional" + + + + + + + +.. _ref_flyteidl.admin.ExecutionSpec: + +ExecutionSpec +------------------------------------------------------------------ + +An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime +of an execution as it progresses across phase changes. + + + +.. csv-table:: ExecutionSpec type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "launch_plan", ":ref:`ref_flyteidl.core.Identifier`", "", "Launch plan to be executed" + "inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Input values to be passed for the execution" + "metadata", ":ref:`ref_flyteidl.admin.ExecutionMetadata`", "", "Metadata for the execution" + "notifications", ":ref:`ref_flyteidl.admin.NotificationList`", "", "List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied." + "disable_all", ":ref:`ref_bool`", "", "This should be set to true if all notifications are intended to be disabled for this execution." + "labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Labels to apply to the execution resource." + "annotations", ":ref:`ref_flyteidl.admin.Annotations`", "", "Annotations to apply to the execution resource." + "security_context", ":ref:`ref_flyteidl.core.SecurityContext`", "", "Optional: security context override to apply this execution." + "auth_role", ":ref:`ref_flyteidl.admin.AuthRole`", "", "**Deprecated.** Optional: auth override to apply this execution." + "quality_of_service", ":ref:`ref_flyteidl.core.QualityOfService`", "", "Indicates the runtime priority of the execution." + "max_parallelism", ":ref:`ref_int32`", "", "Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this." + "raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.). This should be a prefix like s3://my-bucket/my-data" + "cluster_assignment", ":ref:`ref_flyteidl.admin.ClusterAssignment`", "", "Controls how to select an available cluster on which this execution should run." + "interruptible", ":ref:`ref_google.protobuf.BoolValue`", "", "Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field." + + + + + + + +.. _ref_flyteidl.admin.ExecutionStateChangeDetails: + +ExecutionStateChangeDetails +------------------------------------------------------------------ + + + + + +.. csv-table:: ExecutionStateChangeDetails type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "state", ":ref:`ref_flyteidl.admin.ExecutionState`", "", "The state of the execution is used to control its visibility in the UI/CLI." + "occurred_at", ":ref:`ref_google.protobuf.Timestamp`", "", "This timestamp represents when the state changed." + "principal", ":ref:`ref_string`", "", "Identifies the entity (if any) responsible for causing the state change of the execution" + + + + + + + +.. _ref_flyteidl.admin.ExecutionTerminateRequest: + +ExecutionTerminateRequest +------------------------------------------------------------------ + +Request to terminate an in-progress execution. This action is irreversible. +If an execution is already terminated, this request will simply be a no-op. +This request will fail if it references a non-existent execution. +If the request succeeds the phase "ABORTED" will be recorded for the termination +with the optional cause added to the output_result. + + + +.. csv-table:: ExecutionTerminateRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Uniquely identifies the individual workflow execution to be terminated." + "cause", ":ref:`ref_string`", "", "Optional reason for aborting." + + + + + + + +.. _ref_flyteidl.admin.ExecutionTerminateResponse: + +ExecutionTerminateResponse +------------------------------------------------------------------ + +Purposefully empty, may be populated in the future. + + + + + + + + +.. _ref_flyteidl.admin.ExecutionUpdateRequest: + +ExecutionUpdateRequest +------------------------------------------------------------------ + + + + + +.. csv-table:: ExecutionUpdateRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Identifier of the execution to update" + "state", ":ref:`ref_flyteidl.admin.ExecutionState`", "", "State to set as the new value active/archive" + + + + + + + +.. _ref_flyteidl.admin.ExecutionUpdateResponse: + +ExecutionUpdateResponse +------------------------------------------------------------------ + + + + + + + + + + +.. _ref_flyteidl.admin.LiteralMapBlob: + +LiteralMapBlob +------------------------------------------------------------------ + +Input/output data can represented by actual values or a link to where values are stored + + + +.. csv-table:: LiteralMapBlob type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "values", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Data in LiteralMap format" + "uri", ":ref:`ref_string`", "", "In the event that the map is too large, we return a uri to the data" + + + + + + + +.. _ref_flyteidl.admin.NotificationList: + +NotificationList +------------------------------------------------------------------ + + + + + +.. csv-table:: NotificationList type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "notifications", ":ref:`ref_flyteidl.admin.Notification`", "repeated", "" + + + + + + + +.. _ref_flyteidl.admin.SystemMetadata: + +SystemMetadata +------------------------------------------------------------------ + +Represents system, rather than user-facing, metadata about an execution. + + + +.. csv-table:: SystemMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "execution_cluster", ":ref:`ref_string`", "", "Which execution cluster this execution ran on." + + + + + + + +.. _ref_flyteidl.admin.WorkflowExecutionGetDataRequest: + +WorkflowExecutionGetDataRequest +------------------------------------------------------------------ + +Request structure to fetch inputs, output and other data produced by an execution. +By default this data is not returned inline in :ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest` + + + +.. csv-table:: WorkflowExecutionGetDataRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "The identifier of the execution for which to fetch inputs and outputs." + + + + + + + +.. _ref_flyteidl.admin.WorkflowExecutionGetDataResponse: + +WorkflowExecutionGetDataResponse +------------------------------------------------------------------ + +Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution. + + + +.. csv-table:: WorkflowExecutionGetDataResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "outputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of execution outputs. Deprecated: Please use full_outputs instead." + "inputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of execution inputs. Deprecated: Please use full_inputs instead." + "full_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_inputs will only be populated if they are under a configured size threshold." + "full_outputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_outputs will only be populated if they are under a configured size threshold." + + + + + + + +.. _ref_flyteidl.admin.WorkflowExecutionGetRequest: + +WorkflowExecutionGetRequest +------------------------------------------------------------------ + +A message used to fetch a single workflow execution entity. +See :ref:`ref_flyteidl.admin.Execution` for more details + + + +.. csv-table:: WorkflowExecutionGetRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Uniquely identifies an individual workflow execution." + + + + + + +.. + end messages + + + +.. _ref_flyteidl.admin.ExecutionMetadata.ExecutionMode: + +ExecutionMetadata.ExecutionMode +------------------------------------------------------------------ + +The method by which this execution was launched. + +.. csv-table:: Enum ExecutionMetadata.ExecutionMode values + :header: "Name", "Number", "Description" + :widths: auto + + "MANUAL", "0", "The default execution mode, MANUAL implies that an execution was launched by an individual." + "SCHEDULED", "1", "A schedule triggered this execution launch." + "SYSTEM", "2", "A system process was responsible for launching this execution rather an individual." + "RELAUNCH", "3", "This execution was launched with identical inputs as a previous execution." + "CHILD_WORKFLOW", "4", "This execution was triggered by another execution." + "RECOVERED", "5", "This execution was recovered from another execution." + + + +.. _ref_flyteidl.admin.ExecutionState: + +ExecutionState +------------------------------------------------------------------ + +The state of the execution is used to control its visibility in the UI/CLI. + +.. csv-table:: Enum ExecutionState values + :header: "Name", "Number", "Description" + :widths: auto + + "EXECUTION_ACTIVE", "0", "By default, all executions are considered active." + "EXECUTION_ARCHIVED", "1", "Archived executions are no longer visible in the UI." + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/launch_plan.proto: + +flyteidl/admin/launch_plan.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.ActiveLaunchPlanListRequest: + +ActiveLaunchPlanListRequest +------------------------------------------------------------------ + +Represents a request structure to list active launch plans within a project/domain. +See :ref:`ref_flyteidl.admin.LaunchPlan` for more details + + + +.. csv-table:: ActiveLaunchPlanListRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "Name of the project that contains the identifiers. +required." + "domain", ":ref:`ref_string`", "", "Name of the domain the identifiers belongs to within the project. +required." + "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required." + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional" + "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional" + + + + + + + +.. _ref_flyteidl.admin.ActiveLaunchPlanRequest: + +ActiveLaunchPlanRequest +------------------------------------------------------------------ + +Represents a request struct for finding an active launch plan for a given NamedEntityIdentifier +See :ref:`ref_flyteidl.admin.LaunchPlan` for more details + + + +.. csv-table:: ActiveLaunchPlanRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "+required." + + + + + + + +.. _ref_flyteidl.admin.Auth: + +Auth +------------------------------------------------------------------ + +Defines permissions associated with executions created by this launch plan spec. +Use either of these roles when they have permissions required by your workflow execution. +Deprecated. + + + +.. csv-table:: Auth type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "assumable_iam_role", ":ref:`ref_string`", "", "Defines an optional iam role which will be used for tasks run in executions created with this launch plan." + "kubernetes_service_account", ":ref:`ref_string`", "", "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan." + + + + + + + +.. _ref_flyteidl.admin.LaunchPlan: + +LaunchPlan +------------------------------------------------------------------ + +A LaunchPlan provides the capability to templatize workflow executions. +Launch plans simplify associating one or more schedules, inputs and notifications with your workflows. +Launch plans can be shared and used to trigger executions with predefined inputs even when a workflow +definition doesn't necessarily have a default value for said input. + + + +.. csv-table:: LaunchPlan type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Uniquely identifies a launch plan entity." + "spec", ":ref:`ref_flyteidl.admin.LaunchPlanSpec`", "", "User-provided launch plan details, including reference workflow, inputs and other metadata." + "closure", ":ref:`ref_flyteidl.admin.LaunchPlanClosure`", "", "Values computed by the flyte platform after launch plan registration." + + + + + + + +.. _ref_flyteidl.admin.LaunchPlanClosure: + +LaunchPlanClosure +------------------------------------------------------------------ + +Values computed by the flyte platform after launch plan registration. +These include expected_inputs required to be present in a CreateExecutionRequest +to launch the reference workflow as well timestamp values associated with the launch plan. + + + +.. csv-table:: LaunchPlanClosure type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "state", ":ref:`ref_flyteidl.admin.LaunchPlanState`", "", "Indicate the Launch plan state." + "expected_inputs", ":ref:`ref_flyteidl.core.ParameterMap`", "", "Indicates the set of inputs expected when creating an execution with the Launch plan" + "expected_outputs", ":ref:`ref_flyteidl.core.VariableMap`", "", "Indicates the set of outputs expected to be produced by creating an execution with the Launch plan" + "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the launch plan was created." + "updated_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the launch plan was last updated." + + + + + + + +.. _ref_flyteidl.admin.LaunchPlanCreateRequest: + +LaunchPlanCreateRequest +------------------------------------------------------------------ + +Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required +to launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to +set the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan. + + + +.. csv-table:: LaunchPlanCreateRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Uniquely identifies a launch plan entity." + "spec", ":ref:`ref_flyteidl.admin.LaunchPlanSpec`", "", "User-provided launch plan details, including reference workflow, inputs and other metadata." + + + + + + + +.. _ref_flyteidl.admin.LaunchPlanCreateResponse: + +LaunchPlanCreateResponse +------------------------------------------------------------------ + +Purposefully empty, may be populated in the future. + + + + + + + + +.. _ref_flyteidl.admin.LaunchPlanList: + +LaunchPlanList +------------------------------------------------------------------ + +Response object for list launch plan requests. +See :ref:`ref_flyteidl.admin.LaunchPlan` for more details + + + +.. csv-table:: LaunchPlanList type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "launch_plans", ":ref:`ref_flyteidl.admin.LaunchPlan`", "repeated", "" + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." + + + + + + + +.. _ref_flyteidl.admin.LaunchPlanMetadata: + +LaunchPlanMetadata +------------------------------------------------------------------ + +Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch +the reference workflow. + + + +.. csv-table:: LaunchPlanMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "schedule", ":ref:`ref_flyteidl.admin.Schedule`", "", "Schedule to execute the Launch Plan" + "notifications", ":ref:`ref_flyteidl.admin.Notification`", "repeated", "List of notifications based on Execution status transitions" + + + + + + + +.. _ref_flyteidl.admin.LaunchPlanSpec: + +LaunchPlanSpec +------------------------------------------------------------------ + +User-provided launch plan definition and configuration values. + + + +.. csv-table:: LaunchPlanSpec type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "workflow_id", ":ref:`ref_flyteidl.core.Identifier`", "", "Reference to the Workflow template that the launch plan references" + "entity_metadata", ":ref:`ref_flyteidl.admin.LaunchPlanMetadata`", "", "Metadata for the Launch Plan" + "default_inputs", ":ref:`ref_flyteidl.core.ParameterMap`", "", "Input values to be passed for the execution. These can be overriden when an execution is created with this launch plan." + "fixed_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Fixed, non-overridable inputs for the Launch Plan. These can not be overriden when an execution is created with this launch plan." + "role", ":ref:`ref_string`", "", "**Deprecated.** String to indicate the role to use to execute the workflow underneath" + "labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Custom labels to be applied to the execution resource." + "annotations", ":ref:`ref_flyteidl.admin.Annotations`", "", "Custom annotations to be applied to the execution resource." + "auth", ":ref:`ref_flyteidl.admin.Auth`", "", "**Deprecated.** Indicates the permission associated with workflow executions triggered with this launch plan." + "auth_role", ":ref:`ref_flyteidl.admin.AuthRole`", "", "**Deprecated.** " + "security_context", ":ref:`ref_flyteidl.core.SecurityContext`", "", "Indicates security context for permissions triggered with this launch plan" + "quality_of_service", ":ref:`ref_flyteidl.core.QualityOfService`", "", "Indicates the runtime priority of the execution." + "raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)." + "max_parallelism", ":ref:`ref_int32`", "", "Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this." + "interruptible", ":ref:`ref_google.protobuf.BoolValue`", "", "Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field." + + + + + + + +.. _ref_flyteidl.admin.LaunchPlanUpdateRequest: + +LaunchPlanUpdateRequest +------------------------------------------------------------------ + +Request to set the referenced launch plan state to the configured value. +See :ref:`ref_flyteidl.admin.LaunchPlan` for more details + + + +.. csv-table:: LaunchPlanUpdateRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Identifier of launch plan for which to change state. +required." + "state", ":ref:`ref_flyteidl.admin.LaunchPlanState`", "", "Desired state to apply to the launch plan. +required." + + + + + + + +.. _ref_flyteidl.admin.LaunchPlanUpdateResponse: + +LaunchPlanUpdateResponse +------------------------------------------------------------------ + +Purposefully empty, may be populated in the future. + + + + + + + +.. + end messages + + + +.. _ref_flyteidl.admin.LaunchPlanState: + +LaunchPlanState +------------------------------------------------------------------ + +By default any launch plan regardless of state can be used to launch a workflow execution. +However, at most one version of a launch plan +(e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be +active at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier +group will be observed and trigger executions at a defined cadence. + +.. csv-table:: Enum LaunchPlanState values + :header: "Name", "Number", "Description" + :widths: auto + + "INACTIVE", "0", "" + "ACTIVE", "1", "" + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/matchable_resource.proto: + +flyteidl/admin/matchable_resource.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.ClusterResourceAttributes: + +ClusterResourceAttributes +------------------------------------------------------------------ + + + + + +.. csv-table:: ClusterResourceAttributes type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "attributes", ":ref:`ref_flyteidl.admin.ClusterResourceAttributes.AttributesEntry`", "repeated", "Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation." + + + + + + + +.. _ref_flyteidl.admin.ClusterResourceAttributes.AttributesEntry: + +ClusterResourceAttributes.AttributesEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: ClusterResourceAttributes.AttributesEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_flyteidl.admin.ExecutionClusterLabel: + +ExecutionClusterLabel +------------------------------------------------------------------ + + + + + +.. csv-table:: ExecutionClusterLabel type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "value", ":ref:`ref_string`", "", "Label value to determine where the execution will be run" + + + + + + + +.. _ref_flyteidl.admin.ExecutionQueueAttributes: + +ExecutionQueueAttributes +------------------------------------------------------------------ + + + + + +.. csv-table:: ExecutionQueueAttributes type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "tags", ":ref:`ref_string`", "repeated", "Tags used for assigning execution queues for tasks defined within this project." + + + + + + + +.. _ref_flyteidl.admin.ListMatchableAttributesRequest: + +ListMatchableAttributesRequest +------------------------------------------------------------------ + +Request all matching resource attributes for a resource type. +See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details + + + +.. csv-table:: ListMatchableAttributesRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "+required" + + + + + + + +.. _ref_flyteidl.admin.ListMatchableAttributesResponse: + +ListMatchableAttributesResponse +------------------------------------------------------------------ + +Response for a request for all matching resource attributes for a resource type. +See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details + + + +.. csv-table:: ListMatchableAttributesResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "configurations", ":ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`", "repeated", "" + + + + + + + +.. _ref_flyteidl.admin.MatchableAttributesConfiguration: + +MatchableAttributesConfiguration +------------------------------------------------------------------ + +Represents a custom set of attributes applied for either a domain; a domain and project; or +domain, project and workflow name. +These are used to override system level defaults for kubernetes cluster resource management, +default execution values, and more all across different levels of specificity. + + + +.. csv-table:: MatchableAttributesConfiguration type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "attributes", ":ref:`ref_flyteidl.admin.MatchingAttributes`", "", "" + "domain", ":ref:`ref_string`", "", "" + "project", ":ref:`ref_string`", "", "" + "workflow", ":ref:`ref_string`", "", "" + "launch_plan", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_flyteidl.admin.MatchingAttributes: + +MatchingAttributes +------------------------------------------------------------------ + +Generic container for encapsulating all types of the above attributes messages. + + + +.. csv-table:: MatchingAttributes type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "task_resource_attributes", ":ref:`ref_flyteidl.admin.TaskResourceAttributes`", "", "" + "cluster_resource_attributes", ":ref:`ref_flyteidl.admin.ClusterResourceAttributes`", "", "" + "execution_queue_attributes", ":ref:`ref_flyteidl.admin.ExecutionQueueAttributes`", "", "" + "execution_cluster_label", ":ref:`ref_flyteidl.admin.ExecutionClusterLabel`", "", "" + "quality_of_service", ":ref:`ref_flyteidl.core.QualityOfService`", "", "" + "plugin_overrides", ":ref:`ref_flyteidl.admin.PluginOverrides`", "", "" + "workflow_execution_config", ":ref:`ref_flyteidl.admin.WorkflowExecutionConfig`", "", "" + "cluster_assignment", ":ref:`ref_flyteidl.admin.ClusterAssignment`", "", "" + + + + + + + +.. _ref_flyteidl.admin.PluginOverride: + +PluginOverride +------------------------------------------------------------------ + +This MatchableAttribute configures selecting alternate plugin implementations for a given task type. +In addition to an override implementation a selection of fallbacks can be provided or other modes +for handling cases where the desired plugin override is not enabled in a given Flyte deployment. + + + +.. csv-table:: PluginOverride type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "task_type", ":ref:`ref_string`", "", "A predefined yet extensible Task type identifier." + "plugin_id", ":ref:`ref_string`", "repeated", "A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id." + "missing_plugin_behavior", ":ref:`ref_flyteidl.admin.PluginOverride.MissingPluginBehavior`", "", "Defines the behavior when no plugin from the plugin_id list is not found." + + + + + + + +.. _ref_flyteidl.admin.PluginOverrides: + +PluginOverrides +------------------------------------------------------------------ + + + + + +.. csv-table:: PluginOverrides type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "overrides", ":ref:`ref_flyteidl.admin.PluginOverride`", "repeated", "" + + + + + + + +.. _ref_flyteidl.admin.TaskResourceAttributes: + +TaskResourceAttributes +------------------------------------------------------------------ + +Defines task resource defaults and limits that will be applied at task registration. + + + +.. csv-table:: TaskResourceAttributes type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "defaults", ":ref:`ref_flyteidl.admin.TaskResourceSpec`", "", "" + "limits", ":ref:`ref_flyteidl.admin.TaskResourceSpec`", "", "" + + + + + + + +.. _ref_flyteidl.admin.TaskResourceSpec: + +TaskResourceSpec +------------------------------------------------------------------ + +Defines a set of overridable task resource attributes set during task registration. + + + +.. csv-table:: TaskResourceSpec type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "cpu", ":ref:`ref_string`", "", "" + "gpu", ":ref:`ref_string`", "", "" + "memory", ":ref:`ref_string`", "", "" + "storage", ":ref:`ref_string`", "", "" + "ephemeral_storage", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_flyteidl.admin.WorkflowExecutionConfig: + +WorkflowExecutionConfig +------------------------------------------------------------------ + +Adds defaults for customizable workflow-execution specifications and overrides. + + + +.. csv-table:: WorkflowExecutionConfig type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "max_parallelism", ":ref:`ref_int32`", "", "Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness." + "security_context", ":ref:`ref_flyteidl.core.SecurityContext`", "", "Indicates security context permissions for executions triggered with this matchable attribute." + "raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)." + "labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Custom labels to be applied to a triggered execution resource." + "annotations", ":ref:`ref_flyteidl.admin.Annotations`", "", "Custom annotations to be applied to a triggered execution resource." + "interruptible", ":ref:`ref_google.protobuf.BoolValue`", "", "Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field." + + + + + + +.. + end messages + + + +.. _ref_flyteidl.admin.MatchableResource: + +MatchableResource +------------------------------------------------------------------ + +Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes +based on matching tags. + +.. csv-table:: Enum MatchableResource values + :header: "Name", "Number", "Description" + :widths: auto + + "TASK_RESOURCE", "0", "Applies to customizable task resource requests and limits." + "CLUSTER_RESOURCE", "1", "Applies to configuring templated kubernetes cluster resources." + "EXECUTION_QUEUE", "2", "Configures task and dynamic task execution queue assignment." + "EXECUTION_CLUSTER_LABEL", "3", "Configures the K8s cluster label to be used for execution to be run" + "QUALITY_OF_SERVICE_SPECIFICATION", "4", "Configures default quality of service when undefined in an execution spec." + "PLUGIN_OVERRIDE", "5", "Selects configurable plugin implementation behavior for a given task type." + "WORKFLOW_EXECUTION_CONFIG", "6", "Adds defaults for customizable workflow-execution specifications and overrides." + "CLUSTER_ASSIGNMENT", "7", "Controls how to select an available cluster on which this execution should run." + + + +.. _ref_flyteidl.admin.PluginOverride.MissingPluginBehavior: + +PluginOverride.MissingPluginBehavior +------------------------------------------------------------------ + + + +.. csv-table:: Enum PluginOverride.MissingPluginBehavior values + :header: "Name", "Number", "Description" + :widths: auto + + "FAIL", "0", "By default, if this plugin is not enabled for a Flyte deployment then execution will fail." + "USE_DEFAULT", "1", "Uses the system-configured default implementation." + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/node_execution.proto: + +flyteidl/admin/node_execution.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.DynamicWorkflowNodeMetadata: + +DynamicWorkflowNodeMetadata +------------------------------------------------------------------ + +For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated. + + + +.. csv-table:: DynamicWorkflowNodeMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the workflow." + "compiled_workflow", ":ref:`ref_flyteidl.core.CompiledWorkflowClosure`", "", "Represents the compiled representation of the embedded dynamic workflow." + + + + + + + +.. _ref_flyteidl.admin.NodeExecution: + +NodeExecution +------------------------------------------------------------------ + +Encapsulates all details for a single node execution entity. +A node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested +sub-workflow, or even a separate child-workflow execution. +The same task can be called repeatedly in a single workflow but each node is unique. + + + +.. csv-table:: NodeExecution type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Uniquely identifies an individual node execution." + "input_uri", ":ref:`ref_string`", "", "Path to remote data store where input blob is stored." + "closure", ":ref:`ref_flyteidl.admin.NodeExecutionClosure`", "", "Computed results associated with this node execution." + "metadata", ":ref:`ref_flyteidl.admin.NodeExecutionMetaData`", "", "Metadata for Node Execution" + + + + + + + +.. _ref_flyteidl.admin.NodeExecutionClosure: + +NodeExecutionClosure +------------------------------------------------------------------ + +Container for node execution details and results. + + + +.. csv-table:: NodeExecutionClosure type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "output_uri", ":ref:`ref_string`", "", "**Deprecated.** Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead." + "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information for the Node" + "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead." + "phase", ":ref:`ref_flyteidl.core.NodeExecution.Phase`", "", "The last recorded phase for this node execution." + "started_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the node execution began running." + "duration", ":ref:`ref_google.protobuf.Duration`", "", "The amount of time the node execution spent running." + "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the node execution was created." + "updated_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the node execution was last updated." + "workflow_node_metadata", ":ref:`ref_flyteidl.admin.WorkflowNodeMetadata`", "", "" + "task_node_metadata", ":ref:`ref_flyteidl.admin.TaskNodeMetadata`", "", "" + "deck_uri", ":ref:`ref_string`", "", "String location uniquely identifying where the deck HTML file is. NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" + + + + + + + +.. _ref_flyteidl.admin.NodeExecutionForTaskListRequest: + +NodeExecutionForTaskListRequest +------------------------------------------------------------------ + +Represents a request structure to retrieve a list of node execution entities launched by a specific task. +This can arise when a task yields a subworkflow. + + + +.. csv-table:: NodeExecutionForTaskListRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "task_execution_id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "Indicates the node execution to filter by. +required" + "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required" + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional" + "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : +optional" + "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional" + + + + + + + +.. _ref_flyteidl.admin.NodeExecutionGetDataRequest: + +NodeExecutionGetDataRequest +------------------------------------------------------------------ + +Request structure to fetch inputs and output for a node execution. +By default, these are not returned in :ref:`ref_flyteidl.admin.NodeExecutionGetRequest` + + + +.. csv-table:: NodeExecutionGetDataRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "The identifier of the node execution for which to fetch inputs and outputs." + + + + + + + +.. _ref_flyteidl.admin.NodeExecutionGetDataResponse: + +NodeExecutionGetDataResponse +------------------------------------------------------------------ + +Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution. + + + +.. csv-table:: NodeExecutionGetDataResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "inputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of node execution inputs. Deprecated: Please use full_inputs instead." + "outputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of node execution outputs. Deprecated: Please use full_outputs instead." + "full_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_inputs will only be populated if they are under a configured size threshold." + "full_outputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_outputs will only be populated if they are under a configured size threshold." + "dynamic_workflow", ":ref:`ref_flyteidl.admin.DynamicWorkflowNodeMetadata`", "", "Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here." + + + + + + + +.. _ref_flyteidl.admin.NodeExecutionGetRequest: + +NodeExecutionGetRequest +------------------------------------------------------------------ + +A message used to fetch a single node execution entity. +See :ref:`ref_flyteidl.admin.NodeExecution` for more details + + + +.. csv-table:: NodeExecutionGetRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Uniquely identifies an individual node execution. +required" + + + + + + + +.. _ref_flyteidl.admin.NodeExecutionList: + +NodeExecutionList +------------------------------------------------------------------ + +Request structure to retrieve a list of node execution entities. +See :ref:`ref_flyteidl.admin.NodeExecution` for more details + + + +.. csv-table:: NodeExecutionList type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "node_executions", ":ref:`ref_flyteidl.admin.NodeExecution`", "repeated", "" + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." + + + + + + + +.. _ref_flyteidl.admin.NodeExecutionListRequest: + +NodeExecutionListRequest +------------------------------------------------------------------ + +Represents a request structure to retrieve a list of node execution entities. +See :ref:`ref_flyteidl.admin.NodeExecution` for more details + + + +.. csv-table:: NodeExecutionListRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "workflow_execution_id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Indicates the workflow execution to filter by. +required" + "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required" + "token", ":ref:`ref_string`", "", "" + "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : +optional" + "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional" + "unique_parent_id", ":ref:`ref_string`", "", "Unique identifier of the parent node in the execution +optional" + + + + + + + +.. _ref_flyteidl.admin.NodeExecutionMetaData: + +NodeExecutionMetaData +------------------------------------------------------------------ + +Represents additional attributes related to a Node Execution + + + +.. csv-table:: NodeExecutionMetaData type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "retry_group", ":ref:`ref_string`", "", "Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node." + "is_parent_node", ":ref:`ref_bool`", "", "Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes." + "spec_node_id", ":ref:`ref_string`", "", "Node id of the node in the original workflow This maps to value of WorkflowTemplate.nodes[X].id" + "is_dynamic", ":ref:`ref_bool`", "", "Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true." + + + + + + + +.. _ref_flyteidl.admin.TaskNodeMetadata: + +TaskNodeMetadata +------------------------------------------------------------------ + +Metadata for the case in which the node is a TaskNode + + + +.. csv-table:: TaskNodeMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "cache_status", ":ref:`ref_flyteidl.core.CatalogCacheStatus`", "", "Captures the status of caching for this execution." + "catalog_key", ":ref:`ref_flyteidl.core.CatalogMetadata`", "", "This structure carries the catalog artifact information" + + + + + + + +.. _ref_flyteidl.admin.WorkflowNodeMetadata: + +WorkflowNodeMetadata +------------------------------------------------------------------ + +Metadata for a WorkflowNode + + + +.. csv-table:: WorkflowNodeMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "executionId", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "The identifier for a workflow execution launched by a node." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/notification.proto: + +flyteidl/admin/notification.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.EmailMessage: + +EmailMessage +------------------------------------------------------------------ + +Represents the Email object that is sent to a publisher/subscriber +to forward the notification. +Note: This is internal to Admin and doesn't need to be exposed to other components. + + + +.. csv-table:: EmailMessage type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "recipients_email", ":ref:`ref_string`", "repeated", "The list of email addresses to receive an email with the content populated in the other fields. Currently, each email recipient will receive its own email. This populates the TO field." + "sender_email", ":ref:`ref_string`", "", "The email of the sender. This populates the FROM field." + "subject_line", ":ref:`ref_string`", "", "The content of the subject line. This populates the SUBJECT field." + "body", ":ref:`ref_string`", "", "The content of the email body. This populates the BODY field." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/project.proto: + +flyteidl/admin/project.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.Domain: + +Domain +------------------------------------------------------------------ + +Namespace within a project commonly used to differentiate between different service instances. +e.g. "production", "development", etc. + + + +.. csv-table:: Domain type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_string`", "", "Globally unique domain name." + "name", ":ref:`ref_string`", "", "Display name." + + + + + + + +.. _ref_flyteidl.admin.Project: + +Project +------------------------------------------------------------------ + +Top-level namespace used to classify different entities like workflows and executions. + + + +.. csv-table:: Project type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_string`", "", "Globally unique project name." + "name", ":ref:`ref_string`", "", "Display name." + "domains", ":ref:`ref_flyteidl.admin.Domain`", "repeated", "" + "description", ":ref:`ref_string`", "", "" + "labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Leverage Labels from flyteidel.admin.common.proto to tag projects with ownership information." + "state", ":ref:`ref_flyteidl.admin.Project.ProjectState`", "", "" + + + + + + + +.. _ref_flyteidl.admin.ProjectListRequest: + +ProjectListRequest +------------------------------------------------------------------ + +Request to retrieve a list of projects matching specified filters. +See :ref:`ref_flyteidl.admin.Project` for more details + + + +.. csv-table:: ProjectListRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "limit", ":ref:`ref_uint32`", "", "Indicates the number of projects to be returned. +required" + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional" + "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : +optional" + "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional" + + + + + + + +.. _ref_flyteidl.admin.ProjectRegisterRequest: + +ProjectRegisterRequest +------------------------------------------------------------------ + +Adds a new user-project within the Flyte deployment. +See :ref:`ref_flyteidl.admin.Project` for more details + + + +.. csv-table:: ProjectRegisterRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_flyteidl.admin.Project`", "", "+required" + + + + + + + +.. _ref_flyteidl.admin.ProjectRegisterResponse: + +ProjectRegisterResponse +------------------------------------------------------------------ + +Purposefully empty, may be updated in the future. + + + + + + + + +.. _ref_flyteidl.admin.ProjectUpdateResponse: + +ProjectUpdateResponse +------------------------------------------------------------------ + +Purposefully empty, may be updated in the future. + + + + + + + + +.. _ref_flyteidl.admin.Projects: + +Projects +------------------------------------------------------------------ + +Represents a list of projects. +See :ref:`ref_flyteidl.admin.Project` for more details + + + +.. csv-table:: Projects type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "projects", ":ref:`ref_flyteidl.admin.Project`", "repeated", "" + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." + + + + + + +.. + end messages + + + +.. _ref_flyteidl.admin.Project.ProjectState: + +Project.ProjectState +------------------------------------------------------------------ + +The state of the project is used to control its visibility in the UI and validity. + +.. csv-table:: Enum Project.ProjectState values + :header: "Name", "Number", "Description" + :widths: auto + + "ACTIVE", "0", "By default, all projects are considered active." + "ARCHIVED", "1", "Archived projects are no longer visible in the UI and no longer valid." + "SYSTEM_GENERATED", "2", "System generated projects that aren't explicitly created or managed by a user." + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/project_domain_attributes.proto: + +flyteidl/admin/project_domain_attributes.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.ProjectDomainAttributes: + +ProjectDomainAttributes +------------------------------------------------------------------ + +Defines a set of custom matching attributes which defines resource defaults for a project and domain. +For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + + + +.. csv-table:: ProjectDomainAttributes type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "Unique project id for which this set of attributes will be applied." + "domain", ":ref:`ref_string`", "", "Unique domain id for which this set of attributes will be applied." + "matching_attributes", ":ref:`ref_flyteidl.admin.MatchingAttributes`", "", "" + + + + + + + +.. _ref_flyteidl.admin.ProjectDomainAttributesDeleteRequest: + +ProjectDomainAttributesDeleteRequest +------------------------------------------------------------------ + +Request to delete a set matchable project domain attribute override. +For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + + + +.. csv-table:: ProjectDomainAttributesDeleteRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "Unique project id which this set of attributes references. +required" + "domain", ":ref:`ref_string`", "", "Unique domain id which this set of attributes references. +required" + "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "Which type of matchable attributes to delete. +required" + + + + + + + +.. _ref_flyteidl.admin.ProjectDomainAttributesDeleteResponse: + +ProjectDomainAttributesDeleteResponse +------------------------------------------------------------------ + +Purposefully empty, may be populated in the future. + + + + + + + + +.. _ref_flyteidl.admin.ProjectDomainAttributesGetRequest: + +ProjectDomainAttributesGetRequest +------------------------------------------------------------------ + +Request to get an individual project domain attribute override. +For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + + + +.. csv-table:: ProjectDomainAttributesGetRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "Unique project id which this set of attributes references. +required" + "domain", ":ref:`ref_string`", "", "Unique domain id which this set of attributes references. +required" + "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "Which type of matchable attributes to return. +required" + + + + + + + +.. _ref_flyteidl.admin.ProjectDomainAttributesGetResponse: + +ProjectDomainAttributesGetResponse +------------------------------------------------------------------ + +Response to get an individual project domain attribute override. +For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + + + +.. csv-table:: ProjectDomainAttributesGetResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "attributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributes`", "", "" + + + + + + + +.. _ref_flyteidl.admin.ProjectDomainAttributesUpdateRequest: + +ProjectDomainAttributesUpdateRequest +------------------------------------------------------------------ + +Sets custom attributes for a project-domain combination. +For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + + + +.. csv-table:: ProjectDomainAttributesUpdateRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "attributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributes`", "", "+required" + + + + + + + +.. _ref_flyteidl.admin.ProjectDomainAttributesUpdateResponse: + +ProjectDomainAttributesUpdateResponse +------------------------------------------------------------------ + +Purposefully empty, may be populated in the future. + + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/schedule.proto: + +flyteidl/admin/schedule.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.CronSchedule: + +CronSchedule +------------------------------------------------------------------ + +Options for schedules to run according to a cron expression. + + + +.. csv-table:: CronSchedule type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "schedule", ":ref:`ref_string`", "", "Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression; Also supports nonstandard predefined scheduling definitions as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions except @reboot" + "offset", ":ref:`ref_string`", "", "ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations" + + + + + + + +.. _ref_flyteidl.admin.FixedRate: + +FixedRate +------------------------------------------------------------------ + +Option for schedules run at a certain frequency e.g. every 2 minutes. + + + +.. csv-table:: FixedRate type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "value", ":ref:`ref_uint32`", "", "" + "unit", ":ref:`ref_flyteidl.admin.FixedRateUnit`", "", "" + + + + + + + +.. _ref_flyteidl.admin.Schedule: + +Schedule +------------------------------------------------------------------ + +Defines complete set of information required to trigger an execution on a schedule. + + + +.. csv-table:: Schedule type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "cron_expression", ":ref:`ref_string`", "", "**Deprecated.** Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *" + "rate", ":ref:`ref_flyteidl.admin.FixedRate`", "", "" + "cron_schedule", ":ref:`ref_flyteidl.admin.CronSchedule`", "", "" + "kickoff_time_input_arg", ":ref:`ref_string`", "", "Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off." + + + + + + +.. + end messages + + + +.. _ref_flyteidl.admin.FixedRateUnit: + +FixedRateUnit +------------------------------------------------------------------ + +Represents a frequency at which to run a schedule. + +.. csv-table:: Enum FixedRateUnit values + :header: "Name", "Number", "Description" + :widths: auto + + "MINUTE", "0", "" + "HOUR", "1", "" + "DAY", "2", "" + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/task.proto: + +flyteidl/admin/task.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.Task: + +Task +------------------------------------------------------------------ + +Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks +arranged to process workflow inputs and produce a deterministic set of outputs. +Tasks can come in many varieties tuned for specialized behavior. + + + +.. csv-table:: Task type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the task." + "closure", ":ref:`ref_flyteidl.admin.TaskClosure`", "", "closure encapsulates all the fields that maps to a compiled version of the task." + + + + + + + +.. _ref_flyteidl.admin.TaskClosure: + +TaskClosure +------------------------------------------------------------------ + +Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data +and task metadata. + + + +.. csv-table:: TaskClosure type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "compiled_task", ":ref:`ref_flyteidl.core.CompiledTask`", "", "Represents the compiled representation of the task from the specification provided." + "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the task was created." + + + + + + + +.. _ref_flyteidl.admin.TaskCreateRequest: + +TaskCreateRequest +------------------------------------------------------------------ + +Represents a request structure to create a revision of a task. +See :ref:`ref_flyteidl.admin.Task` for more details + + + +.. csv-table:: TaskCreateRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the task. +required" + "spec", ":ref:`ref_flyteidl.admin.TaskSpec`", "", "Represents the specification for task. +required" + + + + + + + +.. _ref_flyteidl.admin.TaskCreateResponse: + +TaskCreateResponse +------------------------------------------------------------------ + +Represents a response structure if task creation succeeds. + +Purposefully empty, may be populated in the future. + + + + + + + + +.. _ref_flyteidl.admin.TaskList: + +TaskList +------------------------------------------------------------------ + +Represents a list of tasks returned from the admin. +See :ref:`ref_flyteidl.admin.Task` for more details + + + +.. csv-table:: TaskList type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "tasks", ":ref:`ref_flyteidl.admin.Task`", "repeated", "A list of tasks returned based on the request." + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." + + + + + + + +.. _ref_flyteidl.admin.TaskSpec: + +TaskSpec +------------------------------------------------------------------ + +Represents a structure that encapsulates the user-configured specification of the task. + + + +.. csv-table:: TaskSpec type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "template", ":ref:`ref_flyteidl.core.TaskTemplate`", "", "Template of the task that encapsulates all the metadata of the task." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/task_execution.proto: + +flyteidl/admin/task_execution.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.TaskExecution: + +TaskExecution +------------------------------------------------------------------ + +Encapsulates all details for a single task execution entity. +A task execution represents an instantiated task, including all inputs and additional +metadata as well as computed results included state, outputs, and duration-based attributes. + + + +.. csv-table:: TaskExecution type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "Unique identifier for the task execution." + "input_uri", ":ref:`ref_string`", "", "Path to remote data store where input blob is stored." + "closure", ":ref:`ref_flyteidl.admin.TaskExecutionClosure`", "", "Task execution details and results." + "is_parent", ":ref:`ref_bool`", "", "Whether this task spawned nodes." + + + + + + + +.. _ref_flyteidl.admin.TaskExecutionClosure: + +TaskExecutionClosure +------------------------------------------------------------------ + +Container for task execution details and results. + + + +.. csv-table:: TaskExecutionClosure type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "output_uri", ":ref:`ref_string`", "", "**Deprecated.** Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead." + "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information for the task execution. Populated if the execution failed." + "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead." + "phase", ":ref:`ref_flyteidl.core.TaskExecution.Phase`", "", "The last recorded phase for this task execution." + "logs", ":ref:`ref_flyteidl.core.TaskLog`", "repeated", "Detailed log information output by the task execution." + "started_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the task execution began running." + "duration", ":ref:`ref_google.protobuf.Duration`", "", "The amount of time the task execution spent running." + "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the task execution was created." + "updated_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the task execution was last updated." + "custom_info", ":ref:`ref_google.protobuf.Struct`", "", "Custom data specific to the task plugin." + "reason", ":ref:`ref_string`", "", "If there is an explanation for the most recent phase transition, the reason will capture it." + "task_type", ":ref:`ref_string`", "", "A predefined yet extensible Task type identifier." + "metadata", ":ref:`ref_flyteidl.event.TaskExecutionMetadata`", "", "Metadata around how a task was executed." + "event_version", ":ref:`ref_int32`", "", "The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message." + + + + + + + +.. _ref_flyteidl.admin.TaskExecutionGetDataRequest: + +TaskExecutionGetDataRequest +------------------------------------------------------------------ + +Request structure to fetch inputs and output for a task execution. +By default this data is not returned inline in :ref:`ref_flyteidl.admin.TaskExecutionGetRequest` + + + +.. csv-table:: TaskExecutionGetDataRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "The identifier of the task execution for which to fetch inputs and outputs. +required" + + + + + + + +.. _ref_flyteidl.admin.TaskExecutionGetDataResponse: + +TaskExecutionGetDataResponse +------------------------------------------------------------------ + +Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution. + + + +.. csv-table:: TaskExecutionGetDataResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "inputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of task execution inputs. Deprecated: Please use full_inputs instead." + "outputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of task execution outputs. Deprecated: Please use full_outputs instead." + "full_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_inputs will only be populated if they are under a configured size threshold." + "full_outputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_outputs will only be populated if they are under a configured size threshold." + + + + + + + +.. _ref_flyteidl.admin.TaskExecutionGetRequest: + +TaskExecutionGetRequest +------------------------------------------------------------------ + +A message used to fetch a single task execution entity. +See :ref:`ref_flyteidl.admin.TaskExecution` for more details + + + +.. csv-table:: TaskExecutionGetRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "Unique identifier for the task execution. +required" + + + + + + + +.. _ref_flyteidl.admin.TaskExecutionList: + +TaskExecutionList +------------------------------------------------------------------ + +Response structure for a query to list of task execution entities. +See :ref:`ref_flyteidl.admin.TaskExecution` for more details + + + +.. csv-table:: TaskExecutionList type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "task_executions", ":ref:`ref_flyteidl.admin.TaskExecution`", "repeated", "" + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." + + + + + + + +.. _ref_flyteidl.admin.TaskExecutionListRequest: + +TaskExecutionListRequest +------------------------------------------------------------------ + +Represents a request structure to retrieve a list of task execution entities yielded by a specific node execution. +See :ref:`ref_flyteidl.admin.TaskExecution` for more details + + + +.. csv-table:: TaskExecutionListRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "node_execution_id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Indicates the node execution to filter by. +required" + "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required" + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional" + "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : +optional" + "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering for returned list. +optional" + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/version.proto: + +flyteidl/admin/version.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.GetVersionRequest: + +GetVersionRequest +------------------------------------------------------------------ + +Empty request for GetVersion + + + + + + + + +.. _ref_flyteidl.admin.GetVersionResponse: + +GetVersionResponse +------------------------------------------------------------------ + +Response for the GetVersion API + + + +.. csv-table:: GetVersionResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "control_plane_version", ":ref:`ref_flyteidl.admin.Version`", "", "The control plane version information. FlyteAdmin and related components form the control plane of Flyte" + + + + + + + +.. _ref_flyteidl.admin.Version: + +Version +------------------------------------------------------------------ + +Provides Version information for a component + + + +.. csv-table:: Version type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "Build", ":ref:`ref_string`", "", "Specifies the GIT sha of the build" + "Version", ":ref:`ref_string`", "", "Version for the build, should follow a semver" + "BuildTime", ":ref:`ref_string`", "", "Build timestamp" + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/workflow.proto: + +flyteidl/admin/workflow.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.Workflow: + +Workflow +------------------------------------------------------------------ + +Represents the workflow structure stored in the Admin +A workflow is created by ordering tasks and associating outputs to inputs +in order to produce a directed-acyclic execution graph. + + + +.. csv-table:: Workflow type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the workflow." + "closure", ":ref:`ref_flyteidl.admin.WorkflowClosure`", "", "closure encapsulates all the fields that maps to a compiled version of the workflow." + + + + + + + +.. _ref_flyteidl.admin.WorkflowClosure: + +WorkflowClosure +------------------------------------------------------------------ + +A container holding the compiled workflow produced from the WorkflowSpec and additional metadata. + + + +.. csv-table:: WorkflowClosure type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "compiled_workflow", ":ref:`ref_flyteidl.core.CompiledWorkflowClosure`", "", "Represents the compiled representation of the workflow from the specification provided." + "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the workflow was created." + + + + + + + +.. _ref_flyteidl.admin.WorkflowCreateRequest: + +WorkflowCreateRequest +------------------------------------------------------------------ + +Represents a request structure to create a revision of a workflow. +See :ref:`ref_flyteidl.admin.Workflow` for more details + + + +.. csv-table:: WorkflowCreateRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the workflow. +required" + "spec", ":ref:`ref_flyteidl.admin.WorkflowSpec`", "", "Represents the specification for workflow. +required" + + + + + + + +.. _ref_flyteidl.admin.WorkflowCreateResponse: + +WorkflowCreateResponse +------------------------------------------------------------------ + +Purposefully empty, may be populated in the future. + + + + + + + + +.. _ref_flyteidl.admin.WorkflowList: + +WorkflowList +------------------------------------------------------------------ + +Represents a list of workflows returned from the admin. +See :ref:`ref_flyteidl.admin.Workflow` for more details + + + +.. csv-table:: WorkflowList type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "workflows", ":ref:`ref_flyteidl.admin.Workflow`", "repeated", "A list of workflows returned based on the request." + "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty." + + + + + + + +.. _ref_flyteidl.admin.WorkflowSpec: + +WorkflowSpec +------------------------------------------------------------------ + +Represents a structure that encapsulates the specification of the workflow. + + + +.. csv-table:: WorkflowSpec type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "template", ":ref:`ref_flyteidl.core.WorkflowTemplate`", "", "Template of the task that encapsulates all the metadata of the workflow." + "sub_workflows", ":ref:`ref_flyteidl.core.WorkflowTemplate`", "repeated", "Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/admin/workflow_attributes.proto: + +flyteidl/admin/workflow_attributes.proto +================================================================== + + + + + +.. _ref_flyteidl.admin.WorkflowAttributes: + +WorkflowAttributes +------------------------------------------------------------------ + +Defines a set of custom matching attributes which defines resource defaults for a project, domain and workflow. +For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + + + +.. csv-table:: WorkflowAttributes type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "Unique project id for which this set of attributes will be applied." + "domain", ":ref:`ref_string`", "", "Unique domain id for which this set of attributes will be applied." + "workflow", ":ref:`ref_string`", "", "Workflow name for which this set of attributes will be applied." + "matching_attributes", ":ref:`ref_flyteidl.admin.MatchingAttributes`", "", "" + + + + + + + +.. _ref_flyteidl.admin.WorkflowAttributesDeleteRequest: + +WorkflowAttributesDeleteRequest +------------------------------------------------------------------ + +Request to delete a set matchable workflow attribute override. +For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + + + +.. csv-table:: WorkflowAttributesDeleteRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "Unique project id which this set of attributes references. +required" + "domain", ":ref:`ref_string`", "", "Unique domain id which this set of attributes references. +required" + "workflow", ":ref:`ref_string`", "", "Workflow name which this set of attributes references. +required" + "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "Which type of matchable attributes to delete. +required" + + + + + + + +.. _ref_flyteidl.admin.WorkflowAttributesDeleteResponse: + +WorkflowAttributesDeleteResponse +------------------------------------------------------------------ + +Purposefully empty, may be populated in the future. + + + + + + + + +.. _ref_flyteidl.admin.WorkflowAttributesGetRequest: + +WorkflowAttributesGetRequest +------------------------------------------------------------------ + +Request to get an individual workflow attribute override. +For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + + + +.. csv-table:: WorkflowAttributesGetRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "Unique project id which this set of attributes references. +required" + "domain", ":ref:`ref_string`", "", "Unique domain id which this set of attributes references. +required" + "workflow", ":ref:`ref_string`", "", "Workflow name which this set of attributes references. +required" + "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "Which type of matchable attributes to return. +required" + + + + + + + +.. _ref_flyteidl.admin.WorkflowAttributesGetResponse: + +WorkflowAttributesGetResponse +------------------------------------------------------------------ + +Response to get an individual workflow attribute override. + + + +.. csv-table:: WorkflowAttributesGetResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "attributes", ":ref:`ref_flyteidl.admin.WorkflowAttributes`", "", "" + + + + + + + +.. _ref_flyteidl.admin.WorkflowAttributesUpdateRequest: + +WorkflowAttributesUpdateRequest +------------------------------------------------------------------ + +Sets custom attributes for a project, domain and workflow combination. +For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + + + +.. csv-table:: WorkflowAttributesUpdateRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "attributes", ":ref:`ref_flyteidl.admin.WorkflowAttributes`", "", "" + + + + + + + +.. _ref_flyteidl.admin.WorkflowAttributesUpdateResponse: + +WorkflowAttributesUpdateResponse +------------------------------------------------------------------ + +Purposefully empty, may be populated in the future. + + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_google/protobuf/duration.proto: + +google/protobuf/duration.proto +================================================================== + + + + + +.. _ref_google.protobuf.Duration: + +Duration +------------------------------------------------------------------ + +A Duration represents a signed, fixed-length span of time represented +as a count of seconds and fractions of seconds at nanosecond +resolution. It is independent of any calendar and concepts like "day" +or "month". It is related to Timestamp in that the difference between +two Timestamp values is a Duration and it can be added or subtracted +from a Timestamp. Range is approximately +-10,000 years. + +# Examples + +Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + +Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + +Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + +# JSON Mapping + +In JSON format, the Duration type is encoded as a string rather than an +object, where the string ends in the suffix "s" (indicating seconds) and +is preceded by the number of seconds, with nanoseconds expressed as +fractional seconds. For example, 3 seconds with 0 nanoseconds should be +encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should +be expressed in JSON format as "3.000000001s", and 3 seconds and 1 +microsecond should be expressed in JSON format as "3.000001s". + + + +.. csv-table:: Duration type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "seconds", ":ref:`ref_int64`", "", "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years" + "nanos", ":ref:`ref_int32`", "", "Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_google/protobuf/wrappers.proto: + +google/protobuf/wrappers.proto +================================================================== + + + + + +.. _ref_google.protobuf.BoolValue: + +BoolValue +------------------------------------------------------------------ + +Wrapper message for `bool`. + +The JSON representation for `BoolValue` is JSON `true` and `false`. + + + +.. csv-table:: BoolValue type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "value", ":ref:`ref_bool`", "", "The bool value." + + + + + + + +.. _ref_google.protobuf.BytesValue: + +BytesValue +------------------------------------------------------------------ + +Wrapper message for `bytes`. + +The JSON representation for `BytesValue` is JSON string. + + + +.. csv-table:: BytesValue type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "value", ":ref:`ref_bytes`", "", "The bytes value." + + + + + + + +.. _ref_google.protobuf.DoubleValue: + +DoubleValue +------------------------------------------------------------------ + +Wrapper message for `double`. + +The JSON representation for `DoubleValue` is JSON number. + + + +.. csv-table:: DoubleValue type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "value", ":ref:`ref_double`", "", "The double value." + + + + + + + +.. _ref_google.protobuf.FloatValue: + +FloatValue +------------------------------------------------------------------ + +Wrapper message for `float`. + +The JSON representation for `FloatValue` is JSON number. + + + +.. csv-table:: FloatValue type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "value", ":ref:`ref_float`", "", "The float value." + + + + + + + +.. _ref_google.protobuf.Int32Value: + +Int32Value +------------------------------------------------------------------ + +Wrapper message for `int32`. + +The JSON representation for `Int32Value` is JSON number. + + + +.. csv-table:: Int32Value type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "value", ":ref:`ref_int32`", "", "The int32 value." + + + + + + + +.. _ref_google.protobuf.Int64Value: + +Int64Value +------------------------------------------------------------------ + +Wrapper message for `int64`. + +The JSON representation for `Int64Value` is JSON string. + + + +.. csv-table:: Int64Value type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "value", ":ref:`ref_int64`", "", "The int64 value." + + + + + + + +.. _ref_google.protobuf.StringValue: + +StringValue +------------------------------------------------------------------ + +Wrapper message for `string`. + +The JSON representation for `StringValue` is JSON string. + + + +.. csv-table:: StringValue type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "value", ":ref:`ref_string`", "", "The string value." + + + + + + + +.. _ref_google.protobuf.UInt32Value: + +UInt32Value +------------------------------------------------------------------ + +Wrapper message for `uint32`. + +The JSON representation for `UInt32Value` is JSON number. + + + +.. csv-table:: UInt32Value type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "value", ":ref:`ref_uint32`", "", "The uint32 value." + + + + + + + +.. _ref_google.protobuf.UInt64Value: + +UInt64Value +------------------------------------------------------------------ + +Wrapper message for `uint64`. + +The JSON representation for `UInt64Value` is JSON string. + + + +.. csv-table:: UInt64Value type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "value", ":ref:`ref_uint64`", "", "The uint64 value." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + diff --git a/protos/docs/core/core.rst b/protos/docs/core/core.rst new file mode 100644 index 000000000..2701bff08 --- /dev/null +++ b/protos/docs/core/core.rst @@ -0,0 +1,3794 @@ +###################### +Protocol Documentation +###################### + + + + +.. _ref_flyteidl/core/catalog.proto: + +flyteidl/core/catalog.proto +================================================================== + + + + + +.. _ref_flyteidl.core.CatalogArtifactTag: + +CatalogArtifactTag +------------------------------------------------------------------ + + + + + +.. csv-table:: CatalogArtifactTag type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "artifact_id", ":ref:`ref_string`", "", "Artifact ID is generated name" + "name", ":ref:`ref_string`", "", "Flyte computes the tag automatically, as the hash of the values" + + + + + + + +.. _ref_flyteidl.core.CatalogMetadata: + +CatalogMetadata +------------------------------------------------------------------ + +Catalog artifact information with specific metadata + + + +.. csv-table:: CatalogMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "dataset_id", ":ref:`ref_flyteidl.core.Identifier`", "", "Dataset ID in the catalog" + "artifact_tag", ":ref:`ref_flyteidl.core.CatalogArtifactTag`", "", "Artifact tag in the catalog" + "source_task_execution", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions" + + + + + + + +.. _ref_flyteidl.core.CatalogReservation: + +CatalogReservation +------------------------------------------------------------------ + + + + + + + + + +.. + end messages + + + +.. _ref_flyteidl.core.CatalogCacheStatus: + +CatalogCacheStatus +------------------------------------------------------------------ + +Indicates the status of CatalogCaching. The reason why this is not embedded in TaskNodeMetadata is, that we may use for other types of nodes as well in the future + +.. csv-table:: Enum CatalogCacheStatus values + :header: "Name", "Number", "Description" + :widths: auto + + "CACHE_DISABLED", "0", "Used to indicate that caching was disabled" + "CACHE_MISS", "1", "Used to indicate that the cache lookup resulted in no matches" + "CACHE_HIT", "2", "used to indicate that the associated artifact was a result of a previous execution" + "CACHE_POPULATED", "3", "used to indicate that the resultant artifact was added to the cache" + "CACHE_LOOKUP_FAILURE", "4", "Used to indicate that cache lookup failed because of an error" + "CACHE_PUT_FAILURE", "5", "Used to indicate that cache lookup failed because of an error" + + + +.. _ref_flyteidl.core.CatalogReservation.Status: + +CatalogReservation.Status +------------------------------------------------------------------ + +Indicates the status of a catalog reservation operation. + +.. csv-table:: Enum CatalogReservation.Status values + :header: "Name", "Number", "Description" + :widths: auto + + "RESERVATION_DISABLED", "0", "Used to indicate that reservations are disabled" + "RESERVATION_ACQUIRED", "1", "Used to indicate that a reservation was successfully acquired or extended" + "RESERVATION_EXISTS", "2", "Used to indicate that an active reservation currently exists" + "RESERVATION_RELEASED", "3", "Used to indicate that the reservation has been successfully released" + "RESERVATION_FAILURE", "4", "Used to indicate that a reservation operation resulted in failure" + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/core/compiler.proto: + +flyteidl/core/compiler.proto +================================================================== + + + + + +.. _ref_flyteidl.core.CompiledTask: + +CompiledTask +------------------------------------------------------------------ + +Output of the Compilation step. This object represent one Task. We store more metadata at this layer + + + +.. csv-table:: CompiledTask type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "template", ":ref:`ref_flyteidl.core.TaskTemplate`", "", "Completely contained TaskTemplate" + + + + + + + +.. _ref_flyteidl.core.CompiledWorkflow: + +CompiledWorkflow +------------------------------------------------------------------ + +Output of the compilation Step. This object represents one workflow. We store more metadata at this layer + + + +.. csv-table:: CompiledWorkflow type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "template", ":ref:`ref_flyteidl.core.WorkflowTemplate`", "", "Completely contained Workflow Template" + "connections", ":ref:`ref_flyteidl.core.ConnectionSet`", "", "For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored." + + + + + + + +.. _ref_flyteidl.core.CompiledWorkflowClosure: + +CompiledWorkflowClosure +------------------------------------------------------------------ + +A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow +and its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that +will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of +compiled subworkflows. + + + +.. csv-table:: CompiledWorkflowClosure type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "primary", ":ref:`ref_flyteidl.core.CompiledWorkflow`", "", "+required" + "sub_workflows", ":ref:`ref_flyteidl.core.CompiledWorkflow`", "repeated", "Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow as an inlined workflow +optional" + "tasks", ":ref:`ref_flyteidl.core.CompiledTask`", "repeated", "Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id +required (at least 1)" + + + + + + + +.. _ref_flyteidl.core.ConnectionSet: + +ConnectionSet +------------------------------------------------------------------ + +Adjacency list for the workflow. This is created as part of the compilation process. Every process after the compilation +step uses this created ConnectionSet + + + +.. csv-table:: ConnectionSet type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "downstream", ":ref:`ref_flyteidl.core.ConnectionSet.DownstreamEntry`", "repeated", "A list of all the node ids that are downstream from a given node id" + "upstream", ":ref:`ref_flyteidl.core.ConnectionSet.UpstreamEntry`", "repeated", "A list of all the node ids, that are upstream of this node id" + + + + + + + +.. _ref_flyteidl.core.ConnectionSet.DownstreamEntry: + +ConnectionSet.DownstreamEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: ConnectionSet.DownstreamEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_flyteidl.core.ConnectionSet.IdList`", "", "" + + + + + + + +.. _ref_flyteidl.core.ConnectionSet.IdList: + +ConnectionSet.IdList +------------------------------------------------------------------ + + + + + +.. csv-table:: ConnectionSet.IdList type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "ids", ":ref:`ref_string`", "repeated", "" + + + + + + + +.. _ref_flyteidl.core.ConnectionSet.UpstreamEntry: + +ConnectionSet.UpstreamEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: ConnectionSet.UpstreamEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_flyteidl.core.ConnectionSet.IdList`", "", "" + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/core/condition.proto: + +flyteidl/core/condition.proto +================================================================== + + + + + +.. _ref_flyteidl.core.BooleanExpression: + +BooleanExpression +------------------------------------------------------------------ + +Defines a boolean expression tree. It can be a simple or a conjunction expression. +Multiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result. + + + +.. csv-table:: BooleanExpression type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "conjunction", ":ref:`ref_flyteidl.core.ConjunctionExpression`", "", "" + "comparison", ":ref:`ref_flyteidl.core.ComparisonExpression`", "", "" + + + + + + + +.. _ref_flyteidl.core.ComparisonExpression: + +ComparisonExpression +------------------------------------------------------------------ + +Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables. +Each expression results in a boolean result. + + + +.. csv-table:: ComparisonExpression type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "operator", ":ref:`ref_flyteidl.core.ComparisonExpression.Operator`", "", "" + "left_value", ":ref:`ref_flyteidl.core.Operand`", "", "" + "right_value", ":ref:`ref_flyteidl.core.Operand`", "", "" + + + + + + + +.. _ref_flyteidl.core.ConjunctionExpression: + +ConjunctionExpression +------------------------------------------------------------------ + +Defines a conjunction expression of two boolean expressions. + + + +.. csv-table:: ConjunctionExpression type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "operator", ":ref:`ref_flyteidl.core.ConjunctionExpression.LogicalOperator`", "", "" + "left_expression", ":ref:`ref_flyteidl.core.BooleanExpression`", "", "" + "right_expression", ":ref:`ref_flyteidl.core.BooleanExpression`", "", "" + + + + + + + +.. _ref_flyteidl.core.Operand: + +Operand +------------------------------------------------------------------ + +Defines an operand to a comparison expression. + + + +.. csv-table:: Operand type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "primitive", ":ref:`ref_flyteidl.core.Primitive`", "", "Can be a constant" + "var", ":ref:`ref_string`", "", "Or one of this node's input variables" + + + + + + +.. + end messages + + + +.. _ref_flyteidl.core.ComparisonExpression.Operator: + +ComparisonExpression.Operator +------------------------------------------------------------------ + +Binary Operator for each expression + +.. csv-table:: Enum ComparisonExpression.Operator values + :header: "Name", "Number", "Description" + :widths: auto + + "EQ", "0", "" + "NEQ", "1", "" + "GT", "2", "Greater Than" + "GTE", "3", "" + "LT", "4", "Less Than" + "LTE", "5", "" + + + +.. _ref_flyteidl.core.ConjunctionExpression.LogicalOperator: + +ConjunctionExpression.LogicalOperator +------------------------------------------------------------------ + +Nested conditions. They can be conjoined using AND / OR +Order of evaluation is not important as the operators are Commutative + +.. csv-table:: Enum ConjunctionExpression.LogicalOperator values + :header: "Name", "Number", "Description" + :widths: auto + + "AND", "0", "Conjunction" + "OR", "1", "" + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/core/dynamic_job.proto: + +flyteidl/core/dynamic_job.proto +================================================================== + + + + + +.. _ref_flyteidl.core.DynamicJobSpec: + +DynamicJobSpec +------------------------------------------------------------------ + +Describes a set of tasks to execute and how the final outputs are produced. + + + +.. csv-table:: DynamicJobSpec type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "nodes", ":ref:`ref_flyteidl.core.Node`", "repeated", "A collection of nodes to execute." + "min_successes", ":ref:`ref_int64`", "", "An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks < min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not specified, is the count of nodes repeated field." + "outputs", ":ref:`ref_flyteidl.core.Binding`", "repeated", "Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids in bindings should have the generated id for the subtask." + "tasks", ":ref:`ref_flyteidl.core.TaskTemplate`", "repeated", "[Optional] A complete list of task specs referenced in nodes." + "subworkflows", ":ref:`ref_flyteidl.core.WorkflowTemplate`", "repeated", "[Optional] A complete list of task specs referenced in nodes." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/core/errors.proto: + +flyteidl/core/errors.proto +================================================================== + + + + + +.. _ref_flyteidl.core.ContainerError: + +ContainerError +------------------------------------------------------------------ + +Error message to propagate detailed errors from container executions to the execution +engine. + + + +.. csv-table:: ContainerError type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "code", ":ref:`ref_string`", "", "A simplified code for errors, so that we can provide a glossary of all possible errors." + "message", ":ref:`ref_string`", "", "A detailed error message." + "kind", ":ref:`ref_flyteidl.core.ContainerError.Kind`", "", "An abstract error kind for this error. Defaults to Non_Recoverable if not specified." + "origin", ":ref:`ref_flyteidl.core.ExecutionError.ErrorKind`", "", "Defines the origin of the error (system, user, unknown)." + + + + + + + +.. _ref_flyteidl.core.ErrorDocument: + +ErrorDocument +------------------------------------------------------------------ + +Defines the errors.pb file format the container can produce to communicate +failure reasons to the execution engine. + + + +.. csv-table:: ErrorDocument type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "error", ":ref:`ref_flyteidl.core.ContainerError`", "", "The error raised during execution." + + + + + + +.. + end messages + + + +.. _ref_flyteidl.core.ContainerError.Kind: + +ContainerError.Kind +------------------------------------------------------------------ + +Defines a generic error type that dictates the behavior of the retry strategy. + +.. csv-table:: Enum ContainerError.Kind values + :header: "Name", "Number", "Description" + :widths: auto + + "NON_RECOVERABLE", "0", "" + "RECOVERABLE", "1", "" + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/core/execution.proto: + +flyteidl/core/execution.proto +================================================================== + + + + + +.. _ref_flyteidl.core.ExecutionError: + +ExecutionError +------------------------------------------------------------------ + +Represents the error message from the execution. + + + +.. csv-table:: ExecutionError type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "code", ":ref:`ref_string`", "", "Error code indicates a grouping of a type of error. More Info: " + "message", ":ref:`ref_string`", "", "Detailed description of the error - including stack trace." + "error_uri", ":ref:`ref_string`", "", "Full error contents accessible via a URI" + "kind", ":ref:`ref_flyteidl.core.ExecutionError.ErrorKind`", "", "" + + + + + + + +.. _ref_flyteidl.core.NodeExecution: + +NodeExecution +------------------------------------------------------------------ + +Indicates various phases of Node Execution that only include the time spent to run the nodes/workflows + + + + + + + + +.. _ref_flyteidl.core.QualityOfService: + +QualityOfService +------------------------------------------------------------------ + +Indicates the priority of an execution. + + + +.. csv-table:: QualityOfService type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "tier", ":ref:`ref_flyteidl.core.QualityOfService.Tier`", "", "" + "spec", ":ref:`ref_flyteidl.core.QualityOfServiceSpec`", "", "" + + + + + + + +.. _ref_flyteidl.core.QualityOfServiceSpec: + +QualityOfServiceSpec +------------------------------------------------------------------ + +Represents customized execution run-time attributes. + + + +.. csv-table:: QualityOfServiceSpec type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "queueing_budget", ":ref:`ref_google.protobuf.Duration`", "", "Indicates how much queueing delay an execution can tolerate." + + + + + + + +.. _ref_flyteidl.core.TaskExecution: + +TaskExecution +------------------------------------------------------------------ + +Phases that task plugins can go through. Not all phases may be applicable to a specific plugin task, +but this is the cumulative list that customers may want to know about for their task. + + + + + + + + +.. _ref_flyteidl.core.TaskLog: + +TaskLog +------------------------------------------------------------------ + +Log information for the task that is specific to a log sink +When our log story is flushed out, we may have more metadata here like log link expiry + + + +.. csv-table:: TaskLog type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "uri", ":ref:`ref_string`", "", "" + "name", ":ref:`ref_string`", "", "" + "message_format", ":ref:`ref_flyteidl.core.TaskLog.MessageFormat`", "", "" + "ttl", ":ref:`ref_google.protobuf.Duration`", "", "" + + + + + + + +.. _ref_flyteidl.core.WorkflowExecution: + +WorkflowExecution +------------------------------------------------------------------ + +Indicates various phases of Workflow Execution + + + + + + + +.. + end messages + + + +.. _ref_flyteidl.core.ExecutionError.ErrorKind: + +ExecutionError.ErrorKind +------------------------------------------------------------------ + +Error type: System or User + +.. csv-table:: Enum ExecutionError.ErrorKind values + :header: "Name", "Number", "Description" + :widths: auto + + "UNKNOWN", "0", "" + "USER", "1", "" + "SYSTEM", "2", "" + + + +.. _ref_flyteidl.core.NodeExecution.Phase: + +NodeExecution.Phase +------------------------------------------------------------------ + + + +.. csv-table:: Enum NodeExecution.Phase values + :header: "Name", "Number", "Description" + :widths: auto + + "UNDEFINED", "0", "" + "QUEUED", "1", "" + "RUNNING", "2", "" + "SUCCEEDED", "3", "" + "FAILING", "4", "" + "FAILED", "5", "" + "ABORTED", "6", "" + "SKIPPED", "7", "" + "TIMED_OUT", "8", "" + "DYNAMIC_RUNNING", "9", "" + "RECOVERED", "10", "" + + + +.. _ref_flyteidl.core.QualityOfService.Tier: + +QualityOfService.Tier +------------------------------------------------------------------ + + + +.. csv-table:: Enum QualityOfService.Tier values + :header: "Name", "Number", "Description" + :widths: auto + + "UNDEFINED", "0", "Default: no quality of service specified." + "HIGH", "1", "" + "MEDIUM", "2", "" + "LOW", "3", "" + + + +.. _ref_flyteidl.core.TaskExecution.Phase: + +TaskExecution.Phase +------------------------------------------------------------------ + + + +.. csv-table:: Enum TaskExecution.Phase values + :header: "Name", "Number", "Description" + :widths: auto + + "UNDEFINED", "0", "" + "QUEUED", "1", "" + "RUNNING", "2", "" + "SUCCEEDED", "3", "" + "ABORTED", "4", "" + "FAILED", "5", "" + "INITIALIZING", "6", "To indicate cases where task is initializing, like: ErrImagePull, ContainerCreating, PodInitializing" + "WAITING_FOR_RESOURCES", "7", "To address cases, where underlying resource is not available: Backoff error, Resource quota exceeded" + + + +.. _ref_flyteidl.core.TaskLog.MessageFormat: + +TaskLog.MessageFormat +------------------------------------------------------------------ + + + +.. csv-table:: Enum TaskLog.MessageFormat values + :header: "Name", "Number", "Description" + :widths: auto + + "UNKNOWN", "0", "" + "CSV", "1", "" + "JSON", "2", "" + + + +.. _ref_flyteidl.core.WorkflowExecution.Phase: + +WorkflowExecution.Phase +------------------------------------------------------------------ + + + +.. csv-table:: Enum WorkflowExecution.Phase values + :header: "Name", "Number", "Description" + :widths: auto + + "UNDEFINED", "0", "" + "QUEUED", "1", "" + "RUNNING", "2", "" + "SUCCEEDING", "3", "" + "SUCCEEDED", "4", "" + "FAILING", "5", "" + "FAILED", "6", "" + "ABORTED", "7", "" + "TIMED_OUT", "8", "" + "ABORTING", "9", "" + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/core/identifier.proto: + +flyteidl/core/identifier.proto +================================================================== + + + + + +.. _ref_flyteidl.core.Identifier: + +Identifier +------------------------------------------------------------------ + +Encapsulation of fields that uniquely identifies a Flyte resource. + + + +.. csv-table:: Identifier type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Identifies the specific type of resource that this identifier corresponds to." + "project", ":ref:`ref_string`", "", "Name of the project the resource belongs to." + "domain", ":ref:`ref_string`", "", "Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project." + "name", ":ref:`ref_string`", "", "User provided value for the resource." + "version", ":ref:`ref_string`", "", "Specific version of the resource." + + + + + + + +.. _ref_flyteidl.core.NodeExecutionIdentifier: + +NodeExecutionIdentifier +------------------------------------------------------------------ + +Encapsulation of fields that identify a Flyte node execution entity. + + + +.. csv-table:: NodeExecutionIdentifier type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "node_id", ":ref:`ref_string`", "", "" + "execution_id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "" + + + + + + + +.. _ref_flyteidl.core.TaskExecutionIdentifier: + +TaskExecutionIdentifier +------------------------------------------------------------------ + +Encapsulation of fields that identify a Flyte task execution entity. + + + +.. csv-table:: TaskExecutionIdentifier type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "task_id", ":ref:`ref_flyteidl.core.Identifier`", "", "" + "node_execution_id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "" + "retry_attempt", ":ref:`ref_uint32`", "", "" + + + + + + + +.. _ref_flyteidl.core.WorkflowExecutionIdentifier: + +WorkflowExecutionIdentifier +------------------------------------------------------------------ + +Encapsulation of fields that uniquely identifies a Flyte workflow execution + + + +.. csv-table:: WorkflowExecutionIdentifier type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "Name of the project the resource belongs to." + "domain", ":ref:`ref_string`", "", "Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project." + "name", ":ref:`ref_string`", "", "User or system provided value for the resource." + + + + + + +.. + end messages + + + +.. _ref_flyteidl.core.ResourceType: + +ResourceType +------------------------------------------------------------------ + +Indicates a resource type within Flyte. + +.. csv-table:: Enum ResourceType values + :header: "Name", "Number", "Description" + :widths: auto + + "UNSPECIFIED", "0", "" + "TASK", "1", "" + "WORKFLOW", "2", "" + "LAUNCH_PLAN", "3", "" + "DATASET", "4", "A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects" + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/core/interface.proto: + +flyteidl/core/interface.proto +================================================================== + + + + + +.. _ref_flyteidl.core.Parameter: + +Parameter +------------------------------------------------------------------ + +A parameter is used as input to a launch plan and has +the special ability to have a default value or mark itself as required. + + + +.. csv-table:: Parameter type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "var", ":ref:`ref_flyteidl.core.Variable`", "", "+required Variable. Defines the type of the variable backing this parameter." + "default", ":ref:`ref_flyteidl.core.Literal`", "", "Defines a default value that has to match the variable type defined." + "required", ":ref:`ref_bool`", "", "+optional, is this value required to be filled." + + + + + + + +.. _ref_flyteidl.core.ParameterMap: + +ParameterMap +------------------------------------------------------------------ + +A map of Parameters. + + + +.. csv-table:: ParameterMap type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "parameters", ":ref:`ref_flyteidl.core.ParameterMap.ParametersEntry`", "repeated", "Defines a map of parameter names to parameters." + + + + + + + +.. _ref_flyteidl.core.ParameterMap.ParametersEntry: + +ParameterMap.ParametersEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: ParameterMap.ParametersEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_flyteidl.core.Parameter`", "", "" + + + + + + + +.. _ref_flyteidl.core.TypedInterface: + +TypedInterface +------------------------------------------------------------------ + +Defines strongly typed inputs and outputs. + + + +.. csv-table:: TypedInterface type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "inputs", ":ref:`ref_flyteidl.core.VariableMap`", "", "" + "outputs", ":ref:`ref_flyteidl.core.VariableMap`", "", "" + + + + + + + +.. _ref_flyteidl.core.Variable: + +Variable +------------------------------------------------------------------ + +Defines a strongly typed variable. + + + +.. csv-table:: Variable type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "type", ":ref:`ref_flyteidl.core.LiteralType`", "", "Variable literal type." + "description", ":ref:`ref_string`", "", "+optional string describing input variable" + + + + + + + +.. _ref_flyteidl.core.VariableMap: + +VariableMap +------------------------------------------------------------------ + +A map of Variables + + + +.. csv-table:: VariableMap type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "variables", ":ref:`ref_flyteidl.core.VariableMap.VariablesEntry`", "repeated", "Defines a map of variable names to variables." + + + + + + + +.. _ref_flyteidl.core.VariableMap.VariablesEntry: + +VariableMap.VariablesEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: VariableMap.VariablesEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_flyteidl.core.Variable`", "", "" + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/core/literals.proto: + +flyteidl/core/literals.proto +================================================================== + + + + + +.. _ref_flyteidl.core.Binary: + +Binary +------------------------------------------------------------------ + +A simple byte array with a tag to help different parts of the system communicate about what is in the byte array. +It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data. + + + +.. csv-table:: Binary type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "value", ":ref:`ref_bytes`", "", "" + "tag", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_flyteidl.core.Binding: + +Binding +------------------------------------------------------------------ + +An input/output binding of a variable to either static value or a node output. + + + +.. csv-table:: Binding type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "var", ":ref:`ref_string`", "", "Variable name must match an input/output variable of the node." + "binding", ":ref:`ref_flyteidl.core.BindingData`", "", "Data to use to bind this variable." + + + + + + + +.. _ref_flyteidl.core.BindingData: + +BindingData +------------------------------------------------------------------ + +Specifies either a simple value or a reference to another output. + + + +.. csv-table:: BindingData type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "scalar", ":ref:`ref_flyteidl.core.Scalar`", "", "A simple scalar value." + "collection", ":ref:`ref_flyteidl.core.BindingDataCollection`", "", "A collection of binding data. This allows nesting of binding data to any number of levels." + "promise", ":ref:`ref_flyteidl.core.OutputReference`", "", "References an output promised by another node." + "map", ":ref:`ref_flyteidl.core.BindingDataMap`", "", "A map of bindings. The key is always a string." + "union", ":ref:`ref_flyteidl.core.UnionInfo`", "", "" + + + + + + + +.. _ref_flyteidl.core.BindingDataCollection: + +BindingDataCollection +------------------------------------------------------------------ + +A collection of BindingData items. + + + +.. csv-table:: BindingDataCollection type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "bindings", ":ref:`ref_flyteidl.core.BindingData`", "repeated", "" + + + + + + + +.. _ref_flyteidl.core.BindingDataMap: + +BindingDataMap +------------------------------------------------------------------ + +A map of BindingData items. + + + +.. csv-table:: BindingDataMap type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "bindings", ":ref:`ref_flyteidl.core.BindingDataMap.BindingsEntry`", "repeated", "" + + + + + + + +.. _ref_flyteidl.core.BindingDataMap.BindingsEntry: + +BindingDataMap.BindingsEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: BindingDataMap.BindingsEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_flyteidl.core.BindingData`", "", "" + + + + + + + +.. _ref_flyteidl.core.Blob: + +Blob +------------------------------------------------------------------ + +Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is. +There are no restrictions on how the uri is formatted since it will depend on how to interact with the store. + + + +.. csv-table:: Blob type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "metadata", ":ref:`ref_flyteidl.core.BlobMetadata`", "", "" + "uri", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_flyteidl.core.BlobMetadata: + +BlobMetadata +------------------------------------------------------------------ + + + + + +.. csv-table:: BlobMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "type", ":ref:`ref_flyteidl.core.BlobType`", "", "" + + + + + + + +.. _ref_flyteidl.core.KeyValuePair: + +KeyValuePair +------------------------------------------------------------------ + +A generic key value pair. + + + +.. csv-table:: KeyValuePair type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "required." + "value", ":ref:`ref_string`", "", "+optional." + + + + + + + +.. _ref_flyteidl.core.Literal: + +Literal +------------------------------------------------------------------ + +A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives. + + + +.. csv-table:: Literal type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "scalar", ":ref:`ref_flyteidl.core.Scalar`", "", "A simple value." + "collection", ":ref:`ref_flyteidl.core.LiteralCollection`", "", "A collection of literals to allow nesting." + "map", ":ref:`ref_flyteidl.core.LiteralMap`", "", "A map of strings to literals." + "hash", ":ref:`ref_string`", "", "A hash representing this literal. This is used for caching purposes. For more details refer to RFC 1893 (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + + + + + + + +.. _ref_flyteidl.core.LiteralCollection: + +LiteralCollection +------------------------------------------------------------------ + +A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. + + + +.. csv-table:: LiteralCollection type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "literals", ":ref:`ref_flyteidl.core.Literal`", "repeated", "" + + + + + + + +.. _ref_flyteidl.core.LiteralMap: + +LiteralMap +------------------------------------------------------------------ + +A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. + + + +.. csv-table:: LiteralMap type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "literals", ":ref:`ref_flyteidl.core.LiteralMap.LiteralsEntry`", "repeated", "" + + + + + + + +.. _ref_flyteidl.core.LiteralMap.LiteralsEntry: + +LiteralMap.LiteralsEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: LiteralMap.LiteralsEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_flyteidl.core.Literal`", "", "" + + + + + + + +.. _ref_flyteidl.core.Primitive: + +Primitive +------------------------------------------------------------------ + +Primitive Types + + + +.. csv-table:: Primitive type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "integer", ":ref:`ref_int64`", "", "" + "float_value", ":ref:`ref_double`", "", "" + "string_value", ":ref:`ref_string`", "", "" + "boolean", ":ref:`ref_bool`", "", "" + "datetime", ":ref:`ref_google.protobuf.Timestamp`", "", "" + "duration", ":ref:`ref_google.protobuf.Duration`", "", "" + + + + + + + +.. _ref_flyteidl.core.RetryStrategy: + +RetryStrategy +------------------------------------------------------------------ + +Retry strategy associated with an executable unit. + + + +.. csv-table:: RetryStrategy type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "retries", ":ref:`ref_uint32`", "", "Number of retries. Retries will be consumed when the job fails with a recoverable error. The number of retries must be less than or equals to 10." + + + + + + + +.. _ref_flyteidl.core.Scalar: + +Scalar +------------------------------------------------------------------ + + + + + +.. csv-table:: Scalar type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "primitive", ":ref:`ref_flyteidl.core.Primitive`", "", "" + "blob", ":ref:`ref_flyteidl.core.Blob`", "", "" + "binary", ":ref:`ref_flyteidl.core.Binary`", "", "" + "schema", ":ref:`ref_flyteidl.core.Schema`", "", "" + "none_type", ":ref:`ref_flyteidl.core.Void`", "", "" + "error", ":ref:`ref_flyteidl.core.Error`", "", "" + "generic", ":ref:`ref_google.protobuf.Struct`", "", "" + "structured_dataset", ":ref:`ref_flyteidl.core.StructuredDataset`", "", "" + "union", ":ref:`ref_flyteidl.core.Union`", "", "" + + + + + + + +.. _ref_flyteidl.core.Schema: + +Schema +------------------------------------------------------------------ + +A strongly typed schema that defines the interface of data retrieved from the underlying storage medium. + + + +.. csv-table:: Schema type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "uri", ":ref:`ref_string`", "", "" + "type", ":ref:`ref_flyteidl.core.SchemaType`", "", "" + + + + + + + +.. _ref_flyteidl.core.StructuredDataset: + +StructuredDataset +------------------------------------------------------------------ + + + + + +.. csv-table:: StructuredDataset type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "uri", ":ref:`ref_string`", "", "String location uniquely identifying where the data is. Should start with the storage location (e.g. s3://, gs://, bq://, etc.)" + "metadata", ":ref:`ref_flyteidl.core.StructuredDatasetMetadata`", "", "" + + + + + + + +.. _ref_flyteidl.core.StructuredDatasetMetadata: + +StructuredDatasetMetadata +------------------------------------------------------------------ + + + + + +.. csv-table:: StructuredDatasetMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "structured_dataset_type", ":ref:`ref_flyteidl.core.StructuredDatasetType`", "", "Bundle the type information along with the literal. This is here because StructuredDatasets can often be more defined at run time than at compile time. That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset, without any column information, but at run time, you might have that column information. flytekit python will copy this type information into the literal, from the type information, if not provided by the various plugins (encoders). Since this field is run time generated, it's not used for any type checking." + + + + + + + +.. _ref_flyteidl.core.Union: + +Union +------------------------------------------------------------------ + +The runtime representation of a tagged union value. See `UnionType` for more details. + + + +.. csv-table:: Union type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "value", ":ref:`ref_flyteidl.core.Literal`", "", "" + "type", ":ref:`ref_flyteidl.core.LiteralType`", "", "" + + + + + + + +.. _ref_flyteidl.core.UnionInfo: + +UnionInfo +------------------------------------------------------------------ + + + + + +.. csv-table:: UnionInfo type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "targetType", ":ref:`ref_flyteidl.core.LiteralType`", "", "" + + + + + + + +.. _ref_flyteidl.core.Void: + +Void +------------------------------------------------------------------ + +Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally +undefined since it can be assigned to a scalar of any LiteralType. + + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/core/security.proto: + +flyteidl/core/security.proto +================================================================== + + + + + +.. _ref_flyteidl.core.Identity: + +Identity +------------------------------------------------------------------ + +Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the +right identity for the execution environment. + + + +.. csv-table:: Identity type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "iam_role", ":ref:`ref_string`", "", "iam_role references the fully qualified name of Identity & Access Management role to impersonate." + "k8s_service_account", ":ref:`ref_string`", "", "k8s_service_account references a kubernetes service account to impersonate." + "oauth2_client", ":ref:`ref_flyteidl.core.OAuth2Client`", "", "oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls." + + + + + + + +.. _ref_flyteidl.core.OAuth2Client: + +OAuth2Client +------------------------------------------------------------------ + +OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task. + + + +.. csv-table:: OAuth2Client type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "client_id", ":ref:`ref_string`", "", "client_id is the public id for the client to use. The system will not perform any pre-auth validation that the secret requested matches the client_id indicated here. +required" + "client_secret", ":ref:`ref_flyteidl.core.Secret`", "", "client_secret is a reference to the secret used to authenticate the OAuth2 client. +required" + + + + + + + +.. _ref_flyteidl.core.OAuth2TokenRequest: + +OAuth2TokenRequest +------------------------------------------------------------------ + +OAuth2TokenRequest encapsulates information needed to request an OAuth2 token. +FLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if +tokens are passed through environment variables. +FLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens +are passed through file mounts. + + + +.. csv-table:: OAuth2TokenRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "name", ":ref:`ref_string`", "", "name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for environment variables and as a filename for mounting tokens as files. +required" + "type", ":ref:`ref_flyteidl.core.OAuth2TokenRequest.Type`", "", "type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS. +required" + "client", ":ref:`ref_flyteidl.core.OAuth2Client`", "", "client references the client_id/secret to use to request the OAuth2 token. +required" + "idp_discovery_endpoint", ":ref:`ref_string`", "", "idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related information. +optional" + "token_endpoint", ":ref:`ref_string`", "", "token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is mandatory. +optional" + + + + + + + +.. _ref_flyteidl.core.Secret: + +Secret +------------------------------------------------------------------ + +Secret encapsulates information about the secret a task needs to proceed. An environment variable +FLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if +secrets are passed through environment variables. +FLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets +are passed through file mounts. + + + +.. csv-table:: Secret type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "group", ":ref:`ref_string`", "", "The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name. For AWS Secret Manager, this should be the name of the secret. +required" + "group_version", ":ref:`ref_string`", "", "The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones that do not support it. +optional" + "key", ":ref:`ref_string`", "", "The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation of the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should match one of the keys inside the secret. For AWS Secret Manager, it's ignored. +optional" + "mount_requirement", ":ref:`ref_flyteidl.core.Secret.MountType`", "", "mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail if the underlying key management system cannot satisfy that requirement. If not provided, the default location will depend on the key management system. +optional" + + + + + + + +.. _ref_flyteidl.core.SecurityContext: + +SecurityContext +------------------------------------------------------------------ + +SecurityContext holds security attributes that apply to tasks. + + + +.. csv-table:: SecurityContext type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "run_as", ":ref:`ref_flyteidl.core.Identity`", "", "run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on." + "secrets", ":ref:`ref_flyteidl.core.Secret`", "repeated", "secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine." + "tokens", ":ref:`ref_flyteidl.core.OAuth2TokenRequest`", "repeated", "tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine." + + + + + + +.. + end messages + + + +.. _ref_flyteidl.core.OAuth2TokenRequest.Type: + +OAuth2TokenRequest.Type +------------------------------------------------------------------ + +Type of the token requested. + +.. csv-table:: Enum OAuth2TokenRequest.Type values + :header: "Name", "Number", "Description" + :widths: auto + + "CLIENT_CREDENTIALS", "0", "CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials." + + + +.. _ref_flyteidl.core.Secret.MountType: + +Secret.MountType +------------------------------------------------------------------ + + + +.. csv-table:: Enum Secret.MountType values + :header: "Name", "Number", "Description" + :widths: auto + + "ANY", "0", "Default case, indicates the client can tolerate either mounting options." + "ENV_VAR", "1", "ENV_VAR indicates the secret needs to be mounted as an environment variable." + "FILE", "2", "FILE indicates the secret needs to be mounted as a file." + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/core/tasks.proto: + +flyteidl/core/tasks.proto +================================================================== + + + + + +.. _ref_flyteidl.core.Container: + +Container +------------------------------------------------------------------ + + + + + +.. csv-table:: Container type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "image", ":ref:`ref_string`", "", "Container image url. Eg: docker/redis:latest" + "command", ":ref:`ref_string`", "repeated", "Command to be executed, if not provided, the default entrypoint in the container image will be used." + "args", ":ref:`ref_string`", "repeated", "These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container." + "resources", ":ref:`ref_flyteidl.core.Resources`", "", "Container resources requirement as specified by the container engine." + "env", ":ref:`ref_flyteidl.core.KeyValuePair`", "repeated", "Environment variables will be set as the container is starting up." + "config", ":ref:`ref_flyteidl.core.KeyValuePair`", "repeated", "**Deprecated.** Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead." + "ports", ":ref:`ref_flyteidl.core.ContainerPort`", "repeated", "Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s" + "data_config", ":ref:`ref_flyteidl.core.DataLoadingConfig`", "", "BETA: Optional configuration for DataLoading. If not specified, then default values are used. This makes it possible to to run a completely portable container, that uses inputs and outputs only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment. If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation to understand the default paths. Only K8s" + "architecture", ":ref:`ref_flyteidl.core.Container.Architecture`", "", "" + + + + + + + +.. _ref_flyteidl.core.ContainerPort: + +ContainerPort +------------------------------------------------------------------ + +Defines port properties for a container. + + + +.. csv-table:: ContainerPort type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "container_port", ":ref:`ref_uint32`", "", "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536." + + + + + + + +.. _ref_flyteidl.core.DataLoadingConfig: + +DataLoadingConfig +------------------------------------------------------------------ + +This configuration allows executing raw containers in Flyte using the Flyte CoPilot system. +Flyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path +Any outputs generated by the user container - within output_path are automatically uploaded. + + + +.. csv-table:: DataLoadingConfig type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "enabled", ":ref:`ref_bool`", "", "Flag enables DataLoading Config. If this is not set, data loading will not be used!" + "input_path", ":ref:`ref_string`", "", "File system path (start at root). This folder will contain all the inputs exploded to a separate file. Example, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like /var/flyte/inputs/inputs. .pb .json .yaml> -> Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations /var/flyte/inputs/x -> X is a file that contains the value of x (integer) in string format /var/flyte/inputs/y -> Y is a file in Binary format /var/flyte/inputs/z/... -> Note Z itself is a directory More information about the protocol - refer to docs #TODO reference docs here" + "output_path", ":ref:`ref_string`", "", "File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file" + "format", ":ref:`ref_flyteidl.core.DataLoadingConfig.LiteralMapFormat`", "", "In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values. This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding" + "io_strategy", ":ref:`ref_flyteidl.core.IOStrategy`", "", "" + + + + + + + +.. _ref_flyteidl.core.IOStrategy: + +IOStrategy +------------------------------------------------------------------ + +Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets) + + + +.. csv-table:: IOStrategy type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "download_mode", ":ref:`ref_flyteidl.core.IOStrategy.DownloadMode`", "", "Mode to use to manage downloads" + "upload_mode", ":ref:`ref_flyteidl.core.IOStrategy.UploadMode`", "", "Mode to use to manage uploads" + + + + + + + +.. _ref_flyteidl.core.K8sObjectMetadata: + +K8sObjectMetadata +------------------------------------------------------------------ + +Metadata for building a kubernetes object when a task is executed. + + + +.. csv-table:: K8sObjectMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "labels", ":ref:`ref_flyteidl.core.K8sObjectMetadata.LabelsEntry`", "repeated", "Optional labels to add to the pod definition." + "annotations", ":ref:`ref_flyteidl.core.K8sObjectMetadata.AnnotationsEntry`", "repeated", "Optional annotations to add to the pod definition." + + + + + + + +.. _ref_flyteidl.core.K8sObjectMetadata.AnnotationsEntry: + +K8sObjectMetadata.AnnotationsEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: K8sObjectMetadata.AnnotationsEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_flyteidl.core.K8sObjectMetadata.LabelsEntry: + +K8sObjectMetadata.LabelsEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: K8sObjectMetadata.LabelsEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_flyteidl.core.K8sPod: + +K8sPod +------------------------------------------------------------------ + +Defines a pod spec and additional pod metadata that is created when a task is executed. + + + +.. csv-table:: K8sPod type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "metadata", ":ref:`ref_flyteidl.core.K8sObjectMetadata`", "", "Contains additional metadata for building a kubernetes pod." + "pod_spec", ":ref:`ref_google.protobuf.Struct`", "", "Defines the primary pod spec created when a task is executed. This should be a JSON-marshalled pod spec, which can be defined in - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936 - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" + + + + + + + +.. _ref_flyteidl.core.Resources: + +Resources +------------------------------------------------------------------ + +A customizable interface to convey resources requested for a container. This can be interpreted differently for different +container engines. + + + +.. csv-table:: Resources type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "requests", ":ref:`ref_flyteidl.core.Resources.ResourceEntry`", "repeated", "The desired set of resources requested. ResourceNames must be unique within the list." + "limits", ":ref:`ref_flyteidl.core.Resources.ResourceEntry`", "repeated", "Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique within the list." + + + + + + + +.. _ref_flyteidl.core.Resources.ResourceEntry: + +Resources.ResourceEntry +------------------------------------------------------------------ + +Encapsulates a resource name and value. + + + +.. csv-table:: Resources.ResourceEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "name", ":ref:`ref_flyteidl.core.Resources.ResourceName`", "", "Resource name." + "value", ":ref:`ref_string`", "", "Value must be a valid k8s quantity. See https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80" + + + + + + + +.. _ref_flyteidl.core.RuntimeMetadata: + +RuntimeMetadata +------------------------------------------------------------------ + +Runtime information. This is loosely defined to allow for extensibility. + + + +.. csv-table:: RuntimeMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "type", ":ref:`ref_flyteidl.core.RuntimeMetadata.RuntimeType`", "", "Type of runtime." + "version", ":ref:`ref_string`", "", "Version of the runtime. All versions should be backward compatible. However, certain cases call for version checks to ensure tighter validation or setting expectations." + "flavor", ":ref:`ref_string`", "", "+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.)." + + + + + + + +.. _ref_flyteidl.core.Sql: + +Sql +------------------------------------------------------------------ + +Sql represents a generic sql workload with a statement and dialect. + + + +.. csv-table:: Sql type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "statement", ":ref:`ref_string`", "", "The actual query to run, the query can have templated parameters. We use Flyte's Golang templating format for Query templating. Refer to the templating documentation. https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py For example, insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet select * from my_table where ds = '{{ .Inputs.ds }}'" + "dialect", ":ref:`ref_flyteidl.core.Sql.Dialect`", "", "" + + + + + + + +.. _ref_flyteidl.core.TaskMetadata: + +TaskMetadata +------------------------------------------------------------------ + +Task Metadata + + + +.. csv-table:: TaskMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "discoverable", ":ref:`ref_bool`", "", "Indicates whether the system should attempt to lookup this task's output to avoid duplication of work." + "runtime", ":ref:`ref_flyteidl.core.RuntimeMetadata`", "", "Runtime information about the task." + "timeout", ":ref:`ref_google.protobuf.Duration`", "", "The overall timeout of a task including user-triggered retries." + "retries", ":ref:`ref_flyteidl.core.RetryStrategy`", "", "Number of retries per task." + "discovery_version", ":ref:`ref_string`", "", "Indicates a logical version to apply to this task for the purpose of discovery." + "deprecated_error_message", ":ref:`ref_string`", "", "If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task." + "interruptible", ":ref:`ref_bool`", "", "" + "cache_serializable", ":ref:`ref_bool`", "", "Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work" + + + + + + + +.. _ref_flyteidl.core.TaskTemplate: + +TaskTemplate +------------------------------------------------------------------ + +A Task structure that uniquely identifies a task in the system +Tasks are registered as a first step in the system. + + + +.. csv-table:: TaskTemplate type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Auto generated taskId by the system. Task Id uniquely identifies this task globally." + "type", ":ref:`ref_string`", "", "A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the implementation registered for the TaskCategory." + "metadata", ":ref:`ref_flyteidl.core.TaskMetadata`", "", "Extra metadata about the task." + "interface", ":ref:`ref_flyteidl.core.TypedInterface`", "", "A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures." + "custom", ":ref:`ref_google.protobuf.Struct`", "", "Custom data about the task. This is extensible to allow various plugins in the system." + "container", ":ref:`ref_flyteidl.core.Container`", "", "" + "k8s_pod", ":ref:`ref_flyteidl.core.K8sPod`", "", "" + "sql", ":ref:`ref_flyteidl.core.Sql`", "", "" + "task_type_version", ":ref:`ref_int32`", "", "This can be used to customize task handling at execution time for the same task type." + "security_context", ":ref:`ref_flyteidl.core.SecurityContext`", "", "security_context encapsulates security attributes requested to run this task." + "config", ":ref:`ref_flyteidl.core.TaskTemplate.ConfigEntry`", "repeated", "Metadata about the custom defined for this task. This is extensible to allow various plugins in the system to use as required. reserve the field numbers 1 through 15 for very frequently occurring message elements" + + + + + + + +.. _ref_flyteidl.core.TaskTemplate.ConfigEntry: + +TaskTemplate.ConfigEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: TaskTemplate.ConfigEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_string`", "", "" + + + + + + +.. + end messages + + + +.. _ref_flyteidl.core.Container.Architecture: + +Container.Architecture +------------------------------------------------------------------ + +Architecture-type the container image supports. + +.. csv-table:: Enum Container.Architecture values + :header: "Name", "Number", "Description" + :widths: auto + + "UNKNOWN", "0", "" + "AMD64", "1", "" + "ARM64", "2", "" + "ARM_V6", "3", "" + "ARM_V7", "4", "" + + + +.. _ref_flyteidl.core.DataLoadingConfig.LiteralMapFormat: + +DataLoadingConfig.LiteralMapFormat +------------------------------------------------------------------ + +LiteralMapFormat decides the encoding format in which the input metadata should be made available to the containers. +If the user has access to the protocol buffer definitions, it is recommended to use the PROTO format. +JSON and YAML do not need any protobuf definitions to read it +All remote references in core.LiteralMap are replaced with local filesystem references (the data is downloaded to local filesystem) + +.. csv-table:: Enum DataLoadingConfig.LiteralMapFormat values + :header: "Name", "Number", "Description" + :widths: auto + + "JSON", "0", "JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html" + "YAML", "1", "" + "PROTO", "2", "Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core" + + + +.. _ref_flyteidl.core.IOStrategy.DownloadMode: + +IOStrategy.DownloadMode +------------------------------------------------------------------ + +Mode to use for downloading + +.. csv-table:: Enum IOStrategy.DownloadMode values + :header: "Name", "Number", "Description" + :widths: auto + + "DOWNLOAD_EAGER", "0", "All data will be downloaded before the main container is executed" + "DOWNLOAD_STREAM", "1", "Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details" + "DO_NOT_DOWNLOAD", "2", "Large objects (offloaded) will not be downloaded" + + + +.. _ref_flyteidl.core.IOStrategy.UploadMode: + +IOStrategy.UploadMode +------------------------------------------------------------------ + +Mode to use for uploading + +.. csv-table:: Enum IOStrategy.UploadMode values + :header: "Name", "Number", "Description" + :widths: auto + + "UPLOAD_ON_EXIT", "0", "All data will be uploaded after the main container exits" + "UPLOAD_EAGER", "1", "Data will be uploaded as it appears. Refer to protocol specification for details" + "DO_NOT_UPLOAD", "2", "Data will not be uploaded, only references will be written" + + + +.. _ref_flyteidl.core.Resources.ResourceName: + +Resources.ResourceName +------------------------------------------------------------------ + +Known resource names. + +.. csv-table:: Enum Resources.ResourceName values + :header: "Name", "Number", "Description" + :widths: auto + + "UNKNOWN", "0", "" + "CPU", "1", "" + "GPU", "2", "" + "MEMORY", "3", "" + "STORAGE", "4", "" + "EPHEMERAL_STORAGE", "5", "For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs." + + + +.. _ref_flyteidl.core.RuntimeMetadata.RuntimeType: + +RuntimeMetadata.RuntimeType +------------------------------------------------------------------ + + + +.. csv-table:: Enum RuntimeMetadata.RuntimeType values + :header: "Name", "Number", "Description" + :widths: auto + + "OTHER", "0", "" + "FLYTE_SDK", "1", "" + + + +.. _ref_flyteidl.core.Sql.Dialect: + +Sql.Dialect +------------------------------------------------------------------ + +The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid +expensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement. +We support the following dialect: ansi, hive. + +.. csv-table:: Enum Sql.Dialect values + :header: "Name", "Number", "Description" + :widths: auto + + "UNDEFINED", "0", "" + "ANSI", "1", "" + "HIVE", "2", "" + "OTHER", "3", "" + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/core/types.proto: + +flyteidl/core/types.proto +================================================================== + + + + + +.. _ref_flyteidl.core.BlobType: + +BlobType +------------------------------------------------------------------ + +Defines type behavior for blob objects + + + +.. csv-table:: BlobType type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "format", ":ref:`ref_string`", "", "Format can be a free form string understood by SDK/UI etc like csv, parquet etc" + "dimensionality", ":ref:`ref_flyteidl.core.BlobType.BlobDimensionality`", "", "" + + + + + + + +.. _ref_flyteidl.core.EnumType: + +EnumType +------------------------------------------------------------------ + +Enables declaring enum types, with predefined string values +For len(values) > 0, the first value in the ordered list is regarded as the default value. If you wish +To provide no defaults, make the first value as undefined. + + + +.. csv-table:: EnumType type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "values", ":ref:`ref_string`", "repeated", "Predefined set of enum values." + + + + + + + +.. _ref_flyteidl.core.Error: + +Error +------------------------------------------------------------------ + +Represents an error thrown from a node. + + + +.. csv-table:: Error type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "failed_node_id", ":ref:`ref_string`", "", "The node id that threw the error." + "message", ":ref:`ref_string`", "", "Error message thrown." + + + + + + + +.. _ref_flyteidl.core.LiteralType: + +LiteralType +------------------------------------------------------------------ + +Defines a strong type to allow type checking between interfaces. + + + +.. csv-table:: LiteralType type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "simple", ":ref:`ref_flyteidl.core.SimpleType`", "", "A simple type that can be compared one-to-one with another." + "schema", ":ref:`ref_flyteidl.core.SchemaType`", "", "A complex type that requires matching of inner fields." + "collection_type", ":ref:`ref_flyteidl.core.LiteralType`", "", "Defines the type of the value of a collection. Only homogeneous collections are allowed." + "map_value_type", ":ref:`ref_flyteidl.core.LiteralType`", "", "Defines the type of the value of a map type. The type of the key is always a string." + "blob", ":ref:`ref_flyteidl.core.BlobType`", "", "A blob might have specialized implementation details depending on associated metadata." + "enum_type", ":ref:`ref_flyteidl.core.EnumType`", "", "Defines an enum with pre-defined string values." + "structured_dataset_type", ":ref:`ref_flyteidl.core.StructuredDatasetType`", "", "Generalized schema support" + "union_type", ":ref:`ref_flyteidl.core.UnionType`", "", "Defines an union type with pre-defined LiteralTypes." + "metadata", ":ref:`ref_google.protobuf.Struct`", "", "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type." + "annotation", ":ref:`ref_flyteidl.core.TypeAnnotation`", "", "This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior." + "structure", ":ref:`ref_flyteidl.core.TypeStructure`", "", "Hints to improve type matching." + + + + + + + +.. _ref_flyteidl.core.OutputReference: + +OutputReference +------------------------------------------------------------------ + +A reference to an output produced by a node. The type can be retrieved -and validated- from +the underlying interface of the node. + + + +.. csv-table:: OutputReference type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "node_id", ":ref:`ref_string`", "", "Node id must exist at the graph layer." + "var", ":ref:`ref_string`", "", "Variable name must refer to an output variable for the node." + + + + + + + +.. _ref_flyteidl.core.SchemaType: + +SchemaType +------------------------------------------------------------------ + +Defines schema columns and types to strongly type-validate schemas interoperability. + + + +.. csv-table:: SchemaType type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "columns", ":ref:`ref_flyteidl.core.SchemaType.SchemaColumn`", "repeated", "A list of ordered columns this schema comprises of." + + + + + + + +.. _ref_flyteidl.core.SchemaType.SchemaColumn: + +SchemaType.SchemaColumn +------------------------------------------------------------------ + + + + + +.. csv-table:: SchemaType.SchemaColumn type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "name", ":ref:`ref_string`", "", "A unique name -within the schema type- for the column" + "type", ":ref:`ref_flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType`", "", "The column type. This allows a limited set of types currently." + + + + + + + +.. _ref_flyteidl.core.StructuredDatasetType: + +StructuredDatasetType +------------------------------------------------------------------ + + + + + +.. csv-table:: StructuredDatasetType type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "columns", ":ref:`ref_flyteidl.core.StructuredDatasetType.DatasetColumn`", "repeated", "A list of ordered columns this schema comprises of." + "format", ":ref:`ref_string`", "", "This is the storage format, the format of the bits at rest parquet, feather, csv, etc. For two types to be compatible, the format will need to be an exact match." + "external_schema_type", ":ref:`ref_string`", "", "This is a string representing the type that the bytes in external_schema_bytes are formatted in. This is an optional field that will not be used for type checking." + "external_schema_bytes", ":ref:`ref_bytes`", "", "The serialized bytes of a third-party schema library like Arrow. This is an optional field that will not be used for type checking." + + + + + + + +.. _ref_flyteidl.core.StructuredDatasetType.DatasetColumn: + +StructuredDatasetType.DatasetColumn +------------------------------------------------------------------ + + + + + +.. csv-table:: StructuredDatasetType.DatasetColumn type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "name", ":ref:`ref_string`", "", "A unique name within the schema type for the column." + "literal_type", ":ref:`ref_flyteidl.core.LiteralType`", "", "The column type." + + + + + + + +.. _ref_flyteidl.core.TypeAnnotation: + +TypeAnnotation +------------------------------------------------------------------ + +TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs. + + + +.. csv-table:: TypeAnnotation type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "annotations", ":ref:`ref_google.protobuf.Struct`", "", "A arbitrary JSON payload to describe a type." + + + + + + + +.. _ref_flyteidl.core.TypeStructure: + +TypeStructure +------------------------------------------------------------------ + +Hints to improve type matching +e.g. allows distinguishing output from custom type transformers +even if the underlying IDL serialization matches. + + + +.. csv-table:: TypeStructure type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "tag", ":ref:`ref_string`", "", "Must exactly match for types to be castable" + + + + + + + +.. _ref_flyteidl.core.UnionType: + +UnionType +------------------------------------------------------------------ + +Defines a tagged union type, also known as a variant (and formally as the sum type). + +A sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag +A value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by +storing the varaint's tag with the literal value and can be examined in runtime. + +Type S is typically written as +S := Apple A | Banana B | Cantaloupe C | ... + +Notably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value: +Optional X := X | Null + +See also: https://en.wikipedia.org/wiki/Tagged_union + + + +.. csv-table:: UnionType type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "variants", ":ref:`ref_flyteidl.core.LiteralType`", "repeated", "Predefined set of variants in union." + + + + + + +.. + end messages + + + +.. _ref_flyteidl.core.BlobType.BlobDimensionality: + +BlobType.BlobDimensionality +------------------------------------------------------------------ + + + +.. csv-table:: Enum BlobType.BlobDimensionality values + :header: "Name", "Number", "Description" + :widths: auto + + "SINGLE", "0", "" + "MULTIPART", "1", "" + + + +.. _ref_flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType: + +SchemaType.SchemaColumn.SchemaColumnType +------------------------------------------------------------------ + + + +.. csv-table:: Enum SchemaType.SchemaColumn.SchemaColumnType values + :header: "Name", "Number", "Description" + :widths: auto + + "INTEGER", "0", "" + "FLOAT", "1", "" + "STRING", "2", "" + "BOOLEAN", "3", "" + "DATETIME", "4", "" + "DURATION", "5", "" + + + +.. _ref_flyteidl.core.SimpleType: + +SimpleType +------------------------------------------------------------------ + +Define a set of simple types. + +.. csv-table:: Enum SimpleType values + :header: "Name", "Number", "Description" + :widths: auto + + "NONE", "0", "" + "INTEGER", "1", "" + "FLOAT", "2", "" + "STRING", "3", "" + "BOOLEAN", "4", "" + "DATETIME", "5", "" + "DURATION", "6", "" + "BINARY", "7", "" + "ERROR", "8", "" + "STRUCT", "9", "" + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/core/workflow.proto: + +flyteidl/core/workflow.proto +================================================================== + + + + + +.. _ref_flyteidl.core.Alias: + +Alias +------------------------------------------------------------------ + +Links a variable to an alias. + + + +.. csv-table:: Alias type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "var", ":ref:`ref_string`", "", "Must match one of the output variable names on a node." + "alias", ":ref:`ref_string`", "", "A workflow-level unique alias that downstream nodes can refer to in their input." + + + + + + + +.. _ref_flyteidl.core.BranchNode: + +BranchNode +------------------------------------------------------------------ + +BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at +runtime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives). + + + +.. csv-table:: BranchNode type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "if_else", ":ref:`ref_flyteidl.core.IfElseBlock`", "", "+required" + + + + + + + +.. _ref_flyteidl.core.IfBlock: + +IfBlock +------------------------------------------------------------------ + +Defines a condition and the execution unit that should be executed if the condition is satisfied. + + + +.. csv-table:: IfBlock type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "condition", ":ref:`ref_flyteidl.core.BooleanExpression`", "", "" + "then_node", ":ref:`ref_flyteidl.core.Node`", "", "" + + + + + + + +.. _ref_flyteidl.core.IfElseBlock: + +IfElseBlock +------------------------------------------------------------------ + +Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute. +If no conditions were satisfied, the else_node or the error will execute. + + + +.. csv-table:: IfElseBlock type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "case", ":ref:`ref_flyteidl.core.IfBlock`", "", "+required. First condition to evaluate." + "other", ":ref:`ref_flyteidl.core.IfBlock`", "repeated", "+optional. Additional branches to evaluate." + "else_node", ":ref:`ref_flyteidl.core.Node`", "", "The node to execute in case none of the branches were taken." + "error", ":ref:`ref_flyteidl.core.Error`", "", "An error to throw in case none of the branches were taken." + + + + + + + +.. _ref_flyteidl.core.Node: + +Node +------------------------------------------------------------------ + +A Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch +node. + + + +.. csv-table:: Node type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_string`", "", "A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes." + "metadata", ":ref:`ref_flyteidl.core.NodeMetadata`", "", "Extra metadata about the node." + "inputs", ":ref:`ref_flyteidl.core.Binding`", "repeated", "Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled." + "upstream_node_ids", ":ref:`ref_string`", "repeated", "+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field." + "output_aliases", ":ref:`ref_flyteidl.core.Alias`", "repeated", "+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified." + "task_node", ":ref:`ref_flyteidl.core.TaskNode`", "", "Information about the Task to execute in this node." + "workflow_node", ":ref:`ref_flyteidl.core.WorkflowNode`", "", "Information about the Workflow to execute in this mode." + "branch_node", ":ref:`ref_flyteidl.core.BranchNode`", "", "Information about the branch node to evaluate in this node." + + + + + + + +.. _ref_flyteidl.core.NodeMetadata: + +NodeMetadata +------------------------------------------------------------------ + +Defines extra information about the Node. + + + +.. csv-table:: NodeMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "name", ":ref:`ref_string`", "", "A friendly name for the Node" + "timeout", ":ref:`ref_google.protobuf.Duration`", "", "The overall timeout of a task." + "retries", ":ref:`ref_flyteidl.core.RetryStrategy`", "", "Number of retries per task." + "interruptible", ":ref:`ref_bool`", "", "" + + + + + + + +.. _ref_flyteidl.core.TaskNode: + +TaskNode +------------------------------------------------------------------ + +Refers to the task that the Node is to execute. + + + +.. csv-table:: TaskNode type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "reference_id", ":ref:`ref_flyteidl.core.Identifier`", "", "A globally unique identifier for the task." + "overrides", ":ref:`ref_flyteidl.core.TaskNodeOverrides`", "", "Optional overrides applied at task execution time." + + + + + + + +.. _ref_flyteidl.core.TaskNodeOverrides: + +TaskNodeOverrides +------------------------------------------------------------------ + +Optional task node overrides that will be applied at task execution time. + + + +.. csv-table:: TaskNodeOverrides type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "resources", ":ref:`ref_flyteidl.core.Resources`", "", "A customizable interface to convey resources requested for a task container." + + + + + + + +.. _ref_flyteidl.core.WorkflowMetadata: + +WorkflowMetadata +------------------------------------------------------------------ + +This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not +percolate down to child entities (like tasks) launched by the workflow. + + + +.. csv-table:: WorkflowMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "quality_of_service", ":ref:`ref_flyteidl.core.QualityOfService`", "", "Indicates the runtime priority of workflow executions." + "on_failure", ":ref:`ref_flyteidl.core.WorkflowMetadata.OnFailurePolicy`", "", "Defines how the system should behave when a failure is detected in the workflow execution." + + + + + + + +.. _ref_flyteidl.core.WorkflowMetadataDefaults: + +WorkflowMetadataDefaults +------------------------------------------------------------------ + +The difference between these settings and the WorkflowMetadata ones is that these are meant to be passed down to +a workflow's underlying entities (like tasks). For instance, 'interruptible' has no meaning at the workflow layer, it +is only relevant when a task executes. The settings here are the defaults that are passed to all nodes +unless explicitly overridden at the node layer. +If you are adding a setting that applies to both the Workflow itself, and everything underneath it, it should be +added to both this object and the WorkflowMetadata object above. + + + +.. csv-table:: WorkflowMetadataDefaults type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "interruptible", ":ref:`ref_bool`", "", "Whether child nodes of the workflow are interruptible." + + + + + + + +.. _ref_flyteidl.core.WorkflowNode: + +WorkflowNode +------------------------------------------------------------------ + +Refers to a the workflow the node is to execute. + + + +.. csv-table:: WorkflowNode type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "launchplan_ref", ":ref:`ref_flyteidl.core.Identifier`", "", "A globally unique identifier for the launch plan." + "sub_workflow_ref", ":ref:`ref_flyteidl.core.Identifier`", "", "Reference to a subworkflow, that should be defined with the compiler context" + + + + + + + +.. _ref_flyteidl.core.WorkflowTemplate: + +WorkflowTemplate +------------------------------------------------------------------ + +Flyte Workflow Structure that encapsulates task, branch and subworkflow nodes to form a statically analyzable, +directed acyclic graph. + + + +.. csv-table:: WorkflowTemplate type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.Identifier`", "", "A globally unique identifier for the workflow." + "metadata", ":ref:`ref_flyteidl.core.WorkflowMetadata`", "", "Extra metadata about the workflow." + "interface", ":ref:`ref_flyteidl.core.TypedInterface`", "", "Defines a strongly typed interface for the Workflow. This can include some optional parameters." + "nodes", ":ref:`ref_flyteidl.core.Node`", "repeated", "A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs." + "outputs", ":ref:`ref_flyteidl.core.Binding`", "repeated", "A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task." + "failure_node", ":ref:`ref_flyteidl.core.Node`", "", "+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error." + "metadata_defaults", ":ref:`ref_flyteidl.core.WorkflowMetadataDefaults`", "", "workflow defaults" + + + + + + +.. + end messages + + + +.. _ref_flyteidl.core.WorkflowMetadata.OnFailurePolicy: + +WorkflowMetadata.OnFailurePolicy +------------------------------------------------------------------ + +Failure Handling Strategy + +.. csv-table:: Enum WorkflowMetadata.OnFailurePolicy values + :header: "Name", "Number", "Description" + :widths: auto + + "FAIL_IMMEDIATELY", "0", "FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically abort all currently running nodes and clean up resources before finally marking the workflow executions as failed." + "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE", "1", "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will not alter the dependencies of the execution graph so any node that depend on the failed node will not be run. Other nodes that will be executed to completion before cleaning up resources and marking the workflow execution as failed." + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/core/workflow_closure.proto: + +flyteidl/core/workflow_closure.proto +================================================================== + + + + + +.. _ref_flyteidl.core.WorkflowClosure: + +WorkflowClosure +------------------------------------------------------------------ + +Defines an enclosed package of workflow and tasks it references. + + + +.. csv-table:: WorkflowClosure type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "workflow", ":ref:`ref_flyteidl.core.WorkflowTemplate`", "", "required. Workflow template." + "tasks", ":ref:`ref_flyteidl.core.TaskTemplate`", "repeated", "optional. A collection of tasks referenced by the workflow. Only needed if the workflow references tasks." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_google/protobuf/timestamp.proto: + +google/protobuf/timestamp.proto +================================================================== + + + + + +.. _ref_google.protobuf.Timestamp: + +Timestamp +------------------------------------------------------------------ + +A Timestamp represents a point in time independent of any time zone or local +calendar, encoded as a count of seconds and fractions of seconds at +nanosecond resolution. The count is relative to an epoch at UTC midnight on +January 1, 1970, in the proleptic Gregorian calendar which extends the +Gregorian calendar backwards to year one. + +All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap +second table is needed for interpretation, using a [24-hour linear +smear](https://developers.google.com/time/smear). + +The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By +restricting to that range, we ensure that we can convert to and from [RFC +3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + +# Examples + +Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + +Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + +Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + +Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + +Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + +Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + +# JSON Mapping + +In JSON format, the Timestamp type is encoded as a string in the +[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the +format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" +where {year} is always expressed using four digits while {month}, {day}, +{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional +seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), +are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone +is required. A proto3 JSON serializer should always use UTC (as indicated by +"Z") when printing the Timestamp type and a proto3 JSON parser should be +able to accept both UTC and other timezones (as indicated by an offset). + +For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past +01:30 UTC on January 15, 2017. + +In JavaScript, one can convert a Date object to this format using the +standard +[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) +method. In Python, a standard `datetime.datetime` object can be converted +to this format using +[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with +the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use +the Joda Time's [`ISODateTimeFormat.dateTime()`]( +http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D +) to obtain a formatter capable of generating timestamps in this format. + + + +.. csv-table:: Timestamp type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "seconds", ":ref:`ref_int64`", "", "Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive." + "nanos", ":ref:`ref_int32`", "", "Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_google/protobuf/duration.proto: + +google/protobuf/duration.proto +================================================================== + + + + + +.. _ref_google.protobuf.Duration: + +Duration +------------------------------------------------------------------ + +A Duration represents a signed, fixed-length span of time represented +as a count of seconds and fractions of seconds at nanosecond +resolution. It is independent of any calendar and concepts like "day" +or "month". It is related to Timestamp in that the difference between +two Timestamp values is a Duration and it can be added or subtracted +from a Timestamp. Range is approximately +-10,000 years. + +# Examples + +Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + +Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + +Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + +# JSON Mapping + +In JSON format, the Duration type is encoded as a string rather than an +object, where the string ends in the suffix "s" (indicating seconds) and +is preceded by the number of seconds, with nanoseconds expressed as +fractional seconds. For example, 3 seconds with 0 nanoseconds should be +encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should +be expressed in JSON format as "3.000000001s", and 3 seconds and 1 +microsecond should be expressed in JSON format as "3.000001s". + + + +.. csv-table:: Duration type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "seconds", ":ref:`ref_int64`", "", "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years" + "nanos", ":ref:`ref_int32`", "", "Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_google/protobuf/struct.proto: + +google/protobuf/struct.proto +================================================================== + + + + + +.. _ref_google.protobuf.ListValue: + +ListValue +------------------------------------------------------------------ + +`ListValue` is a wrapper around a repeated field of values. + +The JSON representation for `ListValue` is JSON array. + + + +.. csv-table:: ListValue type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "values", ":ref:`ref_google.protobuf.Value`", "repeated", "Repeated field of dynamically typed values." + + + + + + + +.. _ref_google.protobuf.Struct: + +Struct +------------------------------------------------------------------ + +`Struct` represents a structured data value, consisting of fields +which map to dynamically typed values. In some languages, `Struct` +might be supported by a native representation. For example, in +scripting languages like JS a struct is represented as an +object. The details of that representation are described together +with the proto support for the language. + +The JSON representation for `Struct` is JSON object. + + + +.. csv-table:: Struct type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "fields", ":ref:`ref_google.protobuf.Struct.FieldsEntry`", "repeated", "Unordered map of dynamically typed values." + + + + + + + +.. _ref_google.protobuf.Struct.FieldsEntry: + +Struct.FieldsEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: Struct.FieldsEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_google.protobuf.Value`", "", "" + + + + + + + +.. _ref_google.protobuf.Value: + +Value +------------------------------------------------------------------ + +`Value` represents a dynamically typed value which can be either +null, a number, a string, a boolean, a recursive struct value, or a +list of values. A producer of value is expected to set one of these +variants. Absence of any variant indicates an error. + +The JSON representation for `Value` is JSON value. + + + +.. csv-table:: Value type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "null_value", ":ref:`ref_google.protobuf.NullValue`", "", "Represents a null value." + "number_value", ":ref:`ref_double`", "", "Represents a double value." + "string_value", ":ref:`ref_string`", "", "Represents a string value." + "bool_value", ":ref:`ref_bool`", "", "Represents a boolean value." + "struct_value", ":ref:`ref_google.protobuf.Struct`", "", "Represents a structured value." + "list_value", ":ref:`ref_google.protobuf.ListValue`", "", "Represents a repeated `Value`." + + + + + + +.. + end messages + + + +.. _ref_google.protobuf.NullValue: + +NullValue +------------------------------------------------------------------ + +`NullValue` is a singleton enumeration to represent the null value for the +`Value` type union. + + The JSON representation for `NullValue` is JSON `null`. + +.. csv-table:: Enum NullValue values + :header: "Name", "Number", "Description" + :widths: auto + + "NULL_VALUE", "0", "Null value." + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + +.. _ref_scala_types: + +Scalar Value Types +================== + + + +.. _ref_double: + +double +----------------------------- + + + +.. csv-table:: double language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "double", "double", "double", "float", "float64", "double", "float", "Float" + + + +.. _ref_float: + +float +----------------------------- + + + +.. csv-table:: float language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "float", "float", "float", "float", "float32", "float", "float", "Float" + + + +.. _ref_int32: + +int32 +----------------------------- + +Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. + +.. csv-table:: int32 language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "int32", "int32", "int", "int", "int32", "int", "integer", "Bignum or Fixnum (as required)" + + + +.. _ref_int64: + +int64 +----------------------------- + +Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. + +.. csv-table:: int64 language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "int64", "int64", "long", "int/long", "int64", "long", "integer/string", "Bignum" + + + +.. _ref_uint32: + +uint32 +----------------------------- + +Uses variable-length encoding. + +.. csv-table:: uint32 language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "uint32", "uint32", "int", "int/long", "uint32", "uint", "integer", "Bignum or Fixnum (as required)" + + + +.. _ref_uint64: + +uint64 +----------------------------- + +Uses variable-length encoding. + +.. csv-table:: uint64 language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "uint64", "uint64", "long", "int/long", "uint64", "ulong", "integer/string", "Bignum or Fixnum (as required)" + + + +.. _ref_sint32: + +sint32 +----------------------------- + +Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. + +.. csv-table:: sint32 language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "sint32", "int32", "int", "int", "int32", "int", "integer", "Bignum or Fixnum (as required)" + + + +.. _ref_sint64: + +sint64 +----------------------------- + +Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. + +.. csv-table:: sint64 language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "sint64", "int64", "long", "int/long", "int64", "long", "integer/string", "Bignum" + + + +.. _ref_fixed32: + +fixed32 +----------------------------- + +Always four bytes. More efficient than uint32 if values are often greater than 2^28. + +.. csv-table:: fixed32 language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "fixed32", "uint32", "int", "int", "uint32", "uint", "integer", "Bignum or Fixnum (as required)" + + + +.. _ref_fixed64: + +fixed64 +----------------------------- + +Always eight bytes. More efficient than uint64 if values are often greater than 2^56. + +.. csv-table:: fixed64 language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "fixed64", "uint64", "long", "int/long", "uint64", "ulong", "integer/string", "Bignum" + + + +.. _ref_sfixed32: + +sfixed32 +----------------------------- + +Always four bytes. + +.. csv-table:: sfixed32 language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "sfixed32", "int32", "int", "int", "int32", "int", "integer", "Bignum or Fixnum (as required)" + + + +.. _ref_sfixed64: + +sfixed64 +----------------------------- + +Always eight bytes. + +.. csv-table:: sfixed64 language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "sfixed64", "int64", "long", "int/long", "int64", "long", "integer/string", "Bignum" + + + +.. _ref_bool: + +bool +----------------------------- + + + +.. csv-table:: bool language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "bool", "bool", "boolean", "boolean", "bool", "bool", "boolean", "TrueClass/FalseClass" + + + +.. _ref_string: + +string +----------------------------- + +A string must always contain UTF-8 encoded or 7-bit ASCII text. + +.. csv-table:: string language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "string", "string", "String", "str/unicode", "string", "string", "string", "String (UTF-8)" + + + +.. _ref_bytes: + +bytes +----------------------------- + +May contain any arbitrary sequence of bytes. + +.. csv-table:: bytes language representation + :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby" + :widths: auto + + "bytes", "string", "ByteString", "str", "[]byte", "ByteString", "string", "String (ASCII-8BIT)" + + +.. + end scalars \ No newline at end of file diff --git a/protos/docs/datacatalog/datacatalog.rst b/protos/docs/datacatalog/datacatalog.rst new file mode 100644 index 000000000..36df9eea8 --- /dev/null +++ b/protos/docs/datacatalog/datacatalog.rst @@ -0,0 +1,1269 @@ +###################### +Protocol Documentation +###################### + + + + +.. _ref_flyteidl/datacatalog/datacatalog.proto: + +flyteidl/datacatalog/datacatalog.proto +================================================================== + + + + + +.. _ref_datacatalog.AddTagRequest: + +AddTagRequest +------------------------------------------------------------------ + +Request message for tagging an Artifact. + + + +.. csv-table:: AddTagRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "tag", ":ref:`ref_datacatalog.Tag`", "", "" + + + + + + + +.. _ref_datacatalog.AddTagResponse: + +AddTagResponse +------------------------------------------------------------------ + +Response message for tagging an Artifact. + + + + + + + + +.. _ref_datacatalog.Artifact: + +Artifact +------------------------------------------------------------------ + +Artifact message. It is composed of several string fields. + + + +.. csv-table:: Artifact type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_string`", "", "The unique ID of the artifact" + "dataset", ":ref:`ref_datacatalog.DatasetID`", "", "The Dataset that the artifact belongs to" + "data", ":ref:`ref_datacatalog.ArtifactData`", "repeated", "A list of data that is associated with the artifact" + "metadata", ":ref:`ref_datacatalog.Metadata`", "", "Free-form metadata associated with the artifact" + "partitions", ":ref:`ref_datacatalog.Partition`", "repeated", "" + "tags", ":ref:`ref_datacatalog.Tag`", "repeated", "" + "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "creation timestamp of artifact, autogenerated by service" + + + + + + + +.. _ref_datacatalog.ArtifactData: + +ArtifactData +------------------------------------------------------------------ + +ArtifactData that belongs to an artifact + + + +.. csv-table:: ArtifactData type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "name", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_flyteidl.core.Literal`", "", "" + + + + + + + +.. _ref_datacatalog.ArtifactPropertyFilter: + +ArtifactPropertyFilter +------------------------------------------------------------------ + +Artifact properties we can filter by + + + +.. csv-table:: ArtifactPropertyFilter type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "artifact_id", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_datacatalog.CreateArtifactRequest: + +CreateArtifactRequest +------------------------------------------------------------------ + +Request message for creating an Artifact and its associated artifact Data. + + + +.. csv-table:: CreateArtifactRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "artifact", ":ref:`ref_datacatalog.Artifact`", "", "" + + + + + + + +.. _ref_datacatalog.CreateArtifactResponse: + +CreateArtifactResponse +------------------------------------------------------------------ + +Response message for creating an Artifact. + + + + + + + + +.. _ref_datacatalog.CreateDatasetRequest: + +CreateDatasetRequest +------------------------------------------------------------------ + +Request message for creating a Dataset. + + + +.. csv-table:: CreateDatasetRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "dataset", ":ref:`ref_datacatalog.Dataset`", "", "" + + + + + + + +.. _ref_datacatalog.CreateDatasetResponse: + +CreateDatasetResponse +------------------------------------------------------------------ + +Response message for creating a Dataset + + + + + + + + +.. _ref_datacatalog.Dataset: + +Dataset +------------------------------------------------------------------ + +Dataset message. It is uniquely identified by DatasetID. + + + +.. csv-table:: Dataset type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_datacatalog.DatasetID`", "", "" + "metadata", ":ref:`ref_datacatalog.Metadata`", "", "" + "partitionKeys", ":ref:`ref_string`", "repeated", "" + + + + + + + +.. _ref_datacatalog.DatasetID: + +DatasetID +------------------------------------------------------------------ + +DatasetID message that is composed of several string fields. + + + +.. csv-table:: DatasetID type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "The name of the project" + "name", ":ref:`ref_string`", "", "The name of the dataset" + "domain", ":ref:`ref_string`", "", "The domain (eg. environment)" + "version", ":ref:`ref_string`", "", "Version of the data schema" + "UUID", ":ref:`ref_string`", "", "UUID for the dataset (if set the above fields are optional)" + + + + + + + +.. _ref_datacatalog.DatasetPropertyFilter: + +DatasetPropertyFilter +------------------------------------------------------------------ + +Dataset properties we can filter by + + + +.. csv-table:: DatasetPropertyFilter type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "" + "name", ":ref:`ref_string`", "", "" + "domain", ":ref:`ref_string`", "", "" + "version", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_datacatalog.FilterExpression: + +FilterExpression +------------------------------------------------------------------ + +Filter expression that is composed of a combination of single filters + + + +.. csv-table:: FilterExpression type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "filters", ":ref:`ref_datacatalog.SinglePropertyFilter`", "repeated", "" + + + + + + + +.. _ref_datacatalog.GetArtifactRequest: + +GetArtifactRequest +------------------------------------------------------------------ + +Request message for retrieving an Artifact. Retrieve an artifact based on a query handle that +can be one of artifact_id or tag. The result returned will include the artifact data and metadata +associated with the artifact. + + + +.. csv-table:: GetArtifactRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "dataset", ":ref:`ref_datacatalog.DatasetID`", "", "" + "artifact_id", ":ref:`ref_string`", "", "" + "tag_name", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_datacatalog.GetArtifactResponse: + +GetArtifactResponse +------------------------------------------------------------------ + +Response message for retrieving an Artifact. The result returned will include the artifact data +and metadata associated with the artifact. + + + +.. csv-table:: GetArtifactResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "artifact", ":ref:`ref_datacatalog.Artifact`", "", "" + + + + + + + +.. _ref_datacatalog.GetDatasetRequest: + +GetDatasetRequest +------------------------------------------------------------------ + +Request message for retrieving a Dataset. The Dataset is retrieved by it's unique identifier +which is a combination of several fields. + + + +.. csv-table:: GetDatasetRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "dataset", ":ref:`ref_datacatalog.DatasetID`", "", "" + + + + + + + +.. _ref_datacatalog.GetDatasetResponse: + +GetDatasetResponse +------------------------------------------------------------------ + +Response message for retrieving a Dataset. The response will include the metadata for the +Dataset. + + + +.. csv-table:: GetDatasetResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "dataset", ":ref:`ref_datacatalog.Dataset`", "", "" + + + + + + + +.. _ref_datacatalog.GetOrExtendReservationRequest: + +GetOrExtendReservationRequest +------------------------------------------------------------------ + +Try to acquire or extend an artifact reservation. If an active reservation exists, retreive that instance. + + + +.. csv-table:: GetOrExtendReservationRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "reservation_id", ":ref:`ref_datacatalog.ReservationID`", "", "" + "owner_id", ":ref:`ref_string`", "", "" + "heartbeat_interval", ":ref:`ref_google.protobuf.Duration`", "", "Requested reservation extension heartbeat interval" + + + + + + + +.. _ref_datacatalog.GetOrExtendReservationResponse: + +GetOrExtendReservationResponse +------------------------------------------------------------------ + +Response including either a newly minted reservation or the existing reservation + + + +.. csv-table:: GetOrExtendReservationResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "reservation", ":ref:`ref_datacatalog.Reservation`", "", "" + + + + + + + +.. _ref_datacatalog.KeyValuePair: + +KeyValuePair +------------------------------------------------------------------ + + + + + +.. csv-table:: KeyValuePair type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_datacatalog.ListArtifactsRequest: + +ListArtifactsRequest +------------------------------------------------------------------ + +List the artifacts that belong to the Dataset, optionally filtered using filtered expression. + + + +.. csv-table:: ListArtifactsRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "dataset", ":ref:`ref_datacatalog.DatasetID`", "", "Use a datasetID for which you want to retrieve the artifacts" + "filter", ":ref:`ref_datacatalog.FilterExpression`", "", "Apply the filter expression to this query" + "pagination", ":ref:`ref_datacatalog.PaginationOptions`", "", "Pagination options to get a page of artifacts" + + + + + + + +.. _ref_datacatalog.ListArtifactsResponse: + +ListArtifactsResponse +------------------------------------------------------------------ + +Response to list artifacts + + + +.. csv-table:: ListArtifactsResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "artifacts", ":ref:`ref_datacatalog.Artifact`", "repeated", "The list of artifacts" + "next_token", ":ref:`ref_string`", "", "Token to use to request the next page, pass this into the next requests PaginationOptions" + + + + + + + +.. _ref_datacatalog.ListDatasetsRequest: + +ListDatasetsRequest +------------------------------------------------------------------ + +List the datasets for the given query + + + +.. csv-table:: ListDatasetsRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "filter", ":ref:`ref_datacatalog.FilterExpression`", "", "Apply the filter expression to this query" + "pagination", ":ref:`ref_datacatalog.PaginationOptions`", "", "Pagination options to get a page of datasets" + + + + + + + +.. _ref_datacatalog.ListDatasetsResponse: + +ListDatasetsResponse +------------------------------------------------------------------ + +List the datasets response with token for next pagination + + + +.. csv-table:: ListDatasetsResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "datasets", ":ref:`ref_datacatalog.Dataset`", "repeated", "The list of datasets" + "next_token", ":ref:`ref_string`", "", "Token to use to request the next page, pass this into the next requests PaginationOptions" + + + + + + + +.. _ref_datacatalog.Metadata: + +Metadata +------------------------------------------------------------------ + +Metadata representation for artifacts and datasets + + + +.. csv-table:: Metadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key_map", ":ref:`ref_datacatalog.Metadata.KeyMapEntry`", "repeated", "key map is a dictionary of key/val strings that represent metadata" + + + + + + + +.. _ref_datacatalog.Metadata.KeyMapEntry: + +Metadata.KeyMapEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: Metadata.KeyMapEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_datacatalog.PaginationOptions: + +PaginationOptions +------------------------------------------------------------------ + +Pagination options for making list requests + + + +.. csv-table:: PaginationOptions type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "limit", ":ref:`ref_uint32`", "", "the max number of results to return" + "token", ":ref:`ref_string`", "", "the token to pass to fetch the next page" + "sortKey", ":ref:`ref_datacatalog.PaginationOptions.SortKey`", "", "the property that we want to sort the results by" + "sortOrder", ":ref:`ref_datacatalog.PaginationOptions.SortOrder`", "", "the sort order of the results" + + + + + + + +.. _ref_datacatalog.Partition: + +Partition +------------------------------------------------------------------ + +An artifact could have multiple partitions and each partition can have an arbitrary string key/value pair + + + +.. csv-table:: Partition type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_datacatalog.PartitionPropertyFilter: + +PartitionPropertyFilter +------------------------------------------------------------------ + +Partition properties we can filter by + + + +.. csv-table:: PartitionPropertyFilter type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key_val", ":ref:`ref_datacatalog.KeyValuePair`", "", "" + + + + + + + +.. _ref_datacatalog.ReleaseReservationRequest: + +ReleaseReservationRequest +------------------------------------------------------------------ + +Request to release reservation + + + +.. csv-table:: ReleaseReservationRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "reservation_id", ":ref:`ref_datacatalog.ReservationID`", "", "" + "owner_id", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_datacatalog.ReleaseReservationResponse: + +ReleaseReservationResponse +------------------------------------------------------------------ + +Response to release reservation + + + + + + + + +.. _ref_datacatalog.Reservation: + +Reservation +------------------------------------------------------------------ + +A reservation including owner, heartbeat interval, expiration timestamp, and various metadata. + + + +.. csv-table:: Reservation type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "reservation_id", ":ref:`ref_datacatalog.ReservationID`", "", "" + "owner_id", ":ref:`ref_string`", "", "" + "heartbeat_interval", ":ref:`ref_google.protobuf.Duration`", "", "Recommended heartbeat interval to extend reservation" + "expires_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Expiration timestamp of this reservation" + "metadata", ":ref:`ref_datacatalog.Metadata`", "", "" + + + + + + + +.. _ref_datacatalog.ReservationID: + +ReservationID +------------------------------------------------------------------ + +ReservationID message that is composed of several string fields. + + + +.. csv-table:: ReservationID type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "dataset_id", ":ref:`ref_datacatalog.DatasetID`", "", "" + "tag_name", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_datacatalog.SinglePropertyFilter: + +SinglePropertyFilter +------------------------------------------------------------------ + +A single property to filter on. + + + +.. csv-table:: SinglePropertyFilter type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "tag_filter", ":ref:`ref_datacatalog.TagPropertyFilter`", "", "" + "partition_filter", ":ref:`ref_datacatalog.PartitionPropertyFilter`", "", "" + "artifact_filter", ":ref:`ref_datacatalog.ArtifactPropertyFilter`", "", "" + "dataset_filter", ":ref:`ref_datacatalog.DatasetPropertyFilter`", "", "" + "operator", ":ref:`ref_datacatalog.SinglePropertyFilter.ComparisonOperator`", "", "field 10 in case we add more entities to query" + + + + + + + +.. _ref_datacatalog.Tag: + +Tag +------------------------------------------------------------------ + +Tag message that is unique to a Dataset. It is associated to a single artifact and +can be retrieved by name later. + + + +.. csv-table:: Tag type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "name", ":ref:`ref_string`", "", "Name of tag" + "artifact_id", ":ref:`ref_string`", "", "The tagged artifact" + "dataset", ":ref:`ref_datacatalog.DatasetID`", "", "The Dataset that this tag belongs to" + + + + + + + +.. _ref_datacatalog.TagPropertyFilter: + +TagPropertyFilter +------------------------------------------------------------------ + +Tag properties we can filter by + + + +.. csv-table:: TagPropertyFilter type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "tag_name", ":ref:`ref_string`", "", "" + + + + + + +.. + end messages + + + +.. _ref_datacatalog.PaginationOptions.SortKey: + +PaginationOptions.SortKey +------------------------------------------------------------------ + + + +.. csv-table:: Enum PaginationOptions.SortKey values + :header: "Name", "Number", "Description" + :widths: auto + + "CREATION_TIME", "0", "" + + + +.. _ref_datacatalog.PaginationOptions.SortOrder: + +PaginationOptions.SortOrder +------------------------------------------------------------------ + + + +.. csv-table:: Enum PaginationOptions.SortOrder values + :header: "Name", "Number", "Description" + :widths: auto + + "DESCENDING", "0", "" + "ASCENDING", "1", "" + + + +.. _ref_datacatalog.SinglePropertyFilter.ComparisonOperator: + +SinglePropertyFilter.ComparisonOperator +------------------------------------------------------------------ + +as use-cases come up we can add more operators, ex: gte, like, not eq etc. + +.. csv-table:: Enum SinglePropertyFilter.ComparisonOperator values + :header: "Name", "Number", "Description" + :widths: auto + + "EQUALS", "0", "" + + +.. + end enums + + +.. + end HasExtensions + + + +.. _ref_datacatalog.DataCatalog: + +DataCatalog +------------------------------------------------------------------ + +Data Catalog service definition +Data Catalog is a service for indexing parameterized, strongly-typed data artifacts across revisions. +Artifacts are associated with a Dataset, and can be tagged for retrieval. + +.. csv-table:: DataCatalog service methods + :header: "Method Name", "Request Type", "Response Type", "Description" + :widths: auto + + "CreateDataset", ":ref:`ref_datacatalog.CreateDatasetRequest`", ":ref:`ref_datacatalog.CreateDatasetResponse`", "Create a new Dataset. Datasets are unique based on the DatasetID. Datasets are logical groupings of artifacts. Each dataset can have one or more artifacts" + "GetDataset", ":ref:`ref_datacatalog.GetDatasetRequest`", ":ref:`ref_datacatalog.GetDatasetResponse`", "Get a Dataset by the DatasetID. This returns the Dataset with the associated metadata." + "CreateArtifact", ":ref:`ref_datacatalog.CreateArtifactRequest`", ":ref:`ref_datacatalog.CreateArtifactResponse`", "Create an artifact and the artifact data associated with it. An artifact can be a hive partition or arbitrary files or data values" + "GetArtifact", ":ref:`ref_datacatalog.GetArtifactRequest`", ":ref:`ref_datacatalog.GetArtifactResponse`", "Retrieve an artifact by an identifying handle. This returns an artifact along with the artifact data." + "AddTag", ":ref:`ref_datacatalog.AddTagRequest`", ":ref:`ref_datacatalog.AddTagResponse`", "Associate a tag with an artifact. Tags are unique within a Dataset." + "ListArtifacts", ":ref:`ref_datacatalog.ListArtifactsRequest`", ":ref:`ref_datacatalog.ListArtifactsResponse`", "Return a paginated list of artifacts" + "ListDatasets", ":ref:`ref_datacatalog.ListDatasetsRequest`", ":ref:`ref_datacatalog.ListDatasetsResponse`", "Return a paginated list of datasets" + "GetOrExtendReservation", ":ref:`ref_datacatalog.GetOrExtendReservationRequest`", ":ref:`ref_datacatalog.GetOrExtendReservationResponse`", "Attempts to get or extend a reservation for the corresponding artifact. If one already exists (ie. another entity owns the reservation) then that reservation is retrieved. Once you acquire a reservation, you need to periodically extend the reservation with an identical call. If the reservation is not extended before the defined expiration, it may be acquired by another task. Note: We may have multiple concurrent tasks with the same signature and the same input that try to populate the same artifact at the same time. Thus with reservation, only one task can run at a time, until the reservation expires. Note: If task A does not extend the reservation in time and the reservation expires, another task B may take over the reservation, resulting in two tasks A and B running in parallel. So a third task C may get the Artifact from A or B, whichever writes last." + "ReleaseReservation", ":ref:`ref_datacatalog.ReleaseReservationRequest`", ":ref:`ref_datacatalog.ReleaseReservationResponse`", "Release the reservation when the task holding the spot fails so that the other tasks can grab the spot." + +.. + end services + + + + +.. _ref_google/protobuf/timestamp.proto: + +google/protobuf/timestamp.proto +================================================================== + + + + + +.. _ref_google.protobuf.Timestamp: + +Timestamp +------------------------------------------------------------------ + +A Timestamp represents a point in time independent of any time zone or local +calendar, encoded as a count of seconds and fractions of seconds at +nanosecond resolution. The count is relative to an epoch at UTC midnight on +January 1, 1970, in the proleptic Gregorian calendar which extends the +Gregorian calendar backwards to year one. + +All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap +second table is needed for interpretation, using a [24-hour linear +smear](https://developers.google.com/time/smear). + +The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By +restricting to that range, we ensure that we can convert to and from [RFC +3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + +# Examples + +Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + +Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + +Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + +Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + +Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + +Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + +# JSON Mapping + +In JSON format, the Timestamp type is encoded as a string in the +[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the +format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" +where {year} is always expressed using four digits while {month}, {day}, +{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional +seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), +are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone +is required. A proto3 JSON serializer should always use UTC (as indicated by +"Z") when printing the Timestamp type and a proto3 JSON parser should be +able to accept both UTC and other timezones (as indicated by an offset). + +For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past +01:30 UTC on January 15, 2017. + +In JavaScript, one can convert a Date object to this format using the +standard +[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) +method. In Python, a standard `datetime.datetime` object can be converted +to this format using +[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with +the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use +the Joda Time's [`ISODateTimeFormat.dateTime()`]( +http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D +) to obtain a formatter capable of generating timestamps in this format. + + + +.. csv-table:: Timestamp type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "seconds", ":ref:`ref_int64`", "", "Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive." + "nanos", ":ref:`ref_int32`", "", "Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_google/protobuf/duration.proto: + +google/protobuf/duration.proto +================================================================== + + + + + +.. _ref_google.protobuf.Duration: + +Duration +------------------------------------------------------------------ + +A Duration represents a signed, fixed-length span of time represented +as a count of seconds and fractions of seconds at nanosecond +resolution. It is independent of any calendar and concepts like "day" +or "month". It is related to Timestamp in that the difference between +two Timestamp values is a Duration and it can be added or subtracted +from a Timestamp. Range is approximately +-10,000 years. + +# Examples + +Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + +Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + +Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + +# JSON Mapping + +In JSON format, the Duration type is encoded as a string rather than an +object, where the string ends in the suffix "s" (indicating seconds) and +is preceded by the number of seconds, with nanoseconds expressed as +fractional seconds. For example, 3 seconds with 0 nanoseconds should be +encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should +be expressed in JSON format as "3.000000001s", and 3 seconds and 1 +microsecond should be expressed in JSON format as "3.000001s". + + + +.. csv-table:: Duration type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "seconds", ":ref:`ref_int64`", "", "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years" + "nanos", ":ref:`ref_int32`", "", "Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_google/protobuf/struct.proto: + +google/protobuf/struct.proto +================================================================== + + + + + +.. _ref_google.protobuf.ListValue: + +ListValue +------------------------------------------------------------------ + +`ListValue` is a wrapper around a repeated field of values. + +The JSON representation for `ListValue` is JSON array. + + + +.. csv-table:: ListValue type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "values", ":ref:`ref_google.protobuf.Value`", "repeated", "Repeated field of dynamically typed values." + + + + + + + +.. _ref_google.protobuf.Struct: + +Struct +------------------------------------------------------------------ + +`Struct` represents a structured data value, consisting of fields +which map to dynamically typed values. In some languages, `Struct` +might be supported by a native representation. For example, in +scripting languages like JS a struct is represented as an +object. The details of that representation are described together +with the proto support for the language. + +The JSON representation for `Struct` is JSON object. + + + +.. csv-table:: Struct type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "fields", ":ref:`ref_google.protobuf.Struct.FieldsEntry`", "repeated", "Unordered map of dynamically typed values." + + + + + + + +.. _ref_google.protobuf.Struct.FieldsEntry: + +Struct.FieldsEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: Struct.FieldsEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_google.protobuf.Value`", "", "" + + + + + + + +.. _ref_google.protobuf.Value: + +Value +------------------------------------------------------------------ + +`Value` represents a dynamically typed value which can be either +null, a number, a string, a boolean, a recursive struct value, or a +list of values. A producer of value is expected to set one of these +variants. Absence of any variant indicates an error. + +The JSON representation for `Value` is JSON value. + + + +.. csv-table:: Value type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "null_value", ":ref:`ref_google.protobuf.NullValue`", "", "Represents a null value." + "number_value", ":ref:`ref_double`", "", "Represents a double value." + "string_value", ":ref:`ref_string`", "", "Represents a string value." + "bool_value", ":ref:`ref_bool`", "", "Represents a boolean value." + "struct_value", ":ref:`ref_google.protobuf.Struct`", "", "Represents a structured value." + "list_value", ":ref:`ref_google.protobuf.ListValue`", "", "Represents a repeated `Value`." + + + + + + +.. + end messages + + + +.. _ref_google.protobuf.NullValue: + +NullValue +------------------------------------------------------------------ + +`NullValue` is a singleton enumeration to represent the null value for the +`Value` type union. + + The JSON representation for `NullValue` is JSON `null`. + +.. csv-table:: Enum NullValue values + :header: "Name", "Number", "Description" + :widths: auto + + "NULL_VALUE", "0", "Null value." + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + diff --git a/protos/docs/event/event.rst b/protos/docs/event/event.rst new file mode 100644 index 000000000..0b253e8b6 --- /dev/null +++ b/protos/docs/event/event.rst @@ -0,0 +1,727 @@ +###################### +Protocol Documentation +###################### + + + + +.. _ref_flyteidl/event/event.proto: + +flyteidl/event/event.proto +================================================================== + + + + + +.. _ref_flyteidl.event.DynamicWorkflowNodeMetadata: + +DynamicWorkflowNodeMetadata +------------------------------------------------------------------ + +For dynamic workflow nodes we send information about the dynamic workflow definition that gets generated. + + + +.. csv-table:: DynamicWorkflowNodeMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the workflow." + "compiled_workflow", ":ref:`ref_flyteidl.core.CompiledWorkflowClosure`", "", "Represents the compiled representation of the embedded dynamic workflow." + + + + + + + +.. _ref_flyteidl.event.ExternalResourceInfo: + +ExternalResourceInfo +------------------------------------------------------------------ + +This message contains metadata about external resources produced or used by a specific task execution. + + + +.. csv-table:: ExternalResourceInfo type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "external_id", ":ref:`ref_string`", "", "Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids." + "index", ":ref:`ref_uint32`", "", "A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports." + "retry_attempt", ":ref:`ref_uint32`", "", "Retry attempt number for this external resource, ie., 2 for the second attempt" + "phase", ":ref:`ref_flyteidl.core.TaskExecution.Phase`", "", "Phase associated with the external resource" + "cache_status", ":ref:`ref_flyteidl.core.CatalogCacheStatus`", "", "Captures the status of caching for this external resource execution." + "logs", ":ref:`ref_flyteidl.core.TaskLog`", "repeated", "log information for the external resource execution" + + + + + + + +.. _ref_flyteidl.event.NodeExecutionEvent: + +NodeExecutionEvent +------------------------------------------------------------------ + + + + + +.. csv-table:: NodeExecutionEvent type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Unique identifier for this node execution" + "producer_id", ":ref:`ref_string`", "", "the id of the originator (Propeller) of the event" + "phase", ":ref:`ref_flyteidl.core.NodeExecution.Phase`", "", "" + "occurred_at", ":ref:`ref_google.protobuf.Timestamp`", "", "This timestamp represents when the original event occurred, it is generated by the executor of the node." + "input_uri", ":ref:`ref_string`", "", "" + "output_uri", ":ref:`ref_string`", "", "URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://..." + "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information for the execution" + "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Raw output data produced by this node execution." + "workflow_node_metadata", ":ref:`ref_flyteidl.event.WorkflowNodeMetadata`", "", "" + "task_node_metadata", ":ref:`ref_flyteidl.event.TaskNodeMetadata`", "", "" + "parent_task_metadata", ":ref:`ref_flyteidl.event.ParentTaskExecutionMetadata`", "", "[To be deprecated] Specifies which task (if any) launched this node." + "parent_node_metadata", ":ref:`ref_flyteidl.event.ParentNodeExecutionMetadata`", "", "Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node." + "retry_group", ":ref:`ref_string`", "", "Retry group to indicate grouping of nodes by retries" + "spec_node_id", ":ref:`ref_string`", "", "Identifier of the node in the original workflow/graph This maps to value of WorkflowTemplate.nodes[X].id" + "node_name", ":ref:`ref_string`", "", "Friendly readable name for the node" + "event_version", ":ref:`ref_int32`", "", "" + "is_parent", ":ref:`ref_bool`", "", "Whether this node launched a subworkflow." + "is_dynamic", ":ref:`ref_bool`", "", "Whether this node yielded a dynamic workflow." + "deck_uri", ":ref:`ref_string`", "", "String location uniquely identifying where the deck HTML file is NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" + + + + + + + +.. _ref_flyteidl.event.ParentNodeExecutionMetadata: + +ParentNodeExecutionMetadata +------------------------------------------------------------------ + + + + + +.. csv-table:: ParentNodeExecutionMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "node_id", ":ref:`ref_string`", "", "Unique identifier of the parent node id within the execution This is value of core.NodeExecutionIdentifier.node_id of the parent node" + + + + + + + +.. _ref_flyteidl.event.ParentTaskExecutionMetadata: + +ParentTaskExecutionMetadata +------------------------------------------------------------------ + + + + + +.. csv-table:: ParentTaskExecutionMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "" + + + + + + + +.. _ref_flyteidl.event.ResourcePoolInfo: + +ResourcePoolInfo +------------------------------------------------------------------ + +This message holds task execution metadata specific to resource allocation used to manage concurrent +executions for a project namespace. + + + +.. csv-table:: ResourcePoolInfo type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "allocation_token", ":ref:`ref_string`", "", "Unique resource ID used to identify this execution when allocating a token." + "namespace", ":ref:`ref_string`", "", "Namespace under which this task execution requested an allocation token." + + + + + + + +.. _ref_flyteidl.event.TaskExecutionEvent: + +TaskExecutionEvent +------------------------------------------------------------------ + +Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob. + + + +.. csv-table:: TaskExecutionEvent type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "task_id", ":ref:`ref_flyteidl.core.Identifier`", "", "ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution." + "parent_node_execution_id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "A task execution is always kicked off by a node execution, the event consumer will use the parent_id to relate the task to it's parent node execution" + "retry_attempt", ":ref:`ref_uint32`", "", "retry attempt number for this task, ie., 2 for the second attempt" + "phase", ":ref:`ref_flyteidl.core.TaskExecution.Phase`", "", "Phase associated with the event" + "producer_id", ":ref:`ref_string`", "", "id of the process that sent this event, mainly for trace debugging" + "logs", ":ref:`ref_flyteidl.core.TaskLog`", "repeated", "log information for the task execution" + "occurred_at", ":ref:`ref_google.protobuf.Timestamp`", "", "This timestamp represents when the original event occurred, it is generated by the executor of the task." + "input_uri", ":ref:`ref_string`", "", "URI of the input file, it encodes all the information including Cloud source provider. ie., s3://..." + "output_uri", ":ref:`ref_string`", "", "URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://..." + "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information for the execution" + "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Raw output data produced by this task execution." + "custom_info", ":ref:`ref_google.protobuf.Struct`", "", "Custom data that the task plugin sends back. This is extensible to allow various plugins in the system." + "phase_version", ":ref:`ref_uint32`", "", "Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) that should be recorded regardless of the lack of phase change. The version field should be incremented when metadata changes across the duration of an individual phase." + "reason", ":ref:`ref_string`", "", "An optional explanation for the phase transition." + "task_type", ":ref:`ref_string`", "", "A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin this type will be identical, but not all task executions necessarily use pre-registered definitions and this type is useful to render the task in the UI, filter task executions, etc." + "metadata", ":ref:`ref_flyteidl.event.TaskExecutionMetadata`", "", "Metadata around how a task was executed." + "event_version", ":ref:`ref_int32`", "", "The event version is used to indicate versioned changes in how data is reported using this proto message. For example, event_verison > 0 means that maps tasks report logs using the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message." + + + + + + + +.. _ref_flyteidl.event.TaskExecutionMetadata: + +TaskExecutionMetadata +------------------------------------------------------------------ + +Holds metadata around how a task was executed. +As a task transitions across event phases during execution some attributes, such its generated name, generated external resources, +and more may grow in size but not change necessarily based on the phase transition that sparked the event update. +Metadata is a container for these attributes across the task execution lifecycle. + + + +.. csv-table:: TaskExecutionMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "generated_name", ":ref:`ref_string`", "", "Unique, generated name for this task execution used by the backend." + "external_resources", ":ref:`ref_flyteidl.event.ExternalResourceInfo`", "repeated", "Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution." + "resource_pool_info", ":ref:`ref_flyteidl.event.ResourcePoolInfo`", "repeated", "Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution." + "plugin_identifier", ":ref:`ref_string`", "", "The identifier of the plugin used to execute this task." + "instance_class", ":ref:`ref_flyteidl.event.TaskExecutionMetadata.InstanceClass`", "", "" + + + + + + + +.. _ref_flyteidl.event.TaskNodeMetadata: + +TaskNodeMetadata +------------------------------------------------------------------ + + + + + +.. csv-table:: TaskNodeMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "cache_status", ":ref:`ref_flyteidl.core.CatalogCacheStatus`", "", "Captures the status of caching for this execution." + "catalog_key", ":ref:`ref_flyteidl.core.CatalogMetadata`", "", "This structure carries the catalog artifact information" + "reservation_status", ":ref:`ref_flyteidl.core.CatalogReservation.Status`", "", "Captures the status of cache reservations for this execution." + "dynamic_workflow", ":ref:`ref_flyteidl.event.DynamicWorkflowNodeMetadata`", "", "In the case this task launched a dynamic workflow we capture its structure here." + + + + + + + +.. _ref_flyteidl.event.WorkflowExecutionEvent: + +WorkflowExecutionEvent +------------------------------------------------------------------ + + + + + +.. csv-table:: WorkflowExecutionEvent type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "execution_id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Workflow execution id" + "producer_id", ":ref:`ref_string`", "", "the id of the originator (Propeller) of the event" + "phase", ":ref:`ref_flyteidl.core.WorkflowExecution.Phase`", "", "" + "occurred_at", ":ref:`ref_google.protobuf.Timestamp`", "", "This timestamp represents when the original event occurred, it is generated by the executor of the workflow." + "output_uri", ":ref:`ref_string`", "", "URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://..." + "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information for the execution" + "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Raw output data produced by this workflow execution." + + + + + + + +.. _ref_flyteidl.event.WorkflowNodeMetadata: + +WorkflowNodeMetadata +------------------------------------------------------------------ + +For Workflow Nodes we need to send information about the workflow that's launched + + + +.. csv-table:: WorkflowNodeMetadata type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "execution_id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "" + + + + + + +.. + end messages + + + +.. _ref_flyteidl.event.TaskExecutionMetadata.InstanceClass: + +TaskExecutionMetadata.InstanceClass +------------------------------------------------------------------ + +Includes the broad category of machine used for this specific task execution. + +.. csv-table:: Enum TaskExecutionMetadata.InstanceClass values + :header: "Name", "Number", "Description" + :widths: auto + + "DEFAULT", "0", "The default instance class configured for the flyte application platform." + "INTERRUPTIBLE", "1", "The instance class configured for interruptible tasks." + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_google/protobuf/timestamp.proto: + +google/protobuf/timestamp.proto +================================================================== + + + + + +.. _ref_google.protobuf.Timestamp: + +Timestamp +------------------------------------------------------------------ + +A Timestamp represents a point in time independent of any time zone or local +calendar, encoded as a count of seconds and fractions of seconds at +nanosecond resolution. The count is relative to an epoch at UTC midnight on +January 1, 1970, in the proleptic Gregorian calendar which extends the +Gregorian calendar backwards to year one. + +All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap +second table is needed for interpretation, using a [24-hour linear +smear](https://developers.google.com/time/smear). + +The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By +restricting to that range, we ensure that we can convert to and from [RFC +3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + +# Examples + +Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + +Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + +Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + +Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + +Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + +Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + +# JSON Mapping + +In JSON format, the Timestamp type is encoded as a string in the +[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the +format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" +where {year} is always expressed using four digits while {month}, {day}, +{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional +seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), +are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone +is required. A proto3 JSON serializer should always use UTC (as indicated by +"Z") when printing the Timestamp type and a proto3 JSON parser should be +able to accept both UTC and other timezones (as indicated by an offset). + +For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past +01:30 UTC on January 15, 2017. + +In JavaScript, one can convert a Date object to this format using the +standard +[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) +method. In Python, a standard `datetime.datetime` object can be converted +to this format using +[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with +the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use +the Joda Time's [`ISODateTimeFormat.dateTime()`]( +http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D +) to obtain a formatter capable of generating timestamps in this format. + + + +.. csv-table:: Timestamp type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "seconds", ":ref:`ref_int64`", "", "Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive." + "nanos", ":ref:`ref_int32`", "", "Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_google/protobuf/duration.proto: + +google/protobuf/duration.proto +================================================================== + + + + + +.. _ref_google.protobuf.Duration: + +Duration +------------------------------------------------------------------ + +A Duration represents a signed, fixed-length span of time represented +as a count of seconds and fractions of seconds at nanosecond +resolution. It is independent of any calendar and concepts like "day" +or "month". It is related to Timestamp in that the difference between +two Timestamp values is a Duration and it can be added or subtracted +from a Timestamp. Range is approximately +-10,000 years. + +# Examples + +Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + +Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + +Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + +# JSON Mapping + +In JSON format, the Duration type is encoded as a string rather than an +object, where the string ends in the suffix "s" (indicating seconds) and +is preceded by the number of seconds, with nanoseconds expressed as +fractional seconds. For example, 3 seconds with 0 nanoseconds should be +encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should +be expressed in JSON format as "3.000000001s", and 3 seconds and 1 +microsecond should be expressed in JSON format as "3.000001s". + + + +.. csv-table:: Duration type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "seconds", ":ref:`ref_int64`", "", "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years" + "nanos", ":ref:`ref_int32`", "", "Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_google/protobuf/struct.proto: + +google/protobuf/struct.proto +================================================================== + + + + + +.. _ref_google.protobuf.ListValue: + +ListValue +------------------------------------------------------------------ + +`ListValue` is a wrapper around a repeated field of values. + +The JSON representation for `ListValue` is JSON array. + + + +.. csv-table:: ListValue type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "values", ":ref:`ref_google.protobuf.Value`", "repeated", "Repeated field of dynamically typed values." + + + + + + + +.. _ref_google.protobuf.Struct: + +Struct +------------------------------------------------------------------ + +`Struct` represents a structured data value, consisting of fields +which map to dynamically typed values. In some languages, `Struct` +might be supported by a native representation. For example, in +scripting languages like JS a struct is represented as an +object. The details of that representation are described together +with the proto support for the language. + +The JSON representation for `Struct` is JSON object. + + + +.. csv-table:: Struct type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "fields", ":ref:`ref_google.protobuf.Struct.FieldsEntry`", "repeated", "Unordered map of dynamically typed values." + + + + + + + +.. _ref_google.protobuf.Struct.FieldsEntry: + +Struct.FieldsEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: Struct.FieldsEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_google.protobuf.Value`", "", "" + + + + + + + +.. _ref_google.protobuf.Value: + +Value +------------------------------------------------------------------ + +`Value` represents a dynamically typed value which can be either +null, a number, a string, a boolean, a recursive struct value, or a +list of values. A producer of value is expected to set one of these +variants. Absence of any variant indicates an error. + +The JSON representation for `Value` is JSON value. + + + +.. csv-table:: Value type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "null_value", ":ref:`ref_google.protobuf.NullValue`", "", "Represents a null value." + "number_value", ":ref:`ref_double`", "", "Represents a double value." + "string_value", ":ref:`ref_string`", "", "Represents a string value." + "bool_value", ":ref:`ref_bool`", "", "Represents a boolean value." + "struct_value", ":ref:`ref_google.protobuf.Struct`", "", "Represents a structured value." + "list_value", ":ref:`ref_google.protobuf.ListValue`", "", "Represents a repeated `Value`." + + + + + + +.. + end messages + + + +.. _ref_google.protobuf.NullValue: + +NullValue +------------------------------------------------------------------ + +`NullValue` is a singleton enumeration to represent the null value for the +`Value` type union. + + The JSON representation for `NullValue` is JSON `null`. + +.. csv-table:: Enum NullValue values + :header: "Name", "Number", "Description" + :widths: auto + + "NULL_VALUE", "0", "Null value." + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + diff --git a/protos/docs/plugins/plugins.rst b/protos/docs/plugins/plugins.rst new file mode 100644 index 000000000..074c3573f --- /dev/null +++ b/protos/docs/plugins/plugins.rst @@ -0,0 +1,685 @@ +###################### +Protocol Documentation +###################### + + + + +.. _ref_flyteidl/plugins/array_job.proto: + +flyteidl/plugins/array_job.proto +================================================================== + + + + + +.. _ref_flyteidl.plugins.ArrayJob: + +ArrayJob +------------------------------------------------------------------ + +Describes a job that can process independent pieces of data concurrently. Multiple copies of the runnable component +will be executed concurrently. + + + +.. csv-table:: ArrayJob type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "parallelism", ":ref:`ref_int64`", "", "Defines the minimum number of instances to bring up concurrently at any given point. Note that this is an optimistic restriction and that, due to network partitioning or other failures, the actual number of currently running instances might be more. This has to be a positive number if assigned. Default value is size." + "size", ":ref:`ref_int64`", "", "Defines the number of instances to launch at most. This number should match the size of the input if the job requires processing of all input data. This has to be a positive number. In the case this is not defined, the back-end will determine the size at run-time by reading the inputs." + "min_successes", ":ref:`ref_int64`", "", "An absolute number of the minimum number of successful completions of subtasks. As soon as this criteria is met, the array job will be marked as successful and outputs will be computed. This has to be a non-negative number if assigned. Default value is size (if specified)." + "min_success_ratio", ":ref:`ref_float`", "", "If the array job size is not known beforehand, the min_success_ratio can instead be used to determine when an array job can be marked successful." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/plugins/mpi.proto: + +flyteidl/plugins/mpi.proto +================================================================== + + + + + +.. _ref_flyteidl.plugins.DistributedMPITrainingTask: + +DistributedMPITrainingTask +------------------------------------------------------------------ + +MPI operator proposal https://github.com/kubeflow/community/blob/master/proposals/mpi-operator-proposal.md +Custom proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator + + + +.. csv-table:: DistributedMPITrainingTask type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "num_workers", ":ref:`ref_int32`", "", "number of worker spawned in the cluster for this job" + "num_launcher_replicas", ":ref:`ref_int32`", "", "number of launcher replicas spawned in the cluster for this job The launcher pod invokes mpirun and communicates with worker pods through MPI." + "slots", ":ref:`ref_int32`", "", "number of slots per worker used in hostfile. The available slots (GPUs) in each pod." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/plugins/presto.proto: + +flyteidl/plugins/presto.proto +================================================================== + + + + + +.. _ref_flyteidl.plugins.PrestoQuery: + +PrestoQuery +------------------------------------------------------------------ + +This message works with the 'presto' task type in the SDK and is the object that will be in the 'custom' field +of a Presto task's TaskTemplate + + + +.. csv-table:: PrestoQuery type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "routing_group", ":ref:`ref_string`", "", "" + "catalog", ":ref:`ref_string`", "", "" + "schema", ":ref:`ref_string`", "", "" + "statement", ":ref:`ref_string`", "", "" + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/plugins/pytorch.proto: + +flyteidl/plugins/pytorch.proto +================================================================== + + + + + +.. _ref_flyteidl.plugins.DistributedPyTorchTrainingTask: + +DistributedPyTorchTrainingTask +------------------------------------------------------------------ + +Custom proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator + + + +.. csv-table:: DistributedPyTorchTrainingTask type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "workers", ":ref:`ref_int32`", "", "number of worker replicas spawned in the cluster for this job" + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/plugins/qubole.proto: + +flyteidl/plugins/qubole.proto +================================================================== + + + + + +.. _ref_flyteidl.plugins.HiveQuery: + +HiveQuery +------------------------------------------------------------------ + +Defines a query to execute on a hive cluster. + + + +.. csv-table:: HiveQuery type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "query", ":ref:`ref_string`", "", "" + "timeout_sec", ":ref:`ref_uint32`", "", "" + "retryCount", ":ref:`ref_uint32`", "", "" + + + + + + + +.. _ref_flyteidl.plugins.HiveQueryCollection: + +HiveQueryCollection +------------------------------------------------------------------ + +Defines a collection of hive queries. + + + +.. csv-table:: HiveQueryCollection type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "queries", ":ref:`ref_flyteidl.plugins.HiveQuery`", "repeated", "" + + + + + + + +.. _ref_flyteidl.plugins.QuboleHiveJob: + +QuboleHiveJob +------------------------------------------------------------------ + +This message works with the 'hive' task type in the SDK and is the object that will be in the 'custom' field +of a hive task's TaskTemplate + + + +.. csv-table:: QuboleHiveJob type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "cluster_label", ":ref:`ref_string`", "", "" + "query_collection", ":ref:`ref_flyteidl.plugins.HiveQueryCollection`", "", "**Deprecated.** " + "tags", ":ref:`ref_string`", "repeated", "" + "query", ":ref:`ref_flyteidl.plugins.HiveQuery`", "", "" + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/plugins/ray.proto: + +flyteidl/plugins/ray.proto +================================================================== + + + + + +.. _ref_flyteidl.plugins.HeadGroupSpec: + +HeadGroupSpec +------------------------------------------------------------------ + +HeadGroupSpec are the spec for the head pod + + + +.. csv-table:: HeadGroupSpec type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "ray_start_params", ":ref:`ref_flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry`", "repeated", "Optional. RayStartParams are the params of the start command: address, object-store-memory. Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start" + + + + + + + +.. _ref_flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry: + +HeadGroupSpec.RayStartParamsEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: HeadGroupSpec.RayStartParamsEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_flyteidl.plugins.RayCluster: + +RayCluster +------------------------------------------------------------------ + +Define Ray cluster defines the desired state of RayCluster + + + +.. csv-table:: RayCluster type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "head_group_spec", ":ref:`ref_flyteidl.plugins.HeadGroupSpec`", "", "HeadGroupSpecs are the spec for the head pod" + "worker_group_spec", ":ref:`ref_flyteidl.plugins.WorkerGroupSpec`", "repeated", "WorkerGroupSpecs are the specs for the worker pods" + + + + + + + +.. _ref_flyteidl.plugins.RayJob: + +RayJob +------------------------------------------------------------------ + +RayJobSpec defines the desired state of RayJob + + + +.. csv-table:: RayJob type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "ray_cluster", ":ref:`ref_flyteidl.plugins.RayCluster`", "", "RayClusterSpec is the cluster template to run the job" + "runtime_env", ":ref:`ref_string`", "", "runtime_env is base64 encoded. Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments" + + + + + + + +.. _ref_flyteidl.plugins.WorkerGroupSpec: + +WorkerGroupSpec +------------------------------------------------------------------ + +WorkerGroupSpec are the specs for the worker pods + + + +.. csv-table:: WorkerGroupSpec type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "group_name", ":ref:`ref_string`", "", "Required. RayCluster can have multiple worker groups, and it distinguishes them by name" + "replicas", ":ref:`ref_int32`", "", "Required. Desired replicas of the worker group. Defaults to 1." + "min_replicas", ":ref:`ref_int32`", "", "Optional. Min replicas of the worker group. MinReplicas defaults to 1." + "max_replicas", ":ref:`ref_int32`", "", "Optional. Max replicas of the worker group. MaxReplicas defaults to maxInt32" + "ray_start_params", ":ref:`ref_flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry`", "repeated", "Optional. RayStartParams are the params of the start command: address, object-store-memory. Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start" + + + + + + + +.. _ref_flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry: + +WorkerGroupSpec.RayStartParamsEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: WorkerGroupSpec.RayStartParamsEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_string`", "", "" + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/plugins/spark.proto: + +flyteidl/plugins/spark.proto +================================================================== + + + + + +.. _ref_flyteidl.plugins.SparkApplication: + +SparkApplication +------------------------------------------------------------------ + + + + + + + + + + +.. _ref_flyteidl.plugins.SparkJob: + +SparkJob +------------------------------------------------------------------ + +Custom Proto for Spark Plugin. + + + +.. csv-table:: SparkJob type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "applicationType", ":ref:`ref_flyteidl.plugins.SparkApplication.Type`", "", "" + "mainApplicationFile", ":ref:`ref_string`", "", "" + "mainClass", ":ref:`ref_string`", "", "" + "sparkConf", ":ref:`ref_flyteidl.plugins.SparkJob.SparkConfEntry`", "repeated", "" + "hadoopConf", ":ref:`ref_flyteidl.plugins.SparkJob.HadoopConfEntry`", "repeated", "" + "executorPath", ":ref:`ref_string`", "", "Executor path for Python jobs." + + + + + + + +.. _ref_flyteidl.plugins.SparkJob.HadoopConfEntry: + +SparkJob.HadoopConfEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: SparkJob.HadoopConfEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_flyteidl.plugins.SparkJob.SparkConfEntry: + +SparkJob.SparkConfEntry +------------------------------------------------------------------ + + + + + +.. csv-table:: SparkJob.SparkConfEntry type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "key", ":ref:`ref_string`", "", "" + "value", ":ref:`ref_string`", "", "" + + + + + + +.. + end messages + + + +.. _ref_flyteidl.plugins.SparkApplication.Type: + +SparkApplication.Type +------------------------------------------------------------------ + + + +.. csv-table:: Enum SparkApplication.Type values + :header: "Name", "Number", "Description" + :widths: auto + + "PYTHON", "0", "" + "JAVA", "1", "" + "SCALA", "2", "" + "R", "3", "" + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/plugins/tensorflow.proto: + +flyteidl/plugins/tensorflow.proto +================================================================== + + + + + +.. _ref_flyteidl.plugins.DistributedTensorflowTrainingTask: + +DistributedTensorflowTrainingTask +------------------------------------------------------------------ + +Custom proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator + + + +.. csv-table:: DistributedTensorflowTrainingTask type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "workers", ":ref:`ref_int32`", "", "number of worker, ps, chief replicas spawned in the cluster for this job" + "ps_replicas", ":ref:`ref_int32`", "", "PS -> Parameter server" + "chief_replicas", ":ref:`ref_int32`", "", "" + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + + + +.. _ref_flyteidl/plugins/waitable.proto: + +flyteidl/plugins/waitable.proto +================================================================== + + + + + +.. _ref_flyteidl.plugins.Waitable: + +Waitable +------------------------------------------------------------------ + +Represents an Execution that was launched and could be waited on. + + + +.. csv-table:: Waitable type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "wf_exec_id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "" + "phase", ":ref:`ref_flyteidl.core.WorkflowExecution.Phase`", "", "" + "workflow_id", ":ref:`ref_string`", "", "" + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + +.. + end services + + diff --git a/protos/docs/service/service.rst b/protos/docs/service/service.rst new file mode 100644 index 000000000..bd36c2f67 --- /dev/null +++ b/protos/docs/service/service.rst @@ -0,0 +1,433 @@ +###################### +Protocol Documentation +###################### + + + + +.. _ref_flyteidl/service/admin.proto: + +flyteidl/service/admin.proto +================================================================== + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + + +.. _ref_flyteidl.service.AdminService: + +AdminService +------------------------------------------------------------------ + +The following defines an RPC service that is also served over HTTP via grpc-gateway. +Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go + +.. csv-table:: AdminService service methods + :header: "Method Name", "Request Type", "Response Type", "Description" + :widths: auto + + "CreateTask", ":ref:`ref_flyteidl.admin.TaskCreateRequest`", ":ref:`ref_flyteidl.admin.TaskCreateResponse`", "Create and upload a :ref:`ref_flyteidl.admin.Task` definition" + "GetTask", ":ref:`ref_flyteidl.admin.ObjectGetRequest`", ":ref:`ref_flyteidl.admin.Task`", "Fetch a :ref:`ref_flyteidl.admin.Task` definition." + "ListTaskIds", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierList`", "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects." + "ListTasks", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.TaskList`", "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions." + "CreateWorkflow", ":ref:`ref_flyteidl.admin.WorkflowCreateRequest`", ":ref:`ref_flyteidl.admin.WorkflowCreateResponse`", "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition" + "GetWorkflow", ":ref:`ref_flyteidl.admin.ObjectGetRequest`", ":ref:`ref_flyteidl.admin.Workflow`", "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition." + "ListWorkflowIds", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierList`", "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects." + "ListWorkflows", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.WorkflowList`", "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions." + "CreateLaunchPlan", ":ref:`ref_flyteidl.admin.LaunchPlanCreateRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanCreateResponse`", "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition" + "GetLaunchPlan", ":ref:`ref_flyteidl.admin.ObjectGetRequest`", ":ref:`ref_flyteidl.admin.LaunchPlan`", "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition." + "GetActiveLaunchPlan", ":ref:`ref_flyteidl.admin.ActiveLaunchPlanRequest`", ":ref:`ref_flyteidl.admin.LaunchPlan`", "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`." + "ListActiveLaunchPlans", ":ref:`ref_flyteidl.admin.ActiveLaunchPlanListRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanList`", "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`." + "ListLaunchPlanIds", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierList`", "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects." + "ListLaunchPlans", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanList`", "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions." + "UpdateLaunchPlan", ":ref:`ref_flyteidl.admin.LaunchPlanUpdateRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanUpdateResponse`", "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`." + "CreateExecution", ":ref:`ref_flyteidl.admin.ExecutionCreateRequest`", ":ref:`ref_flyteidl.admin.ExecutionCreateResponse`", "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`" + "RelaunchExecution", ":ref:`ref_flyteidl.admin.ExecutionRelaunchRequest`", ":ref:`ref_flyteidl.admin.ExecutionCreateResponse`", "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`" + "RecoverExecution", ":ref:`ref_flyteidl.admin.ExecutionRecoverRequest`", ":ref:`ref_flyteidl.admin.ExecutionCreateResponse`", "Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details." + "GetExecution", ":ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest`", ":ref:`ref_flyteidl.admin.Execution`", "Fetches a :ref:`ref_flyteidl.admin.Execution`." + "UpdateExecution", ":ref:`ref_flyteidl.admin.ExecutionUpdateRequest`", ":ref:`ref_flyteidl.admin.ExecutionUpdateResponse`", "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`." + "GetExecutionData", ":ref:`ref_flyteidl.admin.WorkflowExecutionGetDataRequest`", ":ref:`ref_flyteidl.admin.WorkflowExecutionGetDataResponse`", "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`." + "ListExecutions", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.ExecutionList`", "Fetch a list of :ref:`ref_flyteidl.admin.Execution`." + "TerminateExecution", ":ref:`ref_flyteidl.admin.ExecutionTerminateRequest`", ":ref:`ref_flyteidl.admin.ExecutionTerminateResponse`", "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`." + "GetNodeExecution", ":ref:`ref_flyteidl.admin.NodeExecutionGetRequest`", ":ref:`ref_flyteidl.admin.NodeExecution`", "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`." + "ListNodeExecutions", ":ref:`ref_flyteidl.admin.NodeExecutionListRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionList`", "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`." + "ListNodeExecutionsForTask", ":ref:`ref_flyteidl.admin.NodeExecutionForTaskListRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionList`", "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`." + "GetNodeExecutionData", ":ref:`ref_flyteidl.admin.NodeExecutionGetDataRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionGetDataResponse`", "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`." + "RegisterProject", ":ref:`ref_flyteidl.admin.ProjectRegisterRequest`", ":ref:`ref_flyteidl.admin.ProjectRegisterResponse`", "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment." + "UpdateProject", ":ref:`ref_flyteidl.admin.Project`", ":ref:`ref_flyteidl.admin.ProjectUpdateResponse`", "Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API." + "ListProjects", ":ref:`ref_flyteidl.admin.ProjectListRequest`", ":ref:`ref_flyteidl.admin.Projects`", "Fetches a list of :ref:`ref_flyteidl.admin.Project`" + "CreateWorkflowEvent", ":ref:`ref_flyteidl.admin.WorkflowExecutionEventRequest`", ":ref:`ref_flyteidl.admin.WorkflowExecutionEventResponse`", "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred." + "CreateNodeEvent", ":ref:`ref_flyteidl.admin.NodeExecutionEventRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionEventResponse`", "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred." + "CreateTaskEvent", ":ref:`ref_flyteidl.admin.TaskExecutionEventRequest`", ":ref:`ref_flyteidl.admin.TaskExecutionEventResponse`", "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred." + "GetTaskExecution", ":ref:`ref_flyteidl.admin.TaskExecutionGetRequest`", ":ref:`ref_flyteidl.admin.TaskExecution`", "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`." + "ListTaskExecutions", ":ref:`ref_flyteidl.admin.TaskExecutionListRequest`", ":ref:`ref_flyteidl.admin.TaskExecutionList`", "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`." + "GetTaskExecutionData", ":ref:`ref_flyteidl.admin.TaskExecutionGetDataRequest`", ":ref:`ref_flyteidl.admin.TaskExecutionGetDataResponse`", "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`." + "UpdateProjectDomainAttributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesUpdateRequest`", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesUpdateResponse`", "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain." + "GetProjectDomainAttributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesGetRequest`", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesGetResponse`", "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain." + "DeleteProjectDomainAttributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesDeleteRequest`", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesDeleteResponse`", "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain." + "UpdateWorkflowAttributes", ":ref:`ref_flyteidl.admin.WorkflowAttributesUpdateRequest`", ":ref:`ref_flyteidl.admin.WorkflowAttributesUpdateResponse`", "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow." + "GetWorkflowAttributes", ":ref:`ref_flyteidl.admin.WorkflowAttributesGetRequest`", ":ref:`ref_flyteidl.admin.WorkflowAttributesGetResponse`", "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow." + "DeleteWorkflowAttributes", ":ref:`ref_flyteidl.admin.WorkflowAttributesDeleteRequest`", ":ref:`ref_flyteidl.admin.WorkflowAttributesDeleteResponse`", "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow." + "ListMatchableAttributes", ":ref:`ref_flyteidl.admin.ListMatchableAttributesRequest`", ":ref:`ref_flyteidl.admin.ListMatchableAttributesResponse`", "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type." + "ListNamedEntities", ":ref:`ref_flyteidl.admin.NamedEntityListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityList`", "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects." + "GetNamedEntity", ":ref:`ref_flyteidl.admin.NamedEntityGetRequest`", ":ref:`ref_flyteidl.admin.NamedEntity`", "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object." + "UpdateNamedEntity", ":ref:`ref_flyteidl.admin.NamedEntityUpdateRequest`", ":ref:`ref_flyteidl.admin.NamedEntityUpdateResponse`", "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object." + "GetVersion", ":ref:`ref_flyteidl.admin.GetVersionRequest`", ":ref:`ref_flyteidl.admin.GetVersionResponse`", "" + +.. + end services + + + + +.. _ref_flyteidl/service/auth.proto: + +flyteidl/service/auth.proto +================================================================== + + + + + +.. _ref_flyteidl.service.OAuth2MetadataRequest: + +OAuth2MetadataRequest +------------------------------------------------------------------ + + + + + + + + + + +.. _ref_flyteidl.service.OAuth2MetadataResponse: + +OAuth2MetadataResponse +------------------------------------------------------------------ + +OAuth2MetadataResponse defines an RFC-Compliant response for /.well-known/oauth-authorization-server metadata +as defined in https://tools.ietf.org/html/rfc8414 + + + +.. csv-table:: OAuth2MetadataResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "issuer", ":ref:`ref_string`", "", "Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external issuer." + "authorization_endpoint", ":ref:`ref_string`", "", "URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are supported that use the authorization endpoint." + "token_endpoint", ":ref:`ref_string`", "", "URL of the authorization server's token endpoint [RFC6749]." + "response_types_supported", ":ref:`ref_string`", "repeated", "Array containing a list of the OAuth 2.0 response_type values that this authorization server supports." + "scopes_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports." + "token_endpoint_auth_methods_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of client authentication methods supported by this token endpoint." + "jwks_uri", ":ref:`ref_string`", "", "URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the client uses to validate signatures from the authorization server." + "code_challenge_methods_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server." + "grant_types_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports." + "device_authorization_endpoint", ":ref:`ref_string`", "", "URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]" + + + + + + + +.. _ref_flyteidl.service.PublicClientAuthConfigRequest: + +PublicClientAuthConfigRequest +------------------------------------------------------------------ + + + + + + + + + + +.. _ref_flyteidl.service.PublicClientAuthConfigResponse: + +PublicClientAuthConfigResponse +------------------------------------------------------------------ + +FlyteClientResponse encapsulates public information that flyte clients (CLIs... etc.) can use to authenticate users. + + + +.. csv-table:: PublicClientAuthConfigResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "client_id", ":ref:`ref_string`", "", "client_id to use when initiating OAuth2 authorization requests." + "redirect_uri", ":ref:`ref_string`", "", "redirect uri to use when initiating OAuth2 authorization requests." + "scopes", ":ref:`ref_string`", "repeated", "scopes to request when initiating OAuth2 authorization requests." + "authorization_metadata_key", ":ref:`ref_string`", "", "Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the default http `Authorization` header." + "service_http_endpoint", ":ref:`ref_string`", "", "ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between SSL or no SSL connections." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + + +.. _ref_flyteidl.service.AuthMetadataService: + +AuthMetadataService +------------------------------------------------------------------ + +The following defines an RPC service that is also served over HTTP via grpc-gateway. +Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go +RPCs defined in this service must be anonymously accessible. + +.. csv-table:: AuthMetadataService service methods + :header: "Method Name", "Request Type", "Response Type", "Description" + :widths: auto + + "GetOAuth2Metadata", ":ref:`ref_flyteidl.service.OAuth2MetadataRequest`", ":ref:`ref_flyteidl.service.OAuth2MetadataResponse`", "Anonymously accessible. Retrieves local or external oauth authorization server metadata." + "GetPublicClientConfig", ":ref:`ref_flyteidl.service.PublicClientAuthConfigRequest`", ":ref:`ref_flyteidl.service.PublicClientAuthConfigResponse`", "Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization requests." + +.. + end services + + + + +.. _ref_flyteidl/service/dataproxy.proto: + +flyteidl/service/dataproxy.proto +================================================================== + + + + + +.. _ref_flyteidl.service.CreateDownloadLocationRequest: + +CreateDownloadLocationRequest +------------------------------------------------------------------ + +CreateDownloadLocationRequest specified request for the CreateDownloadLocation API. + + + +.. csv-table:: CreateDownloadLocationRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "native_url", ":ref:`ref_string`", "", "NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" + "expires_in", ":ref:`ref_google.protobuf.Duration`", "", "ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this exceeds the platform allowed max. +optional. The default value comes from a global config." + + + + + + + +.. _ref_flyteidl.service.CreateDownloadLocationResponse: + +CreateDownloadLocationResponse +------------------------------------------------------------------ + + + + + +.. csv-table:: CreateDownloadLocationResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "signed_url", ":ref:`ref_string`", "", "SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)" + "expires_at", ":ref:`ref_google.protobuf.Timestamp`", "", "ExpiresAt defines when will the signed URL expires." + + + + + + + +.. _ref_flyteidl.service.CreateUploadLocationRequest: + +CreateUploadLocationRequest +------------------------------------------------------------------ + +CreateUploadLocationRequest specified request for the CreateUploadLocation API. + + + +.. csv-table:: CreateUploadLocationRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "project", ":ref:`ref_string`", "", "Project to create the upload location for +required" + "domain", ":ref:`ref_string`", "", "Domain to create the upload location for. +required" + "filename", ":ref:`ref_string`", "", "Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`. +optional. By default, the service will generate a consistent name based on the provided parameters." + "expires_in", ":ref:`ref_google.protobuf.Duration`", "", "ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this exceeds the platform allowed max. +optional. The default value comes from a global config." + "content_md5", ":ref:`ref_bytes`", "", "ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the generated path. +required" + + + + + + + +.. _ref_flyteidl.service.CreateUploadLocationResponse: + +CreateUploadLocationResponse +------------------------------------------------------------------ + + + + + +.. csv-table:: CreateUploadLocationResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "signed_url", ":ref:`ref_string`", "", "SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)" + "native_url", ":ref:`ref_string`", "", "NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" + "expires_at", ":ref:`ref_google.protobuf.Timestamp`", "", "ExpiresAt defines when will the signed URL expires." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + + +.. _ref_flyteidl.service.DataProxyService: + +DataProxyService +------------------------------------------------------------------ + +DataProxyService defines an RPC Service that allows access to user-data in a controlled manner. + +.. csv-table:: DataProxyService service methods + :header: "Method Name", "Request Type", "Response Type", "Description" + :widths: auto + + "CreateUploadLocation", ":ref:`ref_flyteidl.service.CreateUploadLocationRequest`", ":ref:`ref_flyteidl.service.CreateUploadLocationResponse`", "CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain." + "CreateDownloadLocation", ":ref:`ref_flyteidl.service.CreateDownloadLocationRequest`", ":ref:`ref_flyteidl.service.CreateDownloadLocationResponse`", "CreateDownloadLocation creates a signed url to download artifacts." + +.. + end services + + + + +.. _ref_flyteidl/service/identity.proto: + +flyteidl/service/identity.proto +================================================================== + + + + + +.. _ref_flyteidl.service.UserInfoRequest: + +UserInfoRequest +------------------------------------------------------------------ + + + + + + + + + + +.. _ref_flyteidl.service.UserInfoResponse: + +UserInfoResponse +------------------------------------------------------------------ + +See the OpenID Connect spec at https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse for more information. + + + +.. csv-table:: UserInfoResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "subject", ":ref:`ref_string`", "", "Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed by the Client." + "name", ":ref:`ref_string`", "", "Full name" + "preferred_username", ":ref:`ref_string`", "", "Shorthand name by which the End-User wishes to be referred to" + "given_name", ":ref:`ref_string`", "", "Given name(s) or first name(s)" + "family_name", ":ref:`ref_string`", "", "Surname(s) or last name(s)" + "email", ":ref:`ref_string`", "", "Preferred e-mail address" + "picture", ":ref:`ref_string`", "", "Profile picture URL" + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + + +.. _ref_flyteidl.service.IdentityService: + +IdentityService +------------------------------------------------------------------ + +IdentityService defines an RPC Service that interacts with user/app identities. + +.. csv-table:: IdentityService service methods + :header: "Method Name", "Request Type", "Response Type", "Description" + :widths: auto + + "UserInfo", ":ref:`ref_flyteidl.service.UserInfoRequest`", ":ref:`ref_flyteidl.service.UserInfoResponse`", "Retrieves user information about the currently logged in user." + +.. + end services + + From 13fc7b94e2f996eedbac621d157fbcd3f8ce5d97 Mon Sep 17 00:00:00 2001 From: Iaroslav Ciupin Date: Tue, 20 Sep 2022 17:01:59 +0300 Subject: [PATCH 04/10] make generate using new image Signed-off-by: Iaroslav Ciupin --- clients/go/admin/authtype_enumer.go | 1 - .../flyteidl/service/flyteadmin/.gitignore | 24 - .../flyteadmin/.swagger-codegen-ignore | 23 - .../flyteadmin/.swagger-codegen/VERSION | 1 - .../flyteidl/service/flyteadmin/.travis.yml | 8 - .../flyteidl/service/flyteadmin/README.md | 332 - .../service/flyteadmin/api/swagger.yaml | 60497 ---------------- .../service/flyteadmin/api_admin_service.go | 5335 -- .../flyteidl/service/flyteadmin/client.go | 464 - .../service/flyteadmin/configuration.go | 72 - .../flyteidl/service/flyteadmin/git_push.sh | 52 - .../flyteadmin/model_admin_abort_metadata.go | 17 - .../flyteadmin/model_admin_annotations.go | 16 - .../service/flyteadmin/model_admin_auth.go | 18 - .../flyteadmin/model_admin_auth_role.go | 18 - .../model_admin_cluster_assignment.go | 15 - ...model_admin_cluster_resource_attributes.go | 15 - .../flyteadmin/model_admin_cron_schedule.go | 16 - .../service/flyteadmin/model_admin_domain.go | 18 - .../model_admin_email_notification.go | 15 - .../flyteadmin/model_admin_execution.go | 20 - .../model_admin_execution_closure.go | 43 - .../model_admin_execution_cluster_label.go | 14 - .../model_admin_execution_create_request.go | 19 - .../model_admin_execution_create_response.go | 15 - .../flyteadmin/model_admin_execution_list.go | 16 - .../model_admin_execution_metadata.go | 30 - .../model_admin_execution_queue_attributes.go | 15 - .../model_admin_execution_recover_request.go | 19 - .../model_admin_execution_relaunch_request.go | 16 - .../flyteadmin/model_admin_execution_spec.go | 38 - .../flyteadmin/model_admin_execution_state.go | 18 - ...el_admin_execution_state_change_details.go | 22 - ...model_admin_execution_terminate_request.go | 18 - ...odel_admin_execution_terminate_response.go | 13 - .../model_admin_execution_update_request.go | 15 - .../model_admin_execution_update_response.go | 13 - .../flyteadmin/model_admin_fixed_rate.go | 16 - .../flyteadmin/model_admin_fixed_rate_unit.go | 19 - .../model_admin_get_version_response.go | 14 - .../service/flyteadmin/model_admin_labels.go | 16 - .../flyteadmin/model_admin_launch_plan.go | 20 - .../model_admin_launch_plan_closure.go | 26 - .../model_admin_launch_plan_create_request.go | 18 - ...model_admin_launch_plan_create_response.go | 13 - .../model_admin_launch_plan_list.go | 16 - .../model_admin_launch_plan_metadata.go | 16 - .../model_admin_launch_plan_spec.go | 37 - .../model_admin_launch_plan_state.go | 18 - .../model_admin_launch_plan_update_request.go | 17 - ...model_admin_launch_plan_update_response.go | 14 - ...dmin_list_matchable_attributes_response.go | 14 - .../model_admin_literal_map_blob.go | 15 - ...dmin_matchable_attributes_configuration.go | 19 - .../model_admin_matchable_resource.go | 24 - .../model_admin_matching_attributes.go | 22 - .../flyteadmin/model_admin_named_entity.go | 19 - .../model_admin_named_entity_identifier.go | 19 - ...odel_admin_named_entity_identifier_list.go | 18 - .../model_admin_named_entity_list.go | 17 - .../model_admin_named_entity_metadata.go | 17 - .../model_admin_named_entity_state.go | 19 - ...model_admin_named_entity_update_request.go | 17 - ...odel_admin_named_entity_update_response.go | 14 - .../model_admin_node_execution_closure.go | 36 - ...odel_admin_node_execution_event_request.go | 17 - ...del_admin_node_execution_event_response.go | 13 - ..._admin_node_execution_get_data_response.go | 24 - .../model_admin_node_execution_list.go | 16 - .../model_admin_node_execution_meta_data.go | 20 - .../flyteadmin/model_admin_notification.go | 18 - .../model_admin_notification_list.go | 14 - .../model_admin_pager_duty_notification.go | 15 - .../flyteadmin/model_admin_plugin_override.go | 20 - .../model_admin_plugin_overrides.go | 14 - .../service/flyteadmin/model_admin_project.go | 23 - .../model_admin_project_domain_attributes.go | 18 - ...roject_domain_attributes_delete_request.go | 16 - ...oject_domain_attributes_delete_response.go | 14 - ..._project_domain_attributes_get_response.go | 14 - ...roject_domain_attributes_update_request.go | 14 - ...oject_domain_attributes_update_response.go | 14 - .../model_admin_project_register_request.go | 14 - .../model_admin_project_register_response.go | 14 - .../model_admin_project_update_response.go | 14 - .../flyteadmin/model_admin_projects.go | 16 - .../model_admin_raw_output_data_config.go | 15 - .../flyteadmin/model_admin_schedule.go | 19 - .../model_admin_slack_notification.go | 15 - .../service/flyteadmin/model_admin_sort.go | 16 - .../flyteadmin/model_admin_system_metadata.go | 16 - .../service/flyteadmin/model_admin_task.go | 18 - .../flyteadmin/model_admin_task_closure.go | 22 - .../model_admin_task_create_request.go | 15 - .../model_admin_task_create_response.go | 14 - .../model_admin_task_execution_closure.go | 46 - ...odel_admin_task_execution_event_request.go | 17 - ...del_admin_task_execution_event_response.go | 13 - ..._admin_task_execution_get_data_response.go | 22 - .../model_admin_task_execution_list.go | 16 - .../flyteadmin/model_admin_task_list.go | 17 - .../model_admin_task_resource_attributes.go | 16 - .../model_admin_task_resource_spec.go | 19 - .../flyteadmin/model_admin_task_spec.go | 16 - .../flyteadmin/model_admin_url_blob.go | 18 - .../service/flyteadmin/model_admin_version.go | 16 - .../flyteadmin/model_admin_workflow.go | 18 - .../model_admin_workflow_attributes.go | 20 - ...dmin_workflow_attributes_delete_request.go | 17 - ...min_workflow_attributes_delete_response.go | 14 - ..._admin_workflow_attributes_get_response.go | 15 - ...dmin_workflow_attributes_update_request.go | 14 - ...min_workflow_attributes_update_response.go | 14 - .../model_admin_workflow_closure.go | 22 - .../model_admin_workflow_create_request.go | 15 - .../model_admin_workflow_create_response.go | 13 - .../model_admin_workflow_execution_config.go | 26 - ..._admin_workflow_execution_event_request.go | 17 - ...admin_workflow_execution_event_response.go | 13 - ...in_workflow_execution_get_data_response.go | 22 - .../flyteadmin/model_admin_workflow_list.go | 17 - .../flyteadmin/model_admin_workflow_spec.go | 18 - .../model_blob_type_blob_dimensionality.go | 18 - .../model_catalog_reservation_status.go | 21 - .../model_comparison_expression_operator.go | 22 - ...conjunction_expression_logical_operator.go | 18 - .../model_connection_set_id_list.go | 14 - .../model_container_architecture.go | 21 - .../service/flyteadmin/model_core_alias.go | 18 - .../service/flyteadmin/model_core_binary.go | 16 - .../service/flyteadmin/model_core_binding.go | 18 - .../flyteadmin/model_core_binding_data.go | 23 - .../model_core_binding_data_collection.go | 15 - .../flyteadmin/model_core_binding_data_map.go | 15 - .../service/flyteadmin/model_core_blob.go | 16 - .../flyteadmin/model_core_blob_metadata.go | 14 - .../flyteadmin/model_core_blob_type.go | 15 - .../model_core_boolean_expression.go | 16 - .../flyteadmin/model_core_branch_node.go | 15 - .../model_core_catalog_artifact_tag.go | 15 - .../model_core_catalog_cache_status.go | 22 - .../flyteadmin/model_core_catalog_metadata.go | 16 - .../model_core_comparison_expression.go | 17 - .../flyteadmin/model_core_compiled_task.go | 14 - .../model_core_compiled_workflow.go | 16 - .../model_core_compiled_workflow_closure.go | 17 - .../model_core_conjunction_expression.go | 17 - .../flyteadmin/model_core_connection_set.go | 15 - .../flyteadmin/model_core_container.go | 27 - .../flyteadmin/model_core_container_port.go | 16 - .../model_core_data_loading_config.go | 19 - .../flyteadmin/model_core_enum_type.go | 16 - .../service/flyteadmin/model_core_error.go | 18 - .../flyteadmin/model_core_execution_error.go | 19 - .../flyteadmin/model_core_identifier.go | 24 - .../service/flyteadmin/model_core_identity.go | 20 - .../service/flyteadmin/model_core_if_block.go | 16 - .../flyteadmin/model_core_if_else_block.go | 22 - .../flyteadmin/model_core_io_strategy.go | 15 - .../model_core_k8s_object_metadata.go | 18 - .../service/flyteadmin/model_core_k8s_pod.go | 17 - .../flyteadmin/model_core_key_value_pair.go | 18 - .../service/flyteadmin/model_core_literal.go | 21 - .../model_core_literal_collection.go | 15 - .../flyteadmin/model_core_literal_map.go | 15 - .../flyteadmin/model_core_literal_type.go | 35 - .../service/flyteadmin/model_core_node.go | 30 - .../model_core_node_execution_identifier.go | 16 - .../model_core_node_execution_phase.go | 27 - .../flyteadmin/model_core_node_metadata.go | 20 - .../flyteadmin/model_core_o_auth2_client.go | 16 - .../model_core_o_auth2_token_request.go | 19 - .../model_core_o_auth2_token_request_type.go | 17 - .../service/flyteadmin/model_core_operand.go | 16 - .../flyteadmin/model_core_output_reference.go | 18 - .../flyteadmin/model_core_parameter.go | 20 - .../flyteadmin/model_core_parameter_map.go | 16 - .../flyteadmin/model_core_primitive.go | 23 - .../model_core_quality_of_service.go | 16 - .../model_core_quality_of_service_spec.go | 16 - .../flyteadmin/model_core_resource_type.go | 21 - .../flyteadmin/model_core_resources.go | 18 - .../flyteadmin/model_core_retry_strategy.go | 16 - .../flyteadmin/model_core_runtime_metadata.go | 20 - .../service/flyteadmin/model_core_scalar.go | 22 - .../flyteadmin/model_core_schema_type.go | 16 - .../service/flyteadmin/model_core_secret.go | 18 - .../flyteadmin/model_core_security_context.go | 20 - .../flyteadmin/model_core_simple_type.go | 26 - .../service/flyteadmin/model_core_sql.go | 16 - .../model_core_structured_dataset.go | 15 - .../model_core_structured_dataset_metadata.go | 15 - .../model_core_structured_dataset_type.go | 21 - .../model_core_task_execution_identifier.go | 17 - .../model_core_task_execution_phase.go | 24 - .../service/flyteadmin/model_core_task_log.go | 17 - .../flyteadmin/model_core_task_metadata.go | 27 - .../flyteadmin/model_core_task_node.go | 18 - .../model_core_task_node_overrides.go | 16 - .../flyteadmin/model_core_task_template.go | 32 - .../flyteadmin/model_core_type_annotation.go | 16 - .../flyteadmin/model_core_type_structure.go | 15 - .../flyteadmin/model_core_typed_interface.go | 16 - .../service/flyteadmin/model_core_union.go | 16 - .../flyteadmin/model_core_union_info.go | 14 - .../flyteadmin/model_core_union_type.go | 16 - .../service/flyteadmin/model_core_variable.go | 17 - .../flyteadmin/model_core_variable_map.go | 15 - .../service/flyteadmin/model_core_void.go | 14 - ...odel_core_workflow_execution_identifier.go | 19 - .../model_core_workflow_execution_phase.go | 26 - .../model_core_workflow_metadata.go | 18 - .../model_core_workflow_metadata_defaults.go | 16 - .../flyteadmin/model_core_workflow_node.go | 17 - .../model_core_workflow_template.go | 27 - ..._data_loading_config_literal_map_format.go | 19 - .../model_event_external_resource_info.go | 23 - .../model_event_node_execution_event.go | 43 - ...el_event_parent_node_execution_metadata.go | 14 - ...el_event_parent_task_execution_metadata.go | 14 - .../model_event_resource_pool_info.go | 18 - .../model_event_task_execution_event.go | 46 - .../model_event_task_execution_metadata.go | 23 - .../model_event_workflow_execution_event.go | 27 - .../model_execution_error_error_kind.go | 19 - ...model_execution_metadata_execution_mode.go | 22 - ...idladmin_dynamic_workflow_node_metadata.go | 18 - .../model_flyteidladmin_node_execution.go | 21 - .../model_flyteidladmin_task_execution.go | 22 - .../model_flyteidladmin_task_node_metadata.go | 16 - ...el_flyteidladmin_workflow_node_metadata.go | 15 - .../flyteadmin/model_flyteidlcore_schema.go | 16 - ...idlevent_dynamic_workflow_node_metadata.go | 18 - .../model_flyteidlevent_task_node_metadata.go | 20 - ...el_flyteidlevent_workflow_node_metadata.go | 14 - .../model_io_strategy_download_mode.go | 19 - .../model_io_strategy_upload_mode.go | 19 - ...plugin_override_missing_plugin_behavior.go | 18 - .../flyteadmin/model_project_project_state.go | 19 - .../flyteadmin/model_protobuf_list_value.go | 16 - .../flyteadmin/model_protobuf_null_value.go | 17 - .../flyteadmin/model_protobuf_struct.go | 16 - .../flyteadmin/model_protobuf_value.go | 26 - .../model_quality_of_service_tier.go | 20 - .../model_resources_resource_entry.go | 17 - .../model_resources_resource_name.go | 22 - .../model_runtime_metadata_runtime_type.go | 18 - .../model_schema_column_schema_column_type.go | 22 - .../model_schema_type_schema_column.go | 16 - .../flyteadmin/model_secret_mount_type.go | 19 - .../flyteadmin/model_sort_direction.go | 18 - .../service/flyteadmin/model_sql_dialect.go | 20 - ..._structured_dataset_type_dataset_column.go | 17 - ..._task_execution_metadata_instance_class.go | 18 - .../model_task_log_message_format.go | 19 - ...del_workflow_metadata_on_failure_policy.go | 18 - .../flyteidl/service/flyteadmin/response.go | 43 - .../flyteidl/service/flyteadmin/.gitignore | 64 - .../flyteadmin/.swagger-codegen-ignore | 23 - .../flyteadmin/.swagger-codegen/VERSION | 1 - .../flyteidl/service/flyteadmin/.travis.yml | 14 - .../flyteidl/service/flyteadmin/README.md | 382 - .../service/flyteadmin/flyteadmin/__init__.py | 269 - .../flyteadmin/flyteadmin/api/__init__.py | 6 - .../flyteadmin/api/admin_service_api.py | 6108 -- .../flyteadmin/flyteadmin/api_client.py | 638 - .../flyteadmin/flyteadmin/configuration.py | 237 - .../flyteadmin/flyteadmin/models/__init__.py | 262 - .../flyteadmin/models/admin_abort_metadata.py | 143 - .../flyteadmin/models/admin_annotations.py | 117 - .../flyteadmin/models/admin_auth.py | 145 - .../flyteadmin/models/admin_auth_role.py | 145 - .../models/admin_cluster_assignment.py | 115 - .../admin_cluster_resource_attributes.py | 117 - .../flyteadmin/models/admin_cron_schedule.py | 141 - .../flyteadmin/models/admin_domain.py | 145 - .../models/admin_email_notification.py | 115 - .../flyteadmin/models/admin_execution.py | 177 - .../models/admin_execution_closure.py | 486 - .../models/admin_execution_cluster_label.py | 115 - .../models/admin_execution_create_request.py | 222 - .../models/admin_execution_create_response.py | 117 - .../flyteadmin/models/admin_execution_list.py | 145 - .../models/admin_execution_metadata.py | 286 - .../admin_execution_queue_attributes.py | 117 - .../models/admin_execution_recover_request.py | 174 - .../admin_execution_relaunch_request.py | 143 - .../flyteadmin/models/admin_execution_spec.py | 485 - .../models/admin_execution_state.py | 93 - .../admin_execution_state_change_details.py | 173 - .../admin_execution_terminate_request.py | 147 - .../admin_execution_terminate_response.py | 87 - .../models/admin_execution_update_request.py | 144 - .../models/admin_execution_update_response.py | 87 - .../flyteadmin/models/admin_fixed_rate.py | 143 - .../models/admin_fixed_rate_unit.py | 94 - .../models/admin_get_version_response.py | 117 - .../flyteadmin/models/admin_labels.py | 117 - .../flyteadmin/models/admin_launch_plan.py | 177 - .../models/admin_launch_plan_closure.py | 229 - .../admin_launch_plan_create_request.py | 148 - .../admin_launch_plan_create_response.py | 87 - .../models/admin_launch_plan_list.py | 145 - .../models/admin_launch_plan_metadata.py | 144 - .../models/admin_launch_plan_spec.py | 483 - .../models/admin_launch_plan_state.py | 93 - .../admin_launch_plan_update_request.py | 148 - .../admin_launch_plan_update_response.py | 87 - ...dmin_list_matchable_attributes_response.py | 117 - .../models/admin_literal_map_blob.py | 143 - ...dmin_matchable_attributes_configuration.py | 221 - .../models/admin_matchable_resource.py | 99 - .../models/admin_matching_attributes.py | 306 - .../flyteadmin/models/admin_named_entity.py | 175 - .../models/admin_named_entity_identifier.py | 171 - .../admin_named_entity_identifier_list.py | 147 - .../models/admin_named_entity_list.py | 145 - .../models/admin_named_entity_metadata.py | 145 - .../models/admin_named_entity_state.py | 94 - .../admin_named_entity_update_request.py | 171 - .../admin_named_entity_update_response.py | 87 - .../models/admin_node_execution_closure.py | 395 - .../admin_node_execution_event_request.py | 145 - .../admin_node_execution_event_response.py | 87 - .../admin_node_execution_get_data_response.py | 233 - .../models/admin_node_execution_list.py | 145 - .../models/admin_node_execution_meta_data.py | 199 - .../flyteadmin/models/admin_notification.py | 198 - .../models/admin_notification_list.py | 117 - .../models/admin_pager_duty_notification.py | 115 - .../models/admin_plugin_override.py | 175 - .../models/admin_plugin_overrides.py | 117 - .../flyteadmin/models/admin_project.py | 255 - .../models/admin_project_domain_attributes.py | 173 - ...roject_domain_attributes_delete_request.py | 169 - ...oject_domain_attributes_delete_response.py | 87 - ..._project_domain_attributes_get_response.py | 117 - ...roject_domain_attributes_update_request.py | 117 - ...oject_domain_attributes_update_response.py | 87 - .../models/admin_project_register_request.py | 117 - .../models/admin_project_register_response.py | 87 - .../models/admin_project_update_response.py | 87 - .../flyteadmin/models/admin_projects.py | 145 - .../models/admin_raw_output_data_config.py | 115 - .../flyteadmin/models/admin_schedule.py | 198 - .../models/admin_slack_notification.py | 115 - .../flyteadmin/models/admin_sort.py | 143 - .../models/admin_system_metadata.py | 117 - .../flyteadmin/models/admin_task.py | 148 - .../flyteadmin/models/admin_task_closure.py | 147 - .../models/admin_task_create_request.py | 144 - .../models/admin_task_create_response.py | 87 - .../models/admin_task_execution_closure.py | 488 - .../admin_task_execution_event_request.py | 145 - .../admin_task_execution_event_response.py | 87 - .../admin_task_execution_get_data_response.py | 204 - .../models/admin_task_execution_list.py | 145 - .../flyteadmin/models/admin_task_list.py | 147 - .../models/admin_task_resource_attributes.py | 143 - .../models/admin_task_resource_spec.py | 219 - .../flyteadmin/models/admin_task_spec.py | 119 - .../flyteadmin/models/admin_url_blob.py | 145 - .../flyteadmin/models/admin_version.py | 167 - .../flyteadmin/models/admin_workflow.py | 148 - .../models/admin_workflow_attributes.py | 201 - ...dmin_workflow_attributes_delete_request.py | 195 - ...min_workflow_attributes_delete_response.py | 87 - .../admin_workflow_attributes_get_response.py | 117 - ...dmin_workflow_attributes_update_request.py | 117 - ...min_workflow_attributes_update_response.py | 87 - .../models/admin_workflow_closure.py | 147 - .../models/admin_workflow_create_request.py | 144 - .../models/admin_workflow_create_response.py | 87 - .../models/admin_workflow_execution_config.py | 262 - .../admin_workflow_execution_event_request.py | 145 - ...admin_workflow_execution_event_response.py | 87 - ...in_workflow_execution_get_data_response.py | 204 - .../flyteadmin/models/admin_workflow_list.py | 147 - .../flyteadmin/models/admin_workflow_spec.py | 147 - .../models/blob_type_blob_dimensionality.py | 93 - .../models/catalog_reservation_status.py | 96 - .../models/comparison_expression_operator.py | 97 - ...conjunction_expression_logical_operator.py | 93 - .../models/connection_set_id_list.py | 115 - .../models/container_architecture.py | 96 - .../flyteadmin/models/core_alias.py | 145 - .../flyteadmin/models/core_binary.py | 143 - .../flyteadmin/models/core_binding.py | 147 - .../flyteadmin/models/core_binding_data.py | 233 - .../models/core_binding_data_collection.py | 117 - .../models/core_binding_data_map.py | 117 - .../flyteadmin/flyteadmin/models/core_blob.py | 143 - .../flyteadmin/models/core_blob_metadata.py | 117 - .../flyteadmin/models/core_blob_type.py | 143 - .../models/core_boolean_expression.py | 144 - .../flyteadmin/models/core_branch_node.py | 117 - .../models/core_catalog_artifact_tag.py | 141 - .../models/core_catalog_cache_status.py | 97 - .../models/core_catalog_metadata.py | 171 - .../models/core_comparison_expression.py | 170 - .../flyteadmin/models/core_compiled_task.py | 117 - .../models/core_compiled_workflow.py | 146 - .../models/core_compiled_workflow_closure.py | 170 - .../models/core_conjunction_expression.py | 170 - .../flyteadmin/models/core_connection_set.py | 143 - .../flyteadmin/models/core_container.py | 339 - .../flyteadmin/models/core_container_port.py | 117 - .../models/core_data_loading_config.py | 222 - .../flyteadmin/models/core_enum_type.py | 117 - .../flyteadmin/models/core_error.py | 145 - .../flyteadmin/models/core_execution_error.py | 197 - .../flyteadmin/models/core_identifier.py | 231 - .../flyteadmin/models/core_identity.py | 175 - .../flyteadmin/models/core_if_block.py | 144 - .../flyteadmin/models/core_if_else_block.py | 205 - .../flyteadmin/models/core_io_strategy.py | 144 - .../models/core_k8s_object_metadata.py | 145 - .../flyteadmin/models/core_k8s_pod.py | 146 - .../flyteadmin/models/core_key_value_pair.py | 145 - .../flyteadmin/models/core_literal.py | 203 - .../models/core_literal_collection.py | 117 - .../flyteadmin/models/core_literal_map.py | 117 - .../flyteadmin/models/core_literal_type.py | 406 - .../flyteadmin/flyteadmin/models/core_node.py | 320 - .../models/core_node_execution_identifier.py | 143 - .../models/core_node_execution_phase.py | 102 - .../flyteadmin/models/core_node_metadata.py | 199 - .../flyteadmin/models/core_o_auth2_client.py | 143 - .../models/core_o_auth2_token_request.py | 222 - .../models/core_o_auth2_token_request_type.py | 92 - .../flyteadmin/models/core_operand.py | 143 - .../models/core_output_reference.py | 145 - .../flyteadmin/models/core_parameter.py | 176 - .../flyteadmin/models/core_parameter_map.py | 119 - .../flyteadmin/models/core_primitive.py | 245 - .../models/core_quality_of_service.py | 144 - .../models/core_quality_of_service_spec.py | 117 - .../flyteadmin/models/core_resource_type.py | 96 - .../flyteadmin/models/core_resources.py | 147 - .../flyteadmin/models/core_retry_strategy.py | 117 - .../models/core_runtime_metadata.py | 175 - .../flyteadmin/models/core_scalar.py | 333 - .../flyteadmin/models/core_schema_type.py | 119 - .../flyteadmin/models/core_secret.py | 195 - .../models/core_security_context.py | 177 - .../flyteadmin/models/core_simple_type.py | 101 - .../flyteadmin/flyteadmin/models/core_sql.py | 143 - .../models/core_structured_dataset.py | 143 - .../core_structured_dataset_metadata.py | 119 - .../models/core_structured_dataset_type.py | 205 - .../models/core_task_execution_identifier.py | 170 - .../models/core_task_execution_phase.py | 99 - .../flyteadmin/models/core_task_log.py | 195 - .../flyteadmin/models/core_task_metadata.py | 312 - .../flyteadmin/models/core_task_node.py | 148 - .../models/core_task_node_overrides.py | 119 - .../flyteadmin/models/core_task_template.py | 398 - .../flyteadmin/models/core_type_annotation.py | 119 - .../flyteadmin/models/core_type_structure.py | 115 - .../flyteadmin/models/core_typed_interface.py | 143 - .../flyteadmin/models/core_union.py | 144 - .../flyteadmin/models/core_union_info.py | 117 - .../flyteadmin/models/core_union_type.py | 119 - .../flyteadmin/models/core_variable.py | 145 - .../flyteadmin/models/core_variable_map.py | 119 - .../flyteadmin/flyteadmin/models/core_void.py | 87 - .../core_workflow_execution_identifier.py | 173 - .../models/core_workflow_execution_phase.py | 101 - .../models/core_workflow_metadata.py | 148 - .../models/core_workflow_metadata_defaults.py | 117 - .../flyteadmin/models/core_workflow_node.py | 145 - .../models/core_workflow_template.py | 290 - .../data_loading_config_literal_map_format.py | 94 - .../models/event_external_resource_info.py | 255 - .../models/event_node_execution_event.py | 606 - .../event_parent_node_execution_metadata.py | 115 - .../event_parent_task_execution_metadata.py | 117 - .../models/event_resource_pool_info.py | 145 - .../models/event_task_execution_event.py | 562 - .../models/event_task_execution_metadata.py | 231 - .../models/event_workflow_execution_event.py | 282 - .../models/execution_error_error_kind.py | 94 - .../execution_metadata_execution_mode.py | 97 - ...idladmin_dynamic_workflow_node_metadata.py | 148 - .../models/flyteidladmin_node_execution.py | 203 - .../models/flyteidladmin_task_execution.py | 204 - .../flyteidladmin_task_node_metadata.py | 146 - .../flyteidladmin_workflow_node_metadata.py | 119 - .../flyteadmin/models/flyteidlcore_schema.py | 143 - ...idlevent_dynamic_workflow_node_metadata.py | 148 - .../flyteidlevent_task_node_metadata.py | 204 - .../flyteidlevent_workflow_node_metadata.py | 117 - .../models/io_strategy_download_mode.py | 94 - .../models/io_strategy_upload_mode.py | 94 - ...plugin_override_missing_plugin_behavior.py | 93 - .../models/project_project_state.py | 94 - .../flyteadmin/models/protobuf_list_value.py | 119 - .../flyteadmin/models/protobuf_null_value.py | 92 - .../flyteadmin/models/protobuf_struct.py | 119 - .../flyteadmin/models/protobuf_value.py | 261 - .../models/quality_of_service_tier.py | 95 - .../models/resources_resource_entry.py | 145 - .../models/resources_resource_name.py | 97 - .../models/runtime_metadata_runtime_type.py | 93 - .../schema_column_schema_column_type.py | 97 - .../models/schema_type_schema_column.py | 145 - .../flyteadmin/models/secret_mount_type.py | 94 - .../flyteadmin/models/sort_direction.py | 93 - .../flyteadmin/models/sql_dialect.py | 95 - .../structured_dataset_type_dataset_column.py | 147 - .../task_execution_metadata_instance_class.py | 93 - .../models/task_log_message_format.py | 94 - .../workflow_metadata_on_failure_policy.py | 93 - .../service/flyteadmin/flyteadmin/rest.py | 323 - .../flyteidl/service/flyteadmin/git_push.sh | 52 - .../service/flyteadmin/requirements.txt | 5 - .../flyteidl/service/flyteadmin/setup.py | 46 - .../service/flyteadmin/test-requirements.txt | 5 - .../service/flyteadmin/test/__init__.py | 0 .../test/test_admin_abort_metadata.py | 40 - .../flyteadmin/test/test_admin_annotations.py | 40 - .../flyteadmin/test/test_admin_auth.py | 40 - .../flyteadmin/test/test_admin_auth_role.py | 40 - .../test/test_admin_cluster_assignment.py | 40 - .../test_admin_cluster_resource_attributes.py | 40 - .../test/test_admin_cron_schedule.py | 40 - .../flyteadmin/test/test_admin_domain.py | 40 - .../test/test_admin_email_notification.py | 40 - .../flyteadmin/test/test_admin_execution.py | 40 - .../test/test_admin_execution_closure.py | 40 - .../test_admin_execution_cluster_label.py | 40 - .../test_admin_execution_create_request.py | 40 - .../test_admin_execution_create_response.py | 40 - .../test/test_admin_execution_list.py | 40 - .../test/test_admin_execution_metadata.py | 40 - .../test_admin_execution_queue_attributes.py | 40 - .../test_admin_execution_recover_request.py | 40 - .../test_admin_execution_relaunch_request.py | 40 - .../test/test_admin_execution_spec.py | 40 - .../test/test_admin_execution_state.py | 40 - ...st_admin_execution_state_change_details.py | 40 - .../test_admin_execution_terminate_request.py | 40 - ...test_admin_execution_terminate_response.py | 40 - .../test_admin_execution_update_request.py | 40 - .../test_admin_execution_update_response.py | 40 - .../flyteadmin/test/test_admin_fixed_rate.py | 40 - .../test/test_admin_fixed_rate_unit.py | 40 - .../test/test_admin_get_version_response.py | 40 - .../flyteadmin/test/test_admin_labels.py | 40 - .../flyteadmin/test/test_admin_launch_plan.py | 40 - .../test/test_admin_launch_plan_closure.py | 40 - .../test_admin_launch_plan_create_request.py | 40 - .../test_admin_launch_plan_create_response.py | 40 - .../test/test_admin_launch_plan_list.py | 40 - .../test/test_admin_launch_plan_metadata.py | 40 - .../test/test_admin_launch_plan_spec.py | 40 - .../test/test_admin_launch_plan_state.py | 40 - .../test_admin_launch_plan_update_request.py | 40 - .../test_admin_launch_plan_update_response.py | 40 - ...dmin_list_matchable_attributes_response.py | 40 - .../test/test_admin_literal_map_blob.py | 40 - ...dmin_matchable_attributes_configuration.py | 40 - .../test/test_admin_matchable_resource.py | 40 - .../test/test_admin_matching_attributes.py | 40 - .../test/test_admin_named_entity.py | 40 - .../test_admin_named_entity_identifier.py | 40 - ...test_admin_named_entity_identifier_list.py | 40 - .../test/test_admin_named_entity_list.py | 40 - .../test/test_admin_named_entity_metadata.py | 40 - .../test/test_admin_named_entity_state.py | 40 - .../test_admin_named_entity_update_request.py | 40 - ...test_admin_named_entity_update_response.py | 40 - .../test/test_admin_node_execution_closure.py | 40 - ...test_admin_node_execution_event_request.py | 40 - ...est_admin_node_execution_event_response.py | 40 - ..._admin_node_execution_get_data_response.py | 40 - .../test/test_admin_node_execution_list.py | 40 - .../test_admin_node_execution_meta_data.py | 40 - .../test/test_admin_notification.py | 40 - .../test/test_admin_notification_list.py | 40 - .../test_admin_pager_duty_notification.py | 40 - .../test/test_admin_plugin_override.py | 40 - .../test/test_admin_plugin_overrides.py | 40 - .../flyteadmin/test/test_admin_project.py | 40 - .../test_admin_project_domain_attributes.py | 40 - ...roject_domain_attributes_delete_request.py | 40 - ...oject_domain_attributes_delete_response.py | 40 - ..._project_domain_attributes_get_response.py | 40 - ...roject_domain_attributes_update_request.py | 40 - ...oject_domain_attributes_update_response.py | 40 - .../test_admin_project_register_request.py | 40 - .../test_admin_project_register_response.py | 40 - .../test_admin_project_update_response.py | 40 - .../flyteadmin/test/test_admin_projects.py | 40 - .../test/test_admin_raw_output_data_config.py | 40 - .../flyteadmin/test/test_admin_schedule.py | 40 - .../flyteadmin/test/test_admin_service_api.py | 383 - .../test/test_admin_slack_notification.py | 40 - .../flyteadmin/test/test_admin_sort.py | 40 - .../test/test_admin_system_metadata.py | 40 - .../flyteadmin/test/test_admin_task.py | 40 - .../test/test_admin_task_closure.py | 40 - .../test/test_admin_task_create_request.py | 40 - .../test/test_admin_task_create_response.py | 40 - .../test/test_admin_task_execution_closure.py | 40 - ...test_admin_task_execution_event_request.py | 40 - ...est_admin_task_execution_event_response.py | 40 - ..._admin_task_execution_get_data_response.py | 40 - .../test/test_admin_task_execution_list.py | 40 - .../flyteadmin/test/test_admin_task_list.py | 40 - .../test_admin_task_resource_attributes.py | 40 - .../test/test_admin_task_resource_spec.py | 40 - .../flyteadmin/test/test_admin_task_spec.py | 40 - .../flyteadmin/test/test_admin_url_blob.py | 40 - .../flyteadmin/test/test_admin_version.py | 40 - .../flyteadmin/test/test_admin_workflow.py | 40 - .../test/test_admin_workflow_attributes.py | 40 - ...dmin_workflow_attributes_delete_request.py | 40 - ...min_workflow_attributes_delete_response.py | 40 - ..._admin_workflow_attributes_get_response.py | 40 - ...dmin_workflow_attributes_update_request.py | 40 - ...min_workflow_attributes_update_response.py | 40 - .../test/test_admin_workflow_closure.py | 40 - .../test_admin_workflow_create_request.py | 40 - .../test_admin_workflow_create_response.py | 40 - .../test_admin_workflow_execution_config.py | 40 - ..._admin_workflow_execution_event_request.py | 40 - ...admin_workflow_execution_event_response.py | 40 - ...in_workflow_execution_get_data_response.py | 40 - .../test/test_admin_workflow_list.py | 40 - .../test/test_admin_workflow_spec.py | 40 - .../test_blob_type_blob_dimensionality.py | 40 - .../test/test_catalog_reservation_status.py | 40 - .../test_comparison_expression_operator.py | 40 - ...conjunction_expression_logical_operator.py | 40 - .../test/test_connection_set_id_list.py | 40 - .../test/test_container_architecture.py | 40 - .../flyteadmin/test/test_core_alias.py | 40 - .../flyteadmin/test/test_core_binary.py | 40 - .../flyteadmin/test/test_core_binding.py | 40 - .../flyteadmin/test/test_core_binding_data.py | 40 - .../test/test_core_binding_data_collection.py | 40 - .../test/test_core_binding_data_map.py | 40 - .../service/flyteadmin/test/test_core_blob.py | 40 - .../test/test_core_blob_metadata.py | 40 - .../flyteadmin/test/test_core_blob_type.py | 40 - .../test/test_core_boolean_expression.py | 40 - .../flyteadmin/test/test_core_branch_node.py | 40 - .../test/test_core_catalog_artifact_tag.py | 40 - .../test/test_core_catalog_cache_status.py | 40 - .../test/test_core_catalog_metadata.py | 40 - .../test/test_core_comparison_expression.py | 40 - .../test/test_core_compiled_task.py | 40 - .../test/test_core_compiled_workflow.py | 40 - .../test_core_compiled_workflow_closure.py | 40 - .../test/test_core_conjunction_expression.py | 40 - .../test/test_core_connection_set.py | 40 - .../flyteadmin/test/test_core_container.py | 40 - .../test/test_core_container_port.py | 40 - .../test/test_core_data_loading_config.py | 40 - .../flyteadmin/test/test_core_enum_type.py | 40 - .../flyteadmin/test/test_core_error.py | 40 - .../test/test_core_execution_error.py | 40 - .../flyteadmin/test/test_core_identifier.py | 40 - .../flyteadmin/test/test_core_identity.py | 40 - .../flyteadmin/test/test_core_if_block.py | 40 - .../test/test_core_if_else_block.py | 40 - .../flyteadmin/test/test_core_io_strategy.py | 40 - .../test/test_core_k8s_object_metadata.py | 40 - .../flyteadmin/test/test_core_k8s_pod.py | 40 - .../test/test_core_key_value_pair.py | 40 - .../flyteadmin/test/test_core_literal.py | 40 - .../test/test_core_literal_collection.py | 40 - .../flyteadmin/test/test_core_literal_map.py | 40 - .../flyteadmin/test/test_core_literal_type.py | 40 - .../service/flyteadmin/test/test_core_node.py | 40 - .../test_core_node_execution_identifier.py | 40 - .../test/test_core_node_execution_phase.py | 40 - .../test/test_core_node_metadata.py | 40 - .../test/test_core_o_auth2_client.py | 40 - .../test/test_core_o_auth2_token_request.py | 40 - .../test_core_o_auth2_token_request_type.py | 40 - .../flyteadmin/test/test_core_operand.py | 40 - .../test/test_core_output_reference.py | 40 - .../flyteadmin/test/test_core_parameter.py | 40 - .../test/test_core_parameter_map.py | 40 - .../flyteadmin/test/test_core_primitive.py | 40 - .../test/test_core_quality_of_service.py | 40 - .../test/test_core_quality_of_service_spec.py | 40 - .../test/test_core_resource_type.py | 40 - .../flyteadmin/test/test_core_resources.py | 40 - .../test/test_core_retry_strategy.py | 40 - .../test/test_core_runtime_metadata.py | 40 - .../flyteadmin/test/test_core_scalar.py | 40 - .../flyteadmin/test/test_core_schema_type.py | 40 - .../flyteadmin/test/test_core_secret.py | 40 - .../test/test_core_security_context.py | 40 - .../flyteadmin/test/test_core_simple_type.py | 40 - .../service/flyteadmin/test/test_core_sql.py | 40 - .../test/test_core_structured_dataset.py | 40 - .../test_core_structured_dataset_metadata.py | 40 - .../test/test_core_structured_dataset_type.py | 40 - .../test_core_task_execution_identifier.py | 40 - .../test/test_core_task_execution_phase.py | 40 - .../flyteadmin/test/test_core_task_log.py | 40 - .../test/test_core_task_metadata.py | 40 - .../flyteadmin/test/test_core_task_node.py | 40 - .../test/test_core_task_node_overrides.py | 40 - .../test/test_core_task_template.py | 40 - .../test/test_core_type_annotation.py | 40 - .../test/test_core_type_structure.py | 40 - .../test/test_core_typed_interface.py | 40 - .../flyteadmin/test/test_core_union.py | 40 - .../flyteadmin/test/test_core_union_info.py | 40 - .../flyteadmin/test/test_core_union_type.py | 40 - .../flyteadmin/test/test_core_variable.py | 40 - .../flyteadmin/test/test_core_variable_map.py | 40 - .../service/flyteadmin/test/test_core_void.py | 40 - ...test_core_workflow_execution_identifier.py | 40 - .../test_core_workflow_execution_phase.py | 40 - .../test/test_core_workflow_metadata.py | 40 - .../test_core_workflow_metadata_defaults.py | 40 - .../test/test_core_workflow_node.py | 40 - .../test/test_core_workflow_template.py | 40 - ..._data_loading_config_literal_map_format.py | 40 - .../test/test_event_external_resource_info.py | 40 - .../test/test_event_node_execution_event.py | 40 - ...st_event_parent_node_execution_metadata.py | 40 - ...st_event_parent_task_execution_metadata.py | 40 - .../test/test_event_resource_pool_info.py | 40 - .../test/test_event_task_execution_event.py | 40 - .../test_event_task_execution_metadata.py | 40 - .../test_event_workflow_execution_event.py | 40 - .../test/test_execution_error_error_kind.py | 40 - .../test_execution_metadata_execution_mode.py | 40 - ...idladmin_dynamic_workflow_node_metadata.py | 40 - .../test/test_flyteidladmin_node_execution.py | 40 - .../test/test_flyteidladmin_task_execution.py | 40 - .../test_flyteidladmin_task_node_metadata.py | 40 - ...st_flyteidladmin_workflow_node_metadata.py | 40 - .../test/test_flyteidlcore_schema.py | 40 - ...idlevent_dynamic_workflow_node_metadata.py | 40 - .../test_flyteidlevent_task_node_metadata.py | 40 - ...st_flyteidlevent_workflow_node_metadata.py | 40 - .../test/test_io_strategy_download_mode.py | 40 - .../test/test_io_strategy_upload_mode.py | 40 - ...plugin_override_missing_plugin_behavior.py | 40 - .../test/test_project_project_state.py | 40 - .../test/test_protobuf_list_value.py | 40 - .../test/test_protobuf_null_value.py | 40 - .../flyteadmin/test/test_protobuf_struct.py | 40 - .../flyteadmin/test/test_protobuf_value.py | 40 - .../test/test_quality_of_service_tier.py | 40 - .../test/test_resources_resource_entry.py | 40 - .../test/test_resources_resource_name.py | 40 - .../test_runtime_metadata_runtime_type.py | 40 - .../test_schema_column_schema_column_type.py | 40 - .../test/test_schema_type_schema_column.py | 40 - .../flyteadmin/test/test_secret_mount_type.py | 40 - .../flyteadmin/test/test_sort_direction.py | 40 - .../flyteadmin/test/test_sql_dialect.py | 40 - ..._structured_dataset_type_dataset_column.py | 40 - ..._task_execution_metadata_instance_class.py | 40 - .../test/test_task_log_message_format.py | 40 - ...est_workflow_metadata_on_failure_policy.py | 40 - .../flyteidl/service/flyteadmin/tox.ini | 10 - generate_protos.sh | 2 +- 767 files changed, 1 insertion(+), 128632 deletions(-) delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/.gitignore delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen-ignore delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen/VERSION delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/.travis.yml delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/README.md delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/client.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/configuration.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/git_push.sh delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_annotations.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth_role.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_domain.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_email_notification.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_cluster_label.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_list.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_get_version_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_labels.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_list.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_list_matchable_attributes_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier_list.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_list.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_list.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification_list.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_pager_duty_notification.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_override.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_overrides.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_get_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_update_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_projects.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_raw_output_data_config.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_slack_notification.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_system_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_closure.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_list.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_list.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_spec.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_url_blob.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_get_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_closure.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_data_response.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_list.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_spec.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_connection_set_id_list.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_alias.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_binding.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_collection.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_map.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_branch_node.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_task.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_container_port.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_enum_type.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_error.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_identifier.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_if_else_block.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_object_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_key_value_pair.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_collection.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_map.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_node.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter_map.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service_spec.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_resources.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_retry_strategy.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_runtime_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_schema_type.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_security_context.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_type.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node_overrides.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_type_annotation.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_type_structure.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_union_info.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_union_type.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_variable_map.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_void.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_identifier.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata_defaults.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_node_execution_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_task_execution_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_resource_pool_info.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_execution.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_workflow_node_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlcore_schema.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_workflow_node_metadata.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_list_value.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_struct.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_value.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_schema_type_schema_column.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_structured_dataset_type_dataset_column.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go delete mode 100644 gen/pb-go/flyteidl/service/flyteadmin/response.go delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/.gitignore delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen-ignore delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen/VERSION delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/.travis.yml delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/README.md delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/__init__.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api_client.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/configuration.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_abort_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_annotations.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth_role.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cron_schedule.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_domain.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_email_notification.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_cluster_label.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_recover_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_relaunch_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state_change_details.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate_unit.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_get_version_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_labels.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_state.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_list_matchable_attributes_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_literal_map_blob.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_attributes_configuration.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_resource.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_state.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_meta_data.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_pager_duty_notification.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_override.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_overrides.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_get_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_update_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_projects.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_raw_output_data_config.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_schedule.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_slack_notification.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_sort.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_system_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_spec.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_url_blob.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_version.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_get_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_data_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_spec.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/blob_type_blob_dimensionality.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/catalog_reservation_status.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/conjunction_expression_logical_operator.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/connection_set_id_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/container_architecture.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_alias.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binary.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_collection.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_map.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_boolean_expression.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_branch_node.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_artifact_tag.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_cache_status.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_task.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_conjunction_expression.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_connection_set.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container_port.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_data_loading_config.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_enum_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_error.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_execution_error.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identifier.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_block.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_else_block.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_io_strategy.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_object_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_key_value_pair.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_collection.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_map.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_identifier.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_phase.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_client.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_operand.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_output_reference.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter_map.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_primitive.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service_spec.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resource_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resources.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_retry_strategy.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_runtime_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_scalar.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_secret.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_security_context.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_simple_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sql.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_identifier.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_phase.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_log.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node_overrides.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_template.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_annotation.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_structure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_typed_interface.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_info.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable_map.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_void.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_identifier.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_phase.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata_defaults.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_node.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_template.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/data_loading_config_literal_map_format.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_external_resource_info.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_node_execution_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_task_execution_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_resource_pool_info.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_workflow_execution_event.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_error_error_kind.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_metadata_execution_mode.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_node_execution.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_execution.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_workflow_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlcore_schema.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_workflow_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_download_mode.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_upload_mode.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/plugin_override_missing_plugin_behavior.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/project_project_state.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_list_value.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_null_value.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_struct.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_value.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/quality_of_service_tier.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_entry.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_name.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/runtime_metadata_runtime_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_column_schema_column_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_type_schema_column.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/secret_mount_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sort_direction.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sql_dialect.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/structured_dataset_type_dataset_column.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_execution_metadata_instance_class.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_log_message_format.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/workflow_metadata_on_failure_policy.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/rest.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/git_push.sh delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/requirements.txt delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/setup.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test-requirements.txt delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/__init__.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_abort_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_annotations.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth_role.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_assignment.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cron_schedule.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_domain.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_email_notification.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_cluster_label.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_recover_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_relaunch_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_spec.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state_change_details.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate_unit.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_get_version_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_labels.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_spec.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_state.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_list_matchable_attributes_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_literal_map_blob.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_attributes_configuration.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_resource.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_state.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_get_data_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_meta_data.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_pager_duty_notification.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_override.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_overrides.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_get_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_update_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_projects.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_raw_output_data_config.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_schedule.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_slack_notification.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_sort.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_system_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_get_data_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_spec.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_url_blob.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_version.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_get_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_config.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_data_response.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_spec.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_blob_type_blob_dimensionality.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_catalog_reservation_status.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_conjunction_expression_logical_operator.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_connection_set_id_list.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_container_architecture.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_alias.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binary.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_collection.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_map.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_boolean_expression.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_branch_node.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_artifact_tag.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_cache_status.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_task.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow_closure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_conjunction_expression.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_connection_set.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container_port.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_data_loading_config.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_enum_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_error.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_execution_error.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identifier.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identity.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_block.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_else_block.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_io_strategy.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_object_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_pod.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_key_value_pair.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_collection.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_map.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_identifier.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_phase.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_client.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_operand.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_output_reference.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter_map.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_primitive.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service_spec.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resource_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resources.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_retry_strategy.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_runtime_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_scalar.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_secret.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_security_context.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_simple_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sql.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_identifier.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_phase.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_log.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node_overrides.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_template.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_annotation.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_structure.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_typed_interface.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_info.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable_map.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_void.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_identifier.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_phase.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata_defaults.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_node.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_template.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_data_loading_config_literal_map_format.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_external_resource_info.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_node_execution_event.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_node_execution_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_task_execution_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_resource_pool_info.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_event.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_workflow_execution_event.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_error_error_kind.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_metadata_execution_mode.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_dynamic_workflow_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_node_execution.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_execution.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_workflow_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlcore_schema.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_dynamic_workflow_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_workflow_node_metadata.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_download_mode.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_upload_mode.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_plugin_override_missing_plugin_behavior.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_project_project_state.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_list_value.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_null_value.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_struct.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_value.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_quality_of_service_tier.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_entry.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_name.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_runtime_metadata_runtime_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_column_schema_column_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_type_schema_column.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_secret_mount_type.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_sort_direction.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_sql_dialect.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_structured_dataset_type_dataset_column.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_task_execution_metadata_instance_class.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_task_log_message_format.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_workflow_metadata_on_failure_policy.py delete mode 100644 gen/pb_python/flyteidl/service/flyteadmin/tox.ini diff --git a/clients/go/admin/authtype_enumer.go b/clients/go/admin/authtype_enumer.go index d09a85ac6..33a816637 100644 --- a/clients/go/admin/authtype_enumer.go +++ b/clients/go/admin/authtype_enumer.go @@ -1,6 +1,5 @@ // Code generated by "enumer --type=AuthType -json -yaml -trimprefix=AuthType"; DO NOT EDIT. -// package admin import ( diff --git a/gen/pb-go/flyteidl/service/flyteadmin/.gitignore b/gen/pb-go/flyteidl/service/flyteadmin/.gitignore deleted file mode 100644 index daf913b1b..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# Compiled Object files, Static and Dynamic libs (Shared Objects) -*.o -*.a -*.so - -# Folders -_obj -_test - -# Architecture specific extensions/prefixes -*.[568vq] -[568vq].out - -*.cgo1.go -*.cgo2.c -_cgo_defun.c -_cgo_gotypes.go -_cgo_export.* - -_testmain.go - -*.exe -*.test -*.prof diff --git a/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen-ignore b/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen-ignore deleted file mode 100644 index c5fa491b4..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# Swagger Codegen Ignore -# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen/VERSION b/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen/VERSION deleted file mode 100644 index 6cecc1a68..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen/VERSION +++ /dev/null @@ -1 +0,0 @@ -2.4.6-SNAPSHOT \ No newline at end of file diff --git a/gen/pb-go/flyteidl/service/flyteadmin/.travis.yml b/gen/pb-go/flyteidl/service/flyteadmin/.travis.yml deleted file mode 100644 index f5cb2ce9a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: go - -install: - - go get -d -v . - -script: - - go build -v ./ - diff --git a/gen/pb-go/flyteidl/service/flyteadmin/README.md b/gen/pb-go/flyteidl/service/flyteadmin/README.md deleted file mode 100644 index 53dad0bee..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/README.md +++ /dev/null @@ -1,332 +0,0 @@ -# Go API client for flyteadmin - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -## Overview -This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. - -- API version: version not set -- Package version: 1.0.0 -- Build package: io.swagger.codegen.languages.GoClientCodegen - -## Installation -Put the package under your project folder and add the following in import: -```golang -import "./flyteadmin" -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://localhost* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*AdminServiceApi* | [**CreateExecution**](docs/AdminServiceApi.md#createexecution) | **Post** /api/v1/executions | Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` -*AdminServiceApi* | [**CreateLaunchPlan**](docs/AdminServiceApi.md#createlaunchplan) | **Post** /api/v1/launch_plans | Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition -*AdminServiceApi* | [**CreateNodeEvent**](docs/AdminServiceApi.md#createnodeevent) | **Post** /api/v1/events/nodes | Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. -*AdminServiceApi* | [**CreateTask**](docs/AdminServiceApi.md#createtask) | **Post** /api/v1/tasks | Create and upload a :ref:`ref_flyteidl.admin.Task` definition -*AdminServiceApi* | [**CreateTaskEvent**](docs/AdminServiceApi.md#createtaskevent) | **Post** /api/v1/events/tasks | Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. -*AdminServiceApi* | [**CreateWorkflow**](docs/AdminServiceApi.md#createworkflow) | **Post** /api/v1/workflows | Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition -*AdminServiceApi* | [**CreateWorkflowEvent**](docs/AdminServiceApi.md#createworkflowevent) | **Post** /api/v1/events/workflows | Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. -*AdminServiceApi* | [**DeleteProjectDomainAttributes**](docs/AdminServiceApi.md#deleteprojectdomainattributes) | **Delete** /api/v1/project_domain_attributes/{project}/{domain} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**DeleteWorkflowAttributes**](docs/AdminServiceApi.md#deleteworkflowattributes) | **Delete** /api/v1/workflow_attributes/{project}/{domain}/{workflow} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**GetActiveLaunchPlan**](docs/AdminServiceApi.md#getactivelaunchplan) | **Get** /api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name} | Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**GetExecution**](docs/AdminServiceApi.md#getexecution) | **Get** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Fetches a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**GetExecutionData**](docs/AdminServiceApi.md#getexecutiondata) | **Get** /api/v1/data/executions/{id.project}/{id.domain}/{id.name} | Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**GetLaunchPlan**](docs/AdminServiceApi.md#getlaunchplan) | **Get** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. -*AdminServiceApi* | [**GetNamedEntity**](docs/AdminServiceApi.md#getnamedentity) | **Get** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. -*AdminServiceApi* | [**GetNodeExecution**](docs/AdminServiceApi.md#getnodeexecution) | **Get** /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**GetNodeExecutionData**](docs/AdminServiceApi.md#getnodeexecutiondata) | **Get** /api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**GetProjectDomainAttributes**](docs/AdminServiceApi.md#getprojectdomainattributes) | **Get** /api/v1/project_domain_attributes/{project}/{domain} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**GetTask**](docs/AdminServiceApi.md#gettask) | **Get** /api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Task` definition. -*AdminServiceApi* | [**GetTaskExecution**](docs/AdminServiceApi.md#gettaskexecution) | **Get** /api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt} | Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**GetTaskExecutionData**](docs/AdminServiceApi.md#gettaskexecutiondata) | **Get** /api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt} | Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**GetVersion**](docs/AdminServiceApi.md#getversion) | **Get** /api/v1/version | -*AdminServiceApi* | [**GetWorkflow**](docs/AdminServiceApi.md#getworkflow) | **Get** /api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. -*AdminServiceApi* | [**GetWorkflowAttributes**](docs/AdminServiceApi.md#getworkflowattributes) | **Get** /api/v1/workflow_attributes/{project}/{domain}/{workflow} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**ListActiveLaunchPlans**](docs/AdminServiceApi.md#listactivelaunchplans) | **Get** /api/v1/active_launch_plans/{project}/{domain} | List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**ListExecutions**](docs/AdminServiceApi.md#listexecutions) | **Get** /api/v1/executions/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**ListLaunchPlanIds**](docs/AdminServiceApi.md#listlaunchplanids) | **Get** /api/v1/launch_plan_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. -*AdminServiceApi* | [**ListLaunchPlans**](docs/AdminServiceApi.md#listlaunchplans) | **Get** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -*AdminServiceApi* | [**ListLaunchPlans2**](docs/AdminServiceApi.md#listlaunchplans2) | **Get** /api/v1/launch_plans/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -*AdminServiceApi* | [**ListMatchableAttributes**](docs/AdminServiceApi.md#listmatchableattributes) | **Get** /api/v1/matchable_attributes | Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. -*AdminServiceApi* | [**ListNamedEntities**](docs/AdminServiceApi.md#listnamedentities) | **Get** /api/v1/named_entities/{resource_type}/{project}/{domain} | Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. -*AdminServiceApi* | [**ListNodeExecutions**](docs/AdminServiceApi.md#listnodeexecutions) | **Get** /api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**ListNodeExecutionsForTask**](docs/AdminServiceApi.md#listnodeexecutionsfortask) | **Get** /api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**ListProjects**](docs/AdminServiceApi.md#listprojects) | **Get** /api/v1/projects | Fetches a list of :ref:`ref_flyteidl.admin.Project` -*AdminServiceApi* | [**ListTaskExecutions**](docs/AdminServiceApi.md#listtaskexecutions) | **Get** /api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id} | Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**ListTaskIds**](docs/AdminServiceApi.md#listtaskids) | **Get** /api/v1/task_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. -*AdminServiceApi* | [**ListTasks**](docs/AdminServiceApi.md#listtasks) | **Get** /api/v1/tasks/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -*AdminServiceApi* | [**ListTasks2**](docs/AdminServiceApi.md#listtasks2) | **Get** /api/v1/tasks/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -*AdminServiceApi* | [**ListWorkflowIds**](docs/AdminServiceApi.md#listworkflowids) | **Get** /api/v1/workflow_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. -*AdminServiceApi* | [**ListWorkflows**](docs/AdminServiceApi.md#listworkflows) | **Get** /api/v1/workflows/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -*AdminServiceApi* | [**ListWorkflows2**](docs/AdminServiceApi.md#listworkflows2) | **Get** /api/v1/workflows/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -*AdminServiceApi* | [**RecoverExecution**](docs/AdminServiceApi.md#recoverexecution) | **Post** /api/v1/executions/recover | Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. -*AdminServiceApi* | [**RegisterProject**](docs/AdminServiceApi.md#registerproject) | **Post** /api/v1/projects | Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. -*AdminServiceApi* | [**RelaunchExecution**](docs/AdminServiceApi.md#relaunchexecution) | **Post** /api/v1/executions/relaunch | Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` -*AdminServiceApi* | [**TerminateExecution**](docs/AdminServiceApi.md#terminateexecution) | **Delete** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**UpdateExecution**](docs/AdminServiceApi.md#updateexecution) | **Put** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**UpdateLaunchPlan**](docs/AdminServiceApi.md#updatelaunchplan) | **Put** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**UpdateNamedEntity**](docs/AdminServiceApi.md#updatenamedentity) | **Put** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. -*AdminServiceApi* | [**UpdateProject**](docs/AdminServiceApi.md#updateproject) | **Put** /api/v1/projects/{id} | Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. -*AdminServiceApi* | [**UpdateProjectDomainAttributes**](docs/AdminServiceApi.md#updateprojectdomainattributes) | **Put** /api/v1/project_domain_attributes/{attributes.project}/{attributes.domain} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**UpdateWorkflowAttributes**](docs/AdminServiceApi.md#updateworkflowattributes) | **Put** /api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - - -## Documentation For Models - - - [AdminAbortMetadata](docs/AdminAbortMetadata.md) - - [AdminAnnotations](docs/AdminAnnotations.md) - - [AdminAuth](docs/AdminAuth.md) - - [AdminAuthRole](docs/AdminAuthRole.md) - - [AdminClusterAssignment](docs/AdminClusterAssignment.md) - - [AdminClusterResourceAttributes](docs/AdminClusterResourceAttributes.md) - - [AdminCronSchedule](docs/AdminCronSchedule.md) - - [AdminDomain](docs/AdminDomain.md) - - [AdminEmailNotification](docs/AdminEmailNotification.md) - - [AdminExecution](docs/AdminExecution.md) - - [AdminExecutionClosure](docs/AdminExecutionClosure.md) - - [AdminExecutionClusterLabel](docs/AdminExecutionClusterLabel.md) - - [AdminExecutionCreateRequest](docs/AdminExecutionCreateRequest.md) - - [AdminExecutionCreateResponse](docs/AdminExecutionCreateResponse.md) - - [AdminExecutionList](docs/AdminExecutionList.md) - - [AdminExecutionMetadata](docs/AdminExecutionMetadata.md) - - [AdminExecutionQueueAttributes](docs/AdminExecutionQueueAttributes.md) - - [AdminExecutionRecoverRequest](docs/AdminExecutionRecoverRequest.md) - - [AdminExecutionRelaunchRequest](docs/AdminExecutionRelaunchRequest.md) - - [AdminExecutionSpec](docs/AdminExecutionSpec.md) - - [AdminExecutionState](docs/AdminExecutionState.md) - - [AdminExecutionStateChangeDetails](docs/AdminExecutionStateChangeDetails.md) - - [AdminExecutionTerminateRequest](docs/AdminExecutionTerminateRequest.md) - - [AdminExecutionTerminateResponse](docs/AdminExecutionTerminateResponse.md) - - [AdminExecutionUpdateRequest](docs/AdminExecutionUpdateRequest.md) - - [AdminExecutionUpdateResponse](docs/AdminExecutionUpdateResponse.md) - - [AdminFixedRate](docs/AdminFixedRate.md) - - [AdminFixedRateUnit](docs/AdminFixedRateUnit.md) - - [AdminGetVersionResponse](docs/AdminGetVersionResponse.md) - - [AdminLabels](docs/AdminLabels.md) - - [AdminLaunchPlan](docs/AdminLaunchPlan.md) - - [AdminLaunchPlanClosure](docs/AdminLaunchPlanClosure.md) - - [AdminLaunchPlanCreateRequest](docs/AdminLaunchPlanCreateRequest.md) - - [AdminLaunchPlanCreateResponse](docs/AdminLaunchPlanCreateResponse.md) - - [AdminLaunchPlanList](docs/AdminLaunchPlanList.md) - - [AdminLaunchPlanMetadata](docs/AdminLaunchPlanMetadata.md) - - [AdminLaunchPlanSpec](docs/AdminLaunchPlanSpec.md) - - [AdminLaunchPlanState](docs/AdminLaunchPlanState.md) - - [AdminLaunchPlanUpdateRequest](docs/AdminLaunchPlanUpdateRequest.md) - - [AdminLaunchPlanUpdateResponse](docs/AdminLaunchPlanUpdateResponse.md) - - [AdminListMatchableAttributesResponse](docs/AdminListMatchableAttributesResponse.md) - - [AdminLiteralMapBlob](docs/AdminLiteralMapBlob.md) - - [AdminMatchableAttributesConfiguration](docs/AdminMatchableAttributesConfiguration.md) - - [AdminMatchableResource](docs/AdminMatchableResource.md) - - [AdminMatchingAttributes](docs/AdminMatchingAttributes.md) - - [AdminNamedEntity](docs/AdminNamedEntity.md) - - [AdminNamedEntityIdentifier](docs/AdminNamedEntityIdentifier.md) - - [AdminNamedEntityIdentifierList](docs/AdminNamedEntityIdentifierList.md) - - [AdminNamedEntityList](docs/AdminNamedEntityList.md) - - [AdminNamedEntityMetadata](docs/AdminNamedEntityMetadata.md) - - [AdminNamedEntityState](docs/AdminNamedEntityState.md) - - [AdminNamedEntityUpdateRequest](docs/AdminNamedEntityUpdateRequest.md) - - [AdminNamedEntityUpdateResponse](docs/AdminNamedEntityUpdateResponse.md) - - [AdminNodeExecutionClosure](docs/AdminNodeExecutionClosure.md) - - [AdminNodeExecutionEventRequest](docs/AdminNodeExecutionEventRequest.md) - - [AdminNodeExecutionEventResponse](docs/AdminNodeExecutionEventResponse.md) - - [AdminNodeExecutionGetDataResponse](docs/AdminNodeExecutionGetDataResponse.md) - - [AdminNodeExecutionList](docs/AdminNodeExecutionList.md) - - [AdminNodeExecutionMetaData](docs/AdminNodeExecutionMetaData.md) - - [AdminNotification](docs/AdminNotification.md) - - [AdminNotificationList](docs/AdminNotificationList.md) - - [AdminPagerDutyNotification](docs/AdminPagerDutyNotification.md) - - [AdminPluginOverride](docs/AdminPluginOverride.md) - - [AdminPluginOverrides](docs/AdminPluginOverrides.md) - - [AdminProject](docs/AdminProject.md) - - [AdminProjectDomainAttributes](docs/AdminProjectDomainAttributes.md) - - [AdminProjectDomainAttributesDeleteRequest](docs/AdminProjectDomainAttributesDeleteRequest.md) - - [AdminProjectDomainAttributesDeleteResponse](docs/AdminProjectDomainAttributesDeleteResponse.md) - - [AdminProjectDomainAttributesGetResponse](docs/AdminProjectDomainAttributesGetResponse.md) - - [AdminProjectDomainAttributesUpdateRequest](docs/AdminProjectDomainAttributesUpdateRequest.md) - - [AdminProjectDomainAttributesUpdateResponse](docs/AdminProjectDomainAttributesUpdateResponse.md) - - [AdminProjectRegisterRequest](docs/AdminProjectRegisterRequest.md) - - [AdminProjectRegisterResponse](docs/AdminProjectRegisterResponse.md) - - [AdminProjectUpdateResponse](docs/AdminProjectUpdateResponse.md) - - [AdminProjects](docs/AdminProjects.md) - - [AdminRawOutputDataConfig](docs/AdminRawOutputDataConfig.md) - - [AdminSchedule](docs/AdminSchedule.md) - - [AdminSlackNotification](docs/AdminSlackNotification.md) - - [AdminSort](docs/AdminSort.md) - - [AdminSystemMetadata](docs/AdminSystemMetadata.md) - - [AdminTask](docs/AdminTask.md) - - [AdminTaskClosure](docs/AdminTaskClosure.md) - - [AdminTaskCreateRequest](docs/AdminTaskCreateRequest.md) - - [AdminTaskCreateResponse](docs/AdminTaskCreateResponse.md) - - [AdminTaskExecutionClosure](docs/AdminTaskExecutionClosure.md) - - [AdminTaskExecutionEventRequest](docs/AdminTaskExecutionEventRequest.md) - - [AdminTaskExecutionEventResponse](docs/AdminTaskExecutionEventResponse.md) - - [AdminTaskExecutionGetDataResponse](docs/AdminTaskExecutionGetDataResponse.md) - - [AdminTaskExecutionList](docs/AdminTaskExecutionList.md) - - [AdminTaskList](docs/AdminTaskList.md) - - [AdminTaskResourceAttributes](docs/AdminTaskResourceAttributes.md) - - [AdminTaskResourceSpec](docs/AdminTaskResourceSpec.md) - - [AdminTaskSpec](docs/AdminTaskSpec.md) - - [AdminUrlBlob](docs/AdminUrlBlob.md) - - [AdminVersion](docs/AdminVersion.md) - - [AdminWorkflow](docs/AdminWorkflow.md) - - [AdminWorkflowAttributes](docs/AdminWorkflowAttributes.md) - - [AdminWorkflowAttributesDeleteRequest](docs/AdminWorkflowAttributesDeleteRequest.md) - - [AdminWorkflowAttributesDeleteResponse](docs/AdminWorkflowAttributesDeleteResponse.md) - - [AdminWorkflowAttributesGetResponse](docs/AdminWorkflowAttributesGetResponse.md) - - [AdminWorkflowAttributesUpdateRequest](docs/AdminWorkflowAttributesUpdateRequest.md) - - [AdminWorkflowAttributesUpdateResponse](docs/AdminWorkflowAttributesUpdateResponse.md) - - [AdminWorkflowClosure](docs/AdminWorkflowClosure.md) - - [AdminWorkflowCreateRequest](docs/AdminWorkflowCreateRequest.md) - - [AdminWorkflowCreateResponse](docs/AdminWorkflowCreateResponse.md) - - [AdminWorkflowExecutionConfig](docs/AdminWorkflowExecutionConfig.md) - - [AdminWorkflowExecutionEventRequest](docs/AdminWorkflowExecutionEventRequest.md) - - [AdminWorkflowExecutionEventResponse](docs/AdminWorkflowExecutionEventResponse.md) - - [AdminWorkflowExecutionGetDataResponse](docs/AdminWorkflowExecutionGetDataResponse.md) - - [AdminWorkflowList](docs/AdminWorkflowList.md) - - [AdminWorkflowSpec](docs/AdminWorkflowSpec.md) - - [BlobTypeBlobDimensionality](docs/BlobTypeBlobDimensionality.md) - - [CatalogReservationStatus](docs/CatalogReservationStatus.md) - - [ComparisonExpressionOperator](docs/ComparisonExpressionOperator.md) - - [ConjunctionExpressionLogicalOperator](docs/ConjunctionExpressionLogicalOperator.md) - - [ConnectionSetIdList](docs/ConnectionSetIdList.md) - - [ContainerArchitecture](docs/ContainerArchitecture.md) - - [CoreAlias](docs/CoreAlias.md) - - [CoreBinary](docs/CoreBinary.md) - - [CoreBinding](docs/CoreBinding.md) - - [CoreBindingData](docs/CoreBindingData.md) - - [CoreBindingDataCollection](docs/CoreBindingDataCollection.md) - - [CoreBindingDataMap](docs/CoreBindingDataMap.md) - - [CoreBlob](docs/CoreBlob.md) - - [CoreBlobMetadata](docs/CoreBlobMetadata.md) - - [CoreBlobType](docs/CoreBlobType.md) - - [CoreBooleanExpression](docs/CoreBooleanExpression.md) - - [CoreBranchNode](docs/CoreBranchNode.md) - - [CoreCatalogArtifactTag](docs/CoreCatalogArtifactTag.md) - - [CoreCatalogCacheStatus](docs/CoreCatalogCacheStatus.md) - - [CoreCatalogMetadata](docs/CoreCatalogMetadata.md) - - [CoreComparisonExpression](docs/CoreComparisonExpression.md) - - [CoreCompiledTask](docs/CoreCompiledTask.md) - - [CoreCompiledWorkflow](docs/CoreCompiledWorkflow.md) - - [CoreCompiledWorkflowClosure](docs/CoreCompiledWorkflowClosure.md) - - [CoreConjunctionExpression](docs/CoreConjunctionExpression.md) - - [CoreConnectionSet](docs/CoreConnectionSet.md) - - [CoreContainer](docs/CoreContainer.md) - - [CoreContainerPort](docs/CoreContainerPort.md) - - [CoreDataLoadingConfig](docs/CoreDataLoadingConfig.md) - - [CoreEnumType](docs/CoreEnumType.md) - - [CoreError](docs/CoreError.md) - - [CoreExecutionError](docs/CoreExecutionError.md) - - [CoreIdentifier](docs/CoreIdentifier.md) - - [CoreIdentity](docs/CoreIdentity.md) - - [CoreIfBlock](docs/CoreIfBlock.md) - - [CoreIfElseBlock](docs/CoreIfElseBlock.md) - - [CoreIoStrategy](docs/CoreIoStrategy.md) - - [CoreK8sObjectMetadata](docs/CoreK8sObjectMetadata.md) - - [CoreK8sPod](docs/CoreK8sPod.md) - - [CoreKeyValuePair](docs/CoreKeyValuePair.md) - - [CoreLiteral](docs/CoreLiteral.md) - - [CoreLiteralCollection](docs/CoreLiteralCollection.md) - - [CoreLiteralMap](docs/CoreLiteralMap.md) - - [CoreLiteralType](docs/CoreLiteralType.md) - - [CoreNode](docs/CoreNode.md) - - [CoreNodeExecutionIdentifier](docs/CoreNodeExecutionIdentifier.md) - - [CoreNodeExecutionPhase](docs/CoreNodeExecutionPhase.md) - - [CoreNodeMetadata](docs/CoreNodeMetadata.md) - - [CoreOAuth2Client](docs/CoreOAuth2Client.md) - - [CoreOAuth2TokenRequest](docs/CoreOAuth2TokenRequest.md) - - [CoreOAuth2TokenRequestType](docs/CoreOAuth2TokenRequestType.md) - - [CoreOperand](docs/CoreOperand.md) - - [CoreOutputReference](docs/CoreOutputReference.md) - - [CoreParameter](docs/CoreParameter.md) - - [CoreParameterMap](docs/CoreParameterMap.md) - - [CorePrimitive](docs/CorePrimitive.md) - - [CoreQualityOfService](docs/CoreQualityOfService.md) - - [CoreQualityOfServiceSpec](docs/CoreQualityOfServiceSpec.md) - - [CoreResourceType](docs/CoreResourceType.md) - - [CoreResources](docs/CoreResources.md) - - [CoreRetryStrategy](docs/CoreRetryStrategy.md) - - [CoreRuntimeMetadata](docs/CoreRuntimeMetadata.md) - - [CoreScalar](docs/CoreScalar.md) - - [CoreSchemaType](docs/CoreSchemaType.md) - - [CoreSecret](docs/CoreSecret.md) - - [CoreSecurityContext](docs/CoreSecurityContext.md) - - [CoreSimpleType](docs/CoreSimpleType.md) - - [CoreSql](docs/CoreSql.md) - - [CoreStructuredDataset](docs/CoreStructuredDataset.md) - - [CoreStructuredDatasetMetadata](docs/CoreStructuredDatasetMetadata.md) - - [CoreStructuredDatasetType](docs/CoreStructuredDatasetType.md) - - [CoreTaskExecutionIdentifier](docs/CoreTaskExecutionIdentifier.md) - - [CoreTaskExecutionPhase](docs/CoreTaskExecutionPhase.md) - - [CoreTaskLog](docs/CoreTaskLog.md) - - [CoreTaskMetadata](docs/CoreTaskMetadata.md) - - [CoreTaskNode](docs/CoreTaskNode.md) - - [CoreTaskNodeOverrides](docs/CoreTaskNodeOverrides.md) - - [CoreTaskTemplate](docs/CoreTaskTemplate.md) - - [CoreTypeAnnotation](docs/CoreTypeAnnotation.md) - - [CoreTypeStructure](docs/CoreTypeStructure.md) - - [CoreTypedInterface](docs/CoreTypedInterface.md) - - [CoreUnion](docs/CoreUnion.md) - - [CoreUnionInfo](docs/CoreUnionInfo.md) - - [CoreUnionType](docs/CoreUnionType.md) - - [CoreVariable](docs/CoreVariable.md) - - [CoreVariableMap](docs/CoreVariableMap.md) - - [CoreVoid](docs/CoreVoid.md) - - [CoreWorkflowExecutionIdentifier](docs/CoreWorkflowExecutionIdentifier.md) - - [CoreWorkflowExecutionPhase](docs/CoreWorkflowExecutionPhase.md) - - [CoreWorkflowMetadata](docs/CoreWorkflowMetadata.md) - - [CoreWorkflowMetadataDefaults](docs/CoreWorkflowMetadataDefaults.md) - - [CoreWorkflowNode](docs/CoreWorkflowNode.md) - - [CoreWorkflowTemplate](docs/CoreWorkflowTemplate.md) - - [DataLoadingConfigLiteralMapFormat](docs/DataLoadingConfigLiteralMapFormat.md) - - [EventExternalResourceInfo](docs/EventExternalResourceInfo.md) - - [EventNodeExecutionEvent](docs/EventNodeExecutionEvent.md) - - [EventParentNodeExecutionMetadata](docs/EventParentNodeExecutionMetadata.md) - - [EventParentTaskExecutionMetadata](docs/EventParentTaskExecutionMetadata.md) - - [EventResourcePoolInfo](docs/EventResourcePoolInfo.md) - - [EventTaskExecutionEvent](docs/EventTaskExecutionEvent.md) - - [EventTaskExecutionMetadata](docs/EventTaskExecutionMetadata.md) - - [EventWorkflowExecutionEvent](docs/EventWorkflowExecutionEvent.md) - - [ExecutionErrorErrorKind](docs/ExecutionErrorErrorKind.md) - - [ExecutionMetadataExecutionMode](docs/ExecutionMetadataExecutionMode.md) - - [FlyteidladminDynamicWorkflowNodeMetadata](docs/FlyteidladminDynamicWorkflowNodeMetadata.md) - - [FlyteidladminNodeExecution](docs/FlyteidladminNodeExecution.md) - - [FlyteidladminTaskExecution](docs/FlyteidladminTaskExecution.md) - - [FlyteidladminTaskNodeMetadata](docs/FlyteidladminTaskNodeMetadata.md) - - [FlyteidladminWorkflowNodeMetadata](docs/FlyteidladminWorkflowNodeMetadata.md) - - [FlyteidlcoreSchema](docs/FlyteidlcoreSchema.md) - - [FlyteidleventDynamicWorkflowNodeMetadata](docs/FlyteidleventDynamicWorkflowNodeMetadata.md) - - [FlyteidleventTaskNodeMetadata](docs/FlyteidleventTaskNodeMetadata.md) - - [FlyteidleventWorkflowNodeMetadata](docs/FlyteidleventWorkflowNodeMetadata.md) - - [IoStrategyDownloadMode](docs/IoStrategyDownloadMode.md) - - [IoStrategyUploadMode](docs/IoStrategyUploadMode.md) - - [PluginOverrideMissingPluginBehavior](docs/PluginOverrideMissingPluginBehavior.md) - - [ProjectProjectState](docs/ProjectProjectState.md) - - [ProtobufListValue](docs/ProtobufListValue.md) - - [ProtobufNullValue](docs/ProtobufNullValue.md) - - [ProtobufStruct](docs/ProtobufStruct.md) - - [ProtobufValue](docs/ProtobufValue.md) - - [QualityOfServiceTier](docs/QualityOfServiceTier.md) - - [ResourcesResourceEntry](docs/ResourcesResourceEntry.md) - - [ResourcesResourceName](docs/ResourcesResourceName.md) - - [RuntimeMetadataRuntimeType](docs/RuntimeMetadataRuntimeType.md) - - [SchemaColumnSchemaColumnType](docs/SchemaColumnSchemaColumnType.md) - - [SchemaTypeSchemaColumn](docs/SchemaTypeSchemaColumn.md) - - [SecretMountType](docs/SecretMountType.md) - - [SortDirection](docs/SortDirection.md) - - [SqlDialect](docs/SqlDialect.md) - - [StructuredDatasetTypeDatasetColumn](docs/StructuredDatasetTypeDatasetColumn.md) - - [TaskExecutionMetadataInstanceClass](docs/TaskExecutionMetadataInstanceClass.md) - - [TaskLogMessageFormat](docs/TaskLogMessageFormat.md) - - [WorkflowMetadataOnFailurePolicy](docs/WorkflowMetadataOnFailurePolicy.md) - - -## Documentation For Authorization - Endpoints do not require authorization. - - -## Author - - - diff --git a/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml b/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml deleted file mode 100644 index 0c61d5f19..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml +++ /dev/null @@ -1,60497 +0,0 @@ ---- -swagger: "2.0" -info: - version: "version not set" - title: "flyteidl/service/admin.proto" -schemes: -- "http" -- "https" -consumes: -- "application/json" -produces: -- "application/json" -paths: - /api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`." - description: "Retrieve the active launch plan version specified by input request\ - \ filters." - operationId: "GetActiveLaunchPlan" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlan" - /api/v1/active_launch_plans/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`." - description: "Fetch the active launch plan versions specified by input request\ - \ filters." - operationId: "ListActiveLaunchPlans" - parameters: - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required." - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project.\n\ - +required." - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanList" - ? /api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt} - : get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by\ - \ the reference :ref:`ref_flyteidl.admin.TaskExecution`." - description: "Fetch child node executions launched by the specified task execution." - operationId: "ListNodeExecutionsForTask" - parameters: - - name: "task_execution_id.node_execution_id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdProject" - - name: "task_execution_id.node_execution_id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdDomain" - - name: "task_execution_id.node_execution_id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdName" - - name: "task_execution_id.node_execution_id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdNodeId" - - name: "task_execution_id.task_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdProject" - - name: "task_execution_id.task_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdDomain" - - name: "task_execution_id.task_id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdName" - - name: "task_execution_id.task_id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdVersion" - - name: "task_execution_id.retry_attempt" - in: "path" - required: true - type: "integer" - format: "int64" - x-exportParamName: "TaskExecutionIdRetryAttempt" - - name: "task_execution_id.task_id.resource_type" - in: "query" - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to.\n\n - DATASET: A dataset represents an entity modeled\ - \ in Flyte DataCatalog. A Dataset is also a versioned entity and can be\ - \ a compilation of multiple individual objects.\nEventually all Catalog\ - \ objects should be modeled similar to Flyte Objects. The Dataset entities\ - \ makes it possible for the UI and CLI to act on the objects \nin a similar\ - \ manner to other Flyte objects" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "TaskExecutionIdTaskIdResourceType" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the, server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNodeExecutionList" - /api/v1/data/executions/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`." - description: "Retrieve input and output data from an existing workflow execution." - operationId: "GetExecutionData" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowExecutionGetDataResponse" - /api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}: - get: - tags: - - "AdminService" - summary: "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`." - description: "Retrieve input and output data from an existing node execution." - operationId: "GetNodeExecutionData" - parameters: - - name: "id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdExecutionIdProject" - - name: "id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdExecutionIdDomain" - - name: "id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdExecutionIdName" - - name: "id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeId" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNodeExecutionGetDataResponse" - ? /api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt} - : get: - tags: - - "AdminService" - summary: "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`." - description: "Retrieve input and output data from an existing task execution." - operationId: "GetTaskExecutionData" - parameters: - - name: "id.node_execution_id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdProject" - - name: "id.node_execution_id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdDomain" - - name: "id.node_execution_id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdName" - - name: "id.node_execution_id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdNodeId" - - name: "id.task_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdTaskIdProject" - - name: "id.task_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdTaskIdDomain" - - name: "id.task_id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdTaskIdName" - - name: "id.task_id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdTaskIdVersion" - - name: "id.retry_attempt" - in: "path" - required: true - type: "integer" - format: "int64" - x-exportParamName: "IdRetryAttempt" - - name: "id.task_id.resource_type" - in: "query" - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to.\n\n - DATASET: A dataset represents an entity modeled\ - \ in Flyte DataCatalog. A Dataset is also a versioned entity and can be\ - \ a compilation of multiple individual objects.\nEventually all Catalog\ - \ objects should be modeled similar to Flyte Objects. The Dataset entities\ - \ makes it possible for the UI and CLI to act on the objects \nin a similar\ - \ manner to other Flyte objects" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdTaskIdResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskExecutionGetDataResponse" - /api/v1/events/nodes: - post: - tags: - - "AdminService" - summary: "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred." - description: "Create a node execution event recording a phase transition." - operationId: "CreateNodeEvent" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminNodeExecutionEventRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNodeExecutionEventResponse" - /api/v1/events/tasks: - post: - tags: - - "AdminService" - summary: "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred." - description: "Create a task execution event recording a phase transition." - operationId: "CreateTaskEvent" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminTaskExecutionEventRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskExecutionEventResponse" - /api/v1/events/workflows: - post: - tags: - - "AdminService" - summary: "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred." - description: "Create a workflow execution event recording a phase transition." - operationId: "CreateWorkflowEvent" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminWorkflowExecutionEventRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowExecutionEventResponse" - /api/v1/executions: - post: - tags: - - "AdminService" - summary: "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`" - description: "Create a workflow execution." - operationId: "CreateExecution" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionCreateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionCreateResponse" - /api/v1/executions/recover: - post: - tags: - - "AdminService" - summary: "Recreates a previously-run workflow execution that will only start\ - \ executing from the last known failure point.\nIn Recover mode, users cannot\ - \ change any input parameters or update the version of the execution.\nThis\ - \ is extremely useful to recover from system errors and byzantine faults like\ - \ - Loss of K8s cluster, bugs in platform or instability, machine failures,\n\ - downstream system failures (downstream services), or simply to recover executions\ - \ that failed because of retry exhaustion and should complete if tried again.\n\ - See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details." - description: "Recreates a previously-run workflow execution that will only start\ - \ executing from the last known failure point. In Recover mode, users cannot\ - \ change any input parameters or update the version of the execution. This\ - \ is extremely useful to recover from system errors and byzantine faults like\ - \ - Loss of K8s cluster, bugs in platform or instability, machine failures,\ - \ downstream system failures (downstream services), or simply to recover executions\ - \ that failed because of retry exhaustion and should complete if tried again." - operationId: "RecoverExecution" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionRecoverRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionCreateResponse" - /api/v1/executions/relaunch: - post: - tags: - - "AdminService" - summary: "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`" - description: "Relaunch a workflow execution." - operationId: "RelaunchExecution" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionRelaunchRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionCreateResponse" - /api/v1/executions/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Execution`." - description: "Fetch existing workflow executions matching input filters." - operationId: "ListExecutions" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionList" - /api/v1/executions/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetches a :ref:`ref_flyteidl.admin.Execution`." - description: "Retrieve an existing workflow execution." - operationId: "GetExecution" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecution" - put: - tags: - - "AdminService" - summary: "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`." - description: "Update execution belonging to project domain." - operationId: "UpdateExecution" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionUpdateResponse" - delete: - tags: - - "AdminService" - summary: "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`." - description: "Terminate the active workflow execution specified in the request." - operationId: "TerminateExecution" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionTerminateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionTerminateResponse" - /api/v1/launch_plan_ids/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of\ - \ launch plan objects." - description: "Fetch existing launch plan definition identifiers matching input\ - \ filters." - operationId: "ListLaunchPlanIds" - parameters: - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityIdentifierList" - /api/v1/launch_plans: - post: - tags: - - "AdminService" - summary: "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition" - description: "Create and register a launch plan definition." - operationId: "CreateLaunchPlan" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminLaunchPlanCreateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanCreateResponse" - 400: - description: "Returned for bad request that may have failed validation." - schema: {} - 409: - description: "Returned for a request that references an identical entity\ - \ that has already been registered." - schema: {} - /api/v1/launch_plans/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions." - description: "Fetch existing launch plan definitions matching input filters." - operationId: "ListLaunchPlans2" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanList" - /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions." - description: "Fetch existing launch plan definitions matching input filters." - operationId: "ListLaunchPlans" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanList" - /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}: - get: - tags: - - "AdminService" - summary: "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition." - description: "Retrieve an existing launch plan definition." - operationId: "GetLaunchPlan" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - - name: "id.resource_type" - in: "query" - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to.\n\n - DATASET: A dataset represents an entity modeled\ - \ in Flyte DataCatalog. A Dataset is also a versioned entity and can be\ - \ a compilation of multiple individual objects.\nEventually all Catalog\ - \ objects should be modeled similar to Flyte Objects. The Dataset entities\ - \ makes it possible for the UI and CLI to act on the objects \nin a similar\ - \ manner to other Flyte objects" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlan" - put: - tags: - - "AdminService" - summary: "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`." - description: "Update the status of an existing launch plan definition. At most\ - \ one launch plan version for a given {project, domain, name} can be active\ - \ at a time. If this call sets a launch plan to active and existing version\ - \ is already active, the result of this call will be that the formerly active\ - \ launch plan will be made inactive and specified launch plan in this request\ - \ will be made active. In the event that the formerly active launch plan had\ - \ a schedule associated it with it, this schedule will be disabled. If the\ - \ reference launch plan in this request is being set to active and has a schedule\ - \ associated with it, the schedule will be enabled." - operationId: "UpdateLaunchPlan" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminLaunchPlanUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanUpdateResponse" - /api/v1/matchable_attributes: - get: - tags: - - "AdminService" - summary: "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a specific resource type." - description: "Retrieve a list of MatchableAttributesConfiguration objects." - operationId: "ListMatchableAttributes" - parameters: - - name: "resource_type" - in: "query" - description: "+required.\n\n - TASK_RESOURCE: Applies to customizable task\ - \ resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring\ - \ templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures\ - \ task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL:\ - \ Configures the K8s cluster label to be used for execution to be run\n\ - \ - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service\ - \ when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable\ - \ plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG:\ - \ Adds defaults for customizable workflow-execution specifications and overrides.\n\ - \ - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which\ - \ this execution should run." - required: false - type: "string" - default: "TASK_RESOURCE" - enum: - - "TASK_RESOURCE" - - "CLUSTER_RESOURCE" - - "EXECUTION_QUEUE" - - "EXECUTION_CLUSTER_LABEL" - - "QUALITY_OF_SERVICE_SPECIFICATION" - - "PLUGIN_OVERRIDE" - - "WORKFLOW_EXECUTION_CONFIG" - - "CLUSTER_ASSIGNMENT" - x-exportParamName: "ResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminListMatchableAttributesResponse" - /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object." - description: "Retrieve a NamedEntity object." - operationId: "GetNamedEntity" - parameters: - - name: "resource_type" - in: "path" - description: "Resource type of the metadata to get. One of Task, Workflow\ - \ or LaunchPlan.\n+required" - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "ResourceType" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntity" - put: - tags: - - "AdminService" - summary: "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object." - description: "Update the fields associated with a NamedEntity" - operationId: "UpdateNamedEntity" - parameters: - - name: "resource_type" - in: "path" - description: "Resource type of the metadata to update\n+required" - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "ResourceType" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminNamedEntityUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityUpdateResponse" - /api/v1/named_entities/{resource_type}/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects." - description: "Retrieve a list of NamedEntity objects sharing a common resource\ - \ type, project, and domain." - operationId: "ListNamedEntities" - parameters: - - name: "resource_type" - in: "path" - description: "Resource type of the metadata to query. One of Task, Workflow\ - \ or LaunchPlan.\n+required" - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "ResourceType" - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project." - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityList" - /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}: - get: - tags: - - "AdminService" - summary: "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`." - description: "Retrieve an existing node execution." - operationId: "GetNodeExecution" - parameters: - - name: "id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdExecutionIdProject" - - name: "id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdExecutionIdDomain" - - name: "id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdExecutionIdName" - - name: "id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeId" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/flyteidladminNodeExecution" - /api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`." - description: "Fetch existing node executions matching input filters." - operationId: "ListNodeExecutions" - parameters: - - name: "workflow_execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "WorkflowExecutionIdProject" - - name: "workflow_execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "WorkflowExecutionIdDomain" - - name: "workflow_execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "WorkflowExecutionIdName" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "unique_parent_id" - in: "query" - description: "Unique identifier of the parent node in the execution\n+optional." - required: false - type: "string" - x-exportParamName: "UniqueParentId" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNodeExecutionList" - /api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}: - put: - tags: - - "AdminService" - summary: "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project and domain." - description: "Update the customized resource attributes associated with a project-domain\ - \ combination" - operationId: "UpdateProjectDomainAttributes" - parameters: - - name: "attributes.project" - in: "path" - description: "Unique project id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesProject" - - name: "attributes.domain" - in: "path" - description: "Unique domain id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesDomain" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProjectDomainAttributesUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectDomainAttributesUpdateResponse" - /api/v1/project_domain_attributes/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project and domain." - description: "Retrieve the customized resource attributes associated with a\ - \ project-domain combination" - operationId: "GetProjectDomainAttributes" - parameters: - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Unique domain id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "resource_type" - in: "query" - description: "Which type of matchable attributes to return.\n+required.\n\n\ - \ - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n\ - \ - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster\ - \ resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution\ - \ queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster\ - \ label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION:\ - \ Configures default quality of service when undefined in an execution spec.\n\ - \ - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior\ - \ for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for\ - \ customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT:\ - \ Controls how to select an available cluster on which this execution should\ - \ run." - required: false - type: "string" - default: "TASK_RESOURCE" - enum: - - "TASK_RESOURCE" - - "CLUSTER_RESOURCE" - - "EXECUTION_QUEUE" - - "EXECUTION_CLUSTER_LABEL" - - "QUALITY_OF_SERVICE_SPECIFICATION" - - "PLUGIN_OVERRIDE" - - "WORKFLOW_EXECUTION_CONFIG" - - "CLUSTER_ASSIGNMENT" - x-exportParamName: "ResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectDomainAttributesGetResponse" - delete: - tags: - - "AdminService" - summary: "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project and domain." - description: "Delete the customized resource attributes associated with a project-domain\ - \ combination" - operationId: "DeleteProjectDomainAttributes" - parameters: - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Unique domain id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProjectDomainAttributesDeleteRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectDomainAttributesDeleteResponse" - /api/v1/projects: - get: - tags: - - "AdminService" - summary: "Fetches a list of :ref:`ref_flyteidl.admin.Project`" - description: "Fetch registered projects." - operationId: "ListProjects" - parameters: - - name: "limit" - in: "query" - description: "Indicates the number of projects to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjects" - post: - tags: - - "AdminService" - summary: "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment." - description: "Register a project." - operationId: "RegisterProject" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProjectRegisterRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectRegisterResponse" - /api/v1/projects/{id}: - put: - tags: - - "AdminService" - summary: "Updates an existing :ref:`ref_flyteidl.admin.Project` \nflyteidl.admin.Project\ - \ should be passed but the domains property should be empty;\nit will be ignored\ - \ in the handler as domains cannot be updated via this API." - description: "Update a project." - operationId: "UpdateProject" - parameters: - - name: "id" - in: "path" - description: "Globally unique project name." - required: true - type: "string" - x-exportParamName: "Id" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProject" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectUpdateResponse" - ? /api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt} - : get: - tags: - - "AdminService" - summary: "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`." - description: "Retrieve an existing task execution." - operationId: "GetTaskExecution" - parameters: - - name: "id.node_execution_id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdProject" - - name: "id.node_execution_id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdDomain" - - name: "id.node_execution_id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdName" - - name: "id.node_execution_id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdNodeId" - - name: "id.task_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdTaskIdProject" - - name: "id.task_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdTaskIdDomain" - - name: "id.task_id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdTaskIdName" - - name: "id.task_id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdTaskIdVersion" - - name: "id.retry_attempt" - in: "path" - required: true - type: "integer" - format: "int64" - x-exportParamName: "IdRetryAttempt" - - name: "id.task_id.resource_type" - in: "query" - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to.\n\n - DATASET: A dataset represents an entity modeled\ - \ in Flyte DataCatalog. A Dataset is also a versioned entity and can be\ - \ a compilation of multiple individual objects.\nEventually all Catalog\ - \ objects should be modeled similar to Flyte Objects. The Dataset entities\ - \ makes it possible for the UI and CLI to act on the objects \nin a similar\ - \ manner to other Flyte objects" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdTaskIdResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/flyteidladminTaskExecution" - ? /api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id} - : get: - tags: - - "AdminService" - summary: "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`." - description: "Fetch existing task executions matching input filters." - operationId: "ListTaskExecutions" - parameters: - - name: "node_execution_id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "NodeExecutionIdExecutionIdProject" - - name: "node_execution_id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "NodeExecutionIdExecutionIdDomain" - - name: "node_execution_id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "NodeExecutionIdExecutionIdName" - - name: "node_execution_id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "NodeExecutionIdNodeId" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskExecutionList" - /api/v1/task_ids/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of\ - \ task objects." - description: "Fetch existing task definition identifiers matching input filters." - operationId: "ListTaskIds" - parameters: - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityIdentifierList" - /api/v1/tasks: - post: - tags: - - "AdminService" - summary: "Create and upload a :ref:`ref_flyteidl.admin.Task` definition" - description: "Create and register a task definition." - operationId: "CreateTask" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminTaskCreateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskCreateResponse" - 400: - description: "Returned for bad request that may have failed validation." - schema: {} - 409: - description: "Returned for a request that references an identical entity\ - \ that has already been registered." - schema: {} - /api/v1/tasks/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions." - description: "Fetch existing task definitions matching input filters." - operationId: "ListTasks2" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskList" - /api/v1/tasks/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions." - description: "Fetch existing task definitions matching input filters." - operationId: "ListTasks" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskList" - /api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}: - get: - tags: - - "AdminService" - summary: "Fetch a :ref:`ref_flyteidl.admin.Task` definition." - description: "Retrieve an existing task definition." - operationId: "GetTask" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - - name: "id.resource_type" - in: "query" - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to.\n\n - DATASET: A dataset represents an entity modeled\ - \ in Flyte DataCatalog. A Dataset is also a versioned entity and can be\ - \ a compilation of multiple individual objects.\nEventually all Catalog\ - \ objects should be modeled similar to Flyte Objects. The Dataset entities\ - \ makes it possible for the UI and CLI to act on the objects \nin a similar\ - \ manner to other Flyte objects" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTask" - /api/v1/version: - get: - tags: - - "AdminService" - description: "Retrieve the Version (including the Build information) for FlyteAdmin\ - \ service" - operationId: "GetVersion" - parameters: [] - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminGetVersionResponse" - /api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}: - put: - tags: - - "AdminService" - summary: "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project, domain and workflow." - description: "Update the customized resource attributes associated with a project,\ - \ domain and workflow combination" - operationId: "UpdateWorkflowAttributes" - parameters: - - name: "attributes.project" - in: "path" - description: "Unique project id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesProject" - - name: "attributes.domain" - in: "path" - description: "Unique domain id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesDomain" - - name: "attributes.workflow" - in: "path" - description: "Workflow name for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesWorkflow" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminWorkflowAttributesUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowAttributesUpdateResponse" - /api/v1/workflow_attributes/{project}/{domain}/{workflow}: - get: - tags: - - "AdminService" - summary: "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project, domain and workflow." - description: "Retrieve the customized resource attributes associated with a\ - \ project, domain and workflow combination" - operationId: "GetWorkflowAttributes" - parameters: - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Unique domain id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "workflow" - in: "path" - description: "Workflow name which this set of attributes references.\n+required" - required: true - type: "string" - x-exportParamName: "Workflow" - - name: "resource_type" - in: "query" - description: "Which type of matchable attributes to return.\n+required.\n\n\ - \ - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n\ - \ - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster\ - \ resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution\ - \ queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster\ - \ label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION:\ - \ Configures default quality of service when undefined in an execution spec.\n\ - \ - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior\ - \ for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for\ - \ customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT:\ - \ Controls how to select an available cluster on which this execution should\ - \ run." - required: false - type: "string" - default: "TASK_RESOURCE" - enum: - - "TASK_RESOURCE" - - "CLUSTER_RESOURCE" - - "EXECUTION_QUEUE" - - "EXECUTION_CLUSTER_LABEL" - - "QUALITY_OF_SERVICE_SPECIFICATION" - - "PLUGIN_OVERRIDE" - - "WORKFLOW_EXECUTION_CONFIG" - - "CLUSTER_ASSIGNMENT" - x-exportParamName: "ResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowAttributesGetResponse" - delete: - tags: - - "AdminService" - summary: "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project, domain and workflow." - description: "Delete the customized resource attributes associated with a project,\ - \ domain and workflow combination" - operationId: "DeleteWorkflowAttributes" - parameters: - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Unique domain id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "workflow" - in: "path" - description: "Workflow name which this set of attributes references.\n+required" - required: true - type: "string" - x-exportParamName: "Workflow" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminWorkflowAttributesDeleteRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowAttributesDeleteResponse" - /api/v1/workflow_ids/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of\ - \ workflow objects." - description: "Fetch an existing workflow definition identifiers matching input\ - \ filters." - operationId: "ListWorkflowIds" - parameters: - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityIdentifierList" - /api/v1/workflows: - post: - tags: - - "AdminService" - summary: "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition" - description: "Create and register a workflow definition." - operationId: "CreateWorkflow" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminWorkflowCreateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowCreateResponse" - 400: - description: "Returned for bad request that may have failed validation." - schema: {} - 409: - description: "Returned for a request that references an identical entity\ - \ that has already been registered." - schema: {} - /api/v1/workflows/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions." - description: "Fetch existing workflow definitions matching input filters." - operationId: "ListWorkflows2" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowList" - /api/v1/workflows/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions." - description: "Fetch existing workflow definitions matching input filters." - operationId: "ListWorkflows" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowList" - /api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}: - get: - tags: - - "AdminService" - summary: "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition." - description: "Retrieve an existing workflow definition." - operationId: "GetWorkflow" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - - name: "id.resource_type" - in: "query" - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to.\n\n - DATASET: A dataset represents an entity modeled\ - \ in Flyte DataCatalog. A Dataset is also a versioned entity and can be\ - \ a compilation of multiple individual objects.\nEventually all Catalog\ - \ objects should be modeled similar to Flyte Objects. The Dataset entities\ - \ makes it possible for the UI and CLI to act on the objects \nin a similar\ - \ manner to other Flyte objects" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflow" -definitions: - BlobTypeBlobDimensionality: - type: "string" - enum: - - "SINGLE" - - "MULTIPART" - default: "SINGLE" - CatalogReservationStatus: - type: "string" - description: "Indicates the status of a catalog reservation operation.\n\n - RESERVATION_DISABLED:\ - \ Used to indicate that reservations are disabled\n - RESERVATION_ACQUIRED:\ - \ Used to indicate that a reservation was successfully acquired or extended\n\ - \ - RESERVATION_EXISTS: Used to indicate that an active reservation currently\ - \ exists\n - RESERVATION_RELEASED: Used to indicate that the reservation has\ - \ been successfully released\n - RESERVATION_FAILURE: Used to indicate that\ - \ a reservation operation resulted in failure" - enum: - - "RESERVATION_DISABLED" - - "RESERVATION_ACQUIRED" - - "RESERVATION_EXISTS" - - "RESERVATION_RELEASED" - - "RESERVATION_FAILURE" - default: "RESERVATION_DISABLED" - ComparisonExpressionOperator: - type: "string" - title: "Binary Operator for each expression" - description: "- GT: Greater Than\n - LT: Less Than" - enum: - - "EQ" - - "NEQ" - - "GT" - - "GTE" - - "LT" - - "LTE" - default: "EQ" - ConjunctionExpressionLogicalOperator: - type: "string" - title: "Nested conditions. They can be conjoined using AND / OR\nOrder of evaluation\ - \ is not important as the operators are Commutative" - description: "- AND: Conjunction" - enum: - - "AND" - - "OR" - default: "AND" - ConnectionSetIdList: - type: "object" - properties: - ids: - type: "array" - items: - type: "string" - example: - ids: - - "ids" - - "ids" - ContainerArchitecture: - type: "string" - description: "Architecture-type the container image supports." - enum: - - "UNKNOWN" - - "AMD64" - - "ARM64" - - "ARM_V6" - - "ARM_V7" - default: "UNKNOWN" - DataLoadingConfigLiteralMapFormat: - type: "string" - title: "LiteralMapFormat decides the encoding format in which the input metadata\ - \ should be made available to the containers.\nIf the user has access to the\ - \ protocol buffer definitions, it is recommended to use the PROTO format.\n\ - JSON and YAML do not need any protobuf definitions to read it\nAll remote references\ - \ in core.LiteralMap are replaced with local filesystem references (the data\ - \ is downloaded to local filesystem)" - description: "- JSON: JSON / YAML for the metadata (which contains inlined primitive\ - \ values). The representation is inline with the standard json specification\ - \ as specified - https://www.json.org/json-en.html\n - PROTO: Proto is a serialized\ - \ binary of `core.LiteralMap` defined in flyteidl/core" - enum: - - "JSON" - - "YAML" - - "PROTO" - default: "JSON" - ExecutionErrorErrorKind: - type: "string" - title: "Error type: System or User" - enum: - - "UNKNOWN" - - "USER" - - "SYSTEM" - default: "UNKNOWN" - ExecutionMetadataExecutionMode: - type: "string" - description: "The method by which this execution was launched.\n\n - MANUAL: The\ - \ default execution mode, MANUAL implies that an execution was launched by an\ - \ individual.\n - SCHEDULED: A schedule triggered this execution launch.\n -\ - \ SYSTEM: A system process was responsible for launching this execution rather\ - \ an individual.\n - RELAUNCH: This execution was launched with identical inputs\ - \ as a previous execution.\n - CHILD_WORKFLOW: This execution was triggered\ - \ by another execution.\n - RECOVERED: This execution was recovered from another\ - \ execution." - enum: - - "MANUAL" - - "SCHEDULED" - - "SYSTEM" - - "RELAUNCH" - - "CHILD_WORKFLOW" - - "RECOVERED" - default: "MANUAL" - IOStrategyDownloadMode: - type: "string" - title: "Mode to use for downloading" - description: "- DOWNLOAD_EAGER: All data will be downloaded before the main container\ - \ is executed\n - DOWNLOAD_STREAM: Data will be downloaded as a stream and an\ - \ End-Of-Stream marker will be written to indicate all data has been downloaded.\ - \ Refer to protocol for details\n - DO_NOT_DOWNLOAD: Large objects (offloaded)\ - \ will not be downloaded" - enum: - - "DOWNLOAD_EAGER" - - "DOWNLOAD_STREAM" - - "DO_NOT_DOWNLOAD" - default: "DOWNLOAD_EAGER" - IOStrategyUploadMode: - type: "string" - title: "Mode to use for uploading" - description: "- UPLOAD_ON_EXIT: All data will be uploaded after the main container\ - \ exits\n - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol\ - \ specification for details\n - DO_NOT_UPLOAD: Data will not be uploaded, only\ - \ references will be written" - enum: - - "UPLOAD_ON_EXIT" - - "UPLOAD_EAGER" - - "DO_NOT_UPLOAD" - default: "UPLOAD_ON_EXIT" - PluginOverrideMissingPluginBehavior: - type: "string" - description: " - FAIL: By default, if this plugin is not enabled for a Flyte deployment\ - \ then execution will fail.\n - USE_DEFAULT: Uses the system-configured default\ - \ implementation." - enum: - - "FAIL" - - "USE_DEFAULT" - default: "FAIL" - ProjectProjectState: - type: "string" - description: "The state of the project is used to control its visibility in the\ - \ UI and validity.\n\n - ACTIVE: By default, all projects are considered active.\n\ - \ - ARCHIVED: Archived projects are no longer visible in the UI and no longer\ - \ valid.\n - SYSTEM_GENERATED: System generated projects that aren't explicitly\ - \ created or managed by a user." - enum: - - "ACTIVE" - - "ARCHIVED" - - "SYSTEM_GENERATED" - default: "ACTIVE" - QualityOfServiceTier: - type: "string" - description: " - UNDEFINED: Default: no quality of service specified." - enum: - - "UNDEFINED" - - "HIGH" - - "MEDIUM" - - "LOW" - default: "UNDEFINED" - ResourcesResourceEntry: - type: "object" - properties: - name: - description: "Resource name." - $ref: "#/definitions/ResourcesResourceName" - value: - type: "string" - title: "Value must be a valid k8s quantity. See\nhttps://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80" - description: "Encapsulates a resource name and value." - example: - name: {} - value: "value" - ResourcesResourceName: - type: "string" - description: "Known resource names.\n\n - EPHEMERAL_STORAGE: For Kubernetes-based\ - \ deployments, pods use ephemeral local storage for scratch space, caching,\ - \ and for logs." - enum: - - "UNKNOWN" - - "CPU" - - "GPU" - - "MEMORY" - - "STORAGE" - - "EPHEMERAL_STORAGE" - default: "UNKNOWN" - RuntimeMetadataRuntimeType: - type: "string" - enum: - - "OTHER" - - "FLYTE_SDK" - default: "OTHER" - SchemaColumnSchemaColumnType: - type: "string" - enum: - - "INTEGER" - - "FLOAT" - - "STRING" - - "BOOLEAN" - - "DATETIME" - - "DURATION" - default: "INTEGER" - SchemaTypeSchemaColumn: - type: "object" - properties: - name: - type: "string" - title: "A unique name -within the schema type- for the column" - type: - description: "The column type. This allows a limited set of types currently." - $ref: "#/definitions/SchemaColumnSchemaColumnType" - example: - name: "name" - type: {} - SecretMountType: - type: "string" - description: " - ANY: Default case, indicates the client can tolerate either mounting\ - \ options.\n - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as\ - \ an environment variable.\n - FILE: FILE indicates the secret needs to be mounted\ - \ as a file." - enum: - - "ANY" - - "ENV_VAR" - - "FILE" - default: "ANY" - SortDirection: - type: "string" - description: " - DESCENDING: By default, fields are sorted in descending order." - enum: - - "DESCENDING" - - "ASCENDING" - default: "DESCENDING" - SqlDialect: - type: "string" - description: "The dialect of the SQL statement. This is used to validate and parse\ - \ SQL statements at compilation time to avoid\nexpensive runtime operations.\ - \ If set to an unsupported dialect, no validation will be done on the statement.\n\ - We support the following dialect: ansi, hive." - enum: - - "UNDEFINED" - - "ANSI" - - "HIVE" - - "OTHER" - default: "UNDEFINED" - StructuredDatasetTypeDatasetColumn: - type: "object" - properties: - name: - type: "string" - description: "A unique name within the schema type for the column." - literal_type: - description: "The column type." - $ref: "#/definitions/coreLiteralType" - example: - name: "name" - TaskExecutionMetadataInstanceClass: - type: "string" - description: "Includes the broad category of machine used for this specific task\ - \ execution.\n\n - DEFAULT: The default instance class configured for the flyte\ - \ application platform.\n - INTERRUPTIBLE: The instance class configured for\ - \ interruptible tasks." - enum: - - "DEFAULT" - - "INTERRUPTIBLE" - default: "DEFAULT" - TaskLogMessageFormat: - type: "string" - enum: - - "UNKNOWN" - - "CSV" - - "JSON" - default: "UNKNOWN" - WorkflowMetadataOnFailurePolicy: - type: "string" - title: "Failure Handling Strategy" - description: "- FAIL_IMMEDIATELY: FAIL_IMMEDIATELY instructs the system to fail\ - \ as soon as a node fails in the workflow. It'll automatically\nabort all currently\ - \ running nodes and clean up resources before finally marking the workflow executions\ - \ as\nfailed.\n - FAIL_AFTER_EXECUTABLE_NODES_COMPLETE: FAIL_AFTER_EXECUTABLE_NODES_COMPLETE\ - \ instructs the system to make as much progress as it can. The system will\n\ - not alter the dependencies of the execution graph so any node that depend on\ - \ the failed node will not be run.\nOther nodes that will be executed to completion\ - \ before cleaning up resources and marking the workflow\nexecution as failed." - enum: - - "FAIL_IMMEDIATELY" - - "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" - default: "FAIL_IMMEDIATELY" - adminAbortMetadata: - type: "object" - properties: - cause: - type: "string" - description: "In the case of a user-specified abort, this will pass along\ - \ the user-supplied cause." - principal: - type: "string" - title: "Identifies the entity (if any) responsible for terminating the execution" - description: "Specifies metadata around an aborted workflow execution." - example: - principal: "principal" - cause: "cause" - adminAnnotations: - type: "object" - properties: - values: - type: "object" - description: "Map of custom annotations to be applied to the execution resource." - additionalProperties: - type: "string" - description: "Annotation values to be applied to an execution resource.\nIn the\ - \ future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how\ - \ to merge annotations defined at registration and execution time." - example: - values: - key: "values" - adminAuth: - type: "object" - properties: - assumable_iam_role: - type: "string" - description: "Defines an optional iam role which will be used for tasks run\ - \ in executions created with this launch plan." - kubernetes_service_account: - type: "string" - description: "Defines an optional kubernetes service account which will be\ - \ used for tasks run in executions created with this launch plan." - description: "Defines permissions associated with executions created by this launch\ - \ plan spec.\nUse either of these roles when they have permissions required\ - \ by your workflow execution.\nDeprecated." - example: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - adminAuthRole: - type: "object" - properties: - assumable_iam_role: - type: "string" - description: "Defines an optional iam role which will be used for tasks run\ - \ in executions created with this launch plan." - kubernetes_service_account: - type: "string" - description: "Defines an optional kubernetes service account which will be\ - \ used for tasks run in executions created with this launch plan." - description: "Defines permissions associated with executions created by this launch\ - \ plan spec.\nUse either of these roles when they have permissions required\ - \ by your workflow execution.\nDeprecated." - example: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - adminClusterAssignment: - type: "object" - properties: - cluster_pool_name: - type: "string" - description: "Encapsulates specifications for routing an execution onto a specific\ - \ cluster." - example: - cluster_pool_name: "cluster_pool_name" - adminClusterResourceAttributes: - type: "object" - properties: - attributes: - type: "object" - description: "Custom resource attributes which will be applied in cluster\ - \ resource creation (e.g. quotas).\nMap keys are the *case-sensitive* names\ - \ of variables in templatized resource files.\nMap values should be the\ - \ custom values which get substituted during resource creation." - additionalProperties: - type: "string" - example: - attributes: - key: "attributes" - adminCronSchedule: - type: "object" - properties: - schedule: - type: "string" - title: "Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;\n\ - Also supports nonstandard predefined scheduling definitions\nas described\ - \ by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions\n\ - except @reboot" - offset: - type: "string" - title: "ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations" - description: "Options for schedules to run according to a cron expression." - example: - schedule: "schedule" - offset: "offset" - adminDomain: - type: "object" - properties: - id: - type: "string" - description: "Globally unique domain name." - name: - type: "string" - description: "Display name." - description: "Namespace within a project commonly used to differentiate between\ - \ different service instances.\ne.g. \"production\", \"development\", etc." - example: - name: "name" - id: "id" - adminEmailNotification: - type: "object" - properties: - recipients_email: - type: "array" - title: "The list of email addresses recipients for this notification.\n+required" - items: - type: "string" - description: "Defines an email notification specification." - example: - recipients_email: - - "recipients_email" - - "recipients_email" - adminExecution: - type: "object" - properties: - id: - description: "Unique identifier of the workflow execution." - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - spec: - description: "User-provided configuration and inputs for launching the execution." - $ref: "#/definitions/adminExecutionSpec" - closure: - description: "Execution results." - $ref: "#/definitions/adminExecutionClosure" - description: "A workflow execution represents an instantiated workflow, including\ - \ all inputs and additional\nmetadata as well as computed results included state,\ - \ outputs, and duration-based attributes.\nUsed as a response object used in\ - \ Get and List execution requests." - example: - id: - domain: "domain" - name: "name" - project: "project" - closure: - outputs: - values: - literals: {} - uri: "uri" - phase: {} - workflow_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - created_at: "2000-01-23T04:56:07.000+00:00" - state_change_details: - occurred_at: "2000-01-23T04:56:07.000+00:00" - principal: "principal" - state: {} - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - computed_inputs: - literals: {} - abort_metadata: - principal: "principal" - cause: "cause" - updated_at: "2000-01-23T04:56:07.000+00:00" - started_at: "2000-01-23T04:56:07.000+00:00" - abort_cause: "abort_cause" - output_data: - literals: {} - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - spec: - metadata: - mode: {} - principal: "principal" - parent_node_execution: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - reference_execution: - domain: "domain" - name: "name" - project: "project" - scheduled_at: "2000-01-23T04:56:07.000+00:00" - nesting: 0 - system_metadata: - execution_cluster: "execution_cluster" - disable_all: true - inputs: - literals: {} - annotations: - values: - key: "values" - max_parallelism: 6 - interruptible: true - labels: - values: - key: "values" - launch_plan: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - raw_output_data_config: - output_location_prefix: "output_location_prefix" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - notifications: - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - adminExecutionClosure: - type: "object" - properties: - outputs: - description: "Output URI in the case of a successful execution.\nDEPRECATED.\ - \ Use GetExecutionData to fetch output data instead." - $ref: "#/definitions/adminLiteralMapBlob" - error: - description: "Error information in the case of a failed execution." - $ref: "#/definitions/coreExecutionError" - abort_cause: - type: "string" - description: "In the case of a user-specified abort, this will pass along\ - \ the user-supplied cause." - abort_metadata: - description: "In the case of a user-specified abort, this will pass along\ - \ the user and their supplied cause." - $ref: "#/definitions/adminAbortMetadata" - output_data: - description: "Raw output data produced by this execution.\nDEPRECATED. Use\ - \ GetExecutionData to fetch output data instead." - $ref: "#/definitions/coreLiteralMap" - computed_inputs: - title: "Inputs computed and passed for execution.\ncomputed_inputs depends\ - \ on inputs in ExecutionSpec, fixed and default inputs in launch plan" - $ref: "#/definitions/coreLiteralMap" - phase: - description: "Most recent recorded phase for the execution." - $ref: "#/definitions/coreWorkflowExecutionPhase" - started_at: - type: "string" - format: "date-time" - description: "Reported time at which the execution began running." - duration: - type: "string" - description: "The amount of time the execution spent running." - created_at: - type: "string" - format: "date-time" - description: "Reported time at which the execution was created." - updated_at: - type: "string" - format: "date-time" - description: "Reported time at which the execution was last updated." - notifications: - type: "array" - description: "The notification settings to use after merging the CreateExecutionRequest\ - \ and the launch plan\nnotification settings. An execution launched with\ - \ notifications will always prefer that definition\nto notifications defined\ - \ statically in a launch plan." - items: - $ref: "#/definitions/adminNotification" - workflow_id: - description: "Identifies the workflow definition for this execution." - $ref: "#/definitions/coreIdentifier" - state_change_details: - title: "Provides the details of the last stage change" - $ref: "#/definitions/adminExecutionStateChangeDetails" - title: "Encapsulates the results of the Execution" - example: - outputs: - values: - literals: {} - uri: "uri" - phase: {} - workflow_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - created_at: "2000-01-23T04:56:07.000+00:00" - state_change_details: - occurred_at: "2000-01-23T04:56:07.000+00:00" - principal: "principal" - state: {} - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - computed_inputs: - literals: {} - abort_metadata: - principal: "principal" - cause: "cause" - updated_at: "2000-01-23T04:56:07.000+00:00" - started_at: "2000-01-23T04:56:07.000+00:00" - abort_cause: "abort_cause" - output_data: - literals: {} - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - adminExecutionClusterLabel: - type: "object" - properties: - value: - type: "string" - title: "Label value to determine where the execution will be run" - example: - value: "value" - adminExecutionCreateRequest: - type: "object" - properties: - project: - type: "string" - title: "Name of the project the execution belongs to.\n+required" - domain: - type: "string" - title: "Name of the domain the execution belongs to.\nA domain can be considered\ - \ as a subset within a specific project.\n+required" - name: - type: "string" - title: "User provided value for the resource.\nIf none is provided the system\ - \ will generate a unique string.\n+optional" - spec: - title: "Additional fields necessary to launch the execution.\n+optional" - $ref: "#/definitions/adminExecutionSpec" - inputs: - title: "The inputs required to start the execution. All required inputs must\ - \ be\nincluded in this map. If not required and not provided, defaults apply.\n\ - +optional" - $ref: "#/definitions/coreLiteralMap" - description: "Request to launch an execution with the given project, domain and\ - \ optionally-assigned name." - adminExecutionCreateResponse: - type: "object" - properties: - id: - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - description: "The unique identifier for a successfully created execution.\nIf\ - \ the name was *not* specified in the create request, this identifier will include\ - \ a generated name." - example: - id: - domain: "domain" - name: "name" - project: "project" - adminExecutionList: - type: "object" - properties: - executions: - type: "array" - items: - $ref: "#/definitions/adminExecution" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Used as a response for request to list executions.\nSee :ref:`ref_flyteidl.admin.Execution`\ - \ for more details" - example: - executions: - - id: - domain: "domain" - name: "name" - project: "project" - closure: - outputs: - values: - literals: {} - uri: "uri" - phase: {} - workflow_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - created_at: "2000-01-23T04:56:07.000+00:00" - state_change_details: - occurred_at: "2000-01-23T04:56:07.000+00:00" - principal: "principal" - state: {} - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - computed_inputs: - literals: {} - abort_metadata: - principal: "principal" - cause: "cause" - updated_at: "2000-01-23T04:56:07.000+00:00" - started_at: "2000-01-23T04:56:07.000+00:00" - abort_cause: "abort_cause" - output_data: - literals: {} - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - spec: - metadata: - mode: {} - principal: "principal" - parent_node_execution: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - reference_execution: - domain: "domain" - name: "name" - project: "project" - scheduled_at: "2000-01-23T04:56:07.000+00:00" - nesting: 0 - system_metadata: - execution_cluster: "execution_cluster" - disable_all: true - inputs: - literals: {} - annotations: - values: - key: "values" - max_parallelism: 6 - interruptible: true - labels: - values: - key: "values" - launch_plan: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - raw_output_data_config: - output_location_prefix: "output_location_prefix" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - notifications: - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - - id: - domain: "domain" - name: "name" - project: "project" - closure: - outputs: - values: - literals: {} - uri: "uri" - phase: {} - workflow_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - created_at: "2000-01-23T04:56:07.000+00:00" - state_change_details: - occurred_at: "2000-01-23T04:56:07.000+00:00" - principal: "principal" - state: {} - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - computed_inputs: - literals: {} - abort_metadata: - principal: "principal" - cause: "cause" - updated_at: "2000-01-23T04:56:07.000+00:00" - started_at: "2000-01-23T04:56:07.000+00:00" - abort_cause: "abort_cause" - output_data: - literals: {} - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - spec: - metadata: - mode: {} - principal: "principal" - parent_node_execution: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - reference_execution: - domain: "domain" - name: "name" - project: "project" - scheduled_at: "2000-01-23T04:56:07.000+00:00" - nesting: 0 - system_metadata: - execution_cluster: "execution_cluster" - disable_all: true - inputs: - literals: {} - annotations: - values: - key: "values" - max_parallelism: 6 - interruptible: true - labels: - values: - key: "values" - launch_plan: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - raw_output_data_config: - output_location_prefix: "output_location_prefix" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - notifications: - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - token: "token" - adminExecutionMetadata: - type: "object" - properties: - mode: - $ref: "#/definitions/ExecutionMetadataExecutionMode" - principal: - type: "string" - description: "Identifier of the entity that triggered this execution.\nFor\ - \ systems using back-end authentication any value set here will be discarded\ - \ in favor of the\nauthenticated user context." - nesting: - type: "integer" - format: "int64" - description: "Indicates the nestedness of this execution.\nIf a user launches\ - \ a workflow execution, the default nesting is 0.\nIf this execution further\ - \ launches a workflow (child workflow), the nesting level is incremented\ - \ by 0 => 1\nGenerally, if workflow at nesting level k launches a workflow\ - \ then the child workflow will have\nnesting = k + 1." - scheduled_at: - type: "string" - format: "date-time" - description: "For scheduled executions, the requested time for execution for\ - \ this specific schedule invocation." - parent_node_execution: - title: "Which subworkflow node (if any) launched this execution" - $ref: "#/definitions/coreNodeExecutionIdentifier" - reference_execution: - description: "Optional, a reference workflow execution related to this execution.\n\ - In the case of a relaunch, this references the original workflow execution." - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - system_metadata: - description: "Optional, platform-specific metadata about the execution.\n\ - In this the future this may be gated behind an ACL or some sort of authorization." - $ref: "#/definitions/adminSystemMetadata" - description: "Represents attributes about an execution which are not required\ - \ to launch the execution but are useful to record.\nThese attributes are assigned\ - \ at launch time and do not change." - example: - mode: {} - principal: "principal" - parent_node_execution: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - reference_execution: - domain: "domain" - name: "name" - project: "project" - scheduled_at: "2000-01-23T04:56:07.000+00:00" - nesting: 0 - system_metadata: - execution_cluster: "execution_cluster" - adminExecutionQueueAttributes: - type: "object" - properties: - tags: - type: "array" - description: "Tags used for assigning execution queues for tasks defined within\ - \ this project." - items: - type: "string" - example: - tags: - - "tags" - - "tags" - adminExecutionRecoverRequest: - type: "object" - properties: - id: - description: "Identifier of the workflow execution to recover." - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - name: - type: "string" - title: "User provided value for the recovered execution.\nIf none is provided\ - \ the system will generate a unique string.\n+optional" - metadata: - description: "Additional metadata which will be used to overwrite any metadata\ - \ in the reference execution when triggering a recovery execution." - $ref: "#/definitions/adminExecutionMetadata" - description: "Request to recover the referenced execution." - adminExecutionRelaunchRequest: - type: "object" - properties: - id: - title: "Identifier of the workflow execution to relaunch.\n+required" - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - name: - type: "string" - title: "User provided value for the relaunched execution.\nIf none is provided\ - \ the system will generate a unique string.\n+optional" - description: "Request to relaunch the referenced execution." - adminExecutionSpec: - type: "object" - properties: - launch_plan: - title: "Launch plan to be executed" - $ref: "#/definitions/coreIdentifier" - inputs: - title: "Input values to be passed for the execution" - $ref: "#/definitions/coreLiteralMap" - metadata: - title: "Metadata for the execution" - $ref: "#/definitions/adminExecutionMetadata" - notifications: - description: "List of notifications based on Execution status transitions\n\ - When this list is not empty it is used rather than any notifications defined\ - \ in the referenced launch plan.\nWhen this list is empty, the notifications\ - \ defined for the launch plan will be applied." - $ref: "#/definitions/adminNotificationList" - disable_all: - type: "boolean" - format: "boolean" - description: "This should be set to true if all notifications are intended\ - \ to be disabled for this execution." - labels: - description: "Labels to apply to the execution resource." - $ref: "#/definitions/adminLabels" - annotations: - description: "Annotations to apply to the execution resource." - $ref: "#/definitions/adminAnnotations" - security_context: - description: "Optional: security context override to apply this execution." - $ref: "#/definitions/coreSecurityContext" - auth_role: - description: "Optional: auth override to apply this execution." - $ref: "#/definitions/adminAuthRole" - quality_of_service: - description: "Indicates the runtime priority of the execution." - $ref: "#/definitions/coreQualityOfService" - max_parallelism: - type: "integer" - format: "int32" - description: "Controls the maximum number of task nodes that can be run in\ - \ parallel for the entire workflow.\nThis is useful to achieve fairness.\ - \ Note: MapTasks are regarded as one unit,\nand parallelism/concurrency\ - \ of MapTasks is independent from this." - raw_output_data_config: - title: "User setting to configure where to store offloaded data (i.e. Blobs,\ - \ structured datasets, query data, etc.).\nThis should be a prefix like\ - \ s3://my-bucket/my-data" - $ref: "#/definitions/adminRawOutputDataConfig" - cluster_assignment: - description: "Controls how to select an available cluster on which this execution\ - \ should run." - $ref: "#/definitions/adminClusterAssignment" - interruptible: - type: "boolean" - format: "boolean" - description: "Allows for the interruptible flag of a workflow to be overwritten\ - \ for a single execution.\nOmitting this field uses the workflow's value\ - \ as a default.\nAs we need to distinguish between the field not being provided\ - \ and its default value false, we have to use a wrapper\naround the bool\ - \ field." - description: "An ExecutionSpec encompasses all data used to launch this execution.\ - \ The Spec does not change over the lifetime\nof an execution as it progresses\ - \ across phase changes." - example: - metadata: - mode: {} - principal: "principal" - parent_node_execution: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - reference_execution: - domain: "domain" - name: "name" - project: "project" - scheduled_at: "2000-01-23T04:56:07.000+00:00" - nesting: 0 - system_metadata: - execution_cluster: "execution_cluster" - disable_all: true - inputs: - literals: {} - annotations: - values: - key: "values" - max_parallelism: 6 - interruptible: true - labels: - values: - key: "values" - launch_plan: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - raw_output_data_config: - output_location_prefix: "output_location_prefix" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - notifications: - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - adminExecutionState: - type: "string" - description: "The state of the execution is used to control its visibility in\ - \ the UI/CLI.\n\n - EXECUTION_ACTIVE: By default, all executions are considered\ - \ active.\n - EXECUTION_ARCHIVED: Archived executions are no longer visible\ - \ in the UI." - enum: - - "EXECUTION_ACTIVE" - - "EXECUTION_ARCHIVED" - default: "EXECUTION_ACTIVE" - adminExecutionStateChangeDetails: - type: "object" - properties: - state: - description: "The state of the execution is used to control its visibility\ - \ in the UI/CLI." - $ref: "#/definitions/adminExecutionState" - occurred_at: - type: "string" - format: "date-time" - description: "This timestamp represents when the state changed." - principal: - type: "string" - title: "Identifies the entity (if any) responsible for causing the state change\ - \ of the execution" - example: - occurred_at: "2000-01-23T04:56:07.000+00:00" - principal: "principal" - state: {} - adminExecutionTerminateRequest: - type: "object" - properties: - id: - description: "Uniquely identifies the individual workflow execution to be\ - \ terminated." - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - cause: - type: "string" - description: "Optional reason for aborting." - description: "Request to terminate an in-progress execution. This action is irreversible.\n\ - If an execution is already terminated, this request will simply be a no-op.\n\ - This request will fail if it references a non-existent execution.\nIf the request\ - \ succeeds the phase \"ABORTED\" will be recorded for the termination\nwith\ - \ the optional cause added to the output_result." - adminExecutionTerminateResponse: - type: "object" - adminExecutionUpdateRequest: - type: "object" - properties: - id: - title: "Identifier of the execution to update" - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - state: - title: "State to set as the new value active/archive" - $ref: "#/definitions/adminExecutionState" - adminExecutionUpdateResponse: - type: "object" - adminFixedRate: - type: "object" - properties: - value: - type: "integer" - format: "int64" - unit: - $ref: "#/definitions/adminFixedRateUnit" - description: "Option for schedules run at a certain frequency e.g. every 2 minutes." - example: - unit: {} - value: 0 - adminFixedRateUnit: - type: "string" - description: "Represents a frequency at which to run a schedule." - enum: - - "MINUTE" - - "HOUR" - - "DAY" - default: "MINUTE" - adminGetVersionResponse: - type: "object" - properties: - control_plane_version: - title: "The control plane version information. FlyteAdmin and related components\n\ - form the control plane of Flyte" - $ref: "#/definitions/adminVersion" - title: "Response for the GetVersion API" - example: - control_plane_version: - Version: "Version" - Build: "Build" - BuildTime: "BuildTime" - adminLabels: - type: "object" - properties: - values: - type: "object" - description: "Map of custom labels to be applied to the execution resource." - additionalProperties: - type: "string" - description: "Label values to be applied to an execution resource.\nIn the future\ - \ a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge\ - \ labels defined at registration and execution time." - example: - values: - key: "values" - adminLaunchPlan: - type: "object" - properties: - id: - description: "Uniquely identifies a launch plan entity." - $ref: "#/definitions/coreIdentifier" - spec: - description: "User-provided launch plan details, including reference workflow,\ - \ inputs and other metadata." - $ref: "#/definitions/adminLaunchPlanSpec" - closure: - description: "Values computed by the flyte platform after launch plan registration." - $ref: "#/definitions/adminLaunchPlanClosure" - description: "A LaunchPlan provides the capability to templatize workflow executions.\n\ - Launch plans simplify associating one or more schedules, inputs and notifications\ - \ with your workflows.\nLaunch plans can be shared and used to trigger executions\ - \ with predefined inputs even when a workflow\ndefinition doesn't necessarily\ - \ have a default value for said input." - example: - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - expected_outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - updated_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - state: {} - expected_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - required: true - spec: - workflow_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - fixed_inputs: - literals: {} - role: "role" - auth: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - entity_metadata: - schedule: - kickoff_time_input_arg: "kickoff_time_input_arg" - cron_schedule: - schedule: "schedule" - offset: "offset" - cron_expression: "cron_expression" - rate: - unit: {} - value: 0 - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - annotations: - values: - key: "values" - max_parallelism: 5 - interruptible: true - labels: - values: - key: "values" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - raw_output_data_config: - output_location_prefix: "output_location_prefix" - default_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - required: true - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - adminLaunchPlanClosure: - type: "object" - properties: - state: - description: "Indicate the Launch plan state." - $ref: "#/definitions/adminLaunchPlanState" - expected_inputs: - title: "Indicates the set of inputs expected when creating an execution with\ - \ the Launch plan" - $ref: "#/definitions/coreParameterMap" - expected_outputs: - title: "Indicates the set of outputs expected to be produced by creating an\ - \ execution with the Launch plan" - $ref: "#/definitions/coreVariableMap" - created_at: - type: "string" - format: "date-time" - description: "Time at which the launch plan was created." - updated_at: - type: "string" - format: "date-time" - description: "Time at which the launch plan was last updated." - description: "Values computed by the flyte platform after launch plan registration.\n\ - These include expected_inputs required to be present in a CreateExecutionRequest\n\ - to launch the reference workflow as well timestamp values associated with the\ - \ launch plan." - example: - expected_outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - updated_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - state: {} - expected_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - required: true - adminLaunchPlanCreateRequest: - type: "object" - properties: - id: - description: "Uniquely identifies a launch plan entity." - $ref: "#/definitions/coreIdentifier" - spec: - description: "User-provided launch plan details, including reference workflow,\ - \ inputs and other metadata." - $ref: "#/definitions/adminLaunchPlanSpec" - description: "Request to register a launch plan. The included LaunchPlanSpec may\ - \ have a complete or incomplete set of inputs required\nto launch a workflow\ - \ execution. By default all launch plans are registered in state INACTIVE. If\ - \ you wish to\nset the state to ACTIVE, you must submit a LaunchPlanUpdateRequest,\ - \ after you have successfully created a launch plan." - adminLaunchPlanCreateResponse: - type: "object" - adminLaunchPlanList: - type: "object" - properties: - launch_plans: - type: "array" - items: - $ref: "#/definitions/adminLaunchPlan" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Response object for list launch plan requests.\nSee :ref:`ref_flyteidl.admin.LaunchPlan`\ - \ for more details" - example: - launch_plans: - - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - expected_outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - updated_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - state: {} - expected_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - required: true - spec: - workflow_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - fixed_inputs: - literals: {} - role: "role" - auth: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - entity_metadata: - schedule: - kickoff_time_input_arg: "kickoff_time_input_arg" - cron_schedule: - schedule: "schedule" - offset: "offset" - cron_expression: "cron_expression" - rate: - unit: {} - value: 0 - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - annotations: - values: - key: "values" - max_parallelism: 5 - interruptible: true - labels: - values: - key: "values" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - raw_output_data_config: - output_location_prefix: "output_location_prefix" - default_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - required: true - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - expected_outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - updated_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - state: {} - expected_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - required: true - spec: - workflow_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - fixed_inputs: - literals: {} - role: "role" - auth: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - entity_metadata: - schedule: - kickoff_time_input_arg: "kickoff_time_input_arg" - cron_schedule: - schedule: "schedule" - offset: "offset" - cron_expression: "cron_expression" - rate: - unit: {} - value: 0 - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - annotations: - values: - key: "values" - max_parallelism: 5 - interruptible: true - labels: - values: - key: "values" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - raw_output_data_config: - output_location_prefix: "output_location_prefix" - default_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - required: true - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - token: "token" - adminLaunchPlanMetadata: - type: "object" - properties: - schedule: - title: "Schedule to execute the Launch Plan" - $ref: "#/definitions/adminSchedule" - notifications: - type: "array" - title: "List of notifications based on Execution status transitions" - items: - $ref: "#/definitions/adminNotification" - description: "Additional launch plan attributes included in the LaunchPlanSpec\ - \ not strictly required to launch\nthe reference workflow." - example: - schedule: - kickoff_time_input_arg: "kickoff_time_input_arg" - cron_schedule: - schedule: "schedule" - offset: "offset" - cron_expression: "cron_expression" - rate: - unit: {} - value: 0 - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - adminLaunchPlanSpec: - type: "object" - properties: - workflow_id: - title: "Reference to the Workflow template that the launch plan references" - $ref: "#/definitions/coreIdentifier" - entity_metadata: - title: "Metadata for the Launch Plan" - $ref: "#/definitions/adminLaunchPlanMetadata" - default_inputs: - description: "Input values to be passed for the execution.\nThese can be overriden\ - \ when an execution is created with this launch plan." - $ref: "#/definitions/coreParameterMap" - fixed_inputs: - description: "Fixed, non-overridable inputs for the Launch Plan.\nThese can\ - \ not be overriden when an execution is created with this launch plan." - $ref: "#/definitions/coreLiteralMap" - role: - type: "string" - title: "String to indicate the role to use to execute the workflow underneath" - labels: - description: "Custom labels to be applied to the execution resource." - $ref: "#/definitions/adminLabels" - annotations: - description: "Custom annotations to be applied to the execution resource." - $ref: "#/definitions/adminAnnotations" - auth: - description: "Indicates the permission associated with workflow executions\ - \ triggered with this launch plan." - $ref: "#/definitions/adminAuth" - auth_role: - $ref: "#/definitions/adminAuthRole" - security_context: - title: "Indicates security context for permissions triggered with this launch\ - \ plan" - $ref: "#/definitions/coreSecurityContext" - quality_of_service: - description: "Indicates the runtime priority of the execution." - $ref: "#/definitions/coreQualityOfService" - raw_output_data_config: - description: "Encapsulates user settings pertaining to offloaded data (i.e.\ - \ Blobs, Schema, query data, etc.)." - $ref: "#/definitions/adminRawOutputDataConfig" - max_parallelism: - type: "integer" - format: "int32" - description: "Controls the maximum number of tasknodes that can be run in\ - \ parallel for the entire workflow.\nThis is useful to achieve fairness.\ - \ Note: MapTasks are regarded as one unit,\nand parallelism/concurrency\ - \ of MapTasks is independent from this." - interruptible: - type: "boolean" - format: "boolean" - description: "Allows for the interruptible flag of a workflow to be overwritten\ - \ for a single execution.\nOmitting this field uses the workflow's value\ - \ as a default.\nAs we need to distinguish between the field not being provided\ - \ and its default value false, we have to use a wrapper\naround the bool\ - \ field." - description: "User-provided launch plan definition and configuration values." - example: - workflow_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - fixed_inputs: - literals: {} - role: "role" - auth: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - entity_metadata: - schedule: - kickoff_time_input_arg: "kickoff_time_input_arg" - cron_schedule: - schedule: "schedule" - offset: "offset" - cron_expression: "cron_expression" - rate: - unit: {} - value: 0 - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - annotations: - values: - key: "values" - max_parallelism: 5 - interruptible: true - labels: - values: - key: "values" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - raw_output_data_config: - output_location_prefix: "output_location_prefix" - default_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - required: true - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - adminLaunchPlanState: - type: "string" - description: "By default any launch plan regardless of state can be used to launch\ - \ a workflow execution.\nHowever, at most one version of a launch plan\n(e.g.\ - \ a NamedEntityIdentifier set of shared project, domain and name values) can\ - \ be\nactive at a time in regards to *schedules*. That is, at most one schedule\ - \ in a NamedEntityIdentifier\ngroup will be observed and trigger executions\ - \ at a defined cadence." - enum: - - "INACTIVE" - - "ACTIVE" - default: "INACTIVE" - adminLaunchPlanUpdateRequest: - type: "object" - properties: - id: - description: "Identifier of launch plan for which to change state.\n+required." - $ref: "#/definitions/coreIdentifier" - state: - description: "Desired state to apply to the launch plan.\n+required." - $ref: "#/definitions/adminLaunchPlanState" - title: "Request to set the referenced launch plan state to the configured value.\n\ - See :ref:`ref_flyteidl.admin.LaunchPlan` for more details" - adminLaunchPlanUpdateResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminListMatchableAttributesResponse: - type: "object" - properties: - configurations: - type: "array" - items: - $ref: "#/definitions/adminMatchableAttributesConfiguration" - title: "Response for a request for all matching resource attributes for a resource\ - \ type.\nSee :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for\ - \ more details" - example: - configurations: - - launch_plan: "launch_plan" - workflow: "workflow" - domain: "domain" - project: "project" - attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - interruptible: true - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - launch_plan: "launch_plan" - workflow: "workflow" - domain: "domain" - project: "project" - attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - interruptible: true - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminLiteralMapBlob: - type: "object" - properties: - values: - title: "Data in LiteralMap format" - $ref: "#/definitions/coreLiteralMap" - uri: - type: "string" - title: "In the event that the map is too large, we return a uri to the data" - title: "Input/output data can represented by actual values or a link to where\ - \ values are stored" - example: - values: - literals: {} - uri: "uri" - adminMatchableAttributesConfiguration: - type: "object" - properties: - attributes: - $ref: "#/definitions/adminMatchingAttributes" - domain: - type: "string" - project: - type: "string" - workflow: - type: "string" - launch_plan: - type: "string" - description: "Represents a custom set of attributes applied for either a domain;\ - \ a domain and project; or\ndomain, project and workflow name.\nThese are used\ - \ to override system level defaults for kubernetes cluster resource management,\n\ - default execution values, and more all across different levels of specificity." - example: - launch_plan: "launch_plan" - workflow: "workflow" - domain: "domain" - project: "project" - attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - interruptible: true - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminMatchableResource: - type: "string" - description: "Defines a resource that can be configured by customizable Project-,\ - \ ProjectDomain- or WorkflowAttributes\nbased on matching tags.\n\n - TASK_RESOURCE:\ - \ Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE:\ - \ Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE:\ - \ Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL:\ - \ Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION:\ - \ Configures default quality of service when undefined in an execution spec.\n\ - \ - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for\ - \ a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable\ - \ workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls\ - \ how to select an available cluster on which this execution should run." - enum: - - "TASK_RESOURCE" - - "CLUSTER_RESOURCE" - - "EXECUTION_QUEUE" - - "EXECUTION_CLUSTER_LABEL" - - "QUALITY_OF_SERVICE_SPECIFICATION" - - "PLUGIN_OVERRIDE" - - "WORKFLOW_EXECUTION_CONFIG" - - "CLUSTER_ASSIGNMENT" - default: "TASK_RESOURCE" - adminMatchingAttributes: - type: "object" - properties: - task_resource_attributes: - $ref: "#/definitions/adminTaskResourceAttributes" - cluster_resource_attributes: - $ref: "#/definitions/adminClusterResourceAttributes" - execution_queue_attributes: - $ref: "#/definitions/adminExecutionQueueAttributes" - execution_cluster_label: - $ref: "#/definitions/adminExecutionClusterLabel" - quality_of_service: - $ref: "#/definitions/coreQualityOfService" - plugin_overrides: - $ref: "#/definitions/adminPluginOverrides" - workflow_execution_config: - $ref: "#/definitions/adminWorkflowExecutionConfig" - cluster_assignment: - $ref: "#/definitions/adminClusterAssignment" - description: "Generic container for encapsulating all types of the above attributes\ - \ messages." - example: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - interruptible: true - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminNamedEntity: - type: "object" - properties: - resource_type: - description: "Resource type of the named entity. One of Task, Workflow or\ - \ LaunchPlan." - $ref: "#/definitions/coreResourceType" - id: - $ref: "#/definitions/adminNamedEntityIdentifier" - metadata: - description: "Additional metadata around a named entity." - $ref: "#/definitions/adminNamedEntityMetadata" - description: "Encapsulates information common to a NamedEntity, a Flyte resource\ - \ such as a task,\nworkflow or launch plan. A NamedEntity is exclusively identified\ - \ by its resource type\nand identifier." - example: - metadata: - description: "description" - state: {} - resource_type: {} - id: - domain: "domain" - name: "name" - project: "project" - adminNamedEntityIdentifier: - type: "object" - properties: - project: - type: "string" - description: "Name of the project the resource belongs to." - domain: - type: "string" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - name: - type: "string" - title: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - description: "Encapsulation of fields that identifies a Flyte resource.\nA Flyte\ - \ resource can be a task, workflow or launch plan.\nA resource can internally\ - \ have multiple versions and is uniquely identified\nby project, domain, and\ - \ name." - example: - domain: "domain" - name: "name" - project: "project" - adminNamedEntityIdentifierList: - type: "object" - properties: - entities: - type: "array" - description: "A list of identifiers." - items: - $ref: "#/definitions/adminNamedEntityIdentifier" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - description: "Represents a list of NamedEntityIdentifiers." - example: - entities: - - domain: "domain" - name: "name" - project: "project" - - domain: "domain" - name: "name" - project: "project" - token: "token" - adminNamedEntityList: - type: "object" - properties: - entities: - type: "array" - title: "A list of NamedEntity objects" - items: - $ref: "#/definitions/adminNamedEntity" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - description: "Represents a list of NamedEntityIdentifiers." - example: - entities: - - metadata: - description: "description" - state: {} - resource_type: {} - id: - domain: "domain" - name: "name" - project: "project" - - metadata: - description: "description" - state: {} - resource_type: {} - id: - domain: "domain" - name: "name" - project: "project" - token: "token" - adminNamedEntityMetadata: - type: "object" - properties: - description: - type: "string" - title: "Common description across all versions of the entity\n+optional" - state: - description: "Shared state across all version of the entity\nAt this point\ - \ in time, only workflow entities can have their state archived." - $ref: "#/definitions/adminNamedEntityState" - description: "Additional metadata around a named entity." - example: - description: "description" - state: {} - adminNamedEntityState: - type: "string" - description: "The status of the named entity is used to control its visibility\ - \ in the UI.\n\n - NAMED_ENTITY_ACTIVE: By default, all named entities are considered\ - \ active and under development.\n - NAMED_ENTITY_ARCHIVED: Archived named entities\ - \ are no longer visible in the UI.\n - SYSTEM_GENERATED: System generated entities\ - \ that aren't explicitly created or managed by a user." - enum: - - "NAMED_ENTITY_ACTIVE" - - "NAMED_ENTITY_ARCHIVED" - - "SYSTEM_GENERATED" - default: "NAMED_ENTITY_ACTIVE" - adminNamedEntityUpdateRequest: - type: "object" - properties: - resource_type: - title: "Resource type of the metadata to update\n+required" - $ref: "#/definitions/coreResourceType" - id: - title: "Identifier of the metadata to update\n+required" - $ref: "#/definitions/adminNamedEntityIdentifier" - metadata: - title: "Metadata object to set as the new value\n+required" - $ref: "#/definitions/adminNamedEntityMetadata" - description: "Request to set the referenced named entity state to the configured\ - \ value." - adminNamedEntityUpdateResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminNodeExecutionClosure: - type: "object" - properties: - output_uri: - type: "string" - description: "Links to a remotely stored, serialized core.LiteralMap of node\ - \ execution outputs.\nDEPRECATED. Use GetNodeExecutionData to fetch output\ - \ data instead." - error: - title: "Error information for the Node" - $ref: "#/definitions/coreExecutionError" - output_data: - description: "Raw output data produced by this node execution.\nDEPRECATED.\ - \ Use GetNodeExecutionData to fetch output data instead." - $ref: "#/definitions/coreLiteralMap" - phase: - description: "The last recorded phase for this node execution." - $ref: "#/definitions/coreNodeExecutionPhase" - started_at: - type: "string" - format: "date-time" - description: "Time at which the node execution began running." - duration: - type: "string" - description: "The amount of time the node execution spent running." - created_at: - type: "string" - format: "date-time" - description: "Time at which the node execution was created." - updated_at: - type: "string" - format: "date-time" - description: "Time at which the node execution was last updated." - workflow_node_metadata: - $ref: "#/definitions/flyteidladminWorkflowNodeMetadata" - task_node_metadata: - $ref: "#/definitions/flyteidladminTaskNodeMetadata" - deck_uri: - type: "string" - title: "String location uniquely identifying where the deck HTML file is.\n\ - NativeUrl specifies the url in the format of the configured storage provider\ - \ (e.g. s3://my-bucket/randomstring/suffix.tar)" - description: "Container for node execution details and results." - example: - phase: {} - duration: "duration" - workflow_node_metadata: - executionId: - domain: "domain" - name: "name" - project: "project" - updated_at: "2000-01-23T04:56:07.000+00:00" - task_node_metadata: - catalog_key: - source_task_execution: - task_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - dataset_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - artifact_tag: - name: "name" - artifact_id: "artifact_id" - cache_status: {} - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - output_data: - literals: {} - deck_uri: "deck_uri" - adminNodeExecutionEventRequest: - type: "object" - properties: - request_id: - type: "string" - title: "Unique ID for this request that can be traced between services" - event: - description: "Details about the event that occurred." - $ref: "#/definitions/eventNodeExecutionEvent" - description: "Request to send a notification that a node execution event has occurred." - adminNodeExecutionEventResponse: - type: "object" - adminNodeExecutionGetDataResponse: - type: "object" - properties: - inputs: - description: "Signed url to fetch a core.LiteralMap of node execution inputs.\n\ - Deprecated: Please use full_inputs instead." - $ref: "#/definitions/adminUrlBlob" - outputs: - description: "Signed url to fetch a core.LiteralMap of node execution outputs.\n\ - Deprecated: Please use full_outputs instead." - $ref: "#/definitions/adminUrlBlob" - full_inputs: - description: "Full_inputs will only be populated if they are under a configured\ - \ size threshold." - $ref: "#/definitions/coreLiteralMap" - full_outputs: - description: "Full_outputs will only be populated if they are under a configured\ - \ size threshold." - $ref: "#/definitions/coreLiteralMap" - dynamic_workflow: - description: "Optional Workflow closure for a dynamically generated workflow,\ - \ in the case this node yields a dynamic workflow we return its structure\ - \ here." - $ref: "#/definitions/flyteidladminDynamicWorkflowNodeMetadata" - description: "Response structure for NodeExecutionGetDataRequest which contains\ - \ inputs and outputs for a node execution." - example: - outputs: - bytes: "bytes" - url: "url" - full_inputs: - literals: {} - dynamic_workflow: - compiled_workflow: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - inputs: - bytes: "bytes" - url: "url" - full_outputs: - literals: {} - adminNodeExecutionList: - type: "object" - properties: - node_executions: - type: "array" - items: - $ref: "#/definitions/flyteidladminNodeExecution" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Request structure to retrieve a list of node execution entities.\nSee\ - \ :ref:`ref_flyteidl.admin.NodeExecution` for more details" - example: - node_executions: - - metadata: - retry_group: "retry_group" - is_parent_node: true - spec_node_id: "spec_node_id" - is_dynamic: true - input_uri: "input_uri" - id: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - closure: - phase: {} - duration: "duration" - workflow_node_metadata: - executionId: - domain: "domain" - name: "name" - project: "project" - updated_at: "2000-01-23T04:56:07.000+00:00" - task_node_metadata: - catalog_key: - source_task_execution: - task_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - dataset_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - artifact_tag: - name: "name" - artifact_id: "artifact_id" - cache_status: {} - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - output_data: - literals: {} - deck_uri: "deck_uri" - - metadata: - retry_group: "retry_group" - is_parent_node: true - spec_node_id: "spec_node_id" - is_dynamic: true - input_uri: "input_uri" - id: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - closure: - phase: {} - duration: "duration" - workflow_node_metadata: - executionId: - domain: "domain" - name: "name" - project: "project" - updated_at: "2000-01-23T04:56:07.000+00:00" - task_node_metadata: - catalog_key: - source_task_execution: - task_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - dataset_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - artifact_tag: - name: "name" - artifact_id: "artifact_id" - cache_status: {} - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - output_data: - literals: {} - deck_uri: "deck_uri" - token: "token" - adminNodeExecutionMetaData: - type: "object" - properties: - retry_group: - type: "string" - description: "Node executions are grouped depending on retries of the parent\n\ - Retry group is unique within the context of a parent node." - is_parent_node: - type: "boolean" - format: "boolean" - description: "Boolean flag indicating if the node has child nodes under it\n\ - This can be true when a node contains a dynamic workflow which then produces\n\ - child nodes." - spec_node_id: - type: "string" - title: "Node id of the node in the original workflow\nThis maps to value of\ - \ WorkflowTemplate.nodes[X].id" - is_dynamic: - type: "boolean" - format: "boolean" - description: "Boolean flag indicating if the node has contains a dynamic workflow\ - \ which then produces child nodes.\nThis is to distinguish between subworkflows\ - \ and dynamic workflows which can both have is_parent_node as true." - title: "Represents additional attributes related to a Node Execution" - example: - retry_group: "retry_group" - is_parent_node: true - spec_node_id: "spec_node_id" - is_dynamic: true - adminNotification: - type: "object" - properties: - phases: - type: "array" - title: "A list of phases to which users can associate the notifications to.\n\ - +required" - items: - $ref: "#/definitions/coreWorkflowExecutionPhase" - email: - $ref: "#/definitions/adminEmailNotification" - pager_duty: - $ref: "#/definitions/adminPagerDutyNotification" - slack: - $ref: "#/definitions/adminSlackNotification" - description: "Represents a structure for notifications based on execution status.\n\ - The notification content is configured within flyte admin but can be templatized.\n\ - Future iterations could expose configuring notifications with custom content." - example: - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - adminNotificationList: - type: "object" - properties: - notifications: - type: "array" - items: - $ref: "#/definitions/adminNotification" - example: - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - adminPagerDutyNotification: - type: "object" - properties: - recipients_email: - type: "array" - title: "Currently, PagerDuty notifications leverage email to trigger a notification.\n\ - +required" - items: - type: "string" - description: "Defines a pager duty notification specification." - example: - recipients_email: - - "recipients_email" - - "recipients_email" - adminPluginOverride: - type: "object" - properties: - task_type: - type: "string" - description: "A predefined yet extensible Task type identifier." - plugin_id: - type: "array" - description: "A set of plugin ids which should handle tasks of this type instead\ - \ of the default registered plugin. The list will be tried in order until\ - \ a plugin is found with that id." - items: - type: "string" - missing_plugin_behavior: - description: "Defines the behavior when no plugin from the plugin_id list\ - \ is not found." - $ref: "#/definitions/PluginOverrideMissingPluginBehavior" - description: "This MatchableAttribute configures selecting alternate plugin implementations\ - \ for a given task type.\nIn addition to an override implementation a selection\ - \ of fallbacks can be provided or other modes\nfor handling cases where the\ - \ desired plugin override is not enabled in a given Flyte deployment." - example: - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminPluginOverrides: - type: "object" - properties: - overrides: - type: "array" - items: - $ref: "#/definitions/adminPluginOverride" - example: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminProject: - type: "object" - properties: - id: - type: "string" - description: "Globally unique project name." - name: - type: "string" - description: "Display name." - domains: - type: "array" - items: - $ref: "#/definitions/adminDomain" - description: - type: "string" - labels: - description: "Leverage Labels from flyteidel.admin.common.proto to\ntag projects\ - \ with ownership information." - $ref: "#/definitions/adminLabels" - state: - $ref: "#/definitions/ProjectProjectState" - description: "Top-level namespace used to classify different entities like workflows\ - \ and executions." - example: - name: "name" - domains: - - name: "name" - id: "id" - - name: "name" - id: "id" - description: "description" - id: "id" - state: {} - labels: - values: - key: "values" - adminProjectDomainAttributes: - type: "object" - properties: - project: - type: "string" - description: "Unique project id for which this set of attributes will be applied." - domain: - type: "string" - description: "Unique domain id for which this set of attributes will be applied." - matching_attributes: - $ref: "#/definitions/adminMatchingAttributes" - title: "Defines a set of custom matching attributes which defines resource defaults\ - \ for a project and domain.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - example: - domain: "domain" - project: "project" - matching_attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - interruptible: true - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminProjectDomainAttributesDeleteRequest: - type: "object" - properties: - project: - type: "string" - title: "Unique project id which this set of attributes references.\n+required" - domain: - type: "string" - title: "Unique domain id which this set of attributes references.\n+required" - resource_type: - title: "Which type of matchable attributes to delete.\n+required" - $ref: "#/definitions/adminMatchableResource" - title: "Request to delete a set matchable project domain attribute override.\n\ - For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - adminProjectDomainAttributesDeleteResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminProjectDomainAttributesGetResponse: - type: "object" - properties: - attributes: - $ref: "#/definitions/adminProjectDomainAttributes" - title: "Response to get an individual project domain attribute override.\nFor\ - \ more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - example: - attributes: - domain: "domain" - project: "project" - matching_attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - interruptible: true - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminProjectDomainAttributesUpdateRequest: - type: "object" - properties: - attributes: - title: "+required" - $ref: "#/definitions/adminProjectDomainAttributes" - title: "Sets custom attributes for a project-domain combination.\nFor more info\ - \ on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - adminProjectDomainAttributesUpdateResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminProjectRegisterRequest: - type: "object" - properties: - project: - title: "+required" - $ref: "#/definitions/adminProject" - title: "Adds a new user-project within the Flyte deployment.\nSee :ref:`ref_flyteidl.admin.Project`\ - \ for more details" - adminProjectRegisterResponse: - type: "object" - description: "Purposefully empty, may be updated in the future." - adminProjectUpdateResponse: - type: "object" - description: "Purposefully empty, may be updated in the future." - adminProjects: - type: "object" - properties: - projects: - type: "array" - items: - $ref: "#/definitions/adminProject" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Represents a list of projects.\nSee :ref:`ref_flyteidl.admin.Project`\ - \ for more details" - example: - projects: - - name: "name" - domains: - - name: "name" - id: "id" - - name: "name" - id: "id" - description: "description" - id: "id" - state: {} - labels: - values: - key: "values" - - name: "name" - domains: - - name: "name" - id: "id" - - name: "name" - id: "id" - description: "description" - id: "id" - state: {} - labels: - values: - key: "values" - token: "token" - adminRawOutputDataConfig: - type: "object" - properties: - output_location_prefix: - type: "string" - title: "Prefix for where offloaded data from user workflows will be written\n\ - e.g. s3://bucket/key or s3://bucket/" - description: "Encapsulates user settings pertaining to offloaded data (i.e. Blobs,\ - \ Schema, query data, etc.).\nSee https://github.com/flyteorg/flyte/issues/211\ - \ for more background information." - example: - output_location_prefix: "output_location_prefix" - adminSchedule: - type: "object" - properties: - cron_expression: - type: "string" - title: "Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year\n\ - e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *" - rate: - $ref: "#/definitions/adminFixedRate" - cron_schedule: - $ref: "#/definitions/adminCronSchedule" - kickoff_time_input_arg: - type: "string" - description: "Name of the input variable that the kickoff time will be supplied\ - \ to when the workflow is kicked off." - description: "Defines complete set of information required to trigger an execution\ - \ on a schedule." - example: - kickoff_time_input_arg: "kickoff_time_input_arg" - cron_schedule: - schedule: "schedule" - offset: "offset" - cron_expression: "cron_expression" - rate: - unit: {} - value: 0 - adminSlackNotification: - type: "object" - properties: - recipients_email: - type: "array" - title: "Currently, Slack notifications leverage email to trigger a notification.\n\ - +required" - items: - type: "string" - description: "Defines a slack notification specification." - example: - recipients_email: - - "recipients_email" - - "recipients_email" - adminSort: - type: "object" - properties: - key: - type: "string" - title: "Indicates an attribute to sort the response values.\n+required" - direction: - title: "Indicates the direction to apply sort key for response values.\n+optional" - $ref: "#/definitions/SortDirection" - description: "Specifies sort ordering in a list request." - adminSystemMetadata: - type: "object" - properties: - execution_cluster: - type: "string" - description: "Which execution cluster this execution ran on." - description: "Represents system, rather than user-facing, metadata about an execution." - example: - execution_cluster: "execution_cluster" - adminTask: - type: "object" - properties: - id: - description: "id represents the unique identifier of the task." - $ref: "#/definitions/coreIdentifier" - closure: - description: "closure encapsulates all the fields that maps to a compiled\ - \ version of the task." - $ref: "#/definitions/adminTaskClosure" - description: "Flyte workflows are composed of many ordered tasks. That is small,\ - \ reusable, self-contained logical blocks\narranged to process workflow inputs\ - \ and produce a deterministic set of outputs.\nTasks can come in many varieties\ - \ tuned for specialized behavior." - example: - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - created_at: "2000-01-23T04:56:07.000+00:00" - compiled_task: - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - adminTaskClosure: - type: "object" - properties: - compiled_task: - description: "Represents the compiled representation of the task from the\ - \ specification provided." - $ref: "#/definitions/coreCompiledTask" - created_at: - type: "string" - format: "date-time" - description: "Time at which the task was created." - description: "Compute task attributes which include values derived from the TaskSpec,\ - \ as well as plugin-specific data\nand task metadata." - example: - created_at: "2000-01-23T04:56:07.000+00:00" - compiled_task: - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - adminTaskCreateRequest: - type: "object" - properties: - id: - title: "id represents the unique identifier of the task.\n+required" - $ref: "#/definitions/coreIdentifier" - spec: - title: "Represents the specification for task.\n+required" - $ref: "#/definitions/adminTaskSpec" - title: "Represents a request structure to create a revision of a task.\nSee :ref:`ref_flyteidl.admin.Task`\ - \ for more details" - adminTaskCreateResponse: - type: "object" - description: "Represents a response structure if task creation succeeds." - adminTaskExecutionClosure: - type: "object" - properties: - output_uri: - type: "string" - description: "Path to remote data store where output blob is stored if the\ - \ execution succeeded (and produced outputs).\nDEPRECATED. Use GetTaskExecutionData\ - \ to fetch output data instead." - error: - description: "Error information for the task execution. Populated if the execution\ - \ failed." - $ref: "#/definitions/coreExecutionError" - output_data: - description: "Raw output data produced by this task execution.\nDEPRECATED.\ - \ Use GetTaskExecutionData to fetch output data instead." - $ref: "#/definitions/coreLiteralMap" - phase: - description: "The last recorded phase for this task execution." - $ref: "#/definitions/coreTaskExecutionPhase" - logs: - type: "array" - description: "Detailed log information output by the task execution." - items: - $ref: "#/definitions/coreTaskLog" - started_at: - type: "string" - format: "date-time" - description: "Time at which the task execution began running." - duration: - type: "string" - description: "The amount of time the task execution spent running." - created_at: - type: "string" - format: "date-time" - description: "Time at which the task execution was created." - updated_at: - type: "string" - format: "date-time" - description: "Time at which the task execution was last updated." - custom_info: - description: "Custom data specific to the task plugin." - $ref: "#/definitions/protobufStruct" - reason: - type: "string" - description: "If there is an explanation for the most recent phase transition,\ - \ the reason will capture it." - task_type: - type: "string" - description: "A predefined yet extensible Task type identifier." - metadata: - description: "Metadata around how a task was executed." - $ref: "#/definitions/eventTaskExecutionMetadata" - event_version: - type: "integer" - format: "int32" - description: "The event version is used to indicate versioned changes in how\ - \ data is maintained using this\nproto message. For example, event_verison\ - \ > 0 means that maps tasks logs use the\nTaskExecutionMetadata ExternalResourceInfo\ - \ fields for each subtask rather than the TaskLog\nin this message." - description: "Container for task execution details and results." - example: - phase: {} - reason: "reason" - metadata: - external_resources: - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - instance_class: {} - resource_pool_info: - - allocation_token: "allocation_token" - namespace: "namespace" - - allocation_token: "allocation_token" - namespace: "namespace" - generated_name: "generated_name" - plugin_identifier: "plugin_identifier" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - event_version: 1 - updated_at: "2000-01-23T04:56:07.000+00:00" - custom_info: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - task_type: "task_type" - output_data: - literals: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - adminTaskExecutionEventRequest: - type: "object" - properties: - request_id: - type: "string" - title: "Unique ID for this request that can be traced between services" - event: - description: "Details about the event that occurred." - $ref: "#/definitions/eventTaskExecutionEvent" - description: "Request to send a notification that a task execution event has occurred." - adminTaskExecutionEventResponse: - type: "object" - adminTaskExecutionGetDataResponse: - type: "object" - properties: - inputs: - description: "Signed url to fetch a core.LiteralMap of task execution inputs.\n\ - Deprecated: Please use full_inputs instead." - $ref: "#/definitions/adminUrlBlob" - outputs: - description: "Signed url to fetch a core.LiteralMap of task execution outputs.\n\ - Deprecated: Please use full_outputs instead." - $ref: "#/definitions/adminUrlBlob" - full_inputs: - description: "Full_inputs will only be populated if they are under a configured\ - \ size threshold." - $ref: "#/definitions/coreLiteralMap" - full_outputs: - description: "Full_outputs will only be populated if they are under a configured\ - \ size threshold." - $ref: "#/definitions/coreLiteralMap" - description: "Response structure for TaskExecutionGetDataRequest which contains\ - \ inputs and outputs for a task execution." - example: - outputs: - bytes: "bytes" - url: "url" - full_inputs: - literals: {} - inputs: - bytes: "bytes" - url: "url" - full_outputs: - literals: {} - adminTaskExecutionList: - type: "object" - properties: - task_executions: - type: "array" - items: - $ref: "#/definitions/flyteidladminTaskExecution" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Response structure for a query to list of task execution entities.\nSee\ - \ :ref:`ref_flyteidl.admin.TaskExecution` for more details" - example: - task_executions: - - input_uri: "input_uri" - id: - task_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - is_parent: true - closure: - phase: {} - reason: "reason" - metadata: - external_resources: - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - instance_class: {} - resource_pool_info: - - allocation_token: "allocation_token" - namespace: "namespace" - - allocation_token: "allocation_token" - namespace: "namespace" - generated_name: "generated_name" - plugin_identifier: "plugin_identifier" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - event_version: 1 - updated_at: "2000-01-23T04:56:07.000+00:00" - custom_info: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - task_type: "task_type" - output_data: - literals: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - input_uri: "input_uri" - id: - task_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - is_parent: true - closure: - phase: {} - reason: "reason" - metadata: - external_resources: - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - instance_class: {} - resource_pool_info: - - allocation_token: "allocation_token" - namespace: "namespace" - - allocation_token: "allocation_token" - namespace: "namespace" - generated_name: "generated_name" - plugin_identifier: "plugin_identifier" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - event_version: 1 - updated_at: "2000-01-23T04:56:07.000+00:00" - custom_info: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - task_type: "task_type" - output_data: - literals: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - token: "token" - adminTaskList: - type: "object" - properties: - tasks: - type: "array" - description: "A list of tasks returned based on the request." - items: - $ref: "#/definitions/adminTask" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Represents a list of tasks returned from the admin.\nSee :ref:`ref_flyteidl.admin.Task`\ - \ for more details" - example: - tasks: - - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - created_at: "2000-01-23T04:56:07.000+00:00" - compiled_task: - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - created_at: "2000-01-23T04:56:07.000+00:00" - compiled_task: - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - token: "token" - adminTaskResourceAttributes: - type: "object" - properties: - defaults: - $ref: "#/definitions/adminTaskResourceSpec" - limits: - $ref: "#/definitions/adminTaskResourceSpec" - description: "Defines task resource defaults and limits that will be applied at\ - \ task registration." - example: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - adminTaskResourceSpec: - type: "object" - properties: - cpu: - type: "string" - gpu: - type: "string" - memory: - type: "string" - storage: - type: "string" - ephemeral_storage: - type: "string" - description: "Defines a set of overridable task resource attributes set during\ - \ task registration." - example: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - adminTaskSpec: - type: "object" - properties: - template: - description: "Template of the task that encapsulates all the metadata of the\ - \ task." - $ref: "#/definitions/coreTaskTemplate" - description: "Represents a structure that encapsulates the user-configured specification\ - \ of the task." - adminUrlBlob: - type: "object" - properties: - url: - type: "string" - description: "Actual url value." - bytes: - type: "string" - format: "int64" - description: "Represents the size of the file accessible at the above url." - description: "Represents a string url and associated metadata used throughout\ - \ the platform." - example: - bytes: "bytes" - url: "url" - adminVersion: - type: "object" - properties: - Build: - type: "string" - title: "Specifies the GIT sha of the build" - Version: - type: "string" - title: "Version for the build, should follow a semver" - BuildTime: - type: "string" - title: "Build timestamp" - title: "Provides Version information for a component" - example: - Version: "Version" - Build: "Build" - BuildTime: "BuildTime" - adminWorkflow: - type: "object" - properties: - id: - description: "id represents the unique identifier of the workflow." - $ref: "#/definitions/coreIdentifier" - closure: - description: "closure encapsulates all the fields that maps to a compiled\ - \ version of the workflow." - $ref: "#/definitions/adminWorkflowClosure" - description: "Represents the workflow structure stored in the Admin\nA workflow\ - \ is created by ordering tasks and associating outputs to inputs\nin order to\ - \ produce a directed-acyclic execution graph." - example: - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - compiled_workflow: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - created_at: "2000-01-23T04:56:07.000+00:00" - adminWorkflowAttributes: - type: "object" - properties: - project: - type: "string" - description: "Unique project id for which this set of attributes will be applied." - domain: - type: "string" - description: "Unique domain id for which this set of attributes will be applied." - workflow: - type: "string" - description: "Workflow name for which this set of attributes will be applied." - matching_attributes: - $ref: "#/definitions/adminMatchingAttributes" - title: "Defines a set of custom matching attributes which defines resource defaults\ - \ for a project, domain and workflow.\nFor more info on matchable attributes,\ - \ see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - example: - workflow: "workflow" - domain: "domain" - project: "project" - matching_attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - interruptible: true - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminWorkflowAttributesDeleteRequest: - type: "object" - properties: - project: - type: "string" - title: "Unique project id which this set of attributes references.\n+required" - domain: - type: "string" - title: "Unique domain id which this set of attributes references.\n+required" - workflow: - type: "string" - title: "Workflow name which this set of attributes references.\n+required" - resource_type: - title: "Which type of matchable attributes to delete.\n+required" - $ref: "#/definitions/adminMatchableResource" - title: "Request to delete a set matchable workflow attribute override.\nFor more\ - \ info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - adminWorkflowAttributesDeleteResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminWorkflowAttributesGetResponse: - type: "object" - properties: - attributes: - $ref: "#/definitions/adminWorkflowAttributes" - description: "Response to get an individual workflow attribute override." - example: - attributes: - workflow: "workflow" - domain: "domain" - project: "project" - matching_attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - interruptible: true - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminWorkflowAttributesUpdateRequest: - type: "object" - properties: - attributes: - $ref: "#/definitions/adminWorkflowAttributes" - title: "Sets custom attributes for a project, domain and workflow combination.\n\ - For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - adminWorkflowAttributesUpdateResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminWorkflowClosure: - type: "object" - properties: - compiled_workflow: - description: "Represents the compiled representation of the workflow from\ - \ the specification provided." - $ref: "#/definitions/coreCompiledWorkflowClosure" - created_at: - type: "string" - format: "date-time" - description: "Time at which the workflow was created." - description: "A container holding the compiled workflow produced from the WorkflowSpec\ - \ and additional metadata." - example: - compiled_workflow: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - created_at: "2000-01-23T04:56:07.000+00:00" - adminWorkflowCreateRequest: - type: "object" - properties: - id: - title: "id represents the unique identifier of the workflow.\n+required" - $ref: "#/definitions/coreIdentifier" - spec: - title: "Represents the specification for workflow.\n+required" - $ref: "#/definitions/adminWorkflowSpec" - title: "Represents a request structure to create a revision of a workflow.\nSee\ - \ :ref:`ref_flyteidl.admin.Workflow` for more details" - adminWorkflowCreateResponse: - type: "object" - adminWorkflowExecutionConfig: - type: "object" - properties: - max_parallelism: - type: "integer" - format: "int32" - description: "Can be used to control the number of parallel nodes to run within\ - \ the workflow. This is useful to achieve fairness." - security_context: - description: "Indicates security context permissions for executions triggered\ - \ with this matchable attribute." - $ref: "#/definitions/coreSecurityContext" - raw_output_data_config: - description: "Encapsulates user settings pertaining to offloaded data (i.e.\ - \ Blobs, Schema, query data, etc.)." - $ref: "#/definitions/adminRawOutputDataConfig" - labels: - description: "Custom labels to be applied to a triggered execution resource." - $ref: "#/definitions/adminLabels" - annotations: - description: "Custom annotations to be applied to a triggered execution resource." - $ref: "#/definitions/adminAnnotations" - interruptible: - type: "boolean" - format: "boolean" - description: "Allows for the interruptible flag of a workflow to be overwritten\ - \ for a single execution.\nOmitting this field uses the workflow's value\ - \ as a default.\nAs we need to distinguish between the field not being provided\ - \ and its default value false, we have to use a wrapper\naround the bool\ - \ field." - description: "Adds defaults for customizable workflow-execution specifications\ - \ and overrides." - example: - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - interruptible: true - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - adminWorkflowExecutionEventRequest: - type: "object" - properties: - request_id: - type: "string" - title: "Unique ID for this request that can be traced between services" - event: - description: "Details about the event that occurred." - $ref: "#/definitions/eventWorkflowExecutionEvent" - description: "Request to send a notification that a workflow execution event has\ - \ occurred." - adminWorkflowExecutionEventResponse: - type: "object" - adminWorkflowExecutionGetDataResponse: - type: "object" - properties: - outputs: - description: "Signed url to fetch a core.LiteralMap of execution outputs.\n\ - Deprecated: Please use full_outputs instead." - $ref: "#/definitions/adminUrlBlob" - inputs: - description: "Signed url to fetch a core.LiteralMap of execution inputs.\n\ - Deprecated: Please use full_inputs instead." - $ref: "#/definitions/adminUrlBlob" - full_inputs: - description: "Full_inputs will only be populated if they are under a configured\ - \ size threshold." - $ref: "#/definitions/coreLiteralMap" - full_outputs: - description: "Full_outputs will only be populated if they are under a configured\ - \ size threshold." - $ref: "#/definitions/coreLiteralMap" - description: "Response structure for WorkflowExecutionGetDataRequest which contains\ - \ inputs and outputs for an execution." - example: - outputs: - bytes: "bytes" - url: "url" - full_inputs: - literals: {} - inputs: - bytes: "bytes" - url: "url" - full_outputs: - literals: {} - adminWorkflowList: - type: "object" - properties: - workflows: - type: "array" - description: "A list of workflows returned based on the request." - items: - $ref: "#/definitions/adminWorkflow" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Represents a list of workflows returned from the admin.\nSee :ref:`ref_flyteidl.admin.Workflow`\ - \ for more details" - example: - workflows: - - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - compiled_workflow: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - created_at: "2000-01-23T04:56:07.000+00:00" - - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - compiled_workflow: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - created_at: "2000-01-23T04:56:07.000+00:00" - token: "token" - adminWorkflowSpec: - type: "object" - properties: - template: - description: "Template of the task that encapsulates all the metadata of the\ - \ workflow." - $ref: "#/definitions/coreWorkflowTemplate" - sub_workflows: - type: "array" - description: "Workflows that are embedded into other workflows need to be\ - \ passed alongside the parent workflow to the\npropeller compiler (since\ - \ the compiler doesn't have any knowledge of other workflows - ie, it doesn't\ - \ reach out\nto Admin to see other registered workflows). In fact, subworkflows\ - \ do not even need to be registered." - items: - $ref: "#/definitions/coreWorkflowTemplate" - description: "Represents a structure that encapsulates the specification of the\ - \ workflow." - coreAlias: - type: "object" - properties: - var: - type: "string" - description: "Must match one of the output variable names on a node." - alias: - type: "string" - description: "A workflow-level unique alias that downstream nodes can refer\ - \ to in their input." - description: "Links a variable to an alias." - example: - var: "var" - alias: "alias" - coreBinary: - type: "object" - properties: - value: - type: "string" - format: "byte" - pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" - tag: - type: "string" - description: "A simple byte array with a tag to help different parts of the system\ - \ communicate about what is in the byte array.\nIt's strongly advisable that\ - \ consumers of this type define a unique tag and validate the tag before parsing\ - \ the data." - example: - tag: "tag" - value: "value" - coreBinding: - type: "object" - properties: - var: - type: "string" - description: "Variable name must match an input/output variable of the node." - binding: - description: "Data to use to bind this variable." - $ref: "#/definitions/coreBindingData" - description: "An input/output binding of a variable to either static value or\ - \ a node output." - example: - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - coreBindingData: - type: "object" - properties: - scalar: - description: "A simple scalar value." - $ref: "#/definitions/coreScalar" - collection: - description: "A collection of binding data. This allows nesting of binding\ - \ data to any number\nof levels." - $ref: "#/definitions/coreBindingDataCollection" - promise: - description: "References an output promised by another node." - $ref: "#/definitions/coreOutputReference" - map: - description: "A map of bindings. The key is always a string." - $ref: "#/definitions/coreBindingDataMap" - union: - $ref: "#/definitions/coreUnionInfo" - description: "Specifies either a simple value or a reference to another output." - example: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - coreBindingDataCollection: - type: "object" - properties: - bindings: - type: "array" - items: - $ref: "#/definitions/coreBindingData" - description: "A collection of BindingData items." - example: - bindings: - - null - - null - coreBindingDataMap: - type: "object" - properties: - bindings: - type: "object" - additionalProperties: - $ref: "#/definitions/coreBindingData" - description: "A map of BindingData items." - example: - bindings: {} - coreBlob: - type: "object" - properties: - metadata: - $ref: "#/definitions/coreBlobMetadata" - uri: - type: "string" - description: "Refers to an offloaded set of files. It encapsulates the type of\ - \ the store and a unique uri for where the data is.\nThere are no restrictions\ - \ on how the uri is formatted since it will depend on how to interact with the\ - \ store." - example: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - coreBlobMetadata: - type: "object" - properties: - type: - $ref: "#/definitions/coreBlobType" - example: - type: - dimensionality: {} - format: "format" - coreBlobType: - type: "object" - properties: - format: - type: "string" - title: "Format can be a free form string understood by SDK/UI etc like\ncsv,\ - \ parquet etc" - dimensionality: - $ref: "#/definitions/BlobTypeBlobDimensionality" - title: "Defines type behavior for blob objects" - example: - dimensionality: {} - format: "format" - coreBooleanExpression: - type: "object" - properties: - conjunction: - $ref: "#/definitions/coreConjunctionExpression" - comparison: - $ref: "#/definitions/coreComparisonExpression" - description: "Defines a boolean expression tree. It can be a simple or a conjunction\ - \ expression.\nMultiple expressions can be combined using a conjunction or a\ - \ disjunction to result in a final boolean result." - example: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - coreBranchNode: - type: "object" - properties: - if_else: - title: "+required" - $ref: "#/definitions/coreIfElseBlock" - description: "BranchNode is a special node that alter the flow of the workflow\ - \ graph. It allows the control flow to branch at\nruntime based on a series\ - \ of conditions that get evaluated on various parameters (e.g. inputs, primitives)." - example: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - coreCatalogArtifactTag: - type: "object" - properties: - artifact_id: - type: "string" - title: "Artifact ID is generated name" - name: - type: "string" - title: "Flyte computes the tag automatically, as the hash of the values" - example: - name: "name" - artifact_id: "artifact_id" - coreCatalogCacheStatus: - type: "string" - title: "Indicates the status of CatalogCaching. The reason why this is not embedded\ - \ in TaskNodeMetadata is, that we may use for other types of nodes as well in\ - \ the future" - description: "- CACHE_DISABLED: Used to indicate that caching was disabled\n -\ - \ CACHE_MISS: Used to indicate that the cache lookup resulted in no matches\n\ - \ - CACHE_HIT: used to indicate that the associated artifact was a result of\ - \ a previous execution\n - CACHE_POPULATED: used to indicate that the resultant\ - \ artifact was added to the cache\n - CACHE_LOOKUP_FAILURE: Used to indicate\ - \ that cache lookup failed because of an error\n - CACHE_PUT_FAILURE: Used to\ - \ indicate that cache lookup failed because of an error" - enum: - - "CACHE_DISABLED" - - "CACHE_MISS" - - "CACHE_HIT" - - "CACHE_POPULATED" - - "CACHE_LOOKUP_FAILURE" - - "CACHE_PUT_FAILURE" - default: "CACHE_DISABLED" - coreCatalogMetadata: - type: "object" - properties: - dataset_id: - title: "Dataset ID in the catalog" - $ref: "#/definitions/coreIdentifier" - artifact_tag: - title: "Artifact tag in the catalog" - $ref: "#/definitions/coreCatalogArtifactTag" - source_task_execution: - title: "Today we only support TaskExecutionIdentifier as a source, as catalog\ - \ caching only works for task executions" - $ref: "#/definitions/coreTaskExecutionIdentifier" - title: "Catalog artifact information with specific metadata" - example: - source_task_execution: - task_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - dataset_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - artifact_tag: - name: "name" - artifact_id: "artifact_id" - coreComparisonExpression: - type: "object" - properties: - operator: - $ref: "#/definitions/ComparisonExpressionOperator" - left_value: - $ref: "#/definitions/coreOperand" - right_value: - $ref: "#/definitions/coreOperand" - description: "Defines a 2-level tree where the root is a comparison operator and\ - \ Operands are primitives or known variables.\nEach expression results in a\ - \ boolean result." - example: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - coreCompiledTask: - type: "object" - properties: - template: - title: "Completely contained TaskTemplate" - $ref: "#/definitions/coreTaskTemplate" - title: "Output of the Compilation step. This object represent one Task. We store\ - \ more metadata at this layer" - example: - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - coreCompiledWorkflow: - type: "object" - properties: - template: - title: "Completely contained Workflow Template" - $ref: "#/definitions/coreWorkflowTemplate" - connections: - description: "For internal use only! This field is used by the system and\ - \ must not be filled in. Any values set will be ignored." - $ref: "#/definitions/coreConnectionSet" - title: "Output of the compilation Step. This object represents one workflow. We\ - \ store more metadata at this layer" - example: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - coreCompiledWorkflowClosure: - type: "object" - properties: - primary: - title: "+required" - $ref: "#/definitions/coreCompiledWorkflow" - sub_workflows: - type: "array" - title: "Guaranteed that there will only exist one and only one workflow with\ - \ a given id, i.e., every sub workflow has a\nunique identifier. Also every\ - \ enclosed subworkflow is used either by a primary workflow or by a subworkflow\n\ - as an inlined workflow\n+optional" - items: - $ref: "#/definitions/coreCompiledWorkflow" - tasks: - type: "array" - title: "Guaranteed that there will only exist one and only one task with a\ - \ given id, i.e., every task has a unique id\n+required (at least 1)" - items: - $ref: "#/definitions/coreCompiledTask" - description: "A Compiled Workflow Closure contains all the information required\ - \ to start a new execution, or to visualize a workflow\nand its details. The\ - \ CompiledWorkflowClosure should always contain a primary workflow, that is\ - \ the main workflow that\nwill being the execution. All subworkflows are denormalized.\ - \ WorkflowNodes refer to the workflow identifiers of\ncompiled subworkflows." - example: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - coreConjunctionExpression: - type: "object" - properties: - operator: - $ref: "#/definitions/ConjunctionExpressionLogicalOperator" - left_expression: - $ref: "#/definitions/coreBooleanExpression" - right_expression: - $ref: "#/definitions/coreBooleanExpression" - description: "Defines a conjunction expression of two boolean expressions." - example: - operator: {} - coreConnectionSet: - type: "object" - properties: - downstream: - type: "object" - title: "A list of all the node ids that are downstream from a given node id" - additionalProperties: - $ref: "#/definitions/ConnectionSetIdList" - upstream: - type: "object" - title: "A list of all the node ids, that are upstream of this node id" - additionalProperties: - $ref: "#/definitions/ConnectionSetIdList" - title: "Adjacency list for the workflow. This is created as part of the compilation\ - \ process. Every process after the compilation\nstep uses this created ConnectionSet" - example: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - coreContainer: - type: "object" - properties: - image: - type: "string" - title: "Container image url. Eg: docker/redis:latest" - command: - type: "array" - description: "Command to be executed, if not provided, the default entrypoint\ - \ in the container image will be used." - items: - type: "string" - args: - type: "array" - description: "These will default to Flyte given paths. If provided, the system\ - \ will not append known paths. If the task still\nneeds flyte's inputs and\ - \ outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes\ - \ sense and the\nsystem will populate these before executing the container." - items: - type: "string" - resources: - description: "Container resources requirement as specified by the container\ - \ engine." - $ref: "#/definitions/coreResources" - env: - type: "array" - description: "Environment variables will be set as the container is starting\ - \ up." - items: - $ref: "#/definitions/coreKeyValuePair" - config: - type: "array" - description: "Allows extra configs to be available for the container.\nTODO:\ - \ elaborate on how configs will become available.\nDeprecated, please use\ - \ TaskTemplate.config instead." - items: - $ref: "#/definitions/coreKeyValuePair" - ports: - type: "array" - title: "Ports to open in the container. This feature is not supported by all\ - \ execution engines. (e.g. supported on K8s but\nnot supported on AWS Batch)\n\ - Only K8s" - items: - $ref: "#/definitions/coreContainerPort" - data_config: - title: "BETA: Optional configuration for DataLoading. If not specified, then\ - \ default values are used.\nThis makes it possible to to run a completely\ - \ portable container, that uses inputs and outputs\nonly from the local\ - \ file-system and without having any reference to flyteidl. This is supported\ - \ only on K8s at the moment.\nIf data loading is enabled, then data will\ - \ be mounted in accompanying directories specified in the DataLoadingConfig.\ - \ If the directories\nare not specified, inputs will be mounted onto and\ - \ outputs will be uploaded from a pre-determined file-system path. Refer\ - \ to the documentation\nto understand the default paths.\nOnly K8s" - $ref: "#/definitions/coreDataLoadingConfig" - architecture: - $ref: "#/definitions/ContainerArchitecture" - example: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - coreContainerPort: - type: "object" - properties: - container_port: - type: "integer" - format: "int64" - description: "Number of port to expose on the pod's IP address.\nThis must\ - \ be a valid port number, 0 < x < 65536." - description: "Defines port properties for a container." - example: - container_port: 6 - coreDataLoadingConfig: - type: "object" - properties: - enabled: - type: "boolean" - format: "boolean" - title: "Flag enables DataLoading Config. If this is not set, data loading\ - \ will not be used!" - input_path: - type: "string" - title: "File system path (start at root). This folder will contain all the\ - \ inputs exploded to a separate file.\nExample, if the input interface needs\ - \ (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs',\ - \ then the file system will look like\n/var/flyte/inputs/inputs. .pb .json .yaml> -> Format as defined previously.\ - \ The Blob and Multipart blob will reference local filesystem instead of\ - \ remote locations\n/var/flyte/inputs/x -> X is a file that contains the\ - \ value of x (integer) in string format\n/var/flyte/inputs/y -> Y is a file\ - \ in Binary format\n/var/flyte/inputs/z/... -> Note Z itself is a directory\n\ - More information about the protocol - refer to docs #TODO reference docs\ - \ here" - output_path: - type: "string" - title: "File system path (start at root). This folder should contain all the\ - \ outputs for the task as individual files and/or an error text file" - format: - title: "In the inputs folder, there will be an additional summary/metadata\ - \ file that contains references to all files or inlined primitive values.\n\ - This format decides the actual encoding for the data. Refer to the encoding\ - \ to understand the specifics of the contents and the encoding" - $ref: "#/definitions/DataLoadingConfigLiteralMapFormat" - io_strategy: - $ref: "#/definitions/coreIOStrategy" - description: "This configuration allows executing raw containers in Flyte using\ - \ the Flyte CoPilot system.\nFlyte CoPilot, eliminates the needs of flytekit\ - \ or sdk inside the container. Any inputs required by the users container are\ - \ side-loaded in the input_path\nAny outputs generated by the user container\ - \ - within output_path are automatically uploaded." - example: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - coreEnumType: - type: "object" - properties: - values: - type: "array" - description: "Predefined set of enum values." - items: - type: "string" - description: "Enables declaring enum types, with predefined string values\nFor\ - \ len(values) > 0, the first value in the ordered list is regarded as the default\ - \ value. If you wish\nTo provide no defaults, make the first value as undefined." - example: - values: - - "values" - - "values" - coreError: - type: "object" - properties: - failed_node_id: - type: "string" - description: "The node id that threw the error." - message: - type: "string" - description: "Error message thrown." - description: "Represents an error thrown from a node." - example: - message: "message" - failed_node_id: "failed_node_id" - coreExecutionError: - type: "object" - properties: - code: - type: "string" - title: "Error code indicates a grouping of a type of error.\nMore Info: " - message: - type: "string" - description: "Detailed description of the error - including stack trace." - error_uri: - type: "string" - title: "Full error contents accessible via a URI" - kind: - $ref: "#/definitions/ExecutionErrorErrorKind" - description: "Represents the error message from the execution." - example: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - coreIOStrategy: - type: "object" - properties: - download_mode: - title: "Mode to use to manage downloads" - $ref: "#/definitions/IOStrategyDownloadMode" - upload_mode: - title: "Mode to use to manage uploads" - $ref: "#/definitions/IOStrategyUploadMode" - title: "Strategy to use when dealing with Blob, Schema, or multipart blob data\ - \ (large datasets)" - example: - upload_mode: {} - download_mode: {} - coreIdentifier: - type: "object" - properties: - resource_type: - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to." - $ref: "#/definitions/coreResourceType" - project: - type: "string" - description: "Name of the project the resource belongs to." - domain: - type: "string" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - name: - type: "string" - description: "User provided value for the resource." - version: - type: "string" - description: "Specific version of the resource." - description: "Encapsulation of fields that uniquely identifies a Flyte resource." - example: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - coreIdentity: - type: "object" - properties: - iam_role: - type: "string" - description: "iam_role references the fully qualified name of Identity & Access\ - \ Management role to impersonate." - k8s_service_account: - type: "string" - description: "k8s_service_account references a kubernetes service account\ - \ to impersonate." - oauth2_client: - description: "oauth2_client references an oauth2 client. Backend plugins can\ - \ use this information to impersonate the client when\nmaking external calls." - $ref: "#/definitions/coreOAuth2Client" - description: "Identity encapsulates the various security identities a task can\ - \ run as. It's up to the underlying plugin to pick the\nright identity for the\ - \ execution environment." - example: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - coreIfBlock: - type: "object" - properties: - condition: - $ref: "#/definitions/coreBooleanExpression" - then_node: - $ref: "#/definitions/coreNode" - description: "Defines a condition and the execution unit that should be executed\ - \ if the condition is satisfied." - example: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - coreIfElseBlock: - type: "object" - properties: - case: - description: "+required. First condition to evaluate." - $ref: "#/definitions/coreIfBlock" - other: - type: "array" - description: "+optional. Additional branches to evaluate." - items: - $ref: "#/definitions/coreIfBlock" - else_node: - description: "The node to execute in case none of the branches were taken." - $ref: "#/definitions/coreNode" - error: - description: "An error to throw in case none of the branches were taken." - $ref: "#/definitions/coreError" - description: "Defines a series of if/else blocks. The first branch whose condition\ - \ evaluates to true is the one to execute.\nIf no conditions were satisfied,\ - \ the else_node or the error will execute." - example: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - coreK8sObjectMetadata: - type: "object" - properties: - labels: - type: "object" - description: "Optional labels to add to the pod definition." - additionalProperties: - type: "string" - annotations: - type: "object" - description: "Optional annotations to add to the pod definition." - additionalProperties: - type: "string" - description: "Metadata for building a kubernetes object when a task is executed." - example: - annotations: - key: "annotations" - labels: - key: "labels" - coreK8sPod: - type: "object" - properties: - metadata: - description: "Contains additional metadata for building a kubernetes pod." - $ref: "#/definitions/coreK8sObjectMetadata" - pod_spec: - title: "Defines the primary pod spec created when a task is executed.\nThis\ - \ should be a JSON-marshalled pod spec, which can be defined in \n- go,\ - \ using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936\n\ - - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" - $ref: "#/definitions/protobufStruct" - description: "Defines a pod spec and additional pod metadata that is created when\ - \ a task is executed." - example: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - coreKeyValuePair: - type: "object" - properties: - key: - type: "string" - description: "required." - value: - type: "string" - description: "+optional." - description: "A generic key value pair." - example: - value: "value" - key: "key" - coreLiteral: - type: "object" - properties: - scalar: - description: "A simple value." - $ref: "#/definitions/coreScalar" - collection: - description: "A collection of literals to allow nesting." - $ref: "#/definitions/coreLiteralCollection" - map: - description: "A map of strings to literals." - $ref: "#/definitions/coreLiteralMap" - hash: - type: "string" - title: "A hash representing this literal.\nThis is used for caching purposes.\ - \ For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" - description: "A simple value. This supports any level of nesting (e.g. array of\ - \ array of array of Blobs) as well as simple primitives." - example: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - coreLiteralCollection: - type: "object" - properties: - literals: - type: "array" - items: - $ref: "#/definitions/coreLiteral" - description: "A collection of literals. This is a workaround since oneofs in proto\ - \ messages cannot contain a repeated field." - example: - literals: - - null - - null - coreLiteralMap: - type: "object" - properties: - literals: - type: "object" - additionalProperties: - $ref: "#/definitions/coreLiteral" - description: "A map of literals. This is a workaround since oneofs in proto messages\ - \ cannot contain a repeated field." - example: - literals: {} - coreLiteralType: - type: "object" - properties: - simple: - description: "A simple type that can be compared one-to-one with another." - $ref: "#/definitions/coreSimpleType" - schema: - description: "A complex type that requires matching of inner fields." - $ref: "#/definitions/coreSchemaType" - collection_type: - description: "Defines the type of the value of a collection. Only homogeneous\ - \ collections are allowed." - $ref: "#/definitions/coreLiteralType" - map_value_type: - description: "Defines the type of the value of a map type. The type of the\ - \ key is always a string." - $ref: "#/definitions/coreLiteralType" - blob: - description: "A blob might have specialized implementation details depending\ - \ on associated metadata." - $ref: "#/definitions/coreBlobType" - enum_type: - description: "Defines an enum with pre-defined string values." - $ref: "#/definitions/coreEnumType" - structured_dataset_type: - title: "Generalized schema support" - $ref: "#/definitions/coreStructuredDatasetType" - union_type: - description: "Defines an union type with pre-defined LiteralTypes." - $ref: "#/definitions/coreUnionType" - metadata: - description: "This field contains type metadata that is descriptive of the\ - \ type, but is NOT considered in type-checking. This might be used by\n\ - consumers to identify special behavior or display extended information for\ - \ the type." - $ref: "#/definitions/protobufStruct" - annotation: - description: "This field contains arbitrary data that might have special semantic\n\ - meaning for the client but does not effect internal flyte behavior." - $ref: "#/definitions/coreTypeAnnotation" - structure: - description: "Hints to improve type matching." - $ref: "#/definitions/coreTypeStructure" - description: "Defines a strong type to allow type checking between interfaces." - example: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - coreNode: - type: "object" - properties: - id: - type: "string" - description: "A workflow-level unique identifier that identifies this node\ - \ in the workflow. 'inputs' and 'outputs' are reserved\nnode ids that cannot\ - \ be used by other nodes." - metadata: - description: "Extra metadata about the node." - $ref: "#/definitions/coreNodeMetadata" - inputs: - type: "array" - description: "Specifies how to bind the underlying interface's inputs. All\ - \ required inputs specified in the underlying interface\nmust be fulfilled." - items: - $ref: "#/definitions/coreBinding" - upstream_node_ids: - type: "array" - description: "+optional Specifies execution dependency for this node ensuring\ - \ it will only get scheduled to run after all its\nupstream nodes have completed.\ - \ This node will have an implicit dependency on any node that appears in\ - \ inputs\nfield." - items: - type: "string" - output_aliases: - type: "array" - description: "+optional. A node can define aliases for a subset of its outputs.\ - \ This is particularly useful if different nodes\nneed to conform to the\ - \ same interface (e.g. all branches in a branch node). Downstream nodes\ - \ must refer to this\nnodes outputs using the alias if one's specified." - items: - $ref: "#/definitions/coreAlias" - task_node: - description: "Information about the Task to execute in this node." - $ref: "#/definitions/coreTaskNode" - workflow_node: - description: "Information about the Workflow to execute in this mode." - $ref: "#/definitions/coreWorkflowNode" - branch_node: - description: "Information about the branch node to evaluate in this node." - $ref: "#/definitions/coreBranchNode" - description: "A Workflow graph Node. One unit of execution in the graph. Each\ - \ node can be linked to a Task, a Workflow or a branch\nnode." - example: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - coreNodeExecutionIdentifier: - type: "object" - properties: - node_id: - type: "string" - execution_id: - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - description: "Encapsulation of fields that identify a Flyte node execution entity." - example: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - coreNodeExecutionPhase: - type: "string" - enum: - - "UNDEFINED" - - "QUEUED" - - "RUNNING" - - "SUCCEEDED" - - "FAILING" - - "FAILED" - - "ABORTED" - - "SKIPPED" - - "TIMED_OUT" - - "DYNAMIC_RUNNING" - - "RECOVERED" - default: "UNDEFINED" - coreNodeMetadata: - type: "object" - properties: - name: - type: "string" - title: "A friendly name for the Node" - timeout: - type: "string" - description: "The overall timeout of a task." - retries: - description: "Number of retries per task." - $ref: "#/definitions/coreRetryStrategy" - interruptible: - type: "boolean" - format: "boolean" - description: "Defines extra information about the Node." - example: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - coreOAuth2Client: - type: "object" - properties: - client_id: - type: "string" - title: "client_id is the public id for the client to use. The system will\ - \ not perform any pre-auth validation that the\nsecret requested matches\ - \ the client_id indicated here.\n+required" - client_secret: - title: "client_secret is a reference to the secret used to authenticate the\ - \ OAuth2 client.\n+required" - $ref: "#/definitions/coreSecret" - description: "OAuth2Client encapsulates OAuth2 Client Credentials to be used when\ - \ making calls on behalf of that task." - example: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - coreOAuth2TokenRequest: - type: "object" - properties: - name: - type: "string" - title: "name indicates a unique id for the token request within this task\ - \ token requests. It'll be used as a suffix for\nenvironment variables and\ - \ as a filename for mounting tokens as files.\n+required" - type: - title: "type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.\n\ - +required" - $ref: "#/definitions/coreOAuth2TokenRequestType" - client: - title: "client references the client_id/secret to use to request the OAuth2\ - \ token.\n+required" - $ref: "#/definitions/coreOAuth2Client" - idp_discovery_endpoint: - type: "string" - title: "idp_discovery_endpoint references the discovery endpoint used to retrieve\ - \ token endpoint and other related\ninformation.\n+optional" - token_endpoint: - type: "string" - title: "token_endpoint references the token issuance endpoint. If idp_discovery_endpoint\ - \ is not provided, this parameter is\nmandatory.\n+optional" - description: "OAuth2TokenRequest encapsulates information needed to request an\ - \ OAuth2 token.\nFLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix\ - \ of the environment variables that will be present if\ntokens are passed through\ - \ environment variables.\nFLYTE_TOKENS_PATH_PREFIX will be passed to indicate\ - \ the prefix of the path where secrets will be mounted if tokens\nare passed\ - \ through file mounts." - example: - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - coreOAuth2TokenRequestType: - type: "string" - description: "Type of the token requested.\n\n - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS\ - \ indicates a 2-legged OAuth token requested using client credentials." - enum: - - "CLIENT_CREDENTIALS" - default: "CLIENT_CREDENTIALS" - coreOperand: - type: "object" - properties: - primitive: - title: "Can be a constant" - $ref: "#/definitions/corePrimitive" - var: - type: "string" - title: "Or one of this node's input variables" - description: "Defines an operand to a comparison expression." - example: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - coreOutputReference: - type: "object" - properties: - node_id: - type: "string" - description: "Node id must exist at the graph layer." - var: - type: "string" - description: "Variable name must refer to an output variable for the node." - description: "A reference to an output produced by a node. The type can be retrieved\ - \ -and validated- from\nthe underlying interface of the node." - example: - var: "var" - node_id: "node_id" - coreParameter: - type: "object" - properties: - var: - description: "+required Variable. Defines the type of the variable backing\ - \ this parameter." - $ref: "#/definitions/coreVariable" - default: - description: "Defines a default value that has to match the variable type\ - \ defined." - $ref: "#/definitions/coreLiteral" - required: - type: "boolean" - format: "boolean" - description: "+optional, is this value required to be filled." - description: "A parameter is used as input to a launch plan and has\nthe special\ - \ ability to have a default value or mark itself as required." - example: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - required: true - coreParameterMap: - type: "object" - properties: - parameters: - type: "object" - description: "Defines a map of parameter names to parameters." - additionalProperties: - $ref: "#/definitions/coreParameter" - description: "A map of Parameters." - example: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - required: true - corePrimitive: - type: "object" - properties: - integer: - type: "string" - format: "int64" - float_value: - type: "number" - format: "double" - string_value: - type: "string" - boolean: - type: "boolean" - format: "boolean" - datetime: - type: "string" - format: "date-time" - duration: - type: "string" - title: "Primitive Types" - example: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - coreQualityOfService: - type: "object" - properties: - tier: - $ref: "#/definitions/QualityOfServiceTier" - spec: - $ref: "#/definitions/coreQualityOfServiceSpec" - description: "Indicates the priority of an execution." - example: - tier: {} - spec: - queueing_budget: "queueing_budget" - coreQualityOfServiceSpec: - type: "object" - properties: - queueing_budget: - type: "string" - description: "Indicates how much queueing delay an execution can tolerate." - description: "Represents customized execution run-time attributes." - example: - queueing_budget: "queueing_budget" - coreResourceType: - type: "string" - description: "Indicates a resource type within Flyte.\n\n - DATASET: A dataset\ - \ represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned\ - \ entity and can be a compilation of multiple individual objects.\nEventually\ - \ all Catalog objects should be modeled similar to Flyte Objects. The Dataset\ - \ entities makes it possible for the UI and CLI to act on the objects \nin\ - \ a similar manner to other Flyte objects" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - default: "UNSPECIFIED" - coreResources: - type: "object" - properties: - requests: - type: "array" - description: "The desired set of resources requested. ResourceNames must be\ - \ unique within the list." - items: - $ref: "#/definitions/ResourcesResourceEntry" - limits: - type: "array" - description: "Defines a set of bounds (e.g. min/max) within which the task\ - \ can reliably run. ResourceNames must be unique\nwithin the list." - items: - $ref: "#/definitions/ResourcesResourceEntry" - description: "A customizable interface to convey resources requested for a container.\ - \ This can be interpreted differently for different\ncontainer engines." - example: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - coreRetryStrategy: - type: "object" - properties: - retries: - type: "integer" - format: "int64" - description: "Number of retries. Retries will be consumed when the job fails\ - \ with a recoverable error.\nThe number of retries must be less than or\ - \ equals to 10." - description: "Retry strategy associated with an executable unit." - example: - retries: 0 - coreRuntimeMetadata: - type: "object" - properties: - type: - description: "Type of runtime." - $ref: "#/definitions/RuntimeMetadataRuntimeType" - version: - type: "string" - description: "Version of the runtime. All versions should be backward compatible.\ - \ However, certain cases call for version\nchecks to ensure tighter validation\ - \ or setting expectations." - flavor: - type: "string" - description: "+optional It can be used to provide extra information about\ - \ the runtime (e.g. python, golang... etc.)." - description: "Runtime information. This is loosely defined to allow for extensibility." - example: - flavor: "flavor" - type: {} - version: "version" - coreScalar: - type: "object" - properties: - primitive: - $ref: "#/definitions/corePrimitive" - blob: - $ref: "#/definitions/coreBlob" - binary: - $ref: "#/definitions/coreBinary" - schema: - $ref: "#/definitions/flyteidlcoreSchema" - none_type: - $ref: "#/definitions/coreVoid" - error: - $ref: "#/definitions/coreError" - generic: - $ref: "#/definitions/protobufStruct" - structured_dataset: - $ref: "#/definitions/coreStructuredDataset" - union: - $ref: "#/definitions/coreUnion" - example: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - coreSchemaType: - type: "object" - properties: - columns: - type: "array" - description: "A list of ordered columns this schema comprises of." - items: - $ref: "#/definitions/SchemaTypeSchemaColumn" - description: "Defines schema columns and types to strongly type-validate schemas\ - \ interoperability." - example: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - coreSecret: - type: "object" - properties: - group: - type: "string" - title: "The name of the secret group where to find the key referenced below.\ - \ For K8s secrets, this should be the name of\nthe v1/secret object. For\ - \ Confidant, this should be the Credential name. For Vault, this should\ - \ be the secret name.\nFor AWS Secret Manager, this should be the name of\ - \ the secret.\n+required" - group_version: - type: "string" - title: "The group version to fetch. This is not supported in all secret management\ - \ systems. It'll be ignored for the ones\nthat do not support it.\n+optional" - key: - type: "string" - title: "The name of the secret to mount. This has to match an existing secret\ - \ in the system. It's up to the implementation\nof the secret management\ - \ system to require case sensitivity. For K8s secrets, Confidant and Vault,\ - \ this should\nmatch one of the keys inside the secret. For AWS Secret Manager,\ - \ it's ignored.\n+optional" - mount_requirement: - title: "mount_requirement is optional. Indicates where the secret has to be\ - \ mounted. If provided, the execution will fail\nif the underlying key management\ - \ system cannot satisfy that requirement. If not provided, the default location\n\ - will depend on the key management system.\n+optional" - $ref: "#/definitions/SecretMountType" - description: "Secret encapsulates information about the secret a task needs to\ - \ proceed. An environment variable\nFLYTE_SECRETS_ENV_PREFIX will be passed\ - \ to indicate the prefix of the environment variables that will be present if\n\ - secrets are passed through environment variables.\nFLYTE_SECRETS_DEFAULT_DIR\ - \ will be passed to indicate the prefix of the path where secrets will be mounted\ - \ if secrets\nare passed through file mounts." - example: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - coreSecurityContext: - type: "object" - properties: - run_as: - description: "run_as encapsulates the identity a pod should run as. If the\ - \ task fills in multiple fields here, it'll be up to the\nbackend plugin\ - \ to choose the appropriate identity for the execution engine the task will\ - \ run on." - $ref: "#/definitions/coreIdentity" - secrets: - type: "array" - description: "secrets indicate the list of secrets the task needs in order\ - \ to proceed. Secrets will be mounted/passed to the\npod as it starts. If\ - \ the plugin responsible for kicking of the task will not run it on a flyte\ - \ cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch\ - \ the secret (which means propeller identity will need access\nto the secret)\ - \ and to pass it to the remote execution engine." - items: - $ref: "#/definitions/coreSecret" - tokens: - type: "array" - description: "tokens indicate the list of token requests the task needs in\ - \ order to proceed. Tokens will be mounted/passed to the\npod as it starts.\ - \ If the plugin responsible for kicking of the task will not run it on a\ - \ flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin\ - \ to fetch the secret (which means propeller identity will need access\n\ - to the secret) and to pass it to the remote execution engine." - items: - $ref: "#/definitions/coreOAuth2TokenRequest" - description: "SecurityContext holds security attributes that apply to tasks." - example: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - coreSimpleType: - type: "string" - description: "Define a set of simple types." - enum: - - "NONE" - - "INTEGER" - - "FLOAT" - - "STRING" - - "BOOLEAN" - - "DATETIME" - - "DURATION" - - "BINARY" - - "ERROR" - - "STRUCT" - default: "NONE" - coreSql: - type: "object" - properties: - statement: - type: "string" - title: "The actual query to run, the query can have templated parameters.\n\ - We use Flyte's Golang templating format for Query templating.\nRefer to\ - \ the templating documentation.\nhttps://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py\n\ - For example,\ninsert overwrite directory '{{ .rawOutputDataPrefix }}' stored\ - \ as parquet\nselect *\nfrom my_table\nwhere ds = '{{ .Inputs.ds }}'" - dialect: - $ref: "#/definitions/SqlDialect" - description: "Sql represents a generic sql workload with a statement and dialect." - example: - dialect: {} - statement: "statement" - coreStructuredDataset: - type: "object" - properties: - uri: - type: "string" - title: "String location uniquely identifying where the data is.\nShould start\ - \ with the storage location (e.g. s3://, gs://, bq://, etc.)" - metadata: - $ref: "#/definitions/coreStructuredDatasetMetadata" - example: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - coreStructuredDatasetMetadata: - type: "object" - properties: - structured_dataset_type: - description: "Bundle the type information along with the literal.\nThis is\ - \ here because StructuredDatasets can often be more defined at run time\ - \ than at compile time.\nThat is, at compile time you might only declare\ - \ a task to return a pandas dataframe or a StructuredDataset,\nwithout any\ - \ column information, but at run time, you might have that column information.\n\ - flytekit python will copy this type information into the literal, from the\ - \ type information, if not provided by\nthe various plugins (encoders).\n\ - Since this field is run time generated, it's not used for any type checking." - $ref: "#/definitions/coreStructuredDatasetType" - example: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - coreStructuredDatasetType: - type: "object" - properties: - columns: - type: "array" - description: "A list of ordered columns this schema comprises of." - items: - $ref: "#/definitions/StructuredDatasetTypeDatasetColumn" - format: - type: "string" - description: "This is the storage format, the format of the bits at rest\n\ - parquet, feather, csv, etc.\nFor two types to be compatible, the format\ - \ will need to be an exact match." - external_schema_type: - type: "string" - description: "This is a string representing the type that the bytes in external_schema_bytes\ - \ are formatted in.\nThis is an optional field that will not be used for\ - \ type checking." - external_schema_bytes: - type: "string" - format: "byte" - description: "The serialized bytes of a third-party schema library like Arrow.\n\ - This is an optional field that will not be used for type checking." - pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" - example: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - coreTaskExecutionIdentifier: - type: "object" - properties: - task_id: - $ref: "#/definitions/coreIdentifier" - node_execution_id: - $ref: "#/definitions/coreNodeExecutionIdentifier" - retry_attempt: - type: "integer" - format: "int64" - description: "Encapsulation of fields that identify a Flyte task execution entity." - example: - task_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - coreTaskExecutionPhase: - type: "string" - title: "- INITIALIZING: To indicate cases where task is initializing, like: ErrImagePull,\ - \ ContainerCreating, PodInitializing\n - WAITING_FOR_RESOURCES: To address cases,\ - \ where underlying resource is not available: Backoff error, Resource quota\ - \ exceeded" - enum: - - "UNDEFINED" - - "QUEUED" - - "RUNNING" - - "SUCCEEDED" - - "ABORTED" - - "FAILED" - - "INITIALIZING" - - "WAITING_FOR_RESOURCES" - default: "UNDEFINED" - coreTaskLog: - type: "object" - properties: - uri: - type: "string" - name: - type: "string" - message_format: - $ref: "#/definitions/TaskLogMessageFormat" - ttl: - type: "string" - title: "Log information for the task that is specific to a log sink\nWhen our\ - \ log story is flushed out, we may have more metadata here like log link expiry" - example: - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - coreTaskMetadata: - type: "object" - properties: - discoverable: - type: "boolean" - format: "boolean" - description: "Indicates whether the system should attempt to lookup this task's\ - \ output to avoid duplication of work." - runtime: - description: "Runtime information about the task." - $ref: "#/definitions/coreRuntimeMetadata" - timeout: - type: "string" - description: "The overall timeout of a task including user-triggered retries." - retries: - description: "Number of retries per task." - $ref: "#/definitions/coreRetryStrategy" - discovery_version: - type: "string" - description: "Indicates a logical version to apply to this task for the purpose\ - \ of discovery." - deprecated_error_message: - type: "string" - description: "If set, this indicates that this task is deprecated. This will\ - \ enable owners of tasks to notify consumers\nof the ending of support for\ - \ a given task." - interruptible: - type: "boolean" - format: "boolean" - cache_serializable: - type: "boolean" - format: "boolean" - title: "Indicates whether the system should attempt to execute discoverable\ - \ instances in serial to avoid duplicate work" - title: "Task Metadata" - example: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - coreTaskNode: - type: "object" - properties: - reference_id: - description: "A globally unique identifier for the task." - $ref: "#/definitions/coreIdentifier" - overrides: - description: "Optional overrides applied at task execution time." - $ref: "#/definitions/coreTaskNodeOverrides" - description: "Refers to the task that the Node is to execute." - example: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - coreTaskNodeOverrides: - type: "object" - properties: - resources: - description: "A customizable interface to convey resources requested for a\ - \ task container." - $ref: "#/definitions/coreResources" - description: "Optional task node overrides that will be applied at task execution\ - \ time." - example: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - coreTaskTemplate: - type: "object" - properties: - id: - description: "Auto generated taskId by the system. Task Id uniquely identifies\ - \ this task globally." - $ref: "#/definitions/coreIdentifier" - type: - type: "string" - description: "A predefined yet extensible Task type identifier. This can be\ - \ used to customize any of the components. If no\nextensions are provided\ - \ in the system, Flyte will resolve the this task to its TaskCategory and\ - \ default the\nimplementation registered for the TaskCategory." - metadata: - description: "Extra metadata about the task." - $ref: "#/definitions/coreTaskMetadata" - interface: - description: "A strongly typed interface for the task. This enables others\ - \ to use this task within a workflow and guarantees\ncompile-time validation\ - \ of the workflow to avoid costly runtime failures." - $ref: "#/definitions/coreTypedInterface" - custom: - description: "Custom data about the task. This is extensible to allow various\ - \ plugins in the system." - $ref: "#/definitions/protobufStruct" - container: - $ref: "#/definitions/coreContainer" - k8s_pod: - $ref: "#/definitions/coreK8sPod" - sql: - $ref: "#/definitions/coreSql" - task_type_version: - type: "integer" - format: "int32" - description: "This can be used to customize task handling at execution time\ - \ for the same task type." - security_context: - description: "security_context encapsulates security attributes requested\ - \ to run this task." - $ref: "#/definitions/coreSecurityContext" - config: - type: "object" - title: "Metadata about the custom defined for this task. This is extensible\ - \ to allow various plugins in the system\nto use as required.\nreserve the\ - \ field numbers 1 through 15 for very frequently occurring message elements" - additionalProperties: - type: "string" - description: "A Task structure that uniquely identifies a task in the system\n\ - Tasks are registered as a first step in the system." - example: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - coreTypeAnnotation: - type: "object" - properties: - annotations: - description: "A arbitrary JSON payload to describe a type." - $ref: "#/definitions/protobufStruct" - description: "TypeAnnotation encapsulates registration time information about\ - \ a type. This can be used for various control-plane operations. TypeAnnotation\ - \ will not be available at runtime when a task runs." - example: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - coreTypeStructure: - type: "object" - properties: - tag: - type: "string" - title: "Must exactly match for types to be castable" - description: "Hints to improve type matching\ne.g. allows distinguishing output\ - \ from custom type transformers\neven if the underlying IDL serialization matches." - example: - tag: "tag" - coreTypedInterface: - type: "object" - properties: - inputs: - $ref: "#/definitions/coreVariableMap" - outputs: - $ref: "#/definitions/coreVariableMap" - description: "Defines strongly typed inputs and outputs." - example: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - coreUnion: - type: "object" - properties: - value: - $ref: "#/definitions/coreLiteral" - type: - $ref: "#/definitions/coreLiteralType" - description: "The runtime representation of a tagged union value. See `UnionType`\ - \ for more details." - example: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - coreUnionInfo: - type: "object" - properties: - targetType: - $ref: "#/definitions/coreLiteralType" - example: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - coreUnionType: - type: "object" - properties: - variants: - type: "array" - description: "Predefined set of variants in union." - items: - $ref: "#/definitions/coreLiteralType" - description: "Defines a tagged union type, also known as a variant (and formally\ - \ as the sum type).\n\nA sum type S is defined by a sequence of types (A, B,\ - \ C, ...), each tagged by a string tag\nA value of type S is constructed from\ - \ a value of any of the variant types. The specific choice of type is recorded\ - \ by\nstoring the varaint's tag with the literal value and can be examined in\ - \ runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe\ - \ C | ...\n\nNotably, a nullable (optional) type is a sum type between some\ - \ type X and the singleton type representing a null-value:\nOptional X := X\ - \ | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" - example: - variants: - - null - - null - coreVariable: - type: "object" - properties: - type: - description: "Variable literal type." - $ref: "#/definitions/coreLiteralType" - description: - type: "string" - title: "+optional string describing input variable" - description: "Defines a strongly typed variable." - example: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - coreVariableMap: - type: "object" - properties: - variables: - type: "object" - description: "Defines a map of variable names to variables." - additionalProperties: - $ref: "#/definitions/coreVariable" - title: "A map of Variables" - example: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - coreVoid: - type: "object" - description: "Used to denote a nil/null/None assignment to a scalar value. The\ - \ underlying LiteralType for Void is intentionally\nundefined since it can be\ - \ assigned to a scalar of any LiteralType." - coreWorkflowExecutionIdentifier: - type: "object" - properties: - project: - type: "string" - description: "Name of the project the resource belongs to." - domain: - type: "string" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - name: - type: "string" - description: "User or system provided value for the resource." - title: "Encapsulation of fields that uniquely identifies a Flyte workflow execution" - example: - domain: "domain" - name: "name" - project: "project" - coreWorkflowExecutionPhase: - type: "string" - enum: - - "UNDEFINED" - - "QUEUED" - - "RUNNING" - - "SUCCEEDING" - - "SUCCEEDED" - - "FAILING" - - "FAILED" - - "ABORTED" - - "TIMED_OUT" - - "ABORTING" - default: "UNDEFINED" - coreWorkflowMetadata: - type: "object" - properties: - quality_of_service: - description: "Indicates the runtime priority of workflow executions." - $ref: "#/definitions/coreQualityOfService" - on_failure: - description: "Defines how the system should behave when a failure is detected\ - \ in the workflow execution." - $ref: "#/definitions/WorkflowMetadataOnFailurePolicy" - description: "This is workflow layer metadata. These settings are only applicable\ - \ to the workflow as a whole, and do not\npercolate down to child entities (like\ - \ tasks) launched by the workflow." - example: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - coreWorkflowMetadataDefaults: - type: "object" - properties: - interruptible: - type: "boolean" - format: "boolean" - description: "Whether child nodes of the workflow are interruptible." - description: "The difference between these settings and the WorkflowMetadata ones\ - \ is that these are meant to be passed down to\na workflow's underlying entities\ - \ (like tasks). For instance, 'interruptible' has no meaning at the workflow\ - \ layer, it\nis only relevant when a task executes. The settings here are the\ - \ defaults that are passed to all nodes\nunless explicitly overridden at the\ - \ node layer.\nIf you are adding a setting that applies to both the Workflow\ - \ itself, and everything underneath it, it should be\nadded to both this object\ - \ and the WorkflowMetadata object above." - example: - interruptible: true - coreWorkflowNode: - type: "object" - properties: - launchplan_ref: - description: "A globally unique identifier for the launch plan." - $ref: "#/definitions/coreIdentifier" - sub_workflow_ref: - title: "Reference to a subworkflow, that should be defined with the compiler\ - \ context" - $ref: "#/definitions/coreIdentifier" - description: "Refers to a the workflow the node is to execute." - example: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - coreWorkflowTemplate: - type: "object" - properties: - id: - description: "A globally unique identifier for the workflow." - $ref: "#/definitions/coreIdentifier" - metadata: - description: "Extra metadata about the workflow." - $ref: "#/definitions/coreWorkflowMetadata" - interface: - description: "Defines a strongly typed interface for the Workflow. This can\ - \ include some optional parameters." - $ref: "#/definitions/coreTypedInterface" - nodes: - type: "array" - description: "A list of nodes. In addition, 'globals' is a special reserved\ - \ node id that can be used to consume workflow inputs." - items: - $ref: "#/definitions/coreNode" - outputs: - type: "array" - description: "A list of output bindings that specify how to construct workflow\ - \ outputs. Bindings can pull node outputs or\nspecify literals. All workflow\ - \ outputs specified in the interface field must be bound in order for the\ - \ workflow\nto be validated. A workflow has an implicit dependency on all\ - \ of its nodes to execute successfully in order to\nbind final outputs.\n\ - Most of these outputs will be Binding's with a BindingData of type OutputReference.\ - \ That is, your workflow can\njust have an output of some constant (`Output(5)`),\ - \ but usually, the workflow will be pulling\noutputs from the output of\ - \ a task." - items: - $ref: "#/definitions/coreBinding" - failure_node: - description: "+optional A catch-all node. This node is executed whenever the\ - \ execution engine determines the workflow has failed.\nThe interface of\ - \ this node must match the Workflow interface with an additional input named\ - \ 'error' of type\npb.lyft.flyte.core.Error." - $ref: "#/definitions/coreNode" - metadata_defaults: - title: "workflow defaults" - $ref: "#/definitions/coreWorkflowMetadataDefaults" - description: "Flyte Workflow Structure that encapsulates task, branch and subworkflow\ - \ nodes to form a statically analyzable,\ndirected acyclic graph." - example: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - eventExternalResourceInfo: - type: "object" - properties: - external_id: - type: "string" - description: "Identifier for an external resource created by this task execution,\ - \ for example Qubole query ID or presto query ids." - index: - type: "integer" - format: "int64" - description: "A unique index for the external resource with respect to all\ - \ external resources for this task. Although the\nidentifier may change\ - \ between task reporting events or retries, this will remain the same to\ - \ enable aggregating\ninformation from multiple reports." - retry_attempt: - type: "integer" - format: "int64" - title: "Retry attempt number for this external resource, ie., 2 for the second\ - \ attempt" - phase: - title: "Phase associated with the external resource" - $ref: "#/definitions/coreTaskExecutionPhase" - cache_status: - description: "Captures the status of caching for this external resource execution." - $ref: "#/definitions/coreCatalogCacheStatus" - logs: - type: "array" - title: "log information for the external resource execution" - items: - $ref: "#/definitions/coreTaskLog" - description: "This message contains metadata about external resources produced\ - \ or used by a specific task execution." - example: - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - eventNodeExecutionEvent: - type: "object" - properties: - id: - title: "Unique identifier for this node execution" - $ref: "#/definitions/coreNodeExecutionIdentifier" - producer_id: - type: "string" - title: "the id of the originator (Propeller) of the event" - phase: - $ref: "#/definitions/coreNodeExecutionPhase" - occurred_at: - type: "string" - format: "date-time" - description: "This timestamp represents when the original event occurred,\ - \ it is generated\nby the executor of the node." - input_uri: - type: "string" - output_uri: - type: "string" - description: "URL to the output of the execution, it encodes all the information\n\ - including Cloud source provider. ie., s3://..." - error: - title: "Error information for the execution" - $ref: "#/definitions/coreExecutionError" - output_data: - description: "Raw output data produced by this node execution." - $ref: "#/definitions/coreLiteralMap" - workflow_node_metadata: - $ref: "#/definitions/flyteidleventWorkflowNodeMetadata" - task_node_metadata: - $ref: "#/definitions/flyteidleventTaskNodeMetadata" - parent_task_metadata: - description: "[To be deprecated] Specifies which task (if any) launched this\ - \ node." - $ref: "#/definitions/eventParentTaskExecutionMetadata" - parent_node_metadata: - description: "Specifies the parent node of the current node execution. Node\ - \ executions at level zero will not have a parent node." - $ref: "#/definitions/eventParentNodeExecutionMetadata" - retry_group: - type: "string" - title: "Retry group to indicate grouping of nodes by retries" - spec_node_id: - type: "string" - title: "Identifier of the node in the original workflow/graph\nThis maps to\ - \ value of WorkflowTemplate.nodes[X].id" - node_name: - type: "string" - title: "Friendly readable name for the node" - event_version: - type: "integer" - format: "int32" - is_parent: - type: "boolean" - format: "boolean" - description: "Whether this node launched a subworkflow." - is_dynamic: - type: "boolean" - format: "boolean" - description: "Whether this node yielded a dynamic workflow." - deck_uri: - type: "string" - title: "String location uniquely identifying where the deck HTML file is\n\ - NativeUrl specifies the url in the format of the configured storage provider\ - \ (e.g. s3://my-bucket/randomstring/suffix.tar)" - eventParentNodeExecutionMetadata: - type: "object" - properties: - node_id: - type: "string" - title: "Unique identifier of the parent node id within the execution\nThis\ - \ is value of core.NodeExecutionIdentifier.node_id of the parent node" - eventParentTaskExecutionMetadata: - type: "object" - properties: - id: - $ref: "#/definitions/coreTaskExecutionIdentifier" - eventResourcePoolInfo: - type: "object" - properties: - allocation_token: - type: "string" - description: "Unique resource ID used to identify this execution when allocating\ - \ a token." - namespace: - type: "string" - description: "Namespace under which this task execution requested an allocation\ - \ token." - description: "This message holds task execution metadata specific to resource\ - \ allocation used to manage concurrent\nexecutions for a project namespace." - example: - allocation_token: "allocation_token" - namespace: "namespace" - eventTaskExecutionEvent: - type: "object" - properties: - task_id: - description: "ID of the task. In combination with the retryAttempt this will\ - \ indicate\nthe task execution uniquely for a given parent node execution." - $ref: "#/definitions/coreIdentifier" - parent_node_execution_id: - title: "A task execution is always kicked off by a node execution, the event\ - \ consumer\nwill use the parent_id to relate the task to it's parent node\ - \ execution" - $ref: "#/definitions/coreNodeExecutionIdentifier" - retry_attempt: - type: "integer" - format: "int64" - title: "retry attempt number for this task, ie., 2 for the second attempt" - phase: - title: "Phase associated with the event" - $ref: "#/definitions/coreTaskExecutionPhase" - producer_id: - type: "string" - title: "id of the process that sent this event, mainly for trace debugging" - logs: - type: "array" - title: "log information for the task execution" - items: - $ref: "#/definitions/coreTaskLog" - occurred_at: - type: "string" - format: "date-time" - description: "This timestamp represents when the original event occurred,\ - \ it is generated\nby the executor of the task." - input_uri: - type: "string" - description: "URI of the input file, it encodes all the information\nincluding\ - \ Cloud source provider. ie., s3://..." - output_uri: - type: "string" - description: "URI to the output of the execution, it will be in a format that\ - \ encodes all the information\nincluding Cloud source provider. ie., s3://..." - error: - title: "Error information for the execution" - $ref: "#/definitions/coreExecutionError" - output_data: - description: "Raw output data produced by this task execution." - $ref: "#/definitions/coreLiteralMap" - custom_info: - description: "Custom data that the task plugin sends back. This is extensible\ - \ to allow various plugins in the system." - $ref: "#/definitions/protobufStruct" - phase_version: - type: "integer" - format: "int64" - description: "Some phases, like RUNNING, can send multiple events with changed\ - \ metadata (new logs, additional custom_info, etc)\nthat should be recorded\ - \ regardless of the lack of phase change.\nThe version field should be incremented\ - \ when metadata changes across the duration of an individual phase." - reason: - type: "string" - description: "An optional explanation for the phase transition." - task_type: - type: "string" - description: "A predefined yet extensible Task type identifier. If the task\ - \ definition is already registered in flyte admin\nthis type will be identical,\ - \ but not all task executions necessarily use pre-registered definitions\ - \ and this\ntype is useful to render the task in the UI, filter task executions,\ - \ etc." - metadata: - description: "Metadata around how a task was executed." - $ref: "#/definitions/eventTaskExecutionMetadata" - event_version: - type: "integer" - format: "int32" - description: "The event version is used to indicate versioned changes in how\ - \ data is reported using this\nproto message. For example, event_verison\ - \ > 0 means that maps tasks report logs using the\nTaskExecutionMetadata\ - \ ExternalResourceInfo fields for each subtask rather than the TaskLog\n\ - in this message." - description: "Plugin specific execution event information. For tasks like Python,\ - \ Hive, Spark, DynamicJob." - eventTaskExecutionMetadata: - type: "object" - properties: - generated_name: - type: "string" - description: "Unique, generated name for this task execution used by the backend." - external_resources: - type: "array" - description: "Additional data on external resources on other back-ends or\ - \ platforms (e.g. Hive, Qubole, etc) launched by this task execution." - items: - $ref: "#/definitions/eventExternalResourceInfo" - resource_pool_info: - type: "array" - description: "Includes additional data on concurrent resource management used\ - \ during execution..\nThis is a repeated field because a plugin can request\ - \ multiple resource allocations during execution." - items: - $ref: "#/definitions/eventResourcePoolInfo" - plugin_identifier: - type: "string" - description: "The identifier of the plugin used to execute this task." - instance_class: - $ref: "#/definitions/TaskExecutionMetadataInstanceClass" - description: "Holds metadata around how a task was executed.\nAs a task transitions\ - \ across event phases during execution some attributes, such its generated name,\ - \ generated external resources,\nand more may grow in size but not change necessarily\ - \ based on the phase transition that sparked the event update.\nMetadata is\ - \ a container for these attributes across the task execution lifecycle." - example: - external_resources: - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - instance_class: {} - resource_pool_info: - - allocation_token: "allocation_token" - namespace: "namespace" - - allocation_token: "allocation_token" - namespace: "namespace" - generated_name: "generated_name" - plugin_identifier: "plugin_identifier" - eventWorkflowExecutionEvent: - type: "object" - properties: - execution_id: - title: "Workflow execution id" - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - producer_id: - type: "string" - title: "the id of the originator (Propeller) of the event" - phase: - $ref: "#/definitions/coreWorkflowExecutionPhase" - occurred_at: - type: "string" - format: "date-time" - description: "This timestamp represents when the original event occurred,\ - \ it is generated\nby the executor of the workflow." - output_uri: - type: "string" - description: "URL to the output of the execution, it encodes all the information\n\ - including Cloud source provider. ie., s3://..." - error: - title: "Error information for the execution" - $ref: "#/definitions/coreExecutionError" - output_data: - description: "Raw output data produced by this workflow execution." - $ref: "#/definitions/coreLiteralMap" - flyteidladminDynamicWorkflowNodeMetadata: - type: "object" - properties: - id: - description: "id represents the unique identifier of the workflow." - $ref: "#/definitions/coreIdentifier" - compiled_workflow: - description: "Represents the compiled representation of the embedded dynamic\ - \ workflow." - $ref: "#/definitions/coreCompiledWorkflowClosure" - description: "For dynamic workflow nodes we capture information about the dynamic\ - \ workflow definition that gets generated." - example: - compiled_workflow: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 6 - - container_port: 6 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - task_type_version: 1 - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - config: - key: "config" - security_context: - run_as: - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - right_value: - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - var: "var" - operator: {} - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 1.4658129805029452 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - flyteidladminNodeExecution: - type: "object" - properties: - id: - description: "Uniquely identifies an individual node execution." - $ref: "#/definitions/coreNodeExecutionIdentifier" - input_uri: - type: "string" - description: "Path to remote data store where input blob is stored." - closure: - description: "Computed results associated with this node execution." - $ref: "#/definitions/adminNodeExecutionClosure" - metadata: - title: "Metadata for Node Execution" - $ref: "#/definitions/adminNodeExecutionMetaData" - description: "Encapsulates all details for a single node execution entity.\nA\ - \ node represents a component in the overall workflow graph. A node launch a\ - \ task, multiple tasks, an entire nested\nsub-workflow, or even a separate child-workflow\ - \ execution.\nThe same task can be called repeatedly in a single workflow but\ - \ each node is unique." - example: - metadata: - retry_group: "retry_group" - is_parent_node: true - spec_node_id: "spec_node_id" - is_dynamic: true - input_uri: "input_uri" - id: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - closure: - phase: {} - duration: "duration" - workflow_node_metadata: - executionId: - domain: "domain" - name: "name" - project: "project" - updated_at: "2000-01-23T04:56:07.000+00:00" - task_node_metadata: - catalog_key: - source_task_execution: - task_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - dataset_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - artifact_tag: - name: "name" - artifact_id: "artifact_id" - cache_status: {} - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - output_data: - literals: {} - deck_uri: "deck_uri" - flyteidladminTaskExecution: - type: "object" - properties: - id: - description: "Unique identifier for the task execution." - $ref: "#/definitions/coreTaskExecutionIdentifier" - input_uri: - type: "string" - description: "Path to remote data store where input blob is stored." - closure: - description: "Task execution details and results." - $ref: "#/definitions/adminTaskExecutionClosure" - is_parent: - type: "boolean" - format: "boolean" - description: "Whether this task spawned nodes." - description: "Encapsulates all details for a single task execution entity.\nA\ - \ task execution represents an instantiated task, including all inputs and additional\n\ - metadata as well as computed results included state, outputs, and duration-based\ - \ attributes." - example: - input_uri: "input_uri" - id: - task_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - is_parent: true - closure: - phase: {} - reason: "reason" - metadata: - external_resources: - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - instance_class: {} - resource_pool_info: - - allocation_token: "allocation_token" - namespace: "namespace" - - allocation_token: "allocation_token" - namespace: "namespace" - generated_name: "generated_name" - plugin_identifier: "plugin_identifier" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - event_version: 1 - updated_at: "2000-01-23T04:56:07.000+00:00" - custom_info: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - task_type: "task_type" - output_data: - literals: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - flyteidladminTaskNodeMetadata: - type: "object" - properties: - cache_status: - description: "Captures the status of caching for this execution." - $ref: "#/definitions/coreCatalogCacheStatus" - catalog_key: - title: "This structure carries the catalog artifact information" - $ref: "#/definitions/coreCatalogMetadata" - title: "Metadata for the case in which the node is a TaskNode" - example: - catalog_key: - source_task_execution: - task_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - dataset_id: - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - artifact_tag: - name: "name" - artifact_id: "artifact_id" - cache_status: {} - flyteidladminWorkflowNodeMetadata: - type: "object" - properties: - executionId: - description: "The identifier for a workflow execution launched by a node." - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - title: "Metadata for a WorkflowNode" - example: - executionId: - domain: "domain" - name: "name" - project: "project" - flyteidlcoreSchema: - type: "object" - properties: - uri: - type: "string" - type: - $ref: "#/definitions/coreSchemaType" - description: "A strongly typed schema that defines the interface of data retrieved\ - \ from the underlying storage medium." - example: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - flyteidleventDynamicWorkflowNodeMetadata: - type: "object" - properties: - id: - description: "id represents the unique identifier of the workflow." - $ref: "#/definitions/coreIdentifier" - compiled_workflow: - description: "Represents the compiled representation of the embedded dynamic\ - \ workflow." - $ref: "#/definitions/coreCompiledWorkflowClosure" - description: "For dynamic workflow nodes we send information about the dynamic\ - \ workflow definition that gets generated." - flyteidleventTaskNodeMetadata: - type: "object" - properties: - cache_status: - description: "Captures the status of caching for this execution." - $ref: "#/definitions/coreCatalogCacheStatus" - catalog_key: - title: "This structure carries the catalog artifact information" - $ref: "#/definitions/coreCatalogMetadata" - reservation_status: - description: "Captures the status of cache reservations for this execution." - $ref: "#/definitions/CatalogReservationStatus" - dynamic_workflow: - description: "In the case this task launched a dynamic workflow we capture\ - \ its structure here." - $ref: "#/definitions/flyteidleventDynamicWorkflowNodeMetadata" - flyteidleventWorkflowNodeMetadata: - type: "object" - properties: - execution_id: - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - title: "For Workflow Nodes we need to send information about the workflow that's\ - \ launched" - protobufListValue: - type: "object" - properties: - values: - type: "array" - description: "Repeated field of dynamically typed values." - items: - $ref: "#/definitions/protobufValue" - description: "`ListValue` is a wrapper around a repeated field of values.\n\n\ - The JSON representation for `ListValue` is JSON array." - example: - values: - - null - - null - protobufNullValue: - type: "string" - description: "`NullValue` is a singleton enumeration to represent the null value\ - \ for the\n`Value` type union.\n\n The JSON representation for `NullValue` is\ - \ JSON `null`.\n\n - NULL_VALUE: Null value." - enum: - - "NULL_VALUE" - default: "NULL_VALUE" - protobufStruct: - type: "object" - properties: - fields: - type: "object" - description: "Unordered map of dynamically typed values." - additionalProperties: - $ref: "#/definitions/protobufValue" - description: "`Struct` represents a structured data value, consisting of fields\n\ - which map to dynamically typed values. In some languages, `Struct`\nmight be\ - \ supported by a native representation. For example, in\nscripting languages\ - \ like JS a struct is represented as an\nobject. The details of that representation\ - \ are described together\nwith the proto support for the language.\n\nThe JSON\ - \ representation for `Struct` is JSON object." - example: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - protobufValue: - type: "object" - properties: - null_value: - description: "Represents a null value." - $ref: "#/definitions/protobufNullValue" - number_value: - type: "number" - format: "double" - description: "Represents a double value." - string_value: - type: "string" - description: "Represents a string value." - bool_value: - type: "boolean" - format: "boolean" - description: "Represents a boolean value." - struct_value: - description: "Represents a structured value." - $ref: "#/definitions/protobufStruct" - list_value: - description: "Represents a repeated `Value`." - $ref: "#/definitions/protobufListValue" - description: "`Value` represents a dynamically typed value which can be either\n\ - null, a number, a string, a boolean, a recursive struct value, or a\nlist of\ - \ values. A producer of value is expected to set one of that\nvariants, absence\ - \ of any variant indicates an error.\n\nThe JSON representation for `Value`\ - \ is JSON value." - example: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true diff --git a/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go b/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go deleted file mode 100644 index 0cd7f73dc..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go +++ /dev/null @@ -1,5335 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - "fmt" - "github.com/antihax/optional" -) - -// Linger please -var ( - _ context.Context -) - -type AdminServiceApiService service - -/* -AdminServiceApiService Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` -Create a workflow execution. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminExecutionCreateResponse -*/ -func (a *AdminServiceApiService) CreateExecution(ctx context.Context, body AdminExecutionCreateRequest) (AdminExecutionCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition -Create and register a launch plan definition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminLaunchPlanCreateResponse -*/ -func (a *AdminServiceApiService) CreateLaunchPlan(ctx context.Context, body AdminLaunchPlanCreateRequest) (AdminLaunchPlanCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - if localVarHttpResponse.StatusCode == 400 { - var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - if localVarHttpResponse.StatusCode == 409 { - var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. -Create a node execution event recording a phase transition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminNodeExecutionEventResponse -*/ -func (a *AdminServiceApiService) CreateNodeEvent(ctx context.Context, body AdminNodeExecutionEventRequest) (AdminNodeExecutionEventResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNodeExecutionEventResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/events/nodes" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNodeExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Task` definition -Create and register a task definition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminTaskCreateResponse -*/ -func (a *AdminServiceApiService) CreateTask(ctx context.Context, body AdminTaskCreateRequest) (AdminTaskCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/tasks" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - if localVarHttpResponse.StatusCode == 400 { - var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - if localVarHttpResponse.StatusCode == 409 { - var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. -Create a task execution event recording a phase transition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminTaskExecutionEventResponse -*/ -func (a *AdminServiceApiService) CreateTaskEvent(ctx context.Context, body AdminTaskExecutionEventRequest) (AdminTaskExecutionEventResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskExecutionEventResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/events/tasks" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition -Create and register a workflow definition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminWorkflowCreateResponse -*/ -func (a *AdminServiceApiService) CreateWorkflow(ctx context.Context, body AdminWorkflowCreateRequest) (AdminWorkflowCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflows" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - if localVarHttpResponse.StatusCode == 400 { - var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - if localVarHttpResponse.StatusCode == 409 { - var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. -Create a workflow execution event recording a phase transition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminWorkflowExecutionEventResponse -*/ -func (a *AdminServiceApiService) CreateWorkflowEvent(ctx context.Context, body AdminWorkflowExecutionEventRequest) (AdminWorkflowExecutionEventResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowExecutionEventResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/events/workflows" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -Delete the customized resource attributes associated with a project-domain combination - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Unique project id which this set of attributes references. +required - * @param domain Unique domain id which this set of attributes references. +required - * @param body - -@return AdminProjectDomainAttributesDeleteResponse -*/ -func (a *AdminServiceApiService) DeleteProjectDomainAttributes(ctx context.Context, project string, domain string, body AdminProjectDomainAttributesDeleteRequest) (AdminProjectDomainAttributesDeleteResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectDomainAttributesDeleteResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectDomainAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -Delete the customized resource attributes associated with a project, domain and workflow combination - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Unique project id which this set of attributes references. +required - * @param domain Unique domain id which this set of attributes references. +required - * @param workflow Workflow name which this set of attributes references. +required - * @param body - -@return AdminWorkflowAttributesDeleteResponse -*/ -func (a *AdminServiceApiService) DeleteWorkflowAttributes(ctx context.Context, project string, domain string, workflow string, body AdminWorkflowAttributesDeleteRequest) (AdminWorkflowAttributesDeleteResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowAttributesDeleteResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_attributes/{project}/{domain}/{workflow}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"workflow"+"}", fmt.Sprintf("%v", workflow), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. -Retrieve the active launch plan version specified by input request filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - -@return AdminLaunchPlan -*/ -func (a *AdminServiceApiService) GetActiveLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string) (AdminLaunchPlan, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlan - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlan - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.Execution`. -Retrieve an existing workflow execution. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - -@return AdminExecution -*/ -func (a *AdminServiceApiService) GetExecution(ctx context.Context, idProject string, idDomain string, idName string) (AdminExecution, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecution - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. -Retrieve input and output data from an existing workflow execution. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - -@return AdminWorkflowExecutionGetDataResponse -*/ -func (a *AdminServiceApiService) GetExecutionData(ctx context.Context, idProject string, idDomain string, idName string) (AdminWorkflowExecutionGetDataResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowExecutionGetDataResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/data/executions/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. -Retrieve an existing launch plan definition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - * @param optional nil or *GetLaunchPlanOpts - Optional Parameters: - * @param "IdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - -@return AdminLaunchPlan -*/ - -type GetLaunchPlanOpts struct { - IdResourceType optional.String -} - -func (a *AdminServiceApiService) GetLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetLaunchPlanOpts) (AdminLaunchPlan, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlan - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdResourceType.IsSet() { - localVarQueryParams.Add("id.resource_type", parameterToString(localVarOptionals.IdResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlan - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. -Retrieve a NamedEntity object. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param resourceType Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - -@return AdminNamedEntity -*/ -func (a *AdminServiceApiService) GetNamedEntity(ctx context.Context, resourceType string, idProject string, idDomain string, idName string) (AdminNamedEntity, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntity - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntity - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. -Retrieve an existing node execution. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idExecutionIdProject Name of the project the resource belongs to. - * @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idExecutionIdName User or system provided value for the resource. - * @param idNodeId - -@return FlyteidladminNodeExecution -*/ -func (a *AdminServiceApiService) GetNodeExecution(ctx context.Context, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string) (FlyteidladminNodeExecution, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue FlyteidladminNodeExecution - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}" - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.project"+"}", fmt.Sprintf("%v", idExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.domain"+"}", fmt.Sprintf("%v", idExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.name"+"}", fmt.Sprintf("%v", idExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_id"+"}", fmt.Sprintf("%v", idNodeId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v FlyteidladminNodeExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. -Retrieve input and output data from an existing node execution. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idExecutionIdProject Name of the project the resource belongs to. - * @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idExecutionIdName User or system provided value for the resource. - * @param idNodeId - -@return AdminNodeExecutionGetDataResponse -*/ -func (a *AdminServiceApiService) GetNodeExecutionData(ctx context.Context, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string) (AdminNodeExecutionGetDataResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNodeExecutionGetDataResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}" - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.project"+"}", fmt.Sprintf("%v", idExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.domain"+"}", fmt.Sprintf("%v", idExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.name"+"}", fmt.Sprintf("%v", idExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_id"+"}", fmt.Sprintf("%v", idNodeId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNodeExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -Retrieve the customized resource attributes associated with a project-domain combination - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Unique project id which this set of attributes references. +required - * @param domain Unique domain id which this set of attributes references. +required - * @param optional nil or *GetProjectDomainAttributesOpts - Optional Parameters: - * @param "ResourceType" (optional.String) - Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - -@return AdminProjectDomainAttributesGetResponse -*/ - -type GetProjectDomainAttributesOpts struct { - ResourceType optional.String -} - -func (a *AdminServiceApiService) GetProjectDomainAttributes(ctx context.Context, project string, domain string, localVarOptionals *GetProjectDomainAttributesOpts) (AdminProjectDomainAttributesGetResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectDomainAttributesGetResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { - localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectDomainAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Task` definition. -Retrieve an existing task definition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - * @param optional nil or *GetTaskOpts - Optional Parameters: - * @param "IdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - -@return AdminTask -*/ - -type GetTaskOpts struct { - IdResourceType optional.String -} - -func (a *AdminServiceApiService) GetTask(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetTaskOpts) (AdminTask, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTask - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdResourceType.IsSet() { - localVarQueryParams.Add("id.resource_type", parameterToString(localVarOptionals.IdResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTask - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. -Retrieve an existing task execution. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. - * @param idNodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idNodeExecutionIdExecutionIdName User or system provided value for the resource. - * @param idNodeExecutionIdNodeId - * @param idTaskIdProject Name of the project the resource belongs to. - * @param idTaskIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idTaskIdName User provided value for the resource. - * @param idTaskIdVersion Specific version of the resource. - * @param idRetryAttempt - * @param optional nil or *GetTaskExecutionOpts - Optional Parameters: - * @param "IdTaskIdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - -@return FlyteidladminTaskExecution -*/ - -type GetTaskExecutionOpts struct { - IdTaskIdResourceType optional.String -} - -func (a *AdminServiceApiService) GetTaskExecution(ctx context.Context, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecutionOpts) (FlyteidladminTaskExecution, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue FlyteidladminTaskExecution - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}" - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.node_id"+"}", fmt.Sprintf("%v", idNodeExecutionIdNodeId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.project"+"}", fmt.Sprintf("%v", idTaskIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.domain"+"}", fmt.Sprintf("%v", idTaskIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.name"+"}", fmt.Sprintf("%v", idTaskIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.version"+"}", fmt.Sprintf("%v", idTaskIdVersion), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.retry_attempt"+"}", fmt.Sprintf("%v", idRetryAttempt), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdTaskIdResourceType.IsSet() { - localVarQueryParams.Add("id.task_id.resource_type", parameterToString(localVarOptionals.IdTaskIdResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v FlyteidladminTaskExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. -Retrieve input and output data from an existing task execution. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. - * @param idNodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idNodeExecutionIdExecutionIdName User or system provided value for the resource. - * @param idNodeExecutionIdNodeId - * @param idTaskIdProject Name of the project the resource belongs to. - * @param idTaskIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idTaskIdName User provided value for the resource. - * @param idTaskIdVersion Specific version of the resource. - * @param idRetryAttempt - * @param optional nil or *GetTaskExecutionDataOpts - Optional Parameters: - * @param "IdTaskIdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - -@return AdminTaskExecutionGetDataResponse -*/ - -type GetTaskExecutionDataOpts struct { - IdTaskIdResourceType optional.String -} - -func (a *AdminServiceApiService) GetTaskExecutionData(ctx context.Context, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecutionDataOpts) (AdminTaskExecutionGetDataResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskExecutionGetDataResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}" - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.node_id"+"}", fmt.Sprintf("%v", idNodeExecutionIdNodeId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.project"+"}", fmt.Sprintf("%v", idTaskIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.domain"+"}", fmt.Sprintf("%v", idTaskIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.name"+"}", fmt.Sprintf("%v", idTaskIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.version"+"}", fmt.Sprintf("%v", idTaskIdVersion), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.retry_attempt"+"}", fmt.Sprintf("%v", idRetryAttempt), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdTaskIdResourceType.IsSet() { - localVarQueryParams.Add("id.task_id.resource_type", parameterToString(localVarOptionals.IdTaskIdResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService -Retrieve the Version (including the Build information) for FlyteAdmin service - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - -@return AdminGetVersionResponse -*/ -func (a *AdminServiceApiService) GetVersion(ctx context.Context) (AdminGetVersionResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminGetVersionResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/version" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminGetVersionResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. -Retrieve an existing workflow definition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - * @param optional nil or *GetWorkflowOpts - Optional Parameters: - * @param "IdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - -@return AdminWorkflow -*/ - -type GetWorkflowOpts struct { - IdResourceType optional.String -} - -func (a *AdminServiceApiService) GetWorkflow(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetWorkflowOpts) (AdminWorkflow, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflow - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdResourceType.IsSet() { - localVarQueryParams.Add("id.resource_type", parameterToString(localVarOptionals.IdResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflow - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -Retrieve the customized resource attributes associated with a project, domain and workflow combination - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Unique project id which this set of attributes references. +required - * @param domain Unique domain id which this set of attributes references. +required - * @param workflow Workflow name which this set of attributes references. +required - * @param optional nil or *GetWorkflowAttributesOpts - Optional Parameters: - * @param "ResourceType" (optional.String) - Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - -@return AdminWorkflowAttributesGetResponse -*/ - -type GetWorkflowAttributesOpts struct { - ResourceType optional.String -} - -func (a *AdminServiceApiService) GetWorkflowAttributes(ctx context.Context, project string, domain string, workflow string, localVarOptionals *GetWorkflowAttributesOpts) (AdminWorkflowAttributesGetResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowAttributesGetResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_attributes/{project}/{domain}/{workflow}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"workflow"+"}", fmt.Sprintf("%v", workflow), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { - localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. -Fetch the active launch plan versions specified by input request filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Name of the project that contains the identifiers. +required. - * @param domain Name of the domain the identifiers belongs to within the project. +required. - * @param optional nil or *ListActiveLaunchPlansOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminLaunchPlanList -*/ - -type ListActiveLaunchPlansOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListActiveLaunchPlans(ctx context.Context, project string, domain string, localVarOptionals *ListActiveLaunchPlansOpts) (AdminLaunchPlanList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/active_launch_plans/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Execution`. -Fetch existing workflow executions matching input filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListExecutionsOpts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminExecutionList -*/ - -type ListExecutionsOpts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListExecutions(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListExecutionsOpts) (AdminExecutionList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. -Fetch existing launch plan definition identifiers matching input filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Name of the project that contains the identifiers. +required - * @param domain Name of the domain the identifiers belongs to within the project. +required - * @param optional nil or *ListLaunchPlanIdsOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. - -@return AdminNamedEntityIdentifierList -*/ - -type ListLaunchPlanIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String - Filters optional.String -} - -func (a *AdminServiceApiService) ListLaunchPlanIds(ctx context.Context, project string, domain string, localVarOptionals *ListLaunchPlanIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityIdentifierList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plan_ids/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -Fetch existing launch plan definitions matching input filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param optional nil or *ListLaunchPlansOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminLaunchPlanList -*/ - -type ListLaunchPlansOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListLaunchPlans(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListLaunchPlansOpts) (AdminLaunchPlanList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -Fetch existing launch plan definitions matching input filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListLaunchPlans2Opts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminLaunchPlanList -*/ - -type ListLaunchPlans2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListLaunchPlans2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListLaunchPlans2Opts) (AdminLaunchPlanList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. -Retrieve a list of MatchableAttributesConfiguration objects. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *ListMatchableAttributesOpts - Optional Parameters: - * @param "ResourceType" (optional.String) - +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - -@return AdminListMatchableAttributesResponse -*/ - -type ListMatchableAttributesOpts struct { - ResourceType optional.String -} - -func (a *AdminServiceApiService) ListMatchableAttributes(ctx context.Context, localVarOptionals *ListMatchableAttributesOpts) (AdminListMatchableAttributesResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminListMatchableAttributesResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/matchable_attributes" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { - localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminListMatchableAttributesResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. -Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param resourceType Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required - * @param project Name of the project that contains the identifiers. +required - * @param domain Name of the domain the identifiers belongs to within the project. - * @param optional nil or *ListNamedEntitiesOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. - -@return AdminNamedEntityList -*/ - -type ListNamedEntitiesOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String - Filters optional.String -} - -func (a *AdminServiceApiService) ListNamedEntities(ctx context.Context, resourceType string, project string, domain string, localVarOptionals *ListNamedEntitiesOpts) (AdminNamedEntityList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/named_entities/{resource_type}/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. -Fetch existing node executions matching input filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param workflowExecutionIdProject Name of the project the resource belongs to. - * @param workflowExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param workflowExecutionIdName User or system provided value for the resource. - * @param optional nil or *ListNodeExecutionsOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "UniqueParentId" (optional.String) - Unique identifier of the parent node in the execution +optional. - -@return AdminNodeExecutionList -*/ - -type ListNodeExecutionsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String - UniqueParentId optional.String -} - -func (a *AdminServiceApiService) ListNodeExecutions(ctx context.Context, workflowExecutionIdProject string, workflowExecutionIdDomain string, workflowExecutionIdName string, localVarOptionals *ListNodeExecutionsOpts) (AdminNodeExecutionList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNodeExecutionList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"workflow_execution_id.project"+"}", fmt.Sprintf("%v", workflowExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"workflow_execution_id.domain"+"}", fmt.Sprintf("%v", workflowExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"workflow_execution_id.name"+"}", fmt.Sprintf("%v", workflowExecutionIdName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.UniqueParentId.IsSet() { - localVarQueryParams.Add("unique_parent_id", parameterToString(localVarOptionals.UniqueParentId.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNodeExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. -Fetch child node executions launched by the specified task execution. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param taskExecutionIdNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. - * @param taskExecutionIdNodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param taskExecutionIdNodeExecutionIdExecutionIdName User or system provided value for the resource. - * @param taskExecutionIdNodeExecutionIdNodeId - * @param taskExecutionIdTaskIdProject Name of the project the resource belongs to. - * @param taskExecutionIdTaskIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param taskExecutionIdTaskIdName User provided value for the resource. - * @param taskExecutionIdTaskIdVersion Specific version of the resource. - * @param taskExecutionIdRetryAttempt - * @param optional nil or *ListNodeExecutionsForTaskOpts - Optional Parameters: - * @param "TaskExecutionIdTaskIdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminNodeExecutionList -*/ - -type ListNodeExecutionsForTaskOpts struct { - TaskExecutionIdTaskIdResourceType optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListNodeExecutionsForTask(ctx context.Context, taskExecutionIdNodeExecutionIdExecutionIdProject string, taskExecutionIdNodeExecutionIdExecutionIdDomain string, taskExecutionIdNodeExecutionIdExecutionIdName string, taskExecutionIdNodeExecutionIdNodeId string, taskExecutionIdTaskIdProject string, taskExecutionIdTaskIdDomain string, taskExecutionIdTaskIdName string, taskExecutionIdTaskIdVersion string, taskExecutionIdRetryAttempt int64, localVarOptionals *ListNodeExecutionsForTaskOpts) (AdminNodeExecutionList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNodeExecutionList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt}" - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.node_id"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdNodeId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.project"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.domain"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.name"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.version"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdVersion), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.retry_attempt"+"}", fmt.Sprintf("%v", taskExecutionIdRetryAttempt), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.TaskExecutionIdTaskIdResourceType.IsSet() { - localVarQueryParams.Add("task_execution_id.task_id.resource_type", parameterToString(localVarOptionals.TaskExecutionIdTaskIdResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNodeExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.Project` -Fetch registered projects. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *ListProjectsOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of projects to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminProjects -*/ - -type ListProjectsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListProjects(ctx context.Context, localVarOptionals *ListProjectsOpts) (AdminProjects, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjects - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/projects" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjects - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. -Fetch existing task executions matching input filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nodeExecutionIdExecutionIdProject Name of the project the resource belongs to. - * @param nodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param nodeExecutionIdExecutionIdName User or system provided value for the resource. - * @param nodeExecutionIdNodeId - * @param optional nil or *ListTaskExecutionsOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminTaskExecutionList -*/ - -type ListTaskExecutionsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListTaskExecutions(ctx context.Context, nodeExecutionIdExecutionIdProject string, nodeExecutionIdExecutionIdDomain string, nodeExecutionIdExecutionIdName string, nodeExecutionIdNodeId string, localVarOptionals *ListTaskExecutionsOpts) (AdminTaskExecutionList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskExecutionList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}" - localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", nodeExecutionIdExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", nodeExecutionIdExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", nodeExecutionIdExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.node_id"+"}", fmt.Sprintf("%v", nodeExecutionIdNodeId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. -Fetch existing task definition identifiers matching input filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Name of the project that contains the identifiers. +required - * @param domain Name of the domain the identifiers belongs to within the project. +required - * @param optional nil or *ListTaskIdsOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. - -@return AdminNamedEntityIdentifierList -*/ - -type ListTaskIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String - Filters optional.String -} - -func (a *AdminServiceApiService) ListTaskIds(ctx context.Context, project string, domain string, localVarOptionals *ListTaskIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityIdentifierList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/task_ids/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -Fetch existing task definitions matching input filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param optional nil or *ListTasksOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminTaskList -*/ - -type ListTasksOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListTasks(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListTasksOpts) (AdminTaskList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -Fetch existing task definitions matching input filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListTasks2Opts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminTaskList -*/ - -type ListTasks2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListTasks2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListTasks2Opts) (AdminTaskList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. -Fetch an existing workflow definition identifiers matching input filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Name of the project that contains the identifiers. +required - * @param domain Name of the domain the identifiers belongs to within the project. +required - * @param optional nil or *ListWorkflowIdsOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. - -@return AdminNamedEntityIdentifierList -*/ - -type ListWorkflowIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String - Filters optional.String -} - -func (a *AdminServiceApiService) ListWorkflowIds(ctx context.Context, project string, domain string, localVarOptionals *ListWorkflowIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityIdentifierList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_ids/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -Fetch existing workflow definitions matching input filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param optional nil or *ListWorkflowsOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminWorkflowList -*/ - -type ListWorkflowsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListWorkflows(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListWorkflowsOpts) (AdminWorkflowList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -Fetch existing workflow definitions matching input filters. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListWorkflows2Opts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminWorkflowList -*/ - -type ListWorkflows2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListWorkflows2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListWorkflows2Opts) (AdminWorkflowList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. -Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminExecutionCreateResponse -*/ -func (a *AdminServiceApiService) RecoverExecution(ctx context.Context, body AdminExecutionRecoverRequest) (AdminExecutionCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/recover" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. -Register a project. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminProjectRegisterResponse -*/ -func (a *AdminServiceApiService) RegisterProject(ctx context.Context, body AdminProjectRegisterRequest) (AdminProjectRegisterResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectRegisterResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/projects" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectRegisterResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` -Relaunch a workflow execution. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminExecutionCreateResponse -*/ -func (a *AdminServiceApiService) RelaunchExecution(ctx context.Context, body AdminExecutionRelaunchRequest) (AdminExecutionCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/relaunch" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. -Terminate the active workflow execution specified in the request. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - * @param body - -@return AdminExecutionTerminateResponse -*/ -func (a *AdminServiceApiService) TerminateExecution(ctx context.Context, idProject string, idDomain string, idName string, body AdminExecutionTerminateRequest) (AdminExecutionTerminateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionTerminateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionTerminateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. -Update execution belonging to project domain. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - * @param body - -@return AdminExecutionUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateExecution(ctx context.Context, idProject string, idDomain string, idName string, body AdminExecutionUpdateRequest) (AdminExecutionUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. -Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - * @param body - -@return AdminLaunchPlanUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, body AdminLaunchPlanUpdateRequest) (AdminLaunchPlanUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. -Update the fields associated with a NamedEntity - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param resourceType Resource type of the metadata to update +required - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param body - -@return AdminNamedEntityUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateNamedEntity(ctx context.Context, resourceType string, idProject string, idDomain string, idName string, body AdminNamedEntityUpdateRequest) (AdminNamedEntityUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. -Update a project. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param id Globally unique project name. - * @param body - -@return AdminProjectUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateProject(ctx context.Context, id string, body AdminProject) (AdminProjectUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/projects/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", fmt.Sprintf("%v", id), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -Update the customized resource attributes associated with a project-domain combination - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param attributesProject Unique project id for which this set of attributes will be applied. - * @param attributesDomain Unique domain id for which this set of attributes will be applied. - * @param body - -@return AdminProjectDomainAttributesUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateProjectDomainAttributes(ctx context.Context, attributesProject string, attributesDomain string, body AdminProjectDomainAttributesUpdateRequest) (AdminProjectDomainAttributesUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectDomainAttributesUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"attributes.project"+"}", fmt.Sprintf("%v", attributesProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"attributes.domain"+"}", fmt.Sprintf("%v", attributesDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectDomainAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -Update the customized resource attributes associated with a project, domain and workflow combination - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param attributesProject Unique project id for which this set of attributes will be applied. - * @param attributesDomain Unique domain id for which this set of attributes will be applied. - * @param attributesWorkflow Workflow name for which this set of attributes will be applied. - * @param body - -@return AdminWorkflowAttributesUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateWorkflowAttributes(ctx context.Context, attributesProject string, attributesDomain string, attributesWorkflow string, body AdminWorkflowAttributesUpdateRequest) (AdminWorkflowAttributesUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowAttributesUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}" - localVarPath = strings.Replace(localVarPath, "{"+"attributes.project"+"}", fmt.Sprintf("%v", attributesProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"attributes.domain"+"}", fmt.Sprintf("%v", attributesDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"attributes.workflow"+"}", fmt.Sprintf("%v", attributesWorkflow), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/client.go b/gen/pb-go/flyteidl/service/flyteadmin/client.go deleted file mode 100644 index 8fd676821..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/client.go +++ /dev/null @@ -1,464 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "bytes" - "context" - "encoding/json" - "encoding/xml" - "errors" - "fmt" - "io" - "mime/multipart" - "net/http" - "net/url" - "os" - "path/filepath" - "reflect" - "regexp" - "strconv" - "strings" - "time" - "unicode/utf8" - - "golang.org/x/oauth2" -) - -var ( - jsonCheck = regexp.MustCompile("(?i:[application|text]/json)") - xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)") -) - -// APIClient manages communication with the flyteidl/service/admin.proto API vversion not set -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - - AdminServiceApi *AdminServiceApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient - } - - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.AdminServiceApi = (*AdminServiceApiService)(&c.common) - - return c -} - -func atoi(in string) (int, error) { - return strconv.Atoi(in) -} - -// selectHeaderContentType select a content type from the available list. -func selectHeaderContentType(contentTypes []string) string { - if len(contentTypes) == 0 { - return "" - } - if contains(contentTypes, "application/json") { - return "application/json" - } - return contentTypes[0] // use the first content type specified in 'consumes' -} - -// selectHeaderAccept join all accept types and return -func selectHeaderAccept(accepts []string) string { - if len(accepts) == 0 { - return "" - } - - if contains(accepts, "application/json") { - return "application/json" - } - - return strings.Join(accepts, ",") -} - -// contains is a case insenstive match, finding needle in a haystack -func contains(haystack []string, needle string) bool { - for _, a := range haystack { - if strings.ToLower(a) == strings.ToLower(needle) { - return true - } - } - return false -} - -// Verify optional parameters are of the correct type. -func typeCheckParameter(obj interface{}, expected string, name string) error { - // Make sure there is an object. - if obj == nil { - return nil - } - - // Check the type is as expected. - if reflect.TypeOf(obj).String() != expected { - return fmt.Errorf("Expected %s to be of type %s but received %s.", name, expected, reflect.TypeOf(obj).String()) - } - return nil -} - -// parameterToString convert interface{} parameters to string, using a delimiter if format is provided. -func parameterToString(obj interface{}, collectionFormat string) string { - var delimiter string - - switch collectionFormat { - case "pipes": - delimiter = "|" - case "ssv": - delimiter = " " - case "tsv": - delimiter = "\t" - case "csv": - delimiter = "," - } - - if reflect.TypeOf(obj).Kind() == reflect.Slice { - return strings.Trim(strings.Replace(fmt.Sprint(obj), " ", delimiter, -1), "[]") - } - - return fmt.Sprintf("%v", obj) -} - -// callAPI do the request. -func (c *APIClient) callAPI(request *http.Request) (*http.Response, error) { - return c.cfg.HTTPClient.Do(request) -} - -// Change base path to allow switching to mocks -func (c *APIClient) ChangeBasePath(path string) { - c.cfg.BasePath = path -} - -// prepareRequest build the request -func (c *APIClient) prepareRequest( - ctx context.Context, - path string, method string, - postBody interface{}, - headerParams map[string]string, - queryParams url.Values, - formParams url.Values, - fileName string, - fileBytes []byte) (localVarRequest *http.Request, err error) { - - var body *bytes.Buffer - - // Detect postBody type and post. - if postBody != nil { - contentType := headerParams["Content-Type"] - if contentType == "" { - contentType = detectContentType(postBody) - headerParams["Content-Type"] = contentType - } - - body, err = setBody(postBody, contentType) - if err != nil { - return nil, err - } - } - - // add form parameters and file if available. - if len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") { - if body != nil { - return nil, errors.New("Cannot specify postBody and multipart form at the same time.") - } - body = &bytes.Buffer{} - w := multipart.NewWriter(body) - - for k, v := range formParams { - for _, iv := range v { - if strings.HasPrefix(k, "@") { // file - err = addFile(w, k[1:], iv) - if err != nil { - return nil, err - } - } else { // form value - w.WriteField(k, iv) - } - } - } - if len(fileBytes) > 0 && fileName != "" { - w.Boundary() - //_, fileNm := filepath.Split(fileName) - part, err := w.CreateFormFile("file", filepath.Base(fileName)) - if err != nil { - return nil, err - } - _, err = part.Write(fileBytes) - if err != nil { - return nil, err - } - // Set the Boundary in the Content-Type - headerParams["Content-Type"] = w.FormDataContentType() - } - - // Set Content-Length - headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) - w.Close() - } - - // Setup path and query parameters - url, err := url.Parse(path) - if err != nil { - return nil, err - } - - // Adding Query Param - query := url.Query() - for k, v := range queryParams { - for _, iv := range v { - query.Add(k, iv) - } - } - - // Encode the parameters. - url.RawQuery = query.Encode() - - // Generate a new request - if body != nil { - localVarRequest, err = http.NewRequest(method, url.String(), body) - } else { - localVarRequest, err = http.NewRequest(method, url.String(), nil) - } - if err != nil { - return nil, err - } - - // add header parameters, if any - if len(headerParams) > 0 { - headers := http.Header{} - for h, v := range headerParams { - headers.Set(h, v) - } - localVarRequest.Header = headers - } - - // Override request host, if applicable - if c.cfg.Host != "" { - localVarRequest.Host = c.cfg.Host - } - - // Add the user agent to the request. - localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) - - if ctx != nil { - // add context to the request - localVarRequest = localVarRequest.WithContext(ctx) - - // Walk through any authentication. - - // OAuth2 authentication - if tok, ok := ctx.Value(ContextOAuth2).(oauth2.TokenSource); ok { - // We were able to grab an oauth2 token from the context - var latestToken *oauth2.Token - if latestToken, err = tok.Token(); err != nil { - return nil, err - } - - latestToken.SetAuthHeader(localVarRequest) - } - - // Basic HTTP Authentication - if auth, ok := ctx.Value(ContextBasicAuth).(BasicAuth); ok { - localVarRequest.SetBasicAuth(auth.UserName, auth.Password) - } - - // AccessToken Authentication - if auth, ok := ctx.Value(ContextAccessToken).(string); ok { - localVarRequest.Header.Add("Authorization", "Bearer "+auth) - } - } - - for header, value := range c.cfg.DefaultHeader { - localVarRequest.Header.Add(header, value) - } - - return localVarRequest, nil -} - -func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { - if strings.Contains(contentType, "application/xml") { - if err = xml.Unmarshal(b, v); err != nil { - return err - } - return nil - } else if strings.Contains(contentType, "application/json") { - if err = json.Unmarshal(b, v); err != nil { - return err - } - return nil - } - return errors.New("undefined response type") -} - -// Add a file to the multipart request -func addFile(w *multipart.Writer, fieldName, path string) error { - file, err := os.Open(path) - if err != nil { - return err - } - defer file.Close() - - part, err := w.CreateFormFile(fieldName, filepath.Base(path)) - if err != nil { - return err - } - _, err = io.Copy(part, file) - - return err -} - -// Prevent trying to import "fmt" -func reportError(format string, a ...interface{}) error { - return fmt.Errorf(format, a...) -} - -// Set request body from an interface{} -func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { - if bodyBuf == nil { - bodyBuf = &bytes.Buffer{} - } - - if reader, ok := body.(io.Reader); ok { - _, err = bodyBuf.ReadFrom(reader) - } else if b, ok := body.([]byte); ok { - _, err = bodyBuf.Write(b) - } else if s, ok := body.(string); ok { - _, err = bodyBuf.WriteString(s) - } else if s, ok := body.(*string); ok { - _, err = bodyBuf.WriteString(*s) - } else if jsonCheck.MatchString(contentType) { - err = json.NewEncoder(bodyBuf).Encode(body) - } else if xmlCheck.MatchString(contentType) { - xml.NewEncoder(bodyBuf).Encode(body) - } - - if err != nil { - return nil, err - } - - if bodyBuf.Len() == 0 { - err = fmt.Errorf("Invalid body type %s\n", contentType) - return nil, err - } - return bodyBuf, nil -} - -// detectContentType method is used to figure out `Request.Body` content type for request header -func detectContentType(body interface{}) string { - contentType := "text/plain; charset=utf-8" - kind := reflect.TypeOf(body).Kind() - - switch kind { - case reflect.Struct, reflect.Map, reflect.Ptr: - contentType = "application/json; charset=utf-8" - case reflect.String: - contentType = "text/plain; charset=utf-8" - default: - if b, ok := body.([]byte); ok { - contentType = http.DetectContentType(b) - } else if kind == reflect.Slice { - contentType = "application/json; charset=utf-8" - } - } - - return contentType -} - -// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go -type cacheControl map[string]string - -func parseCacheControl(headers http.Header) cacheControl { - cc := cacheControl{} - ccHeader := headers.Get("Cache-Control") - for _, part := range strings.Split(ccHeader, ",") { - part = strings.Trim(part, " ") - if part == "" { - continue - } - if strings.ContainsRune(part, '=') { - keyval := strings.Split(part, "=") - cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") - } else { - cc[part] = "" - } - } - return cc -} - -// CacheExpires helper function to determine remaining time before repeating a request. -func CacheExpires(r *http.Response) time.Time { - // Figure out when the cache expires. - var expires time.Time - now, err := time.Parse(time.RFC1123, r.Header.Get("date")) - if err != nil { - return time.Now() - } - respCacheControl := parseCacheControl(r.Header) - - if maxAge, ok := respCacheControl["max-age"]; ok { - lifetime, err := time.ParseDuration(maxAge + "s") - if err != nil { - expires = now - } - expires = now.Add(lifetime) - } else { - expiresHeader := r.Header.Get("Expires") - if expiresHeader != "" { - expires, err = time.Parse(time.RFC1123, expiresHeader) - if err != nil { - expires = now - } - } - } - return expires -} - -func strlen(s string) int { - return utf8.RuneCountInString(s) -} - -// GenericSwaggerError Provides access to the body, error and model on returned errors. -type GenericSwaggerError struct { - body []byte - error string - model interface{} -} - -// Error returns non-empty string if there was an error. -func (e GenericSwaggerError) Error() string { - return e.error -} - -// Body returns the raw bytes of the response -func (e GenericSwaggerError) Body() []byte { - return e.body -} - -// Model returns the unpacked model of the error -func (e GenericSwaggerError) Model() interface{} { - return e.model -} \ No newline at end of file diff --git a/gen/pb-go/flyteidl/service/flyteadmin/configuration.go b/gen/pb-go/flyteidl/service/flyteadmin/configuration.go deleted file mode 100644 index 5ca411ba6..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/configuration.go +++ /dev/null @@ -1,72 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "net/http" -) - -// contextKeys are used to identify the type of value in the context. -// Since these are string, it is possible to get a short description of the -// context key for logging and debugging using key.String(). - -type contextKey string - -func (c contextKey) String() string { - return "auth " + string(c) -} - -var ( - // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. - ContextOAuth2 = contextKey("token") - - // ContextBasicAuth takes BasicAuth as authentication for the request. - ContextBasicAuth = contextKey("basic") - - // ContextAccessToken takes a string oauth2 access token as authentication for the request. - ContextAccessToken = contextKey("accesstoken") - - // ContextAPIKey takes an APIKey as authentication for the request - ContextAPIKey = contextKey("apikey") -) - -// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth -type BasicAuth struct { - UserName string `json:"userName,omitempty"` - Password string `json:"password,omitempty"` -} - -// APIKey provides API key based authentication to a request passed via context using ContextAPIKey -type APIKey struct { - Key string - Prefix string -} - -type Configuration struct { - BasePath string `json:"basePath,omitempty"` - Host string `json:"host,omitempty"` - Scheme string `json:"scheme,omitempty"` - DefaultHeader map[string]string `json:"defaultHeader,omitempty"` - UserAgent string `json:"userAgent,omitempty"` - HTTPClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - BasePath: "http://localhost", - DefaultHeader: make(map[string]string), - UserAgent: "Swagger-Codegen/1.0.0/go", - } - return cfg -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.DefaultHeader[key] = value -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/git_push.sh b/gen/pb-go/flyteidl/service/flyteadmin/git_push.sh deleted file mode 100644 index ae01b182a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/git_push.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=`git remote` -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' - diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go deleted file mode 100644 index f2bd1e114..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Specifies metadata around an aborted workflow execution. -type AdminAbortMetadata struct { - // In the case of a user-specified abort, this will pass along the user-supplied cause. - Cause string `json:"cause,omitempty"` - Principal string `json:"principal,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_annotations.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_annotations.go deleted file mode 100644 index ca3f4649d..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_annotations.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Annotation values to be applied to an execution resource. In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined to specify how to merge annotations defined at registration and execution time. -type AdminAnnotations struct { - // Map of custom annotations to be applied to the execution resource. - Values map[string]string `json:"values,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth.go deleted file mode 100644 index 9901eb85e..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines permissions associated with executions created by this launch plan spec. Use either of these roles when they have permissions required by your workflow execution. Deprecated. -type AdminAuth struct { - // Defines an optional iam role which will be used for tasks run in executions created with this launch plan. - AssumableIamRole string `json:"assumable_iam_role,omitempty"` - // Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. - KubernetesServiceAccount string `json:"kubernetes_service_account,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth_role.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth_role.go deleted file mode 100644 index ca6c75dde..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth_role.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines permissions associated with executions created by this launch plan spec. Use either of these roles when they have permissions required by your workflow execution. Deprecated. -type AdminAuthRole struct { - // Defines an optional iam role which will be used for tasks run in executions created with this launch plan. - AssumableIamRole string `json:"assumable_iam_role,omitempty"` - // Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. - KubernetesServiceAccount string `json:"kubernetes_service_account,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go deleted file mode 100644 index de9cf5bf8..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulates specifications for routing an execution onto a specific cluster. -type AdminClusterAssignment struct { - ClusterPoolName string `json:"cluster_pool_name,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go deleted file mode 100644 index 05f3bb775..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminClusterResourceAttributes struct { - // Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. - Attributes map[string]string `json:"attributes,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go deleted file mode 100644 index fa40dd16b..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Options for schedules to run according to a cron expression. -type AdminCronSchedule struct { - Schedule string `json:"schedule,omitempty"` - Offset string `json:"offset,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_domain.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_domain.go deleted file mode 100644 index 2c2bdaa74..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_domain.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Namespace within a project commonly used to differentiate between different service instances. e.g. \"production\", \"development\", etc. -type AdminDomain struct { - // Globally unique domain name. - Id string `json:"id,omitempty"` - // Display name. - Name string `json:"name,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_email_notification.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_email_notification.go deleted file mode 100644 index a5d878320..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_email_notification.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines an email notification specification. -type AdminEmailNotification struct { - RecipientsEmail []string `json:"recipients_email,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution.go deleted file mode 100644 index ac331c348..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A workflow execution represents an instantiated workflow, including all inputs and additional metadata as well as computed results included state, outputs, and duration-based attributes. Used as a response object used in Get and List execution requests. -type AdminExecution struct { - // Unique identifier of the workflow execution. - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - // User-provided configuration and inputs for launching the execution. - Spec *AdminExecutionSpec `json:"spec,omitempty"` - // Execution results. - Closure *AdminExecutionClosure `json:"closure,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go deleted file mode 100644 index 831dcb9d0..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go +++ /dev/null @@ -1,43 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -type AdminExecutionClosure struct { - // Output URI in the case of a successful execution. DEPRECATED. Use GetExecutionData to fetch output data instead. - Outputs *AdminLiteralMapBlob `json:"outputs,omitempty"` - // Error information in the case of a failed execution. - Error_ *CoreExecutionError `json:"error,omitempty"` - // In the case of a user-specified abort, this will pass along the user-supplied cause. - AbortCause string `json:"abort_cause,omitempty"` - // In the case of a user-specified abort, this will pass along the user and their supplied cause. - AbortMetadata *AdminAbortMetadata `json:"abort_metadata,omitempty"` - // Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` - ComputedInputs *CoreLiteralMap `json:"computed_inputs,omitempty"` - // Most recent recorded phase for the execution. - Phase *CoreWorkflowExecutionPhase `json:"phase,omitempty"` - // Reported time at which the execution began running. - StartedAt time.Time `json:"started_at,omitempty"` - // The amount of time the execution spent running. - Duration string `json:"duration,omitempty"` - // Reported time at which the execution was created. - CreatedAt time.Time `json:"created_at,omitempty"` - // Reported time at which the execution was last updated. - UpdatedAt time.Time `json:"updated_at,omitempty"` - // The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan. - Notifications []AdminNotification `json:"notifications,omitempty"` - // Identifies the workflow definition for this execution. - WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` - StateChangeDetails *AdminExecutionStateChangeDetails `json:"state_change_details,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_cluster_label.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_cluster_label.go deleted file mode 100644 index 0666bf60c..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_cluster_label.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminExecutionClusterLabel struct { - Value string `json:"value,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go deleted file mode 100644 index b8da1d4fc..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to launch an execution with the given project, domain and optionally-assigned name. -type AdminExecutionCreateRequest struct { - Project string `json:"project,omitempty"` - Domain string `json:"domain,omitempty"` - Name string `json:"name,omitempty"` - Spec *AdminExecutionSpec `json:"spec,omitempty"` - Inputs *CoreLiteralMap `json:"inputs,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_response.go deleted file mode 100644 index 540bc7e14..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_response.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// The unique identifier for a successfully created execution. If the name was *not* specified in the create request, this identifier will include a generated name. -type AdminExecutionCreateResponse struct { - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_list.go deleted file mode 100644 index bffe0c3a0..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_list.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminExecutionList struct { - Executions []AdminExecution `json:"executions,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go deleted file mode 100644 index 9db8ddfd7..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Represents attributes about an execution which are not required to launch the execution but are useful to record. These attributes are assigned at launch time and do not change. -type AdminExecutionMetadata struct { - Mode *ExecutionMetadataExecutionMode `json:"mode,omitempty"` - // Identifier of the entity that triggered this execution. For systems using back-end authentication any value set here will be discarded in favor of the authenticated user context. - Principal string `json:"principal,omitempty"` - // Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1. - Nesting int64 `json:"nesting,omitempty"` - // For scheduled executions, the requested time for execution for this specific schedule invocation. - ScheduledAt time.Time `json:"scheduled_at,omitempty"` - ParentNodeExecution *CoreNodeExecutionIdentifier `json:"parent_node_execution,omitempty"` - // Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution. - ReferenceExecution *CoreWorkflowExecutionIdentifier `json:"reference_execution,omitempty"` - // Optional, platform-specific metadata about the execution. In this the future this may be gated behind an ACL or some sort of authorization. - SystemMetadata *AdminSystemMetadata `json:"system_metadata,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go deleted file mode 100644 index 3cced5ad5..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminExecutionQueueAttributes struct { - // Tags used for assigning execution queues for tasks defined within this project. - Tags []string `json:"tags,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go deleted file mode 100644 index 571e0013f..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to recover the referenced execution. -type AdminExecutionRecoverRequest struct { - // Identifier of the workflow execution to recover. - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - Name string `json:"name,omitempty"` - // Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. - Metadata *AdminExecutionMetadata `json:"metadata,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go deleted file mode 100644 index 3cf2c53aa..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to relaunch the referenced execution. -type AdminExecutionRelaunchRequest struct { - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - Name string `json:"name,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go deleted file mode 100644 index 974069584..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go +++ /dev/null @@ -1,38 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime of an execution as it progresses across phase changes. -type AdminExecutionSpec struct { - LaunchPlan *CoreIdentifier `json:"launch_plan,omitempty"` - Inputs *CoreLiteralMap `json:"inputs,omitempty"` - Metadata *AdminExecutionMetadata `json:"metadata,omitempty"` - // List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied. - Notifications *AdminNotificationList `json:"notifications,omitempty"` - // This should be set to true if all notifications are intended to be disabled for this execution. - DisableAll bool `json:"disable_all,omitempty"` - // Labels to apply to the execution resource. - Labels *AdminLabels `json:"labels,omitempty"` - // Annotations to apply to the execution resource. - Annotations *AdminAnnotations `json:"annotations,omitempty"` - // Optional: security context override to apply this execution. - SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` - // Optional: auth override to apply this execution. - AuthRole *AdminAuthRole `json:"auth_role,omitempty"` - // Indicates the runtime priority of the execution. - QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` - // Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. - MaxParallelism int32 `json:"max_parallelism,omitempty"` - RawOutputDataConfig *AdminRawOutputDataConfig `json:"raw_output_data_config,omitempty"` - // Controls how to select an available cluster on which this execution should run. - ClusterAssignment *AdminClusterAssignment `json:"cluster_assignment,omitempty"` - // Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. - Interruptible bool `json:"interruptible,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go deleted file mode 100644 index c67d546f8..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// AdminExecutionState : The state of the execution is used to control its visibility in the UI/CLI. - EXECUTION_ACTIVE: By default, all executions are considered active. - EXECUTION_ARCHIVED: Archived executions are no longer visible in the UI. -type AdminExecutionState string - -// List of adminExecutionState -const ( - AdminExecutionStateACTIVE AdminExecutionState = "EXECUTION_ACTIVE" - AdminExecutionStateARCHIVED AdminExecutionState = "EXECUTION_ARCHIVED" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go deleted file mode 100644 index 44e3d275a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -type AdminExecutionStateChangeDetails struct { - // The state of the execution is used to control its visibility in the UI/CLI. - State *AdminExecutionState `json:"state,omitempty"` - // This timestamp represents when the state changed. - OccurredAt time.Time `json:"occurred_at,omitempty"` - Principal string `json:"principal,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_request.go deleted file mode 100644 index fe4967345..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to terminate an in-progress execution. This action is irreversible. If an execution is already terminated, this request will simply be a no-op. This request will fail if it references a non-existent execution. If the request succeeds the phase \"ABORTED\" will be recorded for the termination with the optional cause added to the output_result. -type AdminExecutionTerminateRequest struct { - // Uniquely identifies the individual workflow execution to be terminated. - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - // Optional reason for aborting. - Cause string `json:"cause,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_response.go deleted file mode 100644 index 7471278b3..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminExecutionTerminateResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go deleted file mode 100644 index 681eb05ed..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminExecutionUpdateRequest struct { - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - State *AdminExecutionState `json:"state,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_response.go deleted file mode 100644 index 34de2f4ce..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminExecutionUpdateResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go deleted file mode 100644 index b92e2a45e..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Option for schedules run at a certain frequency e.g. every 2 minutes. -type AdminFixedRate struct { - Value int64 `json:"value,omitempty"` - Unit *AdminFixedRateUnit `json:"unit,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go deleted file mode 100644 index 4a6dd4877..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// AdminFixedRateUnit : Represents a frequency at which to run a schedule. -type AdminFixedRateUnit string - -// List of adminFixedRateUnit -const ( - AdminFixedRateUnitMINUTE AdminFixedRateUnit = "MINUTE" - AdminFixedRateUnitHOUR AdminFixedRateUnit = "HOUR" - AdminFixedRateUnitDAY AdminFixedRateUnit = "DAY" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_get_version_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_get_version_response.go deleted file mode 100644 index b09afbfe0..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_get_version_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminGetVersionResponse struct { - ControlPlaneVersion *AdminVersion `json:"control_plane_version,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_labels.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_labels.go deleted file mode 100644 index a544db3a1..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_labels.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Label values to be applied to an execution resource. In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined to specify how to merge labels defined at registration and execution time. -type AdminLabels struct { - // Map of custom labels to be applied to the execution resource. - Values map[string]string `json:"values,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan.go deleted file mode 100644 index d7fa0b566..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A LaunchPlan provides the capability to templatize workflow executions. Launch plans simplify associating one or more schedules, inputs and notifications with your workflows. Launch plans can be shared and used to trigger executions with predefined inputs even when a workflow definition doesn't necessarily have a default value for said input. -type AdminLaunchPlan struct { - // Uniquely identifies a launch plan entity. - Id *CoreIdentifier `json:"id,omitempty"` - // User-provided launch plan details, including reference workflow, inputs and other metadata. - Spec *AdminLaunchPlanSpec `json:"spec,omitempty"` - // Values computed by the flyte platform after launch plan registration. - Closure *AdminLaunchPlanClosure `json:"closure,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go deleted file mode 100644 index 540110cb0..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Values computed by the flyte platform after launch plan registration. These include expected_inputs required to be present in a CreateExecutionRequest to launch the reference workflow as well timestamp values associated with the launch plan. -type AdminLaunchPlanClosure struct { - // Indicate the Launch plan state. - State *AdminLaunchPlanState `json:"state,omitempty"` - ExpectedInputs *CoreParameterMap `json:"expected_inputs,omitempty"` - ExpectedOutputs *CoreVariableMap `json:"expected_outputs,omitempty"` - // Time at which the launch plan was created. - CreatedAt time.Time `json:"created_at,omitempty"` - // Time at which the launch plan was last updated. - UpdatedAt time.Time `json:"updated_at,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_request.go deleted file mode 100644 index f7a46775a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required to launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to set the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan. -type AdminLaunchPlanCreateRequest struct { - // Uniquely identifies a launch plan entity. - Id *CoreIdentifier `json:"id,omitempty"` - // User-provided launch plan details, including reference workflow, inputs and other metadata. - Spec *AdminLaunchPlanSpec `json:"spec,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_response.go deleted file mode 100644 index 7203a99c8..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminLaunchPlanCreateResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_list.go deleted file mode 100644 index 3e91d5a0b..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_list.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminLaunchPlanList struct { - LaunchPlans []AdminLaunchPlan `json:"launch_plans,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go deleted file mode 100644 index f368501cd..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch the reference workflow. -type AdminLaunchPlanMetadata struct { - Schedule *AdminSchedule `json:"schedule,omitempty"` - Notifications []AdminNotification `json:"notifications,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go deleted file mode 100644 index f1828b7cd..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// User-provided launch plan definition and configuration values. -type AdminLaunchPlanSpec struct { - WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` - EntityMetadata *AdminLaunchPlanMetadata `json:"entity_metadata,omitempty"` - // Input values to be passed for the execution. These can be overriden when an execution is created with this launch plan. - DefaultInputs *CoreParameterMap `json:"default_inputs,omitempty"` - // Fixed, non-overridable inputs for the Launch Plan. These can not be overriden when an execution is created with this launch plan. - FixedInputs *CoreLiteralMap `json:"fixed_inputs,omitempty"` - Role string `json:"role,omitempty"` - // Custom labels to be applied to the execution resource. - Labels *AdminLabels `json:"labels,omitempty"` - // Custom annotations to be applied to the execution resource. - Annotations *AdminAnnotations `json:"annotations,omitempty"` - // Indicates the permission associated with workflow executions triggered with this launch plan. - Auth *AdminAuth `json:"auth,omitempty"` - AuthRole *AdminAuthRole `json:"auth_role,omitempty"` - SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` - // Indicates the runtime priority of the execution. - QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` - // Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). - RawOutputDataConfig *AdminRawOutputDataConfig `json:"raw_output_data_config,omitempty"` - // Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. - MaxParallelism int32 `json:"max_parallelism,omitempty"` - // Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. - Interruptible bool `json:"interruptible,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go deleted file mode 100644 index f0a1d3278..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// AdminLaunchPlanState : By default any launch plan regardless of state can be used to launch a workflow execution. However, at most one version of a launch plan (e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be active at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier group will be observed and trigger executions at a defined cadence. -type AdminLaunchPlanState string - -// List of adminLaunchPlanState -const ( - AdminLaunchPlanStateINACTIVE AdminLaunchPlanState = "INACTIVE" - AdminLaunchPlanStateACTIVE AdminLaunchPlanState = "ACTIVE" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_request.go deleted file mode 100644 index bda31c28a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_request.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminLaunchPlanUpdateRequest struct { - // Identifier of launch plan for which to change state. +required. - Id *CoreIdentifier `json:"id,omitempty"` - // Desired state to apply to the launch plan. +required. - State *AdminLaunchPlanState `json:"state,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_response.go deleted file mode 100644 index 84397b016..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminLaunchPlanUpdateResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_list_matchable_attributes_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_list_matchable_attributes_response.go deleted file mode 100644 index 92b56e312..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_list_matchable_attributes_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminListMatchableAttributesResponse struct { - Configurations []AdminMatchableAttributesConfiguration `json:"configurations,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go deleted file mode 100644 index ac5e29d42..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminLiteralMapBlob struct { - Values *CoreLiteralMap `json:"values,omitempty"` - Uri string `json:"uri,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go deleted file mode 100644 index df6a99884..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a custom set of attributes applied for either a domain; a domain and project; or domain, project and workflow name. These are used to override system level defaults for kubernetes cluster resource management, default execution values, and more all across different levels of specificity. -type AdminMatchableAttributesConfiguration struct { - Attributes *AdminMatchingAttributes `json:"attributes,omitempty"` - Domain string `json:"domain,omitempty"` - Project string `json:"project,omitempty"` - Workflow string `json:"workflow,omitempty"` - LaunchPlan string `json:"launch_plan,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go deleted file mode 100644 index 411a7becc..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// AdminMatchableResource : Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes based on matching tags. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. -type AdminMatchableResource string - -// List of adminMatchableResource -const ( - AdminMatchableResourceTASK_RESOURCE AdminMatchableResource = "TASK_RESOURCE" - AdminMatchableResourceCLUSTER_RESOURCE AdminMatchableResource = "CLUSTER_RESOURCE" - AdminMatchableResourceEXECUTION_QUEUE AdminMatchableResource = "EXECUTION_QUEUE" - AdminMatchableResourceEXECUTION_CLUSTER_LABEL AdminMatchableResource = "EXECUTION_CLUSTER_LABEL" - AdminMatchableResourceQUALITY_OF_SERVICE_SPECIFICATION AdminMatchableResource = "QUALITY_OF_SERVICE_SPECIFICATION" - AdminMatchableResourcePLUGIN_OVERRIDE AdminMatchableResource = "PLUGIN_OVERRIDE" - AdminMatchableResourceWORKFLOW_EXECUTION_CONFIG AdminMatchableResource = "WORKFLOW_EXECUTION_CONFIG" - AdminMatchableResourceCLUSTER_ASSIGNMENT AdminMatchableResource = "CLUSTER_ASSIGNMENT" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go deleted file mode 100644 index 2af9b6d70..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Generic container for encapsulating all types of the above attributes messages. -type AdminMatchingAttributes struct { - TaskResourceAttributes *AdminTaskResourceAttributes `json:"task_resource_attributes,omitempty"` - ClusterResourceAttributes *AdminClusterResourceAttributes `json:"cluster_resource_attributes,omitempty"` - ExecutionQueueAttributes *AdminExecutionQueueAttributes `json:"execution_queue_attributes,omitempty"` - ExecutionClusterLabel *AdminExecutionClusterLabel `json:"execution_cluster_label,omitempty"` - QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` - PluginOverrides *AdminPluginOverrides `json:"plugin_overrides,omitempty"` - WorkflowExecutionConfig *AdminWorkflowExecutionConfig `json:"workflow_execution_config,omitempty"` - ClusterAssignment *AdminClusterAssignment `json:"cluster_assignment,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go deleted file mode 100644 index 6239ddb45..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulates information common to a NamedEntity, a Flyte resource such as a task, workflow or launch plan. A NamedEntity is exclusively identified by its resource type and identifier. -type AdminNamedEntity struct { - // Resource type of the named entity. One of Task, Workflow or LaunchPlan. - ResourceType *CoreResourceType `json:"resource_type,omitempty"` - Id *AdminNamedEntityIdentifier `json:"id,omitempty"` - // Additional metadata around a named entity. - Metadata *AdminNamedEntityMetadata `json:"metadata,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go deleted file mode 100644 index 9fa96c57b..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulation of fields that identifies a Flyte resource. A Flyte resource can be a task, workflow or launch plan. A resource can internally have multiple versions and is uniquely identified by project, domain, and name. -type AdminNamedEntityIdentifier struct { - // Name of the project the resource belongs to. - Project string `json:"project,omitempty"` - // Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - Domain string `json:"domain,omitempty"` - Name string `json:"name,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier_list.go deleted file mode 100644 index 55cbafc9c..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier_list.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a list of NamedEntityIdentifiers. -type AdminNamedEntityIdentifierList struct { - // A list of identifiers. - Entities []AdminNamedEntityIdentifier `json:"entities,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_list.go deleted file mode 100644 index d8042a7ff..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_list.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a list of NamedEntityIdentifiers. -type AdminNamedEntityList struct { - Entities []AdminNamedEntity `json:"entities,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_metadata.go deleted file mode 100644 index b608d8351..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_metadata.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Additional metadata around a named entity. -type AdminNamedEntityMetadata struct { - Description string `json:"description,omitempty"` - // Shared state across all version of the entity At this point in time, only workflow entities can have their state archived. - State *AdminNamedEntityState `json:"state,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go deleted file mode 100644 index eed050549..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// AdminNamedEntityState : The status of the named entity is used to control its visibility in the UI. - NAMED_ENTITY_ACTIVE: By default, all named entities are considered active and under development. - NAMED_ENTITY_ARCHIVED: Archived named entities are no longer visible in the UI. - SYSTEM_GENERATED: System generated entities that aren't explicitly created or managed by a user. -type AdminNamedEntityState string - -// List of adminNamedEntityState -const ( - AdminNamedEntityStateNAMED_ENTITY_ACTIVE AdminNamedEntityState = "NAMED_ENTITY_ACTIVE" - AdminNamedEntityStateNAMED_ENTITY_ARCHIVED AdminNamedEntityState = "NAMED_ENTITY_ARCHIVED" - AdminNamedEntityStateSYSTEM_GENERATED AdminNamedEntityState = "SYSTEM_GENERATED" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go deleted file mode 100644 index 66fb02ea3..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to set the referenced named entity state to the configured value. -type AdminNamedEntityUpdateRequest struct { - ResourceType *CoreResourceType `json:"resource_type,omitempty"` - Id *AdminNamedEntityIdentifier `json:"id,omitempty"` - Metadata *AdminNamedEntityMetadata `json:"metadata,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_response.go deleted file mode 100644 index 2376f0f26..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminNamedEntityUpdateResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go deleted file mode 100644 index 7a04ef034..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Container for node execution details and results. -type AdminNodeExecutionClosure struct { - // Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` - // Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` - // The last recorded phase for this node execution. - Phase *CoreNodeExecutionPhase `json:"phase,omitempty"` - // Time at which the node execution began running. - StartedAt time.Time `json:"started_at,omitempty"` - // The amount of time the node execution spent running. - Duration string `json:"duration,omitempty"` - // Time at which the node execution was created. - CreatedAt time.Time `json:"created_at,omitempty"` - // Time at which the node execution was last updated. - UpdatedAt time.Time `json:"updated_at,omitempty"` - WorkflowNodeMetadata *FlyteidladminWorkflowNodeMetadata `json:"workflow_node_metadata,omitempty"` - TaskNodeMetadata *FlyteidladminTaskNodeMetadata `json:"task_node_metadata,omitempty"` - DeckUri string `json:"deck_uri,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_request.go deleted file mode 100644 index f31d2ce27..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_request.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to send a notification that a node execution event has occurred. -type AdminNodeExecutionEventRequest struct { - RequestId string `json:"request_id,omitempty"` - // Details about the event that occurred. - Event *EventNodeExecutionEvent `json:"event,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_response.go deleted file mode 100644 index a1bec33b1..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminNodeExecutionEventResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go deleted file mode 100644 index afeaa710f..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution. -type AdminNodeExecutionGetDataResponse struct { - // Signed url to fetch a core.LiteralMap of node execution inputs. Deprecated: Please use full_inputs instead. - Inputs *AdminUrlBlob `json:"inputs,omitempty"` - // Signed url to fetch a core.LiteralMap of node execution outputs. Deprecated: Please use full_outputs instead. - Outputs *AdminUrlBlob `json:"outputs,omitempty"` - // Full_inputs will only be populated if they are under a configured size threshold. - FullInputs *CoreLiteralMap `json:"full_inputs,omitempty"` - // Full_outputs will only be populated if they are under a configured size threshold. - FullOutputs *CoreLiteralMap `json:"full_outputs,omitempty"` - // Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. - DynamicWorkflow *FlyteidladminDynamicWorkflowNodeMetadata `json:"dynamic_workflow,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_list.go deleted file mode 100644 index 6ee23b657..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_list.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminNodeExecutionList struct { - NodeExecutions []FlyteidladminNodeExecution `json:"node_executions,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go deleted file mode 100644 index 08ad839a7..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminNodeExecutionMetaData struct { - // Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node. - RetryGroup string `json:"retry_group,omitempty"` - // Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes. - IsParentNode bool `json:"is_parent_node,omitempty"` - SpecNodeId string `json:"spec_node_id,omitempty"` - // Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true. - IsDynamic bool `json:"is_dynamic,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go deleted file mode 100644 index 16cc5a3c7..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a structure for notifications based on execution status. The notification content is configured within flyte admin but can be templatized. Future iterations could expose configuring notifications with custom content. -type AdminNotification struct { - Phases []CoreWorkflowExecutionPhase `json:"phases,omitempty"` - Email *AdminEmailNotification `json:"email,omitempty"` - PagerDuty *AdminPagerDutyNotification `json:"pager_duty,omitempty"` - Slack *AdminSlackNotification `json:"slack,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification_list.go deleted file mode 100644 index b89a82f83..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification_list.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminNotificationList struct { - Notifications []AdminNotification `json:"notifications,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_pager_duty_notification.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_pager_duty_notification.go deleted file mode 100644 index c54a917fe..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_pager_duty_notification.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a pager duty notification specification. -type AdminPagerDutyNotification struct { - RecipientsEmail []string `json:"recipients_email,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_override.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_override.go deleted file mode 100644 index cace6c40b..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_override.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// This MatchableAttribute configures selecting alternate plugin implementations for a given task type. In addition to an override implementation a selection of fallbacks can be provided or other modes for handling cases where the desired plugin override is not enabled in a given Flyte deployment. -type AdminPluginOverride struct { - // A predefined yet extensible Task type identifier. - TaskType string `json:"task_type,omitempty"` - // A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id. - PluginId []string `json:"plugin_id,omitempty"` - // Defines the behavior when no plugin from the plugin_id list is not found. - MissingPluginBehavior *PluginOverrideMissingPluginBehavior `json:"missing_plugin_behavior,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_overrides.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_overrides.go deleted file mode 100644 index b137c69f1..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_overrides.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminPluginOverrides struct { - Overrides []AdminPluginOverride `json:"overrides,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go deleted file mode 100644 index f501820a2..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Top-level namespace used to classify different entities like workflows and executions. -type AdminProject struct { - // Globally unique project name. - Id string `json:"id,omitempty"` - // Display name. - Name string `json:"name,omitempty"` - Domains []AdminDomain `json:"domains,omitempty"` - Description string `json:"description,omitempty"` - // Leverage Labels from flyteidel.admin.common.proto to tag projects with ownership information. - Labels *AdminLabels `json:"labels,omitempty"` - State *ProjectProjectState `json:"state,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go deleted file mode 100644 index 8cc141bc4..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectDomainAttributes struct { - // Unique project id for which this set of attributes will be applied. - Project string `json:"project,omitempty"` - // Unique domain id for which this set of attributes will be applied. - Domain string `json:"domain,omitempty"` - MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go deleted file mode 100644 index 00b251417..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectDomainAttributesDeleteRequest struct { - Project string `json:"project,omitempty"` - Domain string `json:"domain,omitempty"` - ResourceType *AdminMatchableResource `json:"resource_type,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_response.go deleted file mode 100644 index f3b853e4a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminProjectDomainAttributesDeleteResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_get_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_get_response.go deleted file mode 100644 index b0a90f483..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_get_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectDomainAttributesGetResponse struct { - Attributes *AdminProjectDomainAttributes `json:"attributes,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_request.go deleted file mode 100644 index ffb143d78..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_request.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectDomainAttributesUpdateRequest struct { - Attributes *AdminProjectDomainAttributes `json:"attributes,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_response.go deleted file mode 100644 index 56d814829..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminProjectDomainAttributesUpdateResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_request.go deleted file mode 100644 index 075f0de86..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_request.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectRegisterRequest struct { - Project *AdminProject `json:"project,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_response.go deleted file mode 100644 index beae16e4a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be updated in the future. -type AdminProjectRegisterResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_update_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_update_response.go deleted file mode 100644 index ca1f7fb47..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_update_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be updated in the future. -type AdminProjectUpdateResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_projects.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_projects.go deleted file mode 100644 index ed23a4f27..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_projects.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjects struct { - Projects []AdminProject `json:"projects,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_raw_output_data_config.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_raw_output_data_config.go deleted file mode 100644 index d440e07a0..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_raw_output_data_config.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). See https://github.com/flyteorg/flyte/issues/211 for more background information. -type AdminRawOutputDataConfig struct { - OutputLocationPrefix string `json:"output_location_prefix,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go deleted file mode 100644 index b6c0a0201..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines complete set of information required to trigger an execution on a schedule. -type AdminSchedule struct { - CronExpression string `json:"cron_expression,omitempty"` - Rate *AdminFixedRate `json:"rate,omitempty"` - CronSchedule *AdminCronSchedule `json:"cron_schedule,omitempty"` - // Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. - KickoffTimeInputArg string `json:"kickoff_time_input_arg,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_slack_notification.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_slack_notification.go deleted file mode 100644 index e6f0faf44..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_slack_notification.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a slack notification specification. -type AdminSlackNotification struct { - RecipientsEmail []string `json:"recipients_email,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go deleted file mode 100644 index 7469a2cb0..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Specifies sort ordering in a list request. -type AdminSort struct { - Key string `json:"key,omitempty"` - Direction *SortDirection `json:"direction,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_system_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_system_metadata.go deleted file mode 100644 index 4afbb07fd..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_system_metadata.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents system, rather than user-facing, metadata about an execution. -type AdminSystemMetadata struct { - // Which execution cluster this execution ran on. - ExecutionCluster string `json:"execution_cluster,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task.go deleted file mode 100644 index 5df22b24f..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks arranged to process workflow inputs and produce a deterministic set of outputs. Tasks can come in many varieties tuned for specialized behavior. -type AdminTask struct { - // id represents the unique identifier of the task. - Id *CoreIdentifier `json:"id,omitempty"` - // closure encapsulates all the fields that maps to a compiled version of the task. - Closure *AdminTaskClosure `json:"closure,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_closure.go deleted file mode 100644 index 0491fd6b2..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_closure.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data and task metadata. -type AdminTaskClosure struct { - // Represents the compiled representation of the task from the specification provided. - CompiledTask *CoreCompiledTask `json:"compiled_task,omitempty"` - // Time at which the task was created. - CreatedAt time.Time `json:"created_at,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go deleted file mode 100644 index 0c36189c4..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminTaskCreateRequest struct { - Id *CoreIdentifier `json:"id,omitempty"` - Spec *AdminTaskSpec `json:"spec,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_response.go deleted file mode 100644 index 5c692db5c..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a response structure if task creation succeeds. -type AdminTaskCreateResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go deleted file mode 100644 index 4422d2eff..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Container for task execution details and results. -type AdminTaskExecutionClosure struct { - // Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead. - OutputUri string `json:"output_uri,omitempty"` - // Error information for the task execution. Populated if the execution failed. - Error_ *CoreExecutionError `json:"error,omitempty"` - // Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` - // The last recorded phase for this task execution. - Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` - // Detailed log information output by the task execution. - Logs []CoreTaskLog `json:"logs,omitempty"` - // Time at which the task execution began running. - StartedAt time.Time `json:"started_at,omitempty"` - // The amount of time the task execution spent running. - Duration string `json:"duration,omitempty"` - // Time at which the task execution was created. - CreatedAt time.Time `json:"created_at,omitempty"` - // Time at which the task execution was last updated. - UpdatedAt time.Time `json:"updated_at,omitempty"` - // Custom data specific to the task plugin. - CustomInfo *ProtobufStruct `json:"custom_info,omitempty"` - // If there is an explanation for the most recent phase transition, the reason will capture it. - Reason string `json:"reason,omitempty"` - // A predefined yet extensible Task type identifier. - TaskType string `json:"task_type,omitempty"` - // Metadata around how a task was executed. - Metadata *EventTaskExecutionMetadata `json:"metadata,omitempty"` - // The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. - EventVersion int32 `json:"event_version,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_request.go deleted file mode 100644 index 47fe4cb73..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_request.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to send a notification that a task execution event has occurred. -type AdminTaskExecutionEventRequest struct { - RequestId string `json:"request_id,omitempty"` - // Details about the event that occurred. - Event *EventTaskExecutionEvent `json:"event,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_response.go deleted file mode 100644 index f30c09a8f..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminTaskExecutionEventResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go deleted file mode 100644 index 2c8e19da7..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution. -type AdminTaskExecutionGetDataResponse struct { - // Signed url to fetch a core.LiteralMap of task execution inputs. Deprecated: Please use full_inputs instead. - Inputs *AdminUrlBlob `json:"inputs,omitempty"` - // Signed url to fetch a core.LiteralMap of task execution outputs. Deprecated: Please use full_outputs instead. - Outputs *AdminUrlBlob `json:"outputs,omitempty"` - // Full_inputs will only be populated if they are under a configured size threshold. - FullInputs *CoreLiteralMap `json:"full_inputs,omitempty"` - // Full_outputs will only be populated if they are under a configured size threshold. - FullOutputs *CoreLiteralMap `json:"full_outputs,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_list.go deleted file mode 100644 index e5c42e9d0..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_list.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminTaskExecutionList struct { - TaskExecutions []FlyteidladminTaskExecution `json:"task_executions,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_list.go deleted file mode 100644 index 32baeb531..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_list.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminTaskList struct { - // A list of tasks returned based on the request. - Tasks []AdminTask `json:"tasks,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go deleted file mode 100644 index 3917b5f2f..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines task resource defaults and limits that will be applied at task registration. -type AdminTaskResourceAttributes struct { - Defaults *AdminTaskResourceSpec `json:"defaults,omitempty"` - Limits *AdminTaskResourceSpec `json:"limits,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go deleted file mode 100644 index b022f1a97..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a set of overridable task resource attributes set during task registration. -type AdminTaskResourceSpec struct { - Cpu string `json:"cpu,omitempty"` - Gpu string `json:"gpu,omitempty"` - Memory string `json:"memory,omitempty"` - Storage string `json:"storage,omitempty"` - EphemeralStorage string `json:"ephemeral_storage,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_spec.go deleted file mode 100644 index 84ee0ec72..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_spec.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a structure that encapsulates the user-configured specification of the task. -type AdminTaskSpec struct { - // Template of the task that encapsulates all the metadata of the task. - Template *CoreTaskTemplate `json:"template,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_url_blob.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_url_blob.go deleted file mode 100644 index fc2ac8662..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_url_blob.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a string url and associated metadata used throughout the platform. -type AdminUrlBlob struct { - // Actual url value. - Url string `json:"url,omitempty"` - // Represents the size of the file accessible at the above url. - Bytes string `json:"bytes,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go deleted file mode 100644 index 559cc80b9..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminVersion struct { - Build string `json:"Build,omitempty"` - Version string `json:"Version,omitempty"` - BuildTime string `json:"BuildTime,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow.go deleted file mode 100644 index be78c6550..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents the workflow structure stored in the Admin A workflow is created by ordering tasks and associating outputs to inputs in order to produce a directed-acyclic execution graph. -type AdminWorkflow struct { - // id represents the unique identifier of the workflow. - Id *CoreIdentifier `json:"id,omitempty"` - // closure encapsulates all the fields that maps to a compiled version of the workflow. - Closure *AdminWorkflowClosure `json:"closure,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go deleted file mode 100644 index dba5c8834..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowAttributes struct { - // Unique project id for which this set of attributes will be applied. - Project string `json:"project,omitempty"` - // Unique domain id for which this set of attributes will be applied. - Domain string `json:"domain,omitempty"` - // Workflow name for which this set of attributes will be applied. - Workflow string `json:"workflow,omitempty"` - MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go deleted file mode 100644 index 31bca658d..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowAttributesDeleteRequest struct { - Project string `json:"project,omitempty"` - Domain string `json:"domain,omitempty"` - Workflow string `json:"workflow,omitempty"` - ResourceType *AdminMatchableResource `json:"resource_type,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_response.go deleted file mode 100644 index 335d0be20..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminWorkflowAttributesDeleteResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_get_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_get_response.go deleted file mode 100644 index 5cfbc5219..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_get_response.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Response to get an individual workflow attribute override. -type AdminWorkflowAttributesGetResponse struct { - Attributes *AdminWorkflowAttributes `json:"attributes,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go deleted file mode 100644 index eb28b94d0..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowAttributesUpdateRequest struct { - Attributes *AdminWorkflowAttributes `json:"attributes,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go deleted file mode 100644 index 1c449c700..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminWorkflowAttributesUpdateResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_closure.go deleted file mode 100644 index 585ef055b..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_closure.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// A container holding the compiled workflow produced from the WorkflowSpec and additional metadata. -type AdminWorkflowClosure struct { - // Represents the compiled representation of the workflow from the specification provided. - CompiledWorkflow *CoreCompiledWorkflowClosure `json:"compiled_workflow,omitempty"` - // Time at which the workflow was created. - CreatedAt time.Time `json:"created_at,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go deleted file mode 100644 index 53b4cbbb0..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowCreateRequest struct { - Id *CoreIdentifier `json:"id,omitempty"` - Spec *AdminWorkflowSpec `json:"spec,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_response.go deleted file mode 100644 index badaea629..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowCreateResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go deleted file mode 100644 index 4ea5333a0..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Adds defaults for customizable workflow-execution specifications and overrides. -type AdminWorkflowExecutionConfig struct { - // Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness. - MaxParallelism int32 `json:"max_parallelism,omitempty"` - // Indicates security context permissions for executions triggered with this matchable attribute. - SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` - // Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). - RawOutputDataConfig *AdminRawOutputDataConfig `json:"raw_output_data_config,omitempty"` - // Custom labels to be applied to a triggered execution resource. - Labels *AdminLabels `json:"labels,omitempty"` - // Custom annotations to be applied to a triggered execution resource. - Annotations *AdminAnnotations `json:"annotations,omitempty"` - // Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. - Interruptible bool `json:"interruptible,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_request.go deleted file mode 100644 index b44cf1fc9..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_request.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to send a notification that a workflow execution event has occurred. -type AdminWorkflowExecutionEventRequest struct { - RequestId string `json:"request_id,omitempty"` - // Details about the event that occurred. - Event *EventWorkflowExecutionEvent `json:"event,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_response.go deleted file mode 100644 index e6805a346..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowExecutionEventResponse struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_data_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_data_response.go deleted file mode 100644 index d4411944e..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_data_response.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution. -type AdminWorkflowExecutionGetDataResponse struct { - // Signed url to fetch a core.LiteralMap of execution outputs. Deprecated: Please use full_outputs instead. - Outputs *AdminUrlBlob `json:"outputs,omitempty"` - // Signed url to fetch a core.LiteralMap of execution inputs. Deprecated: Please use full_inputs instead. - Inputs *AdminUrlBlob `json:"inputs,omitempty"` - // Full_inputs will only be populated if they are under a configured size threshold. - FullInputs *CoreLiteralMap `json:"full_inputs,omitempty"` - // Full_outputs will only be populated if they are under a configured size threshold. - FullOutputs *CoreLiteralMap `json:"full_outputs,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_list.go deleted file mode 100644 index 8f6b9947b..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_list.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowList struct { - // A list of workflows returned based on the request. - Workflows []AdminWorkflow `json:"workflows,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_spec.go deleted file mode 100644 index 5e6377c24..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_spec.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a structure that encapsulates the specification of the workflow. -type AdminWorkflowSpec struct { - // Template of the task that encapsulates all the metadata of the workflow. - Template *CoreWorkflowTemplate `json:"template,omitempty"` - // Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered. - SubWorkflows []CoreWorkflowTemplate `json:"sub_workflows,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go b/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go deleted file mode 100644 index c2557772a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type BlobTypeBlobDimensionality string - -// List of BlobTypeBlobDimensionality -const ( - BlobTypeBlobDimensionalitySINGLE BlobTypeBlobDimensionality = "SINGLE" - BlobTypeBlobDimensionalityMULTIPART BlobTypeBlobDimensionality = "MULTIPART" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go b/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go deleted file mode 100644 index 42b34515d..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// CatalogReservationStatus : Indicates the status of a catalog reservation operation. - RESERVATION_DISABLED: Used to indicate that reservations are disabled - RESERVATION_ACQUIRED: Used to indicate that a reservation was successfully acquired or extended - RESERVATION_EXISTS: Used to indicate that an active reservation currently exists - RESERVATION_RELEASED: Used to indicate that the reservation has been successfully released - RESERVATION_FAILURE: Used to indicate that a reservation operation resulted in failure -type CatalogReservationStatus string - -// List of CatalogReservationStatus -const ( - CatalogReservationStatusDISABLED CatalogReservationStatus = "RESERVATION_DISABLED" - CatalogReservationStatusACQUIRED CatalogReservationStatus = "RESERVATION_ACQUIRED" - CatalogReservationStatusEXISTS CatalogReservationStatus = "RESERVATION_EXISTS" - CatalogReservationStatusRELEASED CatalogReservationStatus = "RESERVATION_RELEASED" - CatalogReservationStatusFAILURE CatalogReservationStatus = "RESERVATION_FAILURE" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go b/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go deleted file mode 100644 index f12c82ff7..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ComparisonExpressionOperator : - GT: Greater Than - LT: Less Than -type ComparisonExpressionOperator string - -// List of ComparisonExpressionOperator -const ( - ComparisonExpressionOperatorEQ ComparisonExpressionOperator = "EQ" - ComparisonExpressionOperatorNEQ ComparisonExpressionOperator = "NEQ" - ComparisonExpressionOperatorGT ComparisonExpressionOperator = "GT" - ComparisonExpressionOperatorGTE ComparisonExpressionOperator = "GTE" - ComparisonExpressionOperatorLT ComparisonExpressionOperator = "LT" - ComparisonExpressionOperatorLTE ComparisonExpressionOperator = "LTE" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go b/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go deleted file mode 100644 index 537e3b45e..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ConjunctionExpressionLogicalOperator : - AND: Conjunction -type ConjunctionExpressionLogicalOperator string - -// List of ConjunctionExpressionLogicalOperator -const ( - ConjunctionExpressionLogicalOperatorAND ConjunctionExpressionLogicalOperator = "AND" - ConjunctionExpressionLogicalOperatorOR ConjunctionExpressionLogicalOperator = "OR" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_connection_set_id_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_connection_set_id_list.go deleted file mode 100644 index 6a6396583..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_connection_set_id_list.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type ConnectionSetIdList struct { - Ids []string `json:"ids,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go b/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go deleted file mode 100644 index 2ec668c98..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ContainerArchitecture : Architecture-type the container image supports. -type ContainerArchitecture string - -// List of ContainerArchitecture -const ( - ContainerArchitectureUNKNOWN ContainerArchitecture = "UNKNOWN" - ContainerArchitectureAMD64 ContainerArchitecture = "AMD64" - ContainerArchitectureARM64 ContainerArchitecture = "ARM64" - ContainerArchitectureARM_V6 ContainerArchitecture = "ARM_V6" - ContainerArchitectureARM_V7 ContainerArchitecture = "ARM_V7" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_alias.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_alias.go deleted file mode 100644 index 2e0276e49..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_alias.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Links a variable to an alias. -type CoreAlias struct { - // Must match one of the output variable names on a node. - Var_ string `json:"var,omitempty"` - // A workflow-level unique alias that downstream nodes can refer to in their input. - Alias string `json:"alias,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go deleted file mode 100644 index b66a50bd7..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A simple byte array with a tag to help different parts of the system communicate about what is in the byte array. It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data. -type CoreBinary struct { - Value string `json:"value,omitempty"` - Tag string `json:"tag,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding.go deleted file mode 100644 index 479a2a60f..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// An input/output binding of a variable to either static value or a node output. -type CoreBinding struct { - // Variable name must match an input/output variable of the node. - Var_ string `json:"var,omitempty"` - // Data to use to bind this variable. - Binding *CoreBindingData `json:"binding,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go deleted file mode 100644 index 903ef1f8e..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Specifies either a simple value or a reference to another output. -type CoreBindingData struct { - // A simple scalar value. - Scalar *CoreScalar `json:"scalar,omitempty"` - // A collection of binding data. This allows nesting of binding data to any number of levels. - Collection *CoreBindingDataCollection `json:"collection,omitempty"` - // References an output promised by another node. - Promise *CoreOutputReference `json:"promise,omitempty"` - // A map of bindings. The key is always a string. - Map_ *CoreBindingDataMap `json:"map,omitempty"` - Union *CoreUnionInfo `json:"union,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_collection.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_collection.go deleted file mode 100644 index e83621557..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_collection.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A collection of BindingData items. -type CoreBindingDataCollection struct { - Bindings []CoreBindingData `json:"bindings,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_map.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_map.go deleted file mode 100644 index d63199bc4..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_map.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A map of BindingData items. -type CoreBindingDataMap struct { - Bindings map[string]CoreBindingData `json:"bindings,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go deleted file mode 100644 index 081e36a03..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is. There are no restrictions on how the uri is formatted since it will depend on how to interact with the store. -type CoreBlob struct { - Metadata *CoreBlobMetadata `json:"metadata,omitempty"` - Uri string `json:"uri,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_metadata.go deleted file mode 100644 index 1dfb19dda..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_metadata.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreBlobMetadata struct { - Type_ *CoreBlobType `json:"type,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go deleted file mode 100644 index 5c751b956..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreBlobType struct { - Format string `json:"format,omitempty"` - Dimensionality *BlobTypeBlobDimensionality `json:"dimensionality,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go deleted file mode 100644 index 0ee33d7c3..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a boolean expression tree. It can be a simple or a conjunction expression. Multiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result. -type CoreBooleanExpression struct { - Conjunction *CoreConjunctionExpression `json:"conjunction,omitempty"` - Comparison *CoreComparisonExpression `json:"comparison,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_branch_node.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_branch_node.go deleted file mode 100644 index e5860bb84..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_branch_node.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at runtime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives). -type CoreBranchNode struct { - IfElse *CoreIfElseBlock `json:"if_else,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go deleted file mode 100644 index 94c8826d3..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreCatalogArtifactTag struct { - ArtifactId string `json:"artifact_id,omitempty"` - Name string `json:"name,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go deleted file mode 100644 index 95d546512..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// CoreCatalogCacheStatus : - CACHE_DISABLED: Used to indicate that caching was disabled - CACHE_MISS: Used to indicate that the cache lookup resulted in no matches - CACHE_HIT: used to indicate that the associated artifact was a result of a previous execution - CACHE_POPULATED: used to indicate that the resultant artifact was added to the cache - CACHE_LOOKUP_FAILURE: Used to indicate that cache lookup failed because of an error - CACHE_PUT_FAILURE: Used to indicate that cache lookup failed because of an error -type CoreCatalogCacheStatus string - -// List of coreCatalogCacheStatus -const ( - CoreCatalogCacheStatusDISABLED CoreCatalogCacheStatus = "CACHE_DISABLED" - CoreCatalogCacheStatusMISS CoreCatalogCacheStatus = "CACHE_MISS" - CoreCatalogCacheStatusHIT CoreCatalogCacheStatus = "CACHE_HIT" - CoreCatalogCacheStatusPOPULATED CoreCatalogCacheStatus = "CACHE_POPULATED" - CoreCatalogCacheStatusLOOKUP_FAILURE CoreCatalogCacheStatus = "CACHE_LOOKUP_FAILURE" - CoreCatalogCacheStatusPUT_FAILURE CoreCatalogCacheStatus = "CACHE_PUT_FAILURE" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go deleted file mode 100644 index a4223f28b..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreCatalogMetadata struct { - DatasetId *CoreIdentifier `json:"dataset_id,omitempty"` - ArtifactTag *CoreCatalogArtifactTag `json:"artifact_tag,omitempty"` - SourceTaskExecution *CoreTaskExecutionIdentifier `json:"source_task_execution,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go deleted file mode 100644 index 86e9586a7..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables. Each expression results in a boolean result. -type CoreComparisonExpression struct { - Operator *ComparisonExpressionOperator `json:"operator,omitempty"` - LeftValue *CoreOperand `json:"left_value,omitempty"` - RightValue *CoreOperand `json:"right_value,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_task.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_task.go deleted file mode 100644 index f5a06ebd2..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_task.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreCompiledTask struct { - Template *CoreTaskTemplate `json:"template,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow.go deleted file mode 100644 index c30998d66..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreCompiledWorkflow struct { - Template *CoreWorkflowTemplate `json:"template,omitempty"` - // For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored. - Connections *CoreConnectionSet `json:"connections,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go deleted file mode 100644 index 64753a21b..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow and its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of compiled subworkflows. -type CoreCompiledWorkflowClosure struct { - Primary *CoreCompiledWorkflow `json:"primary,omitempty"` - SubWorkflows []CoreCompiledWorkflow `json:"sub_workflows,omitempty"` - Tasks []CoreCompiledTask `json:"tasks,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go deleted file mode 100644 index cf8c99b9b..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a conjunction expression of two boolean expressions. -type CoreConjunctionExpression struct { - Operator *ConjunctionExpressionLogicalOperator `json:"operator,omitempty"` - LeftExpression *CoreBooleanExpression `json:"left_expression,omitempty"` - RightExpression *CoreBooleanExpression `json:"right_expression,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go deleted file mode 100644 index 8d7b9bc34..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreConnectionSet struct { - Downstream map[string]ConnectionSetIdList `json:"downstream,omitempty"` - Upstream map[string]ConnectionSetIdList `json:"upstream,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go deleted file mode 100644 index 26f0e9d65..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreContainer struct { - Image string `json:"image,omitempty"` - // Command to be executed, if not provided, the default entrypoint in the container image will be used. - Command []string `json:"command,omitempty"` - // These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container. - Args []string `json:"args,omitempty"` - // Container resources requirement as specified by the container engine. - Resources *CoreResources `json:"resources,omitempty"` - // Environment variables will be set as the container is starting up. - Env []CoreKeyValuePair `json:"env,omitempty"` - // Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead. - Config []CoreKeyValuePair `json:"config,omitempty"` - Ports []CoreContainerPort `json:"ports,omitempty"` - DataConfig *CoreDataLoadingConfig `json:"data_config,omitempty"` - Architecture *ContainerArchitecture `json:"architecture,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_container_port.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_container_port.go deleted file mode 100644 index 40e941c7e..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_container_port.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines port properties for a container. -type CoreContainerPort struct { - // Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. - ContainerPort int64 `json:"container_port,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go deleted file mode 100644 index f74fb3aaa..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// This configuration allows executing raw containers in Flyte using the Flyte CoPilot system. Flyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path Any outputs generated by the user container - within output_path are automatically uploaded. -type CoreDataLoadingConfig struct { - Enabled bool `json:"enabled,omitempty"` - InputPath string `json:"input_path,omitempty"` - OutputPath string `json:"output_path,omitempty"` - Format *DataLoadingConfigLiteralMapFormat `json:"format,omitempty"` - IoStrategy *CoreIoStrategy `json:"io_strategy,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_enum_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_enum_type.go deleted file mode 100644 index 98925eabc..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_enum_type.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Enables declaring enum types, with predefined string values For len(values) > 0, the first value in the ordered list is regarded as the default value. If you wish To provide no defaults, make the first value as undefined. -type CoreEnumType struct { - // Predefined set of enum values. - Values []string `json:"values,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_error.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_error.go deleted file mode 100644 index de5a0f838..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_error.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents an error thrown from a node. -type CoreError struct { - // The node id that threw the error. - FailedNodeId string `json:"failed_node_id,omitempty"` - // Error message thrown. - Message string `json:"message,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go deleted file mode 100644 index 4b2b6e07b..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents the error message from the execution. -type CoreExecutionError struct { - Code string `json:"code,omitempty"` - // Detailed description of the error - including stack trace. - Message string `json:"message,omitempty"` - ErrorUri string `json:"error_uri,omitempty"` - Kind *ExecutionErrorErrorKind `json:"kind,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_identifier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_identifier.go deleted file mode 100644 index 36a08549c..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_identifier.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulation of fields that uniquely identifies a Flyte resource. -type CoreIdentifier struct { - // Identifies the specific type of resource that this identifier corresponds to. - ResourceType *CoreResourceType `json:"resource_type,omitempty"` - // Name of the project the resource belongs to. - Project string `json:"project,omitempty"` - // Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - Domain string `json:"domain,omitempty"` - // User provided value for the resource. - Name string `json:"name,omitempty"` - // Specific version of the resource. - Version string `json:"version,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go deleted file mode 100644 index 0a04eb440..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the right identity for the execution environment. -type CoreIdentity struct { - // iam_role references the fully qualified name of Identity & Access Management role to impersonate. - IamRole string `json:"iam_role,omitempty"` - // k8s_service_account references a kubernetes service account to impersonate. - K8sServiceAccount string `json:"k8s_service_account,omitempty"` - // oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls. - Oauth2Client *CoreOAuth2Client `json:"oauth2_client,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go deleted file mode 100644 index 88c084f85..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a condition and the execution unit that should be executed if the condition is satisfied. -type CoreIfBlock struct { - Condition *CoreBooleanExpression `json:"condition,omitempty"` - ThenNode *CoreNode `json:"then_node,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_else_block.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_else_block.go deleted file mode 100644 index f9e2b6491..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_else_block.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute. If no conditions were satisfied, the else_node or the error will execute. -type CoreIfElseBlock struct { - // +required. First condition to evaluate. - Case_ *CoreIfBlock `json:"case,omitempty"` - // +optional. Additional branches to evaluate. - Other []CoreIfBlock `json:"other,omitempty"` - // The node to execute in case none of the branches were taken. - ElseNode *CoreNode `json:"else_node,omitempty"` - // An error to throw in case none of the branches were taken. - Error_ *CoreError `json:"error,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go deleted file mode 100644 index d310d0290..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreIoStrategy struct { - DownloadMode *IoStrategyDownloadMode `json:"download_mode,omitempty"` - UploadMode *IoStrategyUploadMode `json:"upload_mode,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_object_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_object_metadata.go deleted file mode 100644 index a6ad3f789..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_object_metadata.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Metadata for building a kubernetes object when a task is executed. -type CoreK8sObjectMetadata struct { - // Optional labels to add to the pod definition. - Labels map[string]string `json:"labels,omitempty"` - // Optional annotations to add to the pod definition. - Annotations map[string]string `json:"annotations,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go deleted file mode 100644 index a9c223ea6..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a pod spec and additional pod metadata that is created when a task is executed. -type CoreK8sPod struct { - // Contains additional metadata for building a kubernetes pod. - Metadata *CoreK8sObjectMetadata `json:"metadata,omitempty"` - PodSpec *ProtobufStruct `json:"pod_spec,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_key_value_pair.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_key_value_pair.go deleted file mode 100644 index 62a32a04a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_key_value_pair.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A generic key value pair. -type CoreKeyValuePair struct { - // required. - Key string `json:"key,omitempty"` - // +optional. - Value string `json:"value,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go deleted file mode 100644 index 03ee49361..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives. -type CoreLiteral struct { - // A simple value. - Scalar *CoreScalar `json:"scalar,omitempty"` - // A collection of literals to allow nesting. - Collection *CoreLiteralCollection `json:"collection,omitempty"` - // A map of strings to literals. - Map_ *CoreLiteralMap `json:"map,omitempty"` - Hash string `json:"hash,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_collection.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_collection.go deleted file mode 100644 index b7de3d8c4..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_collection.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. -type CoreLiteralCollection struct { - Literals []CoreLiteral `json:"literals,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_map.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_map.go deleted file mode 100644 index 58728f632..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_map.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. -type CoreLiteralMap struct { - Literals map[string]CoreLiteral `json:"literals,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go deleted file mode 100644 index 08611bf6c..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a strong type to allow type checking between interfaces. -type CoreLiteralType struct { - // A simple type that can be compared one-to-one with another. - Simple *CoreSimpleType `json:"simple,omitempty"` - // A complex type that requires matching of inner fields. - Schema *CoreSchemaType `json:"schema,omitempty"` - // Defines the type of the value of a collection. Only homogeneous collections are allowed. - CollectionType *CoreLiteralType `json:"collection_type,omitempty"` - // Defines the type of the value of a map type. The type of the key is always a string. - MapValueType *CoreLiteralType `json:"map_value_type,omitempty"` - // A blob might have specialized implementation details depending on associated metadata. - Blob *CoreBlobType `json:"blob,omitempty"` - // Defines an enum with pre-defined string values. - EnumType *CoreEnumType `json:"enum_type,omitempty"` - StructuredDatasetType *CoreStructuredDatasetType `json:"structured_dataset_type,omitempty"` - // Defines an union type with pre-defined LiteralTypes. - UnionType *CoreUnionType `json:"union_type,omitempty"` - // This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type. - Metadata *ProtobufStruct `json:"metadata,omitempty"` - // This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior. - Annotation *CoreTypeAnnotation `json:"annotation,omitempty"` - // Hints to improve type matching. - Structure *CoreTypeStructure `json:"structure,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node.go deleted file mode 100644 index 45126c2c2..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch node. -type CoreNode struct { - // A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes. - Id string `json:"id,omitempty"` - // Extra metadata about the node. - Metadata *CoreNodeMetadata `json:"metadata,omitempty"` - // Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled. - Inputs []CoreBinding `json:"inputs,omitempty"` - // +optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field. - UpstreamNodeIds []string `json:"upstream_node_ids,omitempty"` - // +optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified. - OutputAliases []CoreAlias `json:"output_aliases,omitempty"` - // Information about the Task to execute in this node. - TaskNode *CoreTaskNode `json:"task_node,omitempty"` - // Information about the Workflow to execute in this mode. - WorkflowNode *CoreWorkflowNode `json:"workflow_node,omitempty"` - // Information about the branch node to evaluate in this node. - BranchNode *CoreBranchNode `json:"branch_node,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go deleted file mode 100644 index 2a391e095..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulation of fields that identify a Flyte node execution entity. -type CoreNodeExecutionIdentifier struct { - NodeId string `json:"node_id,omitempty"` - ExecutionId *CoreWorkflowExecutionIdentifier `json:"execution_id,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go deleted file mode 100644 index 55c46425a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreNodeExecutionPhase string - -// List of coreNodeExecutionPhase -const ( - CoreNodeExecutionPhaseUNDEFINED CoreNodeExecutionPhase = "UNDEFINED" - CoreNodeExecutionPhaseQUEUED CoreNodeExecutionPhase = "QUEUED" - CoreNodeExecutionPhaseRUNNING CoreNodeExecutionPhase = "RUNNING" - CoreNodeExecutionPhaseSUCCEEDED CoreNodeExecutionPhase = "SUCCEEDED" - CoreNodeExecutionPhaseFAILING CoreNodeExecutionPhase = "FAILING" - CoreNodeExecutionPhaseFAILED CoreNodeExecutionPhase = "FAILED" - CoreNodeExecutionPhaseABORTED CoreNodeExecutionPhase = "ABORTED" - CoreNodeExecutionPhaseSKIPPED CoreNodeExecutionPhase = "SKIPPED" - CoreNodeExecutionPhaseTIMED_OUT CoreNodeExecutionPhase = "TIMED_OUT" - CoreNodeExecutionPhaseDYNAMIC_RUNNING CoreNodeExecutionPhase = "DYNAMIC_RUNNING" - CoreNodeExecutionPhaseRECOVERED CoreNodeExecutionPhase = "RECOVERED" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go deleted file mode 100644 index 3913c96c8..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines extra information about the Node. -type CoreNodeMetadata struct { - Name string `json:"name,omitempty"` - // The overall timeout of a task. - Timeout string `json:"timeout,omitempty"` - // Number of retries per task. - Retries *CoreRetryStrategy `json:"retries,omitempty"` - Interruptible bool `json:"interruptible,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go deleted file mode 100644 index 8413c9169..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task. -type CoreOAuth2Client struct { - ClientId string `json:"client_id,omitempty"` - ClientSecret *CoreSecret `json:"client_secret,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go deleted file mode 100644 index 6dcdb2ddd..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// OAuth2TokenRequest encapsulates information needed to request an OAuth2 token. FLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if tokens are passed through environment variables. FLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens are passed through file mounts. -type CoreOAuth2TokenRequest struct { - Name string `json:"name,omitempty"` - Type_ *CoreOAuth2TokenRequestType `json:"type,omitempty"` - Client *CoreOAuth2Client `json:"client,omitempty"` - IdpDiscoveryEndpoint string `json:"idp_discovery_endpoint,omitempty"` - TokenEndpoint string `json:"token_endpoint,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go deleted file mode 100644 index 5e9b5d4e6..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// CoreOAuth2TokenRequestType : Type of the token requested. - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials. -type CoreOAuth2TokenRequestType string - -// List of coreOAuth2TokenRequestType -const ( - CoreOAuth2TokenRequestTypeCLIENT_CREDENTIALS CoreOAuth2TokenRequestType = "CLIENT_CREDENTIALS" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go deleted file mode 100644 index 578ca555d..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines an operand to a comparison expression. -type CoreOperand struct { - Primitive *CorePrimitive `json:"primitive,omitempty"` - Var_ string `json:"var,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go deleted file mode 100644 index 9d05e33eb..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A reference to an output produced by a node. The type can be retrieved -and validated- from the underlying interface of the node. -type CoreOutputReference struct { - // Node id must exist at the graph layer. - NodeId string `json:"node_id,omitempty"` - // Variable name must refer to an output variable for the node. - Var_ string `json:"var,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go deleted file mode 100644 index 096c7efb0..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A parameter is used as input to a launch plan and has the special ability to have a default value or mark itself as required. -type CoreParameter struct { - // +required Variable. Defines the type of the variable backing this parameter. - Var_ *CoreVariable `json:"var,omitempty"` - // Defines a default value that has to match the variable type defined. - Default_ *CoreLiteral `json:"default,omitempty"` - // +optional, is this value required to be filled. - Required bool `json:"required,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter_map.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter_map.go deleted file mode 100644 index 0c6fc94fb..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter_map.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A map of Parameters. -type CoreParameterMap struct { - // Defines a map of parameter names to parameters. - Parameters map[string]CoreParameter `json:"parameters,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go deleted file mode 100644 index efe369c24..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -type CorePrimitive struct { - Integer string `json:"integer,omitempty"` - FloatValue float64 `json:"float_value,omitempty"` - StringValue string `json:"string_value,omitempty"` - Boolean bool `json:"boolean,omitempty"` - Datetime time.Time `json:"datetime,omitempty"` - Duration string `json:"duration,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go deleted file mode 100644 index d735974d0..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Indicates the priority of an execution. -type CoreQualityOfService struct { - Tier *QualityOfServiceTier `json:"tier,omitempty"` - Spec *CoreQualityOfServiceSpec `json:"spec,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service_spec.go deleted file mode 100644 index e7a8a8ad7..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service_spec.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents customized execution run-time attributes. -type CoreQualityOfServiceSpec struct { - // Indicates how much queueing delay an execution can tolerate. - QueueingBudget string `json:"queueing_budget,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go deleted file mode 100644 index 26866d1c4..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// CoreResourceType : Indicates a resource type within Flyte. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects -type CoreResourceType string - -// List of coreResourceType -const ( - CoreResourceTypeUNSPECIFIED CoreResourceType = "UNSPECIFIED" - CoreResourceTypeTASK CoreResourceType = "TASK" - CoreResourceTypeWORKFLOW CoreResourceType = "WORKFLOW" - CoreResourceTypeLAUNCH_PLAN CoreResourceType = "LAUNCH_PLAN" - CoreResourceTypeDATASET CoreResourceType = "DATASET" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_resources.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_resources.go deleted file mode 100644 index 725140da0..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_resources.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A customizable interface to convey resources requested for a container. This can be interpreted differently for different container engines. -type CoreResources struct { - // The desired set of resources requested. ResourceNames must be unique within the list. - Requests []ResourcesResourceEntry `json:"requests,omitempty"` - // Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique within the list. - Limits []ResourcesResourceEntry `json:"limits,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_retry_strategy.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_retry_strategy.go deleted file mode 100644 index 4766ef144..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_retry_strategy.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Retry strategy associated with an executable unit. -type CoreRetryStrategy struct { - // Number of retries. Retries will be consumed when the job fails with a recoverable error. The number of retries must be less than or equals to 10. - Retries int64 `json:"retries,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_runtime_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_runtime_metadata.go deleted file mode 100644 index 51fe71988..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_runtime_metadata.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Runtime information. This is loosely defined to allow for extensibility. -type CoreRuntimeMetadata struct { - // Type of runtime. - Type_ *RuntimeMetadataRuntimeType `json:"type,omitempty"` - // Version of the runtime. All versions should be backward compatible. However, certain cases call for version checks to ensure tighter validation or setting expectations. - Version string `json:"version,omitempty"` - // +optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.). - Flavor string `json:"flavor,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go deleted file mode 100644 index 4c2b0aa73..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreScalar struct { - Primitive *CorePrimitive `json:"primitive,omitempty"` - Blob *CoreBlob `json:"blob,omitempty"` - Binary *CoreBinary `json:"binary,omitempty"` - Schema *FlyteidlcoreSchema `json:"schema,omitempty"` - NoneType *CoreVoid `json:"none_type,omitempty"` - Error_ *CoreError `json:"error,omitempty"` - Generic *ProtobufStruct `json:"generic,omitempty"` - StructuredDataset *CoreStructuredDataset `json:"structured_dataset,omitempty"` - Union *CoreUnion `json:"union,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema_type.go deleted file mode 100644 index 52df3a083..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema_type.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines schema columns and types to strongly type-validate schemas interoperability. -type CoreSchemaType struct { - // A list of ordered columns this schema comprises of. - Columns []SchemaTypeSchemaColumn `json:"columns,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go deleted file mode 100644 index 3b709cefe..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Secret encapsulates information about the secret a task needs to proceed. An environment variable FLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if secrets are passed through environment variables. FLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets are passed through file mounts. -type CoreSecret struct { - Group string `json:"group,omitempty"` - GroupVersion string `json:"group_version,omitempty"` - Key string `json:"key,omitempty"` - MountRequirement *SecretMountType `json:"mount_requirement,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_security_context.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_security_context.go deleted file mode 100644 index d5c2a841a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_security_context.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// SecurityContext holds security attributes that apply to tasks. -type CoreSecurityContext struct { - // run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on. - RunAs *CoreIdentity `json:"run_as,omitempty"` - // secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. - Secrets []CoreSecret `json:"secrets,omitempty"` - // tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. - Tokens []CoreOAuth2TokenRequest `json:"tokens,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go deleted file mode 100644 index 23988bb9c..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// CoreSimpleType : Define a set of simple types. -type CoreSimpleType string - -// List of coreSimpleType -const ( - CoreSimpleTypeNONE CoreSimpleType = "NONE" - CoreSimpleTypeINTEGER CoreSimpleType = "INTEGER" - CoreSimpleTypeFLOAT CoreSimpleType = "FLOAT" - CoreSimpleTypeSTRING_ CoreSimpleType = "STRING" - CoreSimpleTypeBOOLEAN CoreSimpleType = "BOOLEAN" - CoreSimpleTypeDATETIME CoreSimpleType = "DATETIME" - CoreSimpleTypeDURATION CoreSimpleType = "DURATION" - CoreSimpleTypeBINARY CoreSimpleType = "BINARY" - CoreSimpleTypeERROR_ CoreSimpleType = "ERROR" - CoreSimpleTypeSTRUCT_ CoreSimpleType = "STRUCT" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go deleted file mode 100644 index c0cd22cb4..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Sql represents a generic sql workload with a statement and dialect. -type CoreSql struct { - Statement string `json:"statement,omitempty"` - Dialect *SqlDialect `json:"dialect,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go deleted file mode 100644 index 88fb473fc..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreStructuredDataset struct { - Uri string `json:"uri,omitempty"` - Metadata *CoreStructuredDatasetMetadata `json:"metadata,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_metadata.go deleted file mode 100644 index 9ae04bc03..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_metadata.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreStructuredDatasetMetadata struct { - // Bundle the type information along with the literal. This is here because StructuredDatasets can often be more defined at run time than at compile time. That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset, without any column information, but at run time, you might have that column information. flytekit python will copy this type information into the literal, from the type information, if not provided by the various plugins (encoders). Since this field is run time generated, it's not used for any type checking. - StructuredDatasetType *CoreStructuredDatasetType `json:"structured_dataset_type,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_type.go deleted file mode 100644 index 74d678705..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreStructuredDatasetType struct { - // A list of ordered columns this schema comprises of. - Columns []StructuredDatasetTypeDatasetColumn `json:"columns,omitempty"` - // This is the storage format, the format of the bits at rest parquet, feather, csv, etc. For two types to be compatible, the format will need to be an exact match. - Format string `json:"format,omitempty"` - // This is a string representing the type that the bytes in external_schema_bytes are formatted in. This is an optional field that will not be used for type checking. - ExternalSchemaType string `json:"external_schema_type,omitempty"` - // The serialized bytes of a third-party schema library like Arrow. This is an optional field that will not be used for type checking. - ExternalSchemaBytes string `json:"external_schema_bytes,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go deleted file mode 100644 index c0f0264ad..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulation of fields that identify a Flyte task execution entity. -type CoreTaskExecutionIdentifier struct { - TaskId *CoreIdentifier `json:"task_id,omitempty"` - NodeExecutionId *CoreNodeExecutionIdentifier `json:"node_execution_id,omitempty"` - RetryAttempt int64 `json:"retry_attempt,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go deleted file mode 100644 index 0dd23b9a2..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreTaskExecutionPhase string - -// List of coreTaskExecutionPhase -const ( - CoreTaskExecutionPhaseUNDEFINED CoreTaskExecutionPhase = "UNDEFINED" - CoreTaskExecutionPhaseQUEUED CoreTaskExecutionPhase = "QUEUED" - CoreTaskExecutionPhaseRUNNING CoreTaskExecutionPhase = "RUNNING" - CoreTaskExecutionPhaseSUCCEEDED CoreTaskExecutionPhase = "SUCCEEDED" - CoreTaskExecutionPhaseABORTED CoreTaskExecutionPhase = "ABORTED" - CoreTaskExecutionPhaseFAILED CoreTaskExecutionPhase = "FAILED" - CoreTaskExecutionPhaseINITIALIZING CoreTaskExecutionPhase = "INITIALIZING" - CoreTaskExecutionPhaseWAITING_FOR_RESOURCES CoreTaskExecutionPhase = "WAITING_FOR_RESOURCES" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go deleted file mode 100644 index 1eef3655d..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreTaskLog struct { - Uri string `json:"uri,omitempty"` - Name string `json:"name,omitempty"` - MessageFormat *TaskLogMessageFormat `json:"message_format,omitempty"` - Ttl string `json:"ttl,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go deleted file mode 100644 index 7f2412eed..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreTaskMetadata struct { - // Indicates whether the system should attempt to lookup this task's output to avoid duplication of work. - Discoverable bool `json:"discoverable,omitempty"` - // Runtime information about the task. - Runtime *CoreRuntimeMetadata `json:"runtime,omitempty"` - // The overall timeout of a task including user-triggered retries. - Timeout string `json:"timeout,omitempty"` - // Number of retries per task. - Retries *CoreRetryStrategy `json:"retries,omitempty"` - // Indicates a logical version to apply to this task for the purpose of discovery. - DiscoveryVersion string `json:"discovery_version,omitempty"` - // If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task. - DeprecatedErrorMessage string `json:"deprecated_error_message,omitempty"` - Interruptible bool `json:"interruptible,omitempty"` - CacheSerializable bool `json:"cache_serializable,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node.go deleted file mode 100644 index 63d75a815..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Refers to the task that the Node is to execute. -type CoreTaskNode struct { - // A globally unique identifier for the task. - ReferenceId *CoreIdentifier `json:"reference_id,omitempty"` - // Optional overrides applied at task execution time. - Overrides *CoreTaskNodeOverrides `json:"overrides,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node_overrides.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node_overrides.go deleted file mode 100644 index 241ad4119..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node_overrides.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Optional task node overrides that will be applied at task execution time. -type CoreTaskNodeOverrides struct { - // A customizable interface to convey resources requested for a task container. - Resources *CoreResources `json:"resources,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go deleted file mode 100644 index 163a0eb7c..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A Task structure that uniquely identifies a task in the system Tasks are registered as a first step in the system. -type CoreTaskTemplate struct { - // Auto generated taskId by the system. Task Id uniquely identifies this task globally. - Id *CoreIdentifier `json:"id,omitempty"` - // A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the implementation registered for the TaskCategory. - Type_ string `json:"type,omitempty"` - // Extra metadata about the task. - Metadata *CoreTaskMetadata `json:"metadata,omitempty"` - // A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures. - Interface_ *CoreTypedInterface `json:"interface,omitempty"` - // Custom data about the task. This is extensible to allow various plugins in the system. - Custom *ProtobufStruct `json:"custom,omitempty"` - Container *CoreContainer `json:"container,omitempty"` - K8sPod *CoreK8sPod `json:"k8s_pod,omitempty"` - Sql *CoreSql `json:"sql,omitempty"` - // This can be used to customize task handling at execution time for the same task type. - TaskTypeVersion int32 `json:"task_type_version,omitempty"` - // security_context encapsulates security attributes requested to run this task. - SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` - Config map[string]string `json:"config,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_annotation.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_annotation.go deleted file mode 100644 index 221a16877..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_annotation.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs. -type CoreTypeAnnotation struct { - // A arbitrary JSON payload to describe a type. - Annotations *ProtobufStruct `json:"annotations,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_structure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_structure.go deleted file mode 100644 index d3e1d7172..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_structure.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Hints to improve type matching e.g. allows distinguishing output from custom type transformers even if the underlying IDL serialization matches. -type CoreTypeStructure struct { - Tag string `json:"tag,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go deleted file mode 100644 index 8a1487646..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines strongly typed inputs and outputs. -type CoreTypedInterface struct { - Inputs *CoreVariableMap `json:"inputs,omitempty"` - Outputs *CoreVariableMap `json:"outputs,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go deleted file mode 100644 index dc4a92e0d..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// The runtime representation of a tagged union value. See `UnionType` for more details. -type CoreUnion struct { - Value *CoreLiteral `json:"value,omitempty"` - Type_ *CoreLiteralType `json:"type,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_info.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_info.go deleted file mode 100644 index f4468f7ad..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_info.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreUnionInfo struct { - TargetType *CoreLiteralType `json:"targetType,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_type.go deleted file mode 100644 index a2c710b49..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_type.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a tagged union type, also known as a variant (and formally as the sum type). A sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag A value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by storing the varaint's tag with the literal value and can be examined in runtime. Type S is typically written as S := Apple A | Banana B | Cantaloupe C | ... Notably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value: Optional X := X | Null See also: https://en.wikipedia.org/wiki/Tagged_union -type CoreUnionType struct { - // Predefined set of variants in union. - Variants []CoreLiteralType `json:"variants,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go deleted file mode 100644 index 40e43f058..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a strongly typed variable. -type CoreVariable struct { - // Variable literal type. - Type_ *CoreLiteralType `json:"type,omitempty"` - Description string `json:"description,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable_map.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable_map.go deleted file mode 100644 index 581bc9668..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable_map.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreVariableMap struct { - // Defines a map of variable names to variables. - Variables map[string]CoreVariable `json:"variables,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_void.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_void.go deleted file mode 100644 index 94fc7ee1f..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_void.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally undefined since it can be assigned to a scalar of any LiteralType. -type CoreVoid struct { -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_identifier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_identifier.go deleted file mode 100644 index cf61bea6c..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_identifier.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreWorkflowExecutionIdentifier struct { - // Name of the project the resource belongs to. - Project string `json:"project,omitempty"` - // Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - Domain string `json:"domain,omitempty"` - // User or system provided value for the resource. - Name string `json:"name,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go deleted file mode 100644 index 0745afacd..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreWorkflowExecutionPhase string - -// List of coreWorkflowExecutionPhase -const ( - CoreWorkflowExecutionPhaseUNDEFINED CoreWorkflowExecutionPhase = "UNDEFINED" - CoreWorkflowExecutionPhaseQUEUED CoreWorkflowExecutionPhase = "QUEUED" - CoreWorkflowExecutionPhaseRUNNING CoreWorkflowExecutionPhase = "RUNNING" - CoreWorkflowExecutionPhaseSUCCEEDING CoreWorkflowExecutionPhase = "SUCCEEDING" - CoreWorkflowExecutionPhaseSUCCEEDED CoreWorkflowExecutionPhase = "SUCCEEDED" - CoreWorkflowExecutionPhaseFAILING CoreWorkflowExecutionPhase = "FAILING" - CoreWorkflowExecutionPhaseFAILED CoreWorkflowExecutionPhase = "FAILED" - CoreWorkflowExecutionPhaseABORTED CoreWorkflowExecutionPhase = "ABORTED" - CoreWorkflowExecutionPhaseTIMED_OUT CoreWorkflowExecutionPhase = "TIMED_OUT" - CoreWorkflowExecutionPhaseABORTING CoreWorkflowExecutionPhase = "ABORTING" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go deleted file mode 100644 index 199b9e4ca..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not percolate down to child entities (like tasks) launched by the workflow. -type CoreWorkflowMetadata struct { - // Indicates the runtime priority of workflow executions. - QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` - // Defines how the system should behave when a failure is detected in the workflow execution. - OnFailure *WorkflowMetadataOnFailurePolicy `json:"on_failure,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata_defaults.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata_defaults.go deleted file mode 100644 index 715c32916..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata_defaults.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// The difference between these settings and the WorkflowMetadata ones is that these are meant to be passed down to a workflow's underlying entities (like tasks). For instance, 'interruptible' has no meaning at the workflow layer, it is only relevant when a task executes. The settings here are the defaults that are passed to all nodes unless explicitly overridden at the node layer. If you are adding a setting that applies to both the Workflow itself, and everything underneath it, it should be added to both this object and the WorkflowMetadata object above. -type CoreWorkflowMetadataDefaults struct { - // Whether child nodes of the workflow are interruptible. - Interruptible bool `json:"interruptible,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go deleted file mode 100644 index 42b07706a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Refers to a the workflow the node is to execute. -type CoreWorkflowNode struct { - // A globally unique identifier for the launch plan. - LaunchplanRef *CoreIdentifier `json:"launchplan_ref,omitempty"` - SubWorkflowRef *CoreIdentifier `json:"sub_workflow_ref,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go deleted file mode 100644 index 377a19bf8..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Flyte Workflow Structure that encapsulates task, branch and subworkflow nodes to form a statically analyzable, directed acyclic graph. -type CoreWorkflowTemplate struct { - // A globally unique identifier for the workflow. - Id *CoreIdentifier `json:"id,omitempty"` - // Extra metadata about the workflow. - Metadata *CoreWorkflowMetadata `json:"metadata,omitempty"` - // Defines a strongly typed interface for the Workflow. This can include some optional parameters. - Interface_ *CoreTypedInterface `json:"interface,omitempty"` - // A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs. - Nodes []CoreNode `json:"nodes,omitempty"` - // A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task. - Outputs []CoreBinding `json:"outputs,omitempty"` - // +optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error. - FailureNode *CoreNode `json:"failure_node,omitempty"` - MetadataDefaults *CoreWorkflowMetadataDefaults `json:"metadata_defaults,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go b/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go deleted file mode 100644 index bfb25fd45..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// DataLoadingConfigLiteralMapFormat : - JSON: JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html - PROTO: Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core -type DataLoadingConfigLiteralMapFormat string - -// List of DataLoadingConfigLiteralMapFormat -const ( - DataLoadingConfigLiteralMapFormatJSON DataLoadingConfigLiteralMapFormat = "JSON" - DataLoadingConfigLiteralMapFormatYAML DataLoadingConfigLiteralMapFormat = "YAML" - DataLoadingConfigLiteralMapFormatPROTO DataLoadingConfigLiteralMapFormat = "PROTO" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go deleted file mode 100644 index 8daa059ed..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// This message contains metadata about external resources produced or used by a specific task execution. -type EventExternalResourceInfo struct { - // Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids. - ExternalId string `json:"external_id,omitempty"` - // A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports. - Index int64 `json:"index,omitempty"` - RetryAttempt int64 `json:"retry_attempt,omitempty"` - Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` - // Captures the status of caching for this external resource execution. - CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` - Logs []CoreTaskLog `json:"logs,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go deleted file mode 100644 index 73defbb80..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go +++ /dev/null @@ -1,43 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -type EventNodeExecutionEvent struct { - Id *CoreNodeExecutionIdentifier `json:"id,omitempty"` - ProducerId string `json:"producer_id,omitempty"` - Phase *CoreNodeExecutionPhase `json:"phase,omitempty"` - // This timestamp represents when the original event occurred, it is generated by the executor of the node. - OccurredAt time.Time `json:"occurred_at,omitempty"` - InputUri string `json:"input_uri,omitempty"` - // URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` - // Raw output data produced by this node execution. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` - WorkflowNodeMetadata *FlyteidleventWorkflowNodeMetadata `json:"workflow_node_metadata,omitempty"` - TaskNodeMetadata *FlyteidleventTaskNodeMetadata `json:"task_node_metadata,omitempty"` - // [To be deprecated] Specifies which task (if any) launched this node. - ParentTaskMetadata *EventParentTaskExecutionMetadata `json:"parent_task_metadata,omitempty"` - // Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node. - ParentNodeMetadata *EventParentNodeExecutionMetadata `json:"parent_node_metadata,omitempty"` - RetryGroup string `json:"retry_group,omitempty"` - SpecNodeId string `json:"spec_node_id,omitempty"` - NodeName string `json:"node_name,omitempty"` - EventVersion int32 `json:"event_version,omitempty"` - // Whether this node launched a subworkflow. - IsParent bool `json:"is_parent,omitempty"` - // Whether this node yielded a dynamic workflow. - IsDynamic bool `json:"is_dynamic,omitempty"` - DeckUri string `json:"deck_uri,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_node_execution_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_node_execution_metadata.go deleted file mode 100644 index 80cd096b1..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_node_execution_metadata.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type EventParentNodeExecutionMetadata struct { - NodeId string `json:"node_id,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_task_execution_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_task_execution_metadata.go deleted file mode 100644 index c5276ee64..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_task_execution_metadata.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type EventParentTaskExecutionMetadata struct { - Id *CoreTaskExecutionIdentifier `json:"id,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_resource_pool_info.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_resource_pool_info.go deleted file mode 100644 index 4b2bde69b..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_resource_pool_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// This message holds task execution metadata specific to resource allocation used to manage concurrent executions for a project namespace. -type EventResourcePoolInfo struct { - // Unique resource ID used to identify this execution when allocating a token. - AllocationToken string `json:"allocation_token,omitempty"` - // Namespace under which this task execution requested an allocation token. - Namespace string `json:"namespace,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go deleted file mode 100644 index cd1845e5e..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob. -type EventTaskExecutionEvent struct { - // ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution. - TaskId *CoreIdentifier `json:"task_id,omitempty"` - ParentNodeExecutionId *CoreNodeExecutionIdentifier `json:"parent_node_execution_id,omitempty"` - RetryAttempt int64 `json:"retry_attempt,omitempty"` - Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` - ProducerId string `json:"producer_id,omitempty"` - Logs []CoreTaskLog `json:"logs,omitempty"` - // This timestamp represents when the original event occurred, it is generated by the executor of the task. - OccurredAt time.Time `json:"occurred_at,omitempty"` - // URI of the input file, it encodes all the information including Cloud source provider. ie., s3://... - InputUri string `json:"input_uri,omitempty"` - // URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://... - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` - // Raw output data produced by this task execution. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` - // Custom data that the task plugin sends back. This is extensible to allow various plugins in the system. - CustomInfo *ProtobufStruct `json:"custom_info,omitempty"` - // Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) that should be recorded regardless of the lack of phase change. The version field should be incremented when metadata changes across the duration of an individual phase. - PhaseVersion int64 `json:"phase_version,omitempty"` - // An optional explanation for the phase transition. - Reason string `json:"reason,omitempty"` - // A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin this type will be identical, but not all task executions necessarily use pre-registered definitions and this type is useful to render the task in the UI, filter task executions, etc. - TaskType string `json:"task_type,omitempty"` - // Metadata around how a task was executed. - Metadata *EventTaskExecutionMetadata `json:"metadata,omitempty"` - // The event version is used to indicate versioned changes in how data is reported using this proto message. For example, event_verison > 0 means that maps tasks report logs using the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. - EventVersion int32 `json:"event_version,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_metadata.go deleted file mode 100644 index 336dd1797..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_metadata.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Holds metadata around how a task was executed. As a task transitions across event phases during execution some attributes, such its generated name, generated external resources, and more may grow in size but not change necessarily based on the phase transition that sparked the event update. Metadata is a container for these attributes across the task execution lifecycle. -type EventTaskExecutionMetadata struct { - // Unique, generated name for this task execution used by the backend. - GeneratedName string `json:"generated_name,omitempty"` - // Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution. - ExternalResources []EventExternalResourceInfo `json:"external_resources,omitempty"` - // Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution. - ResourcePoolInfo []EventResourcePoolInfo `json:"resource_pool_info,omitempty"` - // The identifier of the plugin used to execute this task. - PluginIdentifier string `json:"plugin_identifier,omitempty"` - InstanceClass *TaskExecutionMetadataInstanceClass `json:"instance_class,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go deleted file mode 100644 index 279f0d5a5..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -type EventWorkflowExecutionEvent struct { - ExecutionId *CoreWorkflowExecutionIdentifier `json:"execution_id,omitempty"` - ProducerId string `json:"producer_id,omitempty"` - Phase *CoreWorkflowExecutionPhase `json:"phase,omitempty"` - // This timestamp represents when the original event occurred, it is generated by the executor of the workflow. - OccurredAt time.Time `json:"occurred_at,omitempty"` - // URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` - // Raw output data produced by this workflow execution. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go b/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go deleted file mode 100644 index fa2eb9e95..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type ExecutionErrorErrorKind string - -// List of ExecutionErrorErrorKind -const ( - ExecutionErrorErrorKindUNKNOWN ExecutionErrorErrorKind = "UNKNOWN" - ExecutionErrorErrorKindUSER ExecutionErrorErrorKind = "USER" - ExecutionErrorErrorKindSYSTEM ExecutionErrorErrorKind = "SYSTEM" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go b/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go deleted file mode 100644 index 000c4da4c..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ExecutionMetadataExecutionMode : The method by which this execution was launched. - MANUAL: The default execution mode, MANUAL implies that an execution was launched by an individual. - SCHEDULED: A schedule triggered this execution launch. - SYSTEM: A system process was responsible for launching this execution rather an individual. - RELAUNCH: This execution was launched with identical inputs as a previous execution. - CHILD_WORKFLOW: This execution was triggered by another execution. - RECOVERED: This execution was recovered from another execution. -type ExecutionMetadataExecutionMode string - -// List of ExecutionMetadataExecutionMode -const ( - ExecutionMetadataExecutionModeMANUAL ExecutionMetadataExecutionMode = "MANUAL" - ExecutionMetadataExecutionModeSCHEDULED ExecutionMetadataExecutionMode = "SCHEDULED" - ExecutionMetadataExecutionModeSYSTEM ExecutionMetadataExecutionMode = "SYSTEM" - ExecutionMetadataExecutionModeRELAUNCH ExecutionMetadataExecutionMode = "RELAUNCH" - ExecutionMetadataExecutionModeCHILD_WORKFLOW ExecutionMetadataExecutionMode = "CHILD_WORKFLOW" - ExecutionMetadataExecutionModeRECOVERED ExecutionMetadataExecutionMode = "RECOVERED" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go deleted file mode 100644 index 87bb07847..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated. -type FlyteidladminDynamicWorkflowNodeMetadata struct { - // id represents the unique identifier of the workflow. - Id *CoreIdentifier `json:"id,omitempty"` - // Represents the compiled representation of the embedded dynamic workflow. - CompiledWorkflow *CoreCompiledWorkflowClosure `json:"compiled_workflow,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go deleted file mode 100644 index 98ec72e86..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulates all details for a single node execution entity. A node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested sub-workflow, or even a separate child-workflow execution. The same task can be called repeatedly in a single workflow but each node is unique. -type FlyteidladminNodeExecution struct { - // Uniquely identifies an individual node execution. - Id *CoreNodeExecutionIdentifier `json:"id,omitempty"` - // Path to remote data store where input blob is stored. - InputUri string `json:"input_uri,omitempty"` - // Computed results associated with this node execution. - Closure *AdminNodeExecutionClosure `json:"closure,omitempty"` - Metadata *AdminNodeExecutionMetaData `json:"metadata,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_execution.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_execution.go deleted file mode 100644 index e0532d1a2..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_execution.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulates all details for a single task execution entity. A task execution represents an instantiated task, including all inputs and additional metadata as well as computed results included state, outputs, and duration-based attributes. -type FlyteidladminTaskExecution struct { - // Unique identifier for the task execution. - Id *CoreTaskExecutionIdentifier `json:"id,omitempty"` - // Path to remote data store where input blob is stored. - InputUri string `json:"input_uri,omitempty"` - // Task execution details and results. - Closure *AdminTaskExecutionClosure `json:"closure,omitempty"` - // Whether this task spawned nodes. - IsParent bool `json:"is_parent,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go deleted file mode 100644 index 8f0a3047f..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type FlyteidladminTaskNodeMetadata struct { - // Captures the status of caching for this execution. - CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` - CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_workflow_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_workflow_node_metadata.go deleted file mode 100644 index fe99080d5..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_workflow_node_metadata.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type FlyteidladminWorkflowNodeMetadata struct { - // The identifier for a workflow execution launched by a node. - ExecutionId *CoreWorkflowExecutionIdentifier `json:"executionId,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlcore_schema.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlcore_schema.go deleted file mode 100644 index 307252b18..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlcore_schema.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A strongly typed schema that defines the interface of data retrieved from the underlying storage medium. -type FlyteidlcoreSchema struct { - Uri string `json:"uri,omitempty"` - Type_ *CoreSchemaType `json:"type,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go deleted file mode 100644 index 2ab7e568d..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// For dynamic workflow nodes we send information about the dynamic workflow definition that gets generated. -type FlyteidleventDynamicWorkflowNodeMetadata struct { - // id represents the unique identifier of the workflow. - Id *CoreIdentifier `json:"id,omitempty"` - // Represents the compiled representation of the embedded dynamic workflow. - CompiledWorkflow *CoreCompiledWorkflowClosure `json:"compiled_workflow,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go deleted file mode 100644 index 525c7d409..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type FlyteidleventTaskNodeMetadata struct { - // Captures the status of caching for this execution. - CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` - CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` - // Captures the status of cache reservations for this execution. - ReservationStatus *CatalogReservationStatus `json:"reservation_status,omitempty"` - // In the case this task launched a dynamic workflow we capture its structure here. - DynamicWorkflow *FlyteidleventDynamicWorkflowNodeMetadata `json:"dynamic_workflow,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_workflow_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_workflow_node_metadata.go deleted file mode 100644 index 0530d49c8..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_workflow_node_metadata.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type FlyteidleventWorkflowNodeMetadata struct { - ExecutionId *CoreWorkflowExecutionIdentifier `json:"execution_id,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go b/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go deleted file mode 100644 index 670fc1529..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// IoStrategyDownloadMode : - DOWNLOAD_EAGER: All data will be downloaded before the main container is executed - DOWNLOAD_STREAM: Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details - DO_NOT_DOWNLOAD: Large objects (offloaded) will not be downloaded -type IoStrategyDownloadMode string - -// List of IOStrategyDownloadMode -const ( - IoStrategyDownloadModeDOWNLOAD_EAGER IoStrategyDownloadMode = "DOWNLOAD_EAGER" - IoStrategyDownloadModeDOWNLOAD_STREAM IoStrategyDownloadMode = "DOWNLOAD_STREAM" - IoStrategyDownloadModeDO_NOT_DOWNLOAD IoStrategyDownloadMode = "DO_NOT_DOWNLOAD" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go b/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go deleted file mode 100644 index d7b6e5f1f..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// IoStrategyUploadMode : - UPLOAD_ON_EXIT: All data will be uploaded after the main container exits - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol specification for details - DO_NOT_UPLOAD: Data will not be uploaded, only references will be written -type IoStrategyUploadMode string - -// List of IOStrategyUploadMode -const ( - IoStrategyUploadModeUPLOAD_ON_EXIT IoStrategyUploadMode = "UPLOAD_ON_EXIT" - IoStrategyUploadModeUPLOAD_EAGER IoStrategyUploadMode = "UPLOAD_EAGER" - IoStrategyUploadModeDO_NOT_UPLOAD IoStrategyUploadMode = "DO_NOT_UPLOAD" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go b/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go deleted file mode 100644 index 2c8ff10df..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// PluginOverrideMissingPluginBehavior : - FAIL: By default, if this plugin is not enabled for a Flyte deployment then execution will fail. - USE_DEFAULT: Uses the system-configured default implementation. -type PluginOverrideMissingPluginBehavior string - -// List of PluginOverrideMissingPluginBehavior -const ( - PluginOverrideMissingPluginBehaviorFAIL PluginOverrideMissingPluginBehavior = "FAIL" - PluginOverrideMissingPluginBehaviorUSE_DEFAULT PluginOverrideMissingPluginBehavior = "USE_DEFAULT" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go b/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go deleted file mode 100644 index 112958abf..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ProjectProjectState : The state of the project is used to control its visibility in the UI and validity. - ACTIVE: By default, all projects are considered active. - ARCHIVED: Archived projects are no longer visible in the UI and no longer valid. - SYSTEM_GENERATED: System generated projects that aren't explicitly created or managed by a user. -type ProjectProjectState string - -// List of ProjectProjectState -const ( - ProjectProjectStateACTIVE ProjectProjectState = "ACTIVE" - ProjectProjectStateARCHIVED ProjectProjectState = "ARCHIVED" - ProjectProjectStateSYSTEM_GENERATED ProjectProjectState = "SYSTEM_GENERATED" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_list_value.go b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_list_value.go deleted file mode 100644 index bc715dd55..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_list_value.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// `ListValue` is a wrapper around a repeated field of values. The JSON representation for `ListValue` is JSON array. -type ProtobufListValue struct { - // Repeated field of dynamically typed values. - Values []ProtobufValue `json:"values,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go deleted file mode 100644 index b7bb2d3e8..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ProtobufNullValue : `NullValue` is a singleton enumeration to represent the null value for the `Value` type union. The JSON representation for `NullValue` is JSON `null`. - NULL_VALUE: Null value. -type ProtobufNullValue string - -// List of protobufNullValue -const ( - ProtobufNullValueNULL_VALUE ProtobufNullValue = "NULL_VALUE" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_struct.go b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_struct.go deleted file mode 100644 index 377cb9bbc..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_struct.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, `Struct` might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language. The JSON representation for `Struct` is JSON object. -type ProtobufStruct struct { - // Unordered map of dynamically typed values. - Fields map[string]ProtobufValue `json:"fields,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_value.go b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_value.go deleted file mode 100644 index 67738ccee..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_value.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of that variants, absence of any variant indicates an error. The JSON representation for `Value` is JSON value. -type ProtobufValue struct { - // Represents a null value. - NullValue *ProtobufNullValue `json:"null_value,omitempty"` - // Represents a double value. - NumberValue float64 `json:"number_value,omitempty"` - // Represents a string value. - StringValue string `json:"string_value,omitempty"` - // Represents a boolean value. - BoolValue bool `json:"bool_value,omitempty"` - // Represents a structured value. - StructValue *ProtobufStruct `json:"struct_value,omitempty"` - // Represents a repeated `Value`. - ListValue *ProtobufListValue `json:"list_value,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go deleted file mode 100644 index b156cc3b7..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// QualityOfServiceTier : - UNDEFINED: Default: no quality of service specified. -type QualityOfServiceTier string - -// List of QualityOfServiceTier -const ( - QualityOfServiceTierUNDEFINED QualityOfServiceTier = "UNDEFINED" - QualityOfServiceTierHIGH QualityOfServiceTier = "HIGH" - QualityOfServiceTierMEDIUM QualityOfServiceTier = "MEDIUM" - QualityOfServiceTierLOW QualityOfServiceTier = "LOW" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go b/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go deleted file mode 100644 index cb0292022..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulates a resource name and value. -type ResourcesResourceEntry struct { - // Resource name. - Name *ResourcesResourceName `json:"name,omitempty"` - Value string `json:"value,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go b/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go deleted file mode 100644 index 13b9f8b23..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ResourcesResourceName : Known resource names. - EPHEMERAL_STORAGE: For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs. -type ResourcesResourceName string - -// List of ResourcesResourceName -const ( - ResourcesResourceNameUNKNOWN ResourcesResourceName = "UNKNOWN" - ResourcesResourceNameCPU ResourcesResourceName = "CPU" - ResourcesResourceNameGPU ResourcesResourceName = "GPU" - ResourcesResourceNameMEMORY ResourcesResourceName = "MEMORY" - ResourcesResourceNameSTORAGE ResourcesResourceName = "STORAGE" - ResourcesResourceNameEPHEMERAL_STORAGE ResourcesResourceName = "EPHEMERAL_STORAGE" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go deleted file mode 100644 index 85abd1fbc..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type RuntimeMetadataRuntimeType string - -// List of RuntimeMetadataRuntimeType -const ( - RuntimeMetadataRuntimeTypeOTHER RuntimeMetadataRuntimeType = "OTHER" - RuntimeMetadataRuntimeTypeFLYTE_SDK RuntimeMetadataRuntimeType = "FLYTE_SDK" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go deleted file mode 100644 index ece75c967..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type SchemaColumnSchemaColumnType string - -// List of SchemaColumnSchemaColumnType -const ( - SchemaColumnSchemaColumnTypeINTEGER SchemaColumnSchemaColumnType = "INTEGER" - SchemaColumnSchemaColumnTypeFLOAT SchemaColumnSchemaColumnType = "FLOAT" - SchemaColumnSchemaColumnTypeSTRING_ SchemaColumnSchemaColumnType = "STRING" - SchemaColumnSchemaColumnTypeBOOLEAN SchemaColumnSchemaColumnType = "BOOLEAN" - SchemaColumnSchemaColumnTypeDATETIME SchemaColumnSchemaColumnType = "DATETIME" - SchemaColumnSchemaColumnTypeDURATION SchemaColumnSchemaColumnType = "DURATION" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_schema_type_schema_column.go b/gen/pb-go/flyteidl/service/flyteadmin/model_schema_type_schema_column.go deleted file mode 100644 index 33bc8433a..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_schema_type_schema_column.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type SchemaTypeSchemaColumn struct { - Name string `json:"name,omitempty"` - // The column type. This allows a limited set of types currently. - Type_ *SchemaColumnSchemaColumnType `json:"type,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go deleted file mode 100644 index 4f76410bc..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// SecretMountType : - ANY: Default case, indicates the client can tolerate either mounting options. - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as an environment variable. - FILE: FILE indicates the secret needs to be mounted as a file. -type SecretMountType string - -// List of SecretMountType -const ( - SecretMountTypeANY SecretMountType = "ANY" - SecretMountTypeENV_VAR SecretMountType = "ENV_VAR" - SecretMountTypeFILE SecretMountType = "FILE" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go b/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go deleted file mode 100644 index bc5e709b5..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// SortDirection : - DESCENDING: By default, fields are sorted in descending order. -type SortDirection string - -// List of SortDirection -const ( - SortDirectionDESCENDING SortDirection = "DESCENDING" - SortDirectionASCENDING SortDirection = "ASCENDING" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go b/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go deleted file mode 100644 index 4f3e1a661..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// SqlDialect : The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid expensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement. We support the following dialect: ansi, hive. -type SqlDialect string - -// List of SqlDialect -const ( - SqlDialectUNDEFINED SqlDialect = "UNDEFINED" - SqlDialectANSI SqlDialect = "ANSI" - SqlDialectHIVE SqlDialect = "HIVE" - SqlDialectOTHER SqlDialect = "OTHER" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_structured_dataset_type_dataset_column.go b/gen/pb-go/flyteidl/service/flyteadmin/model_structured_dataset_type_dataset_column.go deleted file mode 100644 index ef02a51df..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_structured_dataset_type_dataset_column.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type StructuredDatasetTypeDatasetColumn struct { - // A unique name within the schema type for the column. - Name string `json:"name,omitempty"` - // The column type. - LiteralType *CoreLiteralType `json:"literal_type,omitempty"` -} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go b/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go deleted file mode 100644 index efff48b05..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// TaskExecutionMetadataInstanceClass : Includes the broad category of machine used for this specific task execution. - DEFAULT: The default instance class configured for the flyte application platform. - INTERRUPTIBLE: The instance class configured for interruptible tasks. -type TaskExecutionMetadataInstanceClass string - -// List of TaskExecutionMetadataInstanceClass -const ( - TaskExecutionMetadataInstanceClassDEFAULT_ TaskExecutionMetadataInstanceClass = "DEFAULT" - TaskExecutionMetadataInstanceClassINTERRUPTIBLE TaskExecutionMetadataInstanceClass = "INTERRUPTIBLE" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go b/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go deleted file mode 100644 index 46eab08cb..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type TaskLogMessageFormat string - -// List of TaskLogMessageFormat -const ( - TaskLogMessageFormatUNKNOWN TaskLogMessageFormat = "UNKNOWN" - TaskLogMessageFormatCSV TaskLogMessageFormat = "CSV" - TaskLogMessageFormatJSON TaskLogMessageFormat = "JSON" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go b/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go deleted file mode 100644 index 81379f25c..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// WorkflowMetadataOnFailurePolicy : - FAIL_IMMEDIATELY: FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically abort all currently running nodes and clean up resources before finally marking the workflow executions as failed. - FAIL_AFTER_EXECUTABLE_NODES_COMPLETE: FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will not alter the dependencies of the execution graph so any node that depend on the failed node will not be run. Other nodes that will be executed to completion before cleaning up resources and marking the workflow execution as failed. -type WorkflowMetadataOnFailurePolicy string - -// List of WorkflowMetadataOnFailurePolicy -const ( - WorkflowMetadataOnFailurePolicyIMMEDIATELY WorkflowMetadataOnFailurePolicy = "FAIL_IMMEDIATELY" - WorkflowMetadataOnFailurePolicyAFTER_EXECUTABLE_NODES_COMPLETE WorkflowMetadataOnFailurePolicy = "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" -) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/response.go b/gen/pb-go/flyteidl/service/flyteadmin/response.go deleted file mode 100644 index d8bc6fdc6..000000000 --- a/gen/pb-go/flyteidl/service/flyteadmin/response.go +++ /dev/null @@ -1,43 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "net/http" -) - -type APIResponse struct { - *http.Response `json:"-"` - Message string `json:"message,omitempty"` - // Operation is the name of the swagger operation. - Operation string `json:"operation,omitempty"` - // RequestURL is the request URL. This value is always available, even if the - // embedded *http.Response is nil. - RequestURL string `json:"url,omitempty"` - // Method is the HTTP method used for the request. This value is always - // available, even if the embedded *http.Response is nil. - Method string `json:"method,omitempty"` - // Payload holds the contents of the response body (which may be nil or empty). - // This is provided here as the raw response.Body() reader will have already - // been drained. - Payload []byte `json:"-"` -} - -func NewAPIResponse(r *http.Response) *APIResponse { - - response := &APIResponse{Response: r} - return response -} - -func NewAPIResponseWithError(errorMessage string) *APIResponse { - - response := &APIResponse{Message: errorMessage} - return response -} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/.gitignore b/gen/pb_python/flyteidl/service/flyteadmin/.gitignore deleted file mode 100644 index a655050c2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/.gitignore +++ /dev/null @@ -1,64 +0,0 @@ -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class - -# C extensions -*.so - -# Distribution / packaging -.Python -env/ -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -*.egg-info/ -.installed.cfg -*.egg - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*,cover -.hypothesis/ -venv/ -.python-version - -# Translations -*.mo -*.pot - -# Django stuff: -*.log - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - -#Ipython Notebook -.ipynb_checkpoints diff --git a/gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen-ignore b/gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen-ignore deleted file mode 100644 index c5fa491b4..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# Swagger Codegen Ignore -# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen/VERSION b/gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen/VERSION deleted file mode 100644 index 6cecc1a68..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen/VERSION +++ /dev/null @@ -1 +0,0 @@ -2.4.6-SNAPSHOT \ No newline at end of file diff --git a/gen/pb_python/flyteidl/service/flyteadmin/.travis.yml b/gen/pb_python/flyteidl/service/flyteadmin/.travis.yml deleted file mode 100644 index 86211e2d4..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -# ref: https://docs.travis-ci.com/user/languages/python -language: python -python: - - "2.7" - - "3.2" - - "3.3" - - "3.4" - - "3.5" - #- "3.5-dev" # 3.5 development branch - #- "nightly" # points to the latest development branch e.g. 3.6-dev -# command to install dependencies -install: "pip install -r requirements.txt" -# command to run tests -script: nosetests diff --git a/gen/pb_python/flyteidl/service/flyteadmin/README.md b/gen/pb_python/flyteidl/service/flyteadmin/README.md deleted file mode 100644 index 642cede66..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/README.md +++ /dev/null @@ -1,382 +0,0 @@ -# flyteadmin -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - -- API version: version not set -- Package version: 1.0.0 -- Build package: io.swagger.codegen.languages.PythonClientCodegen - -## Requirements. - -Python 2.7 and 3.4+ - -## Installation & Usage -### pip install - -If the python package is hosted on Github, you can install directly from Github - -```sh -pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git -``` -(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) - -Then import the package: -```python -import flyteadmin -``` - -### Setuptools - -Install via [Setuptools](http://pypi.python.org/pypi/setuptools). - -```sh -python setup.py install --user -``` -(or `sudo python setup.py install` to install the package for all users) - -Then import the package: -```python -import flyteadmin -``` - -## Getting Started - -Please follow the [installation procedure](#installation--usage) and then run the following: - -```python -from __future__ import print_function -import time -import flyteadmin -from flyteadmin.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = flyteadmin.AdminServiceApi(flyteadmin.ApiClient(configuration)) -body = flyteadmin.AdminExecutionCreateRequest() # AdminExecutionCreateRequest | - -try: - # Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` - api_response = api_instance.create_execution(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling AdminServiceApi->create_execution: %s\n" % e) - -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://localhost* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*AdminServiceApi* | [**create_execution**](docs/AdminServiceApi.md#create_execution) | **POST** /api/v1/executions | Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` -*AdminServiceApi* | [**create_launch_plan**](docs/AdminServiceApi.md#create_launch_plan) | **POST** /api/v1/launch_plans | Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition -*AdminServiceApi* | [**create_node_event**](docs/AdminServiceApi.md#create_node_event) | **POST** /api/v1/events/nodes | Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. -*AdminServiceApi* | [**create_task**](docs/AdminServiceApi.md#create_task) | **POST** /api/v1/tasks | Create and upload a :ref:`ref_flyteidl.admin.Task` definition -*AdminServiceApi* | [**create_task_event**](docs/AdminServiceApi.md#create_task_event) | **POST** /api/v1/events/tasks | Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. -*AdminServiceApi* | [**create_workflow**](docs/AdminServiceApi.md#create_workflow) | **POST** /api/v1/workflows | Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition -*AdminServiceApi* | [**create_workflow_event**](docs/AdminServiceApi.md#create_workflow_event) | **POST** /api/v1/events/workflows | Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. -*AdminServiceApi* | [**delete_project_domain_attributes**](docs/AdminServiceApi.md#delete_project_domain_attributes) | **DELETE** /api/v1/project_domain_attributes/{project}/{domain} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**delete_workflow_attributes**](docs/AdminServiceApi.md#delete_workflow_attributes) | **DELETE** /api/v1/workflow_attributes/{project}/{domain}/{workflow} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**get_active_launch_plan**](docs/AdminServiceApi.md#get_active_launch_plan) | **GET** /api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name} | Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**get_execution**](docs/AdminServiceApi.md#get_execution) | **GET** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Fetches a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**get_execution_data**](docs/AdminServiceApi.md#get_execution_data) | **GET** /api/v1/data/executions/{id.project}/{id.domain}/{id.name} | Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**get_launch_plan**](docs/AdminServiceApi.md#get_launch_plan) | **GET** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. -*AdminServiceApi* | [**get_named_entity**](docs/AdminServiceApi.md#get_named_entity) | **GET** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. -*AdminServiceApi* | [**get_node_execution**](docs/AdminServiceApi.md#get_node_execution) | **GET** /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**get_node_execution_data**](docs/AdminServiceApi.md#get_node_execution_data) | **GET** /api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**get_project_domain_attributes**](docs/AdminServiceApi.md#get_project_domain_attributes) | **GET** /api/v1/project_domain_attributes/{project}/{domain} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**get_task**](docs/AdminServiceApi.md#get_task) | **GET** /api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Task` definition. -*AdminServiceApi* | [**get_task_execution**](docs/AdminServiceApi.md#get_task_execution) | **GET** /api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt} | Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**get_task_execution_data**](docs/AdminServiceApi.md#get_task_execution_data) | **GET** /api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt} | Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**get_version**](docs/AdminServiceApi.md#get_version) | **GET** /api/v1/version | -*AdminServiceApi* | [**get_workflow**](docs/AdminServiceApi.md#get_workflow) | **GET** /api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. -*AdminServiceApi* | [**get_workflow_attributes**](docs/AdminServiceApi.md#get_workflow_attributes) | **GET** /api/v1/workflow_attributes/{project}/{domain}/{workflow} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**list_active_launch_plans**](docs/AdminServiceApi.md#list_active_launch_plans) | **GET** /api/v1/active_launch_plans/{project}/{domain} | List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**list_executions**](docs/AdminServiceApi.md#list_executions) | **GET** /api/v1/executions/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**list_launch_plan_ids**](docs/AdminServiceApi.md#list_launch_plan_ids) | **GET** /api/v1/launch_plan_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. -*AdminServiceApi* | [**list_launch_plans**](docs/AdminServiceApi.md#list_launch_plans) | **GET** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -*AdminServiceApi* | [**list_launch_plans2**](docs/AdminServiceApi.md#list_launch_plans2) | **GET** /api/v1/launch_plans/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -*AdminServiceApi* | [**list_matchable_attributes**](docs/AdminServiceApi.md#list_matchable_attributes) | **GET** /api/v1/matchable_attributes | Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. -*AdminServiceApi* | [**list_named_entities**](docs/AdminServiceApi.md#list_named_entities) | **GET** /api/v1/named_entities/{resource_type}/{project}/{domain} | Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. -*AdminServiceApi* | [**list_node_executions**](docs/AdminServiceApi.md#list_node_executions) | **GET** /api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**list_node_executions_for_task**](docs/AdminServiceApi.md#list_node_executions_for_task) | **GET** /api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**list_projects**](docs/AdminServiceApi.md#list_projects) | **GET** /api/v1/projects | Fetches a list of :ref:`ref_flyteidl.admin.Project` -*AdminServiceApi* | [**list_task_executions**](docs/AdminServiceApi.md#list_task_executions) | **GET** /api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id} | Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**list_task_ids**](docs/AdminServiceApi.md#list_task_ids) | **GET** /api/v1/task_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. -*AdminServiceApi* | [**list_tasks**](docs/AdminServiceApi.md#list_tasks) | **GET** /api/v1/tasks/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -*AdminServiceApi* | [**list_tasks2**](docs/AdminServiceApi.md#list_tasks2) | **GET** /api/v1/tasks/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -*AdminServiceApi* | [**list_workflow_ids**](docs/AdminServiceApi.md#list_workflow_ids) | **GET** /api/v1/workflow_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. -*AdminServiceApi* | [**list_workflows**](docs/AdminServiceApi.md#list_workflows) | **GET** /api/v1/workflows/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -*AdminServiceApi* | [**list_workflows2**](docs/AdminServiceApi.md#list_workflows2) | **GET** /api/v1/workflows/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -*AdminServiceApi* | [**recover_execution**](docs/AdminServiceApi.md#recover_execution) | **POST** /api/v1/executions/recover | Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. -*AdminServiceApi* | [**register_project**](docs/AdminServiceApi.md#register_project) | **POST** /api/v1/projects | Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. -*AdminServiceApi* | [**relaunch_execution**](docs/AdminServiceApi.md#relaunch_execution) | **POST** /api/v1/executions/relaunch | Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` -*AdminServiceApi* | [**terminate_execution**](docs/AdminServiceApi.md#terminate_execution) | **DELETE** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**update_execution**](docs/AdminServiceApi.md#update_execution) | **PUT** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**update_launch_plan**](docs/AdminServiceApi.md#update_launch_plan) | **PUT** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**update_named_entity**](docs/AdminServiceApi.md#update_named_entity) | **PUT** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. -*AdminServiceApi* | [**update_project**](docs/AdminServiceApi.md#update_project) | **PUT** /api/v1/projects/{id} | Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. -*AdminServiceApi* | [**update_project_domain_attributes**](docs/AdminServiceApi.md#update_project_domain_attributes) | **PUT** /api/v1/project_domain_attributes/{attributes.project}/{attributes.domain} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**update_workflow_attributes**](docs/AdminServiceApi.md#update_workflow_attributes) | **PUT** /api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - - -## Documentation For Models - - - [AdminAbortMetadata](docs/AdminAbortMetadata.md) - - [AdminAnnotations](docs/AdminAnnotations.md) - - [AdminAuth](docs/AdminAuth.md) - - [AdminAuthRole](docs/AdminAuthRole.md) - - [AdminClusterAssignment](docs/AdminClusterAssignment.md) - - [AdminClusterResourceAttributes](docs/AdminClusterResourceAttributes.md) - - [AdminCronSchedule](docs/AdminCronSchedule.md) - - [AdminDomain](docs/AdminDomain.md) - - [AdminEmailNotification](docs/AdminEmailNotification.md) - - [AdminExecution](docs/AdminExecution.md) - - [AdminExecutionClosure](docs/AdminExecutionClosure.md) - - [AdminExecutionClusterLabel](docs/AdminExecutionClusterLabel.md) - - [AdminExecutionCreateRequest](docs/AdminExecutionCreateRequest.md) - - [AdminExecutionCreateResponse](docs/AdminExecutionCreateResponse.md) - - [AdminExecutionList](docs/AdminExecutionList.md) - - [AdminExecutionMetadata](docs/AdminExecutionMetadata.md) - - [AdminExecutionQueueAttributes](docs/AdminExecutionQueueAttributes.md) - - [AdminExecutionRecoverRequest](docs/AdminExecutionRecoverRequest.md) - - [AdminExecutionRelaunchRequest](docs/AdminExecutionRelaunchRequest.md) - - [AdminExecutionSpec](docs/AdminExecutionSpec.md) - - [AdminExecutionState](docs/AdminExecutionState.md) - - [AdminExecutionStateChangeDetails](docs/AdminExecutionStateChangeDetails.md) - - [AdminExecutionTerminateRequest](docs/AdminExecutionTerminateRequest.md) - - [AdminExecutionTerminateResponse](docs/AdminExecutionTerminateResponse.md) - - [AdminExecutionUpdateRequest](docs/AdminExecutionUpdateRequest.md) - - [AdminExecutionUpdateResponse](docs/AdminExecutionUpdateResponse.md) - - [AdminFixedRate](docs/AdminFixedRate.md) - - [AdminFixedRateUnit](docs/AdminFixedRateUnit.md) - - [AdminGetVersionResponse](docs/AdminGetVersionResponse.md) - - [AdminLabels](docs/AdminLabels.md) - - [AdminLaunchPlan](docs/AdminLaunchPlan.md) - - [AdminLaunchPlanClosure](docs/AdminLaunchPlanClosure.md) - - [AdminLaunchPlanCreateRequest](docs/AdminLaunchPlanCreateRequest.md) - - [AdminLaunchPlanCreateResponse](docs/AdminLaunchPlanCreateResponse.md) - - [AdminLaunchPlanList](docs/AdminLaunchPlanList.md) - - [AdminLaunchPlanMetadata](docs/AdminLaunchPlanMetadata.md) - - [AdminLaunchPlanSpec](docs/AdminLaunchPlanSpec.md) - - [AdminLaunchPlanState](docs/AdminLaunchPlanState.md) - - [AdminLaunchPlanUpdateRequest](docs/AdminLaunchPlanUpdateRequest.md) - - [AdminLaunchPlanUpdateResponse](docs/AdminLaunchPlanUpdateResponse.md) - - [AdminListMatchableAttributesResponse](docs/AdminListMatchableAttributesResponse.md) - - [AdminLiteralMapBlob](docs/AdminLiteralMapBlob.md) - - [AdminMatchableAttributesConfiguration](docs/AdminMatchableAttributesConfiguration.md) - - [AdminMatchableResource](docs/AdminMatchableResource.md) - - [AdminMatchingAttributes](docs/AdminMatchingAttributes.md) - - [AdminNamedEntity](docs/AdminNamedEntity.md) - - [AdminNamedEntityIdentifier](docs/AdminNamedEntityIdentifier.md) - - [AdminNamedEntityIdentifierList](docs/AdminNamedEntityIdentifierList.md) - - [AdminNamedEntityList](docs/AdminNamedEntityList.md) - - [AdminNamedEntityMetadata](docs/AdminNamedEntityMetadata.md) - - [AdminNamedEntityState](docs/AdminNamedEntityState.md) - - [AdminNamedEntityUpdateRequest](docs/AdminNamedEntityUpdateRequest.md) - - [AdminNamedEntityUpdateResponse](docs/AdminNamedEntityUpdateResponse.md) - - [AdminNodeExecutionClosure](docs/AdminNodeExecutionClosure.md) - - [AdminNodeExecutionEventRequest](docs/AdminNodeExecutionEventRequest.md) - - [AdminNodeExecutionEventResponse](docs/AdminNodeExecutionEventResponse.md) - - [AdminNodeExecutionGetDataResponse](docs/AdminNodeExecutionGetDataResponse.md) - - [AdminNodeExecutionList](docs/AdminNodeExecutionList.md) - - [AdminNodeExecutionMetaData](docs/AdminNodeExecutionMetaData.md) - - [AdminNotification](docs/AdminNotification.md) - - [AdminNotificationList](docs/AdminNotificationList.md) - - [AdminPagerDutyNotification](docs/AdminPagerDutyNotification.md) - - [AdminPluginOverride](docs/AdminPluginOverride.md) - - [AdminPluginOverrides](docs/AdminPluginOverrides.md) - - [AdminProject](docs/AdminProject.md) - - [AdminProjectDomainAttributes](docs/AdminProjectDomainAttributes.md) - - [AdminProjectDomainAttributesDeleteRequest](docs/AdminProjectDomainAttributesDeleteRequest.md) - - [AdminProjectDomainAttributesDeleteResponse](docs/AdminProjectDomainAttributesDeleteResponse.md) - - [AdminProjectDomainAttributesGetResponse](docs/AdminProjectDomainAttributesGetResponse.md) - - [AdminProjectDomainAttributesUpdateRequest](docs/AdminProjectDomainAttributesUpdateRequest.md) - - [AdminProjectDomainAttributesUpdateResponse](docs/AdminProjectDomainAttributesUpdateResponse.md) - - [AdminProjectRegisterRequest](docs/AdminProjectRegisterRequest.md) - - [AdminProjectRegisterResponse](docs/AdminProjectRegisterResponse.md) - - [AdminProjectUpdateResponse](docs/AdminProjectUpdateResponse.md) - - [AdminProjects](docs/AdminProjects.md) - - [AdminRawOutputDataConfig](docs/AdminRawOutputDataConfig.md) - - [AdminSchedule](docs/AdminSchedule.md) - - [AdminSlackNotification](docs/AdminSlackNotification.md) - - [AdminSort](docs/AdminSort.md) - - [AdminSystemMetadata](docs/AdminSystemMetadata.md) - - [AdminTask](docs/AdminTask.md) - - [AdminTaskClosure](docs/AdminTaskClosure.md) - - [AdminTaskCreateRequest](docs/AdminTaskCreateRequest.md) - - [AdminTaskCreateResponse](docs/AdminTaskCreateResponse.md) - - [AdminTaskExecutionClosure](docs/AdminTaskExecutionClosure.md) - - [AdminTaskExecutionEventRequest](docs/AdminTaskExecutionEventRequest.md) - - [AdminTaskExecutionEventResponse](docs/AdminTaskExecutionEventResponse.md) - - [AdminTaskExecutionGetDataResponse](docs/AdminTaskExecutionGetDataResponse.md) - - [AdminTaskExecutionList](docs/AdminTaskExecutionList.md) - - [AdminTaskList](docs/AdminTaskList.md) - - [AdminTaskResourceAttributes](docs/AdminTaskResourceAttributes.md) - - [AdminTaskResourceSpec](docs/AdminTaskResourceSpec.md) - - [AdminTaskSpec](docs/AdminTaskSpec.md) - - [AdminUrlBlob](docs/AdminUrlBlob.md) - - [AdminVersion](docs/AdminVersion.md) - - [AdminWorkflow](docs/AdminWorkflow.md) - - [AdminWorkflowAttributes](docs/AdminWorkflowAttributes.md) - - [AdminWorkflowAttributesDeleteRequest](docs/AdminWorkflowAttributesDeleteRequest.md) - - [AdminWorkflowAttributesDeleteResponse](docs/AdminWorkflowAttributesDeleteResponse.md) - - [AdminWorkflowAttributesGetResponse](docs/AdminWorkflowAttributesGetResponse.md) - - [AdminWorkflowAttributesUpdateRequest](docs/AdminWorkflowAttributesUpdateRequest.md) - - [AdminWorkflowAttributesUpdateResponse](docs/AdminWorkflowAttributesUpdateResponse.md) - - [AdminWorkflowClosure](docs/AdminWorkflowClosure.md) - - [AdminWorkflowCreateRequest](docs/AdminWorkflowCreateRequest.md) - - [AdminWorkflowCreateResponse](docs/AdminWorkflowCreateResponse.md) - - [AdminWorkflowExecutionConfig](docs/AdminWorkflowExecutionConfig.md) - - [AdminWorkflowExecutionEventRequest](docs/AdminWorkflowExecutionEventRequest.md) - - [AdminWorkflowExecutionEventResponse](docs/AdminWorkflowExecutionEventResponse.md) - - [AdminWorkflowExecutionGetDataResponse](docs/AdminWorkflowExecutionGetDataResponse.md) - - [AdminWorkflowList](docs/AdminWorkflowList.md) - - [AdminWorkflowSpec](docs/AdminWorkflowSpec.md) - - [BlobTypeBlobDimensionality](docs/BlobTypeBlobDimensionality.md) - - [CatalogReservationStatus](docs/CatalogReservationStatus.md) - - [ComparisonExpressionOperator](docs/ComparisonExpressionOperator.md) - - [ConjunctionExpressionLogicalOperator](docs/ConjunctionExpressionLogicalOperator.md) - - [ConnectionSetIdList](docs/ConnectionSetIdList.md) - - [ContainerArchitecture](docs/ContainerArchitecture.md) - - [CoreAlias](docs/CoreAlias.md) - - [CoreBinary](docs/CoreBinary.md) - - [CoreBinding](docs/CoreBinding.md) - - [CoreBindingData](docs/CoreBindingData.md) - - [CoreBindingDataCollection](docs/CoreBindingDataCollection.md) - - [CoreBindingDataMap](docs/CoreBindingDataMap.md) - - [CoreBlob](docs/CoreBlob.md) - - [CoreBlobMetadata](docs/CoreBlobMetadata.md) - - [CoreBlobType](docs/CoreBlobType.md) - - [CoreBooleanExpression](docs/CoreBooleanExpression.md) - - [CoreBranchNode](docs/CoreBranchNode.md) - - [CoreCatalogArtifactTag](docs/CoreCatalogArtifactTag.md) - - [CoreCatalogCacheStatus](docs/CoreCatalogCacheStatus.md) - - [CoreCatalogMetadata](docs/CoreCatalogMetadata.md) - - [CoreComparisonExpression](docs/CoreComparisonExpression.md) - - [CoreCompiledTask](docs/CoreCompiledTask.md) - - [CoreCompiledWorkflow](docs/CoreCompiledWorkflow.md) - - [CoreCompiledWorkflowClosure](docs/CoreCompiledWorkflowClosure.md) - - [CoreConjunctionExpression](docs/CoreConjunctionExpression.md) - - [CoreConnectionSet](docs/CoreConnectionSet.md) - - [CoreContainer](docs/CoreContainer.md) - - [CoreContainerPort](docs/CoreContainerPort.md) - - [CoreDataLoadingConfig](docs/CoreDataLoadingConfig.md) - - [CoreEnumType](docs/CoreEnumType.md) - - [CoreError](docs/CoreError.md) - - [CoreExecutionError](docs/CoreExecutionError.md) - - [CoreIOStrategy](docs/CoreIOStrategy.md) - - [CoreIdentifier](docs/CoreIdentifier.md) - - [CoreIdentity](docs/CoreIdentity.md) - - [CoreIfBlock](docs/CoreIfBlock.md) - - [CoreIfElseBlock](docs/CoreIfElseBlock.md) - - [CoreK8sObjectMetadata](docs/CoreK8sObjectMetadata.md) - - [CoreK8sPod](docs/CoreK8sPod.md) - - [CoreKeyValuePair](docs/CoreKeyValuePair.md) - - [CoreLiteral](docs/CoreLiteral.md) - - [CoreLiteralCollection](docs/CoreLiteralCollection.md) - - [CoreLiteralMap](docs/CoreLiteralMap.md) - - [CoreLiteralType](docs/CoreLiteralType.md) - - [CoreNode](docs/CoreNode.md) - - [CoreNodeExecutionIdentifier](docs/CoreNodeExecutionIdentifier.md) - - [CoreNodeExecutionPhase](docs/CoreNodeExecutionPhase.md) - - [CoreNodeMetadata](docs/CoreNodeMetadata.md) - - [CoreOAuth2Client](docs/CoreOAuth2Client.md) - - [CoreOAuth2TokenRequest](docs/CoreOAuth2TokenRequest.md) - - [CoreOAuth2TokenRequestType](docs/CoreOAuth2TokenRequestType.md) - - [CoreOperand](docs/CoreOperand.md) - - [CoreOutputReference](docs/CoreOutputReference.md) - - [CoreParameter](docs/CoreParameter.md) - - [CoreParameterMap](docs/CoreParameterMap.md) - - [CorePrimitive](docs/CorePrimitive.md) - - [CoreQualityOfService](docs/CoreQualityOfService.md) - - [CoreQualityOfServiceSpec](docs/CoreQualityOfServiceSpec.md) - - [CoreResourceType](docs/CoreResourceType.md) - - [CoreResources](docs/CoreResources.md) - - [CoreRetryStrategy](docs/CoreRetryStrategy.md) - - [CoreRuntimeMetadata](docs/CoreRuntimeMetadata.md) - - [CoreScalar](docs/CoreScalar.md) - - [CoreSchemaType](docs/CoreSchemaType.md) - - [CoreSecret](docs/CoreSecret.md) - - [CoreSecurityContext](docs/CoreSecurityContext.md) - - [CoreSimpleType](docs/CoreSimpleType.md) - - [CoreSql](docs/CoreSql.md) - - [CoreStructuredDataset](docs/CoreStructuredDataset.md) - - [CoreStructuredDatasetMetadata](docs/CoreStructuredDatasetMetadata.md) - - [CoreStructuredDatasetType](docs/CoreStructuredDatasetType.md) - - [CoreTaskExecutionIdentifier](docs/CoreTaskExecutionIdentifier.md) - - [CoreTaskExecutionPhase](docs/CoreTaskExecutionPhase.md) - - [CoreTaskLog](docs/CoreTaskLog.md) - - [CoreTaskMetadata](docs/CoreTaskMetadata.md) - - [CoreTaskNode](docs/CoreTaskNode.md) - - [CoreTaskNodeOverrides](docs/CoreTaskNodeOverrides.md) - - [CoreTaskTemplate](docs/CoreTaskTemplate.md) - - [CoreTypeAnnotation](docs/CoreTypeAnnotation.md) - - [CoreTypeStructure](docs/CoreTypeStructure.md) - - [CoreTypedInterface](docs/CoreTypedInterface.md) - - [CoreUnion](docs/CoreUnion.md) - - [CoreUnionInfo](docs/CoreUnionInfo.md) - - [CoreUnionType](docs/CoreUnionType.md) - - [CoreVariable](docs/CoreVariable.md) - - [CoreVariableMap](docs/CoreVariableMap.md) - - [CoreVoid](docs/CoreVoid.md) - - [CoreWorkflowExecutionIdentifier](docs/CoreWorkflowExecutionIdentifier.md) - - [CoreWorkflowExecutionPhase](docs/CoreWorkflowExecutionPhase.md) - - [CoreWorkflowMetadata](docs/CoreWorkflowMetadata.md) - - [CoreWorkflowMetadataDefaults](docs/CoreWorkflowMetadataDefaults.md) - - [CoreWorkflowNode](docs/CoreWorkflowNode.md) - - [CoreWorkflowTemplate](docs/CoreWorkflowTemplate.md) - - [DataLoadingConfigLiteralMapFormat](docs/DataLoadingConfigLiteralMapFormat.md) - - [EventExternalResourceInfo](docs/EventExternalResourceInfo.md) - - [EventNodeExecutionEvent](docs/EventNodeExecutionEvent.md) - - [EventParentNodeExecutionMetadata](docs/EventParentNodeExecutionMetadata.md) - - [EventParentTaskExecutionMetadata](docs/EventParentTaskExecutionMetadata.md) - - [EventResourcePoolInfo](docs/EventResourcePoolInfo.md) - - [EventTaskExecutionEvent](docs/EventTaskExecutionEvent.md) - - [EventTaskExecutionMetadata](docs/EventTaskExecutionMetadata.md) - - [EventWorkflowExecutionEvent](docs/EventWorkflowExecutionEvent.md) - - [ExecutionErrorErrorKind](docs/ExecutionErrorErrorKind.md) - - [ExecutionMetadataExecutionMode](docs/ExecutionMetadataExecutionMode.md) - - [FlyteidladminDynamicWorkflowNodeMetadata](docs/FlyteidladminDynamicWorkflowNodeMetadata.md) - - [FlyteidladminNodeExecution](docs/FlyteidladminNodeExecution.md) - - [FlyteidladminTaskExecution](docs/FlyteidladminTaskExecution.md) - - [FlyteidladminTaskNodeMetadata](docs/FlyteidladminTaskNodeMetadata.md) - - [FlyteidladminWorkflowNodeMetadata](docs/FlyteidladminWorkflowNodeMetadata.md) - - [FlyteidlcoreSchema](docs/FlyteidlcoreSchema.md) - - [FlyteidleventDynamicWorkflowNodeMetadata](docs/FlyteidleventDynamicWorkflowNodeMetadata.md) - - [FlyteidleventTaskNodeMetadata](docs/FlyteidleventTaskNodeMetadata.md) - - [FlyteidleventWorkflowNodeMetadata](docs/FlyteidleventWorkflowNodeMetadata.md) - - [IOStrategyDownloadMode](docs/IOStrategyDownloadMode.md) - - [IOStrategyUploadMode](docs/IOStrategyUploadMode.md) - - [PluginOverrideMissingPluginBehavior](docs/PluginOverrideMissingPluginBehavior.md) - - [ProjectProjectState](docs/ProjectProjectState.md) - - [ProtobufListValue](docs/ProtobufListValue.md) - - [ProtobufNullValue](docs/ProtobufNullValue.md) - - [ProtobufStruct](docs/ProtobufStruct.md) - - [ProtobufValue](docs/ProtobufValue.md) - - [QualityOfServiceTier](docs/QualityOfServiceTier.md) - - [ResourcesResourceEntry](docs/ResourcesResourceEntry.md) - - [ResourcesResourceName](docs/ResourcesResourceName.md) - - [RuntimeMetadataRuntimeType](docs/RuntimeMetadataRuntimeType.md) - - [SchemaColumnSchemaColumnType](docs/SchemaColumnSchemaColumnType.md) - - [SchemaTypeSchemaColumn](docs/SchemaTypeSchemaColumn.md) - - [SecretMountType](docs/SecretMountType.md) - - [SortDirection](docs/SortDirection.md) - - [SqlDialect](docs/SqlDialect.md) - - [StructuredDatasetTypeDatasetColumn](docs/StructuredDatasetTypeDatasetColumn.md) - - [TaskExecutionMetadataInstanceClass](docs/TaskExecutionMetadataInstanceClass.md) - - [TaskLogMessageFormat](docs/TaskLogMessageFormat.md) - - [WorkflowMetadataOnFailurePolicy](docs/WorkflowMetadataOnFailurePolicy.md) - - -## Documentation For Authorization - - All endpoints do not require authorization. - - -## Author - - - diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py deleted file mode 100644 index ccaf26afb..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py +++ /dev/null @@ -1,269 +0,0 @@ -# coding: utf-8 - -# flake8: noqa - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -# import apis into sdk package -from flyteadmin.api.admin_service_api import AdminServiceApi - -# import ApiClient -from flyteadmin.api_client import ApiClient -from flyteadmin.configuration import Configuration -# import models into sdk package -from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata -from flyteadmin.models.admin_annotations import AdminAnnotations -from flyteadmin.models.admin_auth import AdminAuth -from flyteadmin.models.admin_auth_role import AdminAuthRole -from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment -from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes -from flyteadmin.models.admin_cron_schedule import AdminCronSchedule -from flyteadmin.models.admin_domain import AdminDomain -from flyteadmin.models.admin_email_notification import AdminEmailNotification -from flyteadmin.models.admin_execution import AdminExecution -from flyteadmin.models.admin_execution_closure import AdminExecutionClosure -from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel -from flyteadmin.models.admin_execution_create_request import AdminExecutionCreateRequest -from flyteadmin.models.admin_execution_create_response import AdminExecutionCreateResponse -from flyteadmin.models.admin_execution_list import AdminExecutionList -from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata -from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes -from flyteadmin.models.admin_execution_recover_request import AdminExecutionRecoverRequest -from flyteadmin.models.admin_execution_relaunch_request import AdminExecutionRelaunchRequest -from flyteadmin.models.admin_execution_spec import AdminExecutionSpec -from flyteadmin.models.admin_execution_state import AdminExecutionState -from flyteadmin.models.admin_execution_state_change_details import AdminExecutionStateChangeDetails -from flyteadmin.models.admin_execution_terminate_request import AdminExecutionTerminateRequest -from flyteadmin.models.admin_execution_terminate_response import AdminExecutionTerminateResponse -from flyteadmin.models.admin_execution_update_request import AdminExecutionUpdateRequest -from flyteadmin.models.admin_execution_update_response import AdminExecutionUpdateResponse -from flyteadmin.models.admin_fixed_rate import AdminFixedRate -from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit -from flyteadmin.models.admin_get_version_response import AdminGetVersionResponse -from flyteadmin.models.admin_labels import AdminLabels -from flyteadmin.models.admin_launch_plan import AdminLaunchPlan -from flyteadmin.models.admin_launch_plan_closure import AdminLaunchPlanClosure -from flyteadmin.models.admin_launch_plan_create_request import AdminLaunchPlanCreateRequest -from flyteadmin.models.admin_launch_plan_create_response import AdminLaunchPlanCreateResponse -from flyteadmin.models.admin_launch_plan_list import AdminLaunchPlanList -from flyteadmin.models.admin_launch_plan_metadata import AdminLaunchPlanMetadata -from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec -from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState -from flyteadmin.models.admin_launch_plan_update_request import AdminLaunchPlanUpdateRequest -from flyteadmin.models.admin_launch_plan_update_response import AdminLaunchPlanUpdateResponse -from flyteadmin.models.admin_list_matchable_attributes_response import AdminListMatchableAttributesResponse -from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob -from flyteadmin.models.admin_matchable_attributes_configuration import AdminMatchableAttributesConfiguration -from flyteadmin.models.admin_matchable_resource import AdminMatchableResource -from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes -from flyteadmin.models.admin_named_entity import AdminNamedEntity -from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier -from flyteadmin.models.admin_named_entity_identifier_list import AdminNamedEntityIdentifierList -from flyteadmin.models.admin_named_entity_list import AdminNamedEntityList -from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata -from flyteadmin.models.admin_named_entity_state import AdminNamedEntityState -from flyteadmin.models.admin_named_entity_update_request import AdminNamedEntityUpdateRequest -from flyteadmin.models.admin_named_entity_update_response import AdminNamedEntityUpdateResponse -from flyteadmin.models.admin_node_execution_closure import AdminNodeExecutionClosure -from flyteadmin.models.admin_node_execution_event_request import AdminNodeExecutionEventRequest -from flyteadmin.models.admin_node_execution_event_response import AdminNodeExecutionEventResponse -from flyteadmin.models.admin_node_execution_get_data_response import AdminNodeExecutionGetDataResponse -from flyteadmin.models.admin_node_execution_list import AdminNodeExecutionList -from flyteadmin.models.admin_node_execution_meta_data import AdminNodeExecutionMetaData -from flyteadmin.models.admin_notification import AdminNotification -from flyteadmin.models.admin_notification_list import AdminNotificationList -from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification -from flyteadmin.models.admin_plugin_override import AdminPluginOverride -from flyteadmin.models.admin_plugin_overrides import AdminPluginOverrides -from flyteadmin.models.admin_project import AdminProject -from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes -from flyteadmin.models.admin_project_domain_attributes_delete_request import AdminProjectDomainAttributesDeleteRequest -from flyteadmin.models.admin_project_domain_attributes_delete_response import AdminProjectDomainAttributesDeleteResponse -from flyteadmin.models.admin_project_domain_attributes_get_response import AdminProjectDomainAttributesGetResponse -from flyteadmin.models.admin_project_domain_attributes_update_request import AdminProjectDomainAttributesUpdateRequest -from flyteadmin.models.admin_project_domain_attributes_update_response import AdminProjectDomainAttributesUpdateResponse -from flyteadmin.models.admin_project_register_request import AdminProjectRegisterRequest -from flyteadmin.models.admin_project_register_response import AdminProjectRegisterResponse -from flyteadmin.models.admin_project_update_response import AdminProjectUpdateResponse -from flyteadmin.models.admin_projects import AdminProjects -from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig -from flyteadmin.models.admin_schedule import AdminSchedule -from flyteadmin.models.admin_slack_notification import AdminSlackNotification -from flyteadmin.models.admin_sort import AdminSort -from flyteadmin.models.admin_system_metadata import AdminSystemMetadata -from flyteadmin.models.admin_task import AdminTask -from flyteadmin.models.admin_task_closure import AdminTaskClosure -from flyteadmin.models.admin_task_create_request import AdminTaskCreateRequest -from flyteadmin.models.admin_task_create_response import AdminTaskCreateResponse -from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure -from flyteadmin.models.admin_task_execution_event_request import AdminTaskExecutionEventRequest -from flyteadmin.models.admin_task_execution_event_response import AdminTaskExecutionEventResponse -from flyteadmin.models.admin_task_execution_get_data_response import AdminTaskExecutionGetDataResponse -from flyteadmin.models.admin_task_execution_list import AdminTaskExecutionList -from flyteadmin.models.admin_task_list import AdminTaskList -from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes -from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec -from flyteadmin.models.admin_task_spec import AdminTaskSpec -from flyteadmin.models.admin_url_blob import AdminUrlBlob -from flyteadmin.models.admin_version import AdminVersion -from flyteadmin.models.admin_workflow import AdminWorkflow -from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes -from flyteadmin.models.admin_workflow_attributes_delete_request import AdminWorkflowAttributesDeleteRequest -from flyteadmin.models.admin_workflow_attributes_delete_response import AdminWorkflowAttributesDeleteResponse -from flyteadmin.models.admin_workflow_attributes_get_response import AdminWorkflowAttributesGetResponse -from flyteadmin.models.admin_workflow_attributes_update_request import AdminWorkflowAttributesUpdateRequest -from flyteadmin.models.admin_workflow_attributes_update_response import AdminWorkflowAttributesUpdateResponse -from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure -from flyteadmin.models.admin_workflow_create_request import AdminWorkflowCreateRequest -from flyteadmin.models.admin_workflow_create_response import AdminWorkflowCreateResponse -from flyteadmin.models.admin_workflow_execution_config import AdminWorkflowExecutionConfig -from flyteadmin.models.admin_workflow_execution_event_request import AdminWorkflowExecutionEventRequest -from flyteadmin.models.admin_workflow_execution_event_response import AdminWorkflowExecutionEventResponse -from flyteadmin.models.admin_workflow_execution_get_data_response import AdminWorkflowExecutionGetDataResponse -from flyteadmin.models.admin_workflow_list import AdminWorkflowList -from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec -from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality -from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus -from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator -from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator -from flyteadmin.models.connection_set_id_list import ConnectionSetIdList -from flyteadmin.models.container_architecture import ContainerArchitecture -from flyteadmin.models.core_alias import CoreAlias -from flyteadmin.models.core_binary import CoreBinary -from flyteadmin.models.core_binding import CoreBinding -from flyteadmin.models.core_binding_data import CoreBindingData -from flyteadmin.models.core_binding_data_collection import CoreBindingDataCollection -from flyteadmin.models.core_binding_data_map import CoreBindingDataMap -from flyteadmin.models.core_blob import CoreBlob -from flyteadmin.models.core_blob_metadata import CoreBlobMetadata -from flyteadmin.models.core_blob_type import CoreBlobType -from flyteadmin.models.core_boolean_expression import CoreBooleanExpression -from flyteadmin.models.core_branch_node import CoreBranchNode -from flyteadmin.models.core_catalog_artifact_tag import CoreCatalogArtifactTag -from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus -from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata -from flyteadmin.models.core_comparison_expression import CoreComparisonExpression -from flyteadmin.models.core_compiled_task import CoreCompiledTask -from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow -from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure -from flyteadmin.models.core_conjunction_expression import CoreConjunctionExpression -from flyteadmin.models.core_connection_set import CoreConnectionSet -from flyteadmin.models.core_container import CoreContainer -from flyteadmin.models.core_container_port import CoreContainerPort -from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig -from flyteadmin.models.core_enum_type import CoreEnumType -from flyteadmin.models.core_error import CoreError -from flyteadmin.models.core_execution_error import CoreExecutionError -from flyteadmin.models.core_io_strategy import CoreIOStrategy -from flyteadmin.models.core_identifier import CoreIdentifier -from flyteadmin.models.core_identity import CoreIdentity -from flyteadmin.models.core_if_block import CoreIfBlock -from flyteadmin.models.core_if_else_block import CoreIfElseBlock -from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata -from flyteadmin.models.core_k8s_pod import CoreK8sPod -from flyteadmin.models.core_key_value_pair import CoreKeyValuePair -from flyteadmin.models.core_literal import CoreLiteral -from flyteadmin.models.core_literal_collection import CoreLiteralCollection -from flyteadmin.models.core_literal_map import CoreLiteralMap -from flyteadmin.models.core_literal_type import CoreLiteralType -from flyteadmin.models.core_node import CoreNode -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier -from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase -from flyteadmin.models.core_node_metadata import CoreNodeMetadata -from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client -from flyteadmin.models.core_o_auth2_token_request import CoreOAuth2TokenRequest -from flyteadmin.models.core_o_auth2_token_request_type import CoreOAuth2TokenRequestType -from flyteadmin.models.core_operand import CoreOperand -from flyteadmin.models.core_output_reference import CoreOutputReference -from flyteadmin.models.core_parameter import CoreParameter -from flyteadmin.models.core_parameter_map import CoreParameterMap -from flyteadmin.models.core_primitive import CorePrimitive -from flyteadmin.models.core_quality_of_service import CoreQualityOfService -from flyteadmin.models.core_quality_of_service_spec import CoreQualityOfServiceSpec -from flyteadmin.models.core_resource_type import CoreResourceType -from flyteadmin.models.core_resources import CoreResources -from flyteadmin.models.core_retry_strategy import CoreRetryStrategy -from flyteadmin.models.core_runtime_metadata import CoreRuntimeMetadata -from flyteadmin.models.core_scalar import CoreScalar -from flyteadmin.models.core_schema_type import CoreSchemaType -from flyteadmin.models.core_secret import CoreSecret -from flyteadmin.models.core_security_context import CoreSecurityContext -from flyteadmin.models.core_simple_type import CoreSimpleType -from flyteadmin.models.core_sql import CoreSql -from flyteadmin.models.core_structured_dataset import CoreStructuredDataset -from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata -from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType -from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier -from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase -from flyteadmin.models.core_task_log import CoreTaskLog -from flyteadmin.models.core_task_metadata import CoreTaskMetadata -from flyteadmin.models.core_task_node import CoreTaskNode -from flyteadmin.models.core_task_node_overrides import CoreTaskNodeOverrides -from flyteadmin.models.core_task_template import CoreTaskTemplate -from flyteadmin.models.core_type_annotation import CoreTypeAnnotation -from flyteadmin.models.core_type_structure import CoreTypeStructure -from flyteadmin.models.core_typed_interface import CoreTypedInterface -from flyteadmin.models.core_union import CoreUnion -from flyteadmin.models.core_union_info import CoreUnionInfo -from flyteadmin.models.core_union_type import CoreUnionType -from flyteadmin.models.core_variable import CoreVariable -from flyteadmin.models.core_variable_map import CoreVariableMap -from flyteadmin.models.core_void import CoreVoid -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier -from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase -from flyteadmin.models.core_workflow_metadata import CoreWorkflowMetadata -from flyteadmin.models.core_workflow_metadata_defaults import CoreWorkflowMetadataDefaults -from flyteadmin.models.core_workflow_node import CoreWorkflowNode -from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate -from flyteadmin.models.data_loading_config_literal_map_format import DataLoadingConfigLiteralMapFormat -from flyteadmin.models.event_external_resource_info import EventExternalResourceInfo -from flyteadmin.models.event_node_execution_event import EventNodeExecutionEvent -from flyteadmin.models.event_parent_node_execution_metadata import EventParentNodeExecutionMetadata -from flyteadmin.models.event_parent_task_execution_metadata import EventParentTaskExecutionMetadata -from flyteadmin.models.event_resource_pool_info import EventResourcePoolInfo -from flyteadmin.models.event_task_execution_event import EventTaskExecutionEvent -from flyteadmin.models.event_task_execution_metadata import EventTaskExecutionMetadata -from flyteadmin.models.event_workflow_execution_event import EventWorkflowExecutionEvent -from flyteadmin.models.execution_error_error_kind import ExecutionErrorErrorKind -from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode -from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata -from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution -from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution -from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata -from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata -from flyteadmin.models.flyteidlcore_schema import FlyteidlcoreSchema -from flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata import FlyteidleventDynamicWorkflowNodeMetadata -from flyteadmin.models.flyteidlevent_task_node_metadata import FlyteidleventTaskNodeMetadata -from flyteadmin.models.flyteidlevent_workflow_node_metadata import FlyteidleventWorkflowNodeMetadata -from flyteadmin.models.io_strategy_download_mode import IOStrategyDownloadMode -from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode -from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior -from flyteadmin.models.project_project_state import ProjectProjectState -from flyteadmin.models.protobuf_list_value import ProtobufListValue -from flyteadmin.models.protobuf_null_value import ProtobufNullValue -from flyteadmin.models.protobuf_struct import ProtobufStruct -from flyteadmin.models.protobuf_value import ProtobufValue -from flyteadmin.models.quality_of_service_tier import QualityOfServiceTier -from flyteadmin.models.resources_resource_entry import ResourcesResourceEntry -from flyteadmin.models.resources_resource_name import ResourcesResourceName -from flyteadmin.models.runtime_metadata_runtime_type import RuntimeMetadataRuntimeType -from flyteadmin.models.schema_column_schema_column_type import SchemaColumnSchemaColumnType -from flyteadmin.models.schema_type_schema_column import SchemaTypeSchemaColumn -from flyteadmin.models.secret_mount_type import SecretMountType -from flyteadmin.models.sort_direction import SortDirection -from flyteadmin.models.sql_dialect import SqlDialect -from flyteadmin.models.structured_dataset_type_dataset_column import StructuredDatasetTypeDatasetColumn -from flyteadmin.models.task_execution_metadata_instance_class import TaskExecutionMetadataInstanceClass -from flyteadmin.models.task_log_message_format import TaskLogMessageFormat -from flyteadmin.models.workflow_metadata_on_failure_policy import WorkflowMetadataOnFailurePolicy diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/__init__.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/__init__.py deleted file mode 100644 index 3da695695..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -from __future__ import absolute_import - -# flake8: noqa - -# import apis into api package -from flyteadmin.api.admin_service_api import AdminServiceApi diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py deleted file mode 100644 index 9e719685c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py +++ /dev/null @@ -1,6108 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from flyteadmin.api_client import ApiClient - - -class AdminServiceApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def create_execution(self, body, **kwargs): # noqa: E501 - """Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - - Create a workflow execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_execution(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminExecutionCreateRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_execution_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_execution_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_execution_with_http_info(self, body, **kwargs): # noqa: E501 - """Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - - Create a workflow execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_execution_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminExecutionCreateRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_launch_plan(self, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition # noqa: E501 - - Create and register a launch plan definition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_launch_plan(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminLaunchPlanCreateRequest body: (required) - :return: AdminLaunchPlanCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_launch_plan_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_launch_plan_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_launch_plan_with_http_info(self, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition # noqa: E501 - - Create and register a launch plan definition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_launch_plan_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminLaunchPlanCreateRequest body: (required) - :return: AdminLaunchPlanCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_launch_plan" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_launch_plan`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_node_event(self, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. # noqa: E501 - - Create a node execution event recording a phase transition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_node_event(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminNodeExecutionEventRequest body: (required) - :return: AdminNodeExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_node_event_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_node_event_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_node_event_with_http_info(self, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. # noqa: E501 - - Create a node execution event recording a phase transition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_node_event_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminNodeExecutionEventRequest body: (required) - :return: AdminNodeExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_node_event" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_node_event`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/events/nodes', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNodeExecutionEventResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_task(self, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.Task` definition # noqa: E501 - - Create and register a task definition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_task(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminTaskCreateRequest body: (required) - :return: AdminTaskCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_task_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_task_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_task_with_http_info(self, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.Task` definition # noqa: E501 - - Create and register a task definition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_task_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminTaskCreateRequest body: (required) - :return: AdminTaskCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_task" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_task`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/tasks', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_task_event(self, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. # noqa: E501 - - Create a task execution event recording a phase transition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_task_event(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminTaskExecutionEventRequest body: (required) - :return: AdminTaskExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_task_event_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_task_event_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_task_event_with_http_info(self, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. # noqa: E501 - - Create a task execution event recording a phase transition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_task_event_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminTaskExecutionEventRequest body: (required) - :return: AdminTaskExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_task_event" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_task_event`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/events/tasks', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskExecutionEventResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_workflow(self, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition # noqa: E501 - - Create and register a workflow definition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_workflow(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminWorkflowCreateRequest body: (required) - :return: AdminWorkflowCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_workflow_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_workflow_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_workflow_with_http_info(self, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition # noqa: E501 - - Create and register a workflow definition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_workflow_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminWorkflowCreateRequest body: (required) - :return: AdminWorkflowCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_workflow" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_workflow`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflows', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_workflow_event(self, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. # noqa: E501 - - Create a workflow execution event recording a phase transition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_workflow_event(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminWorkflowExecutionEventRequest body: (required) - :return: AdminWorkflowExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_workflow_event_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_workflow_event_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_workflow_event_with_http_info(self, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. # noqa: E501 - - Create a workflow execution event recording a phase transition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_workflow_event_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminWorkflowExecutionEventRequest body: (required) - :return: AdminWorkflowExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_workflow_event" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_workflow_event`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/events/workflows', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowExecutionEventResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_project_domain_attributes(self, project, domain, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - Delete the customized resource attributes associated with a project-domain combination # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_project_domain_attributes(project, domain, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param AdminProjectDomainAttributesDeleteRequest body: (required) - :return: AdminProjectDomainAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_project_domain_attributes_with_http_info(project, domain, body, **kwargs) # noqa: E501 - else: - (data) = self.delete_project_domain_attributes_with_http_info(project, domain, body, **kwargs) # noqa: E501 - return data - - def delete_project_domain_attributes_with_http_info(self, project, domain, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - Delete the customized resource attributes associated with a project-domain combination # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_project_domain_attributes_with_http_info(project, domain, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param AdminProjectDomainAttributesDeleteRequest body: (required) - :return: AdminProjectDomainAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_project_domain_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `delete_project_domain_attributes`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `delete_project_domain_attributes`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_project_domain_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_domain_attributes/{project}/{domain}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectDomainAttributesDeleteResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_workflow_attributes(self, project, domain, workflow, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - Delete the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_workflow_attributes(project, domain, workflow, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str workflow: Workflow name which this set of attributes references. +required (required) - :param AdminWorkflowAttributesDeleteRequest body: (required) - :return: AdminWorkflowAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_workflow_attributes_with_http_info(project, domain, workflow, body, **kwargs) # noqa: E501 - else: - (data) = self.delete_workflow_attributes_with_http_info(project, domain, workflow, body, **kwargs) # noqa: E501 - return data - - def delete_workflow_attributes_with_http_info(self, project, domain, workflow, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - Delete the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_workflow_attributes_with_http_info(project, domain, workflow, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str workflow: Workflow name which this set of attributes references. +required (required) - :param AdminWorkflowAttributesDeleteRequest body: (required) - :return: AdminWorkflowAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'workflow', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_workflow_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `delete_workflow_attributes`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `delete_workflow_attributes`") # noqa: E501 - # verify the required parameter 'workflow' is set - if ('workflow' not in params or - params['workflow'] is None): - raise ValueError("Missing the required parameter `workflow` when calling `delete_workflow_attributes`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_workflow_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - if 'workflow' in params: - path_params['workflow'] = params['workflow'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflow_attributes/{project}/{domain}/{workflow}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowAttributesDeleteResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_active_launch_plan(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - Retrieve the active launch plan version specified by input request filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_active_launch_plan(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :return: AdminLaunchPlan - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_active_launch_plan_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_active_launch_plan_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_active_launch_plan_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - Retrieve the active launch plan version specified by input request filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_active_launch_plan_with_http_info(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :return: AdminLaunchPlan - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_active_launch_plan" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_active_launch_plan`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_active_launch_plan`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_active_launch_plan`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlan', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_execution(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - Retrieve an existing workflow execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :return: AdminExecution - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_execution_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_execution_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_execution_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - Retrieve an existing workflow execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution_with_http_info(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :return: AdminExecution - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_execution`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_execution`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecution', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_execution_data(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - Retrieve input and output data from an existing workflow execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution_data(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :return: AdminWorkflowExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_execution_data_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_execution_data_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_execution_data_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - Retrieve input and output data from an existing workflow execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution_data_with_http_info(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :return: AdminWorkflowExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_execution_data" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_execution_data`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_execution_data`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_execution_data`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/data/executions/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowExecutionGetDataResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_launch_plan(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. # noqa: E501 - - Retrieve an existing launch plan definition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_launch_plan(id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - :return: AdminLaunchPlan - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - else: - (data) = self.get_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - return data - - def get_launch_plan_with_http_info(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. # noqa: E501 - - Retrieve an existing launch plan definition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - :return: AdminLaunchPlan - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_version', 'id_resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_launch_plan" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_launch_plan`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_launch_plan`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_launch_plan`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `get_launch_plan`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - if 'id_resource_type' in params: - query_params.append(('id.resource_type', params['id_resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlan', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_named_entity(self, resource_type, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - - Retrieve a NamedEntity object. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_named_entity(resource_type, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :return: AdminNamedEntity - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_named_entity_with_http_info(self, resource_type, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - - Retrieve a NamedEntity object. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :return: AdminNamedEntity - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['resource_type', 'id_project', 'id_domain', 'id_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_named_entity" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'resource_type' is set - if ('resource_type' not in params or - params['resource_type'] is None): - raise ValueError("Missing the required parameter `resource_type` when calling `get_named_entity`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_named_entity`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_named_entity`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_named_entity`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'resource_type' in params: - path_params['resource_type'] = params['resource_type'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntity', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_node_execution(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - Retrieve an existing node execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_node_execution(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :return: FlyteidladminNodeExecution - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_node_execution_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - else: - (data) = self.get_node_execution_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - return data - - def get_node_execution_with_http_info(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - Retrieve an existing node execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_node_execution_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :return: FlyteidladminNodeExecution - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_execution_id_project', 'id_execution_id_domain', 'id_execution_id_name', 'id_node_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_node_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_execution_id_project' is set - if ('id_execution_id_project' not in params or - params['id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_execution_id_project` when calling `get_node_execution`") # noqa: E501 - # verify the required parameter 'id_execution_id_domain' is set - if ('id_execution_id_domain' not in params or - params['id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_execution_id_domain` when calling `get_node_execution`") # noqa: E501 - # verify the required parameter 'id_execution_id_name' is set - if ('id_execution_id_name' not in params or - params['id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_execution_id_name` when calling `get_node_execution`") # noqa: E501 - # verify the required parameter 'id_node_id' is set - if ('id_node_id' not in params or - params['id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_id` when calling `get_node_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_execution_id_project' in params: - path_params['id.execution_id.project'] = params['id_execution_id_project'] # noqa: E501 - if 'id_execution_id_domain' in params: - path_params['id.execution_id.domain'] = params['id_execution_id_domain'] # noqa: E501 - if 'id_execution_id_name' in params: - path_params['id.execution_id.name'] = params['id_execution_id_name'] # noqa: E501 - if 'id_node_id' in params: - path_params['id.node_id'] = params['id_node_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FlyteidladminNodeExecution', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_node_execution_data(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - Retrieve input and output data from an existing node execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_node_execution_data(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :return: AdminNodeExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_node_execution_data_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - else: - (data) = self.get_node_execution_data_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - return data - - def get_node_execution_data_with_http_info(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - Retrieve input and output data from an existing node execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_node_execution_data_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :return: AdminNodeExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_execution_id_project', 'id_execution_id_domain', 'id_execution_id_name', 'id_node_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_node_execution_data" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_execution_id_project' is set - if ('id_execution_id_project' not in params or - params['id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_execution_id_project` when calling `get_node_execution_data`") # noqa: E501 - # verify the required parameter 'id_execution_id_domain' is set - if ('id_execution_id_domain' not in params or - params['id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_execution_id_domain` when calling `get_node_execution_data`") # noqa: E501 - # verify the required parameter 'id_execution_id_name' is set - if ('id_execution_id_name' not in params or - params['id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_execution_id_name` when calling `get_node_execution_data`") # noqa: E501 - # verify the required parameter 'id_node_id' is set - if ('id_node_id' not in params or - params['id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_id` when calling `get_node_execution_data`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_execution_id_project' in params: - path_params['id.execution_id.project'] = params['id_execution_id_project'] # noqa: E501 - if 'id_execution_id_domain' in params: - path_params['id.execution_id.domain'] = params['id_execution_id_domain'] # noqa: E501 - if 'id_execution_id_name' in params: - path_params['id.execution_id.name'] = params['id_execution_id_name'] # noqa: E501 - if 'id_node_id' in params: - path_params['id.node_id'] = params['id_node_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNodeExecutionGetDataResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_project_domain_attributes(self, project, domain, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - Retrieve the customized resource attributes associated with a project-domain combination # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_project_domain_attributes(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminProjectDomainAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_project_domain_attributes_with_http_info(project, domain, **kwargs) # noqa: E501 - else: - (data) = self.get_project_domain_attributes_with_http_info(project, domain, **kwargs) # noqa: E501 - return data - - def get_project_domain_attributes_with_http_info(self, project, domain, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - Retrieve the customized resource attributes associated with a project-domain combination # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_project_domain_attributes_with_http_info(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminProjectDomainAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_project_domain_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `get_project_domain_attributes`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `get_project_domain_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'resource_type' in params: - query_params.append(('resource_type', params['resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_domain_attributes/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectDomainAttributesGetResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_task(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.Task` definition. # noqa: E501 - - Retrieve an existing task definition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task(id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - :return: AdminTask - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_task_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - else: - (data) = self.get_task_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - return data - - def get_task_with_http_info(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.Task` definition. # noqa: E501 - - Retrieve an existing task definition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_with_http_info(id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - :return: AdminTask - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_version', 'id_resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_task" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_task`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_task`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_task`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `get_task`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - if 'id_resource_type' in params: - query_params.append(('id.resource_type', params['id_resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTask', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_task_execution(self, id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - Retrieve an existing task execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_execution(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_execution_id_node_id: (required) - :param str id_task_id_project: Name of the project the resource belongs to. (required) - :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_task_id_name: User provided value for the resource. (required) - :param str id_task_id_version: Specific version of the resource. (required) - :param int id_retry_attempt: (required) - :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - :return: FlyteidladminTaskExecution - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_task_execution_with_http_info(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs) # noqa: E501 - else: - (data) = self.get_task_execution_with_http_info(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs) # noqa: E501 - return data - - def get_task_execution_with_http_info(self, id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - Retrieve an existing task execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_execution_with_http_info(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_execution_id_node_id: (required) - :param str id_task_id_project: Name of the project the resource belongs to. (required) - :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_task_id_name: User provided value for the resource. (required) - :param str id_task_id_version: Specific version of the resource. (required) - :param int id_retry_attempt: (required) - :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - :return: FlyteidladminTaskExecution - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_node_execution_id_execution_id_project', 'id_node_execution_id_execution_id_domain', 'id_node_execution_id_execution_id_name', 'id_node_execution_id_node_id', 'id_task_id_project', 'id_task_id_domain', 'id_task_id_name', 'id_task_id_version', 'id_retry_attempt', 'id_task_id_resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_task_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_node_execution_id_execution_id_project' is set - if ('id_node_execution_id_execution_id_project' not in params or - params['id_node_execution_id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_project` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_domain' is set - if ('id_node_execution_id_execution_id_domain' not in params or - params['id_node_execution_id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_domain` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_name' is set - if ('id_node_execution_id_execution_id_name' not in params or - params['id_node_execution_id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_name` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_node_id' is set - if ('id_node_execution_id_node_id' not in params or - params['id_node_execution_id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_node_id` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_task_id_project' is set - if ('id_task_id_project' not in params or - params['id_task_id_project'] is None): - raise ValueError("Missing the required parameter `id_task_id_project` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_task_id_domain' is set - if ('id_task_id_domain' not in params or - params['id_task_id_domain'] is None): - raise ValueError("Missing the required parameter `id_task_id_domain` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_task_id_name' is set - if ('id_task_id_name' not in params or - params['id_task_id_name'] is None): - raise ValueError("Missing the required parameter `id_task_id_name` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_task_id_version' is set - if ('id_task_id_version' not in params or - params['id_task_id_version'] is None): - raise ValueError("Missing the required parameter `id_task_id_version` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_retry_attempt' is set - if ('id_retry_attempt' not in params or - params['id_retry_attempt'] is None): - raise ValueError("Missing the required parameter `id_retry_attempt` when calling `get_task_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_node_execution_id_execution_id_project' in params: - path_params['id.node_execution_id.execution_id.project'] = params['id_node_execution_id_execution_id_project'] # noqa: E501 - if 'id_node_execution_id_execution_id_domain' in params: - path_params['id.node_execution_id.execution_id.domain'] = params['id_node_execution_id_execution_id_domain'] # noqa: E501 - if 'id_node_execution_id_execution_id_name' in params: - path_params['id.node_execution_id.execution_id.name'] = params['id_node_execution_id_execution_id_name'] # noqa: E501 - if 'id_node_execution_id_node_id' in params: - path_params['id.node_execution_id.node_id'] = params['id_node_execution_id_node_id'] # noqa: E501 - if 'id_task_id_project' in params: - path_params['id.task_id.project'] = params['id_task_id_project'] # noqa: E501 - if 'id_task_id_domain' in params: - path_params['id.task_id.domain'] = params['id_task_id_domain'] # noqa: E501 - if 'id_task_id_name' in params: - path_params['id.task_id.name'] = params['id_task_id_name'] # noqa: E501 - if 'id_task_id_version' in params: - path_params['id.task_id.version'] = params['id_task_id_version'] # noqa: E501 - if 'id_retry_attempt' in params: - path_params['id.retry_attempt'] = params['id_retry_attempt'] # noqa: E501 - - query_params = [] - if 'id_task_id_resource_type' in params: - query_params.append(('id.task_id.resource_type', params['id_task_id_resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FlyteidladminTaskExecution', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_task_execution_data(self, id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - Retrieve input and output data from an existing task execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_execution_data(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_execution_id_node_id: (required) - :param str id_task_id_project: Name of the project the resource belongs to. (required) - :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_task_id_name: User provided value for the resource. (required) - :param str id_task_id_version: Specific version of the resource. (required) - :param int id_retry_attempt: (required) - :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - :return: AdminTaskExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_task_execution_data_with_http_info(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs) # noqa: E501 - else: - (data) = self.get_task_execution_data_with_http_info(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs) # noqa: E501 - return data - - def get_task_execution_data_with_http_info(self, id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - Retrieve input and output data from an existing task execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_execution_data_with_http_info(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_execution_id_node_id: (required) - :param str id_task_id_project: Name of the project the resource belongs to. (required) - :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_task_id_name: User provided value for the resource. (required) - :param str id_task_id_version: Specific version of the resource. (required) - :param int id_retry_attempt: (required) - :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - :return: AdminTaskExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_node_execution_id_execution_id_project', 'id_node_execution_id_execution_id_domain', 'id_node_execution_id_execution_id_name', 'id_node_execution_id_node_id', 'id_task_id_project', 'id_task_id_domain', 'id_task_id_name', 'id_task_id_version', 'id_retry_attempt', 'id_task_id_resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_task_execution_data" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_node_execution_id_execution_id_project' is set - if ('id_node_execution_id_execution_id_project' not in params or - params['id_node_execution_id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_project` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_domain' is set - if ('id_node_execution_id_execution_id_domain' not in params or - params['id_node_execution_id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_domain` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_name' is set - if ('id_node_execution_id_execution_id_name' not in params or - params['id_node_execution_id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_name` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_node_id' is set - if ('id_node_execution_id_node_id' not in params or - params['id_node_execution_id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_node_id` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_task_id_project' is set - if ('id_task_id_project' not in params or - params['id_task_id_project'] is None): - raise ValueError("Missing the required parameter `id_task_id_project` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_task_id_domain' is set - if ('id_task_id_domain' not in params or - params['id_task_id_domain'] is None): - raise ValueError("Missing the required parameter `id_task_id_domain` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_task_id_name' is set - if ('id_task_id_name' not in params or - params['id_task_id_name'] is None): - raise ValueError("Missing the required parameter `id_task_id_name` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_task_id_version' is set - if ('id_task_id_version' not in params or - params['id_task_id_version'] is None): - raise ValueError("Missing the required parameter `id_task_id_version` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_retry_attempt' is set - if ('id_retry_attempt' not in params or - params['id_retry_attempt'] is None): - raise ValueError("Missing the required parameter `id_retry_attempt` when calling `get_task_execution_data`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_node_execution_id_execution_id_project' in params: - path_params['id.node_execution_id.execution_id.project'] = params['id_node_execution_id_execution_id_project'] # noqa: E501 - if 'id_node_execution_id_execution_id_domain' in params: - path_params['id.node_execution_id.execution_id.domain'] = params['id_node_execution_id_execution_id_domain'] # noqa: E501 - if 'id_node_execution_id_execution_id_name' in params: - path_params['id.node_execution_id.execution_id.name'] = params['id_node_execution_id_execution_id_name'] # noqa: E501 - if 'id_node_execution_id_node_id' in params: - path_params['id.node_execution_id.node_id'] = params['id_node_execution_id_node_id'] # noqa: E501 - if 'id_task_id_project' in params: - path_params['id.task_id.project'] = params['id_task_id_project'] # noqa: E501 - if 'id_task_id_domain' in params: - path_params['id.task_id.domain'] = params['id_task_id_domain'] # noqa: E501 - if 'id_task_id_name' in params: - path_params['id.task_id.name'] = params['id_task_id_name'] # noqa: E501 - if 'id_task_id_version' in params: - path_params['id.task_id.version'] = params['id_task_id_version'] # noqa: E501 - if 'id_retry_attempt' in params: - path_params['id.retry_attempt'] = params['id_retry_attempt'] # noqa: E501 - - query_params = [] - if 'id_task_id_resource_type' in params: - query_params.append(('id.task_id.resource_type', params['id_task_id_resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskExecutionGetDataResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_version(self, **kwargs): # noqa: E501 - """get_version # noqa: E501 - - Retrieve the Version (including the Build information) for FlyteAdmin service # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_version(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: AdminGetVersionResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_version_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.get_version_with_http_info(**kwargs) # noqa: E501 - return data - - def get_version_with_http_info(self, **kwargs): # noqa: E501 - """get_version # noqa: E501 - - Retrieve the Version (including the Build information) for FlyteAdmin service # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_version_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: AdminGetVersionResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = [] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_version" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/version', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminGetVersionResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_workflow(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. # noqa: E501 - - Retrieve an existing workflow definition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_workflow(id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - :return: AdminWorkflow - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_workflow_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - else: - (data) = self.get_workflow_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - return data - - def get_workflow_with_http_info(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. # noqa: E501 - - Retrieve an existing workflow definition. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_workflow_with_http_info(id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - :return: AdminWorkflow - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_version', 'id_resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_workflow" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_workflow`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_workflow`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_workflow`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `get_workflow`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - if 'id_resource_type' in params: - query_params.append(('id.resource_type', params['id_resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflow', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_workflow_attributes(self, project, domain, workflow, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - Retrieve the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_workflow_attributes(project, domain, workflow, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str workflow: Workflow name which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminWorkflowAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_workflow_attributes_with_http_info(project, domain, workflow, **kwargs) # noqa: E501 - else: - (data) = self.get_workflow_attributes_with_http_info(project, domain, workflow, **kwargs) # noqa: E501 - return data - - def get_workflow_attributes_with_http_info(self, project, domain, workflow, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - Retrieve the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_workflow_attributes_with_http_info(project, domain, workflow, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str workflow: Workflow name which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminWorkflowAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'workflow', 'resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_workflow_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `get_workflow_attributes`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `get_workflow_attributes`") # noqa: E501 - # verify the required parameter 'workflow' is set - if ('workflow' not in params or - params['workflow'] is None): - raise ValueError("Missing the required parameter `workflow` when calling `get_workflow_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - if 'workflow' in params: - path_params['workflow'] = params['workflow'] # noqa: E501 - - query_params = [] - if 'resource_type' in params: - query_params.append(('resource_type', params['resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflow_attributes/{project}/{domain}/{workflow}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowAttributesGetResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_active_launch_plans(self, project, domain, **kwargs): # noqa: E501 - """List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - Fetch the active launch plan versions specified by input request filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_active_launch_plans(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required. (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required. (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_active_launch_plans_with_http_info(project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_active_launch_plans_with_http_info(project, domain, **kwargs) # noqa: E501 - return data - - def list_active_launch_plans_with_http_info(self, project, domain, **kwargs): # noqa: E501 - """List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - Fetch the active launch plan versions specified by input request filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_active_launch_plans_with_http_info(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required. (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required. (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_active_launch_plans" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_active_launch_plans`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_active_launch_plans`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/active_launch_plans/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_executions(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - Fetch existing workflow executions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_executions(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminExecutionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_executions_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_executions_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_executions_with_http_info(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - Fetch existing workflow executions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_executions_with_http_info(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminExecutionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_executions" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_executions`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_executions`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_launch_plan_ids(self, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. # noqa: E501 - - Fetch existing launch plan definition identifiers matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plan_ids(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_launch_plan_ids_with_http_info(project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_launch_plan_ids_with_http_info(project, domain, **kwargs) # noqa: E501 - return data - - def list_launch_plan_ids_with_http_info(self, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. # noqa: E501 - - Fetch existing launch plan definition identifiers matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plan_ids_with_http_info(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_launch_plan_ids" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_launch_plan_ids`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_launch_plan_ids`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plan_ids/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityIdentifierList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_launch_plans(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - - Fetch existing launch plan definitions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plans(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_launch_plans_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_launch_plans_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def list_launch_plans_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - - Fetch existing launch plan definitions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plans_with_http_info(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_launch_plans" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_launch_plans`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_launch_plans`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `list_launch_plans`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_launch_plans2(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - - Fetch existing launch plan definitions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plans2(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_launch_plans2_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_launch_plans2_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_launch_plans2_with_http_info(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - - Fetch existing launch plan definitions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plans2_with_http_info(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_launch_plans2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_launch_plans2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_launch_plans2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_matchable_attributes(self, **kwargs): # noqa: E501 - """Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. # noqa: E501 - - Retrieve a list of MatchableAttributesConfiguration objects. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_matchable_attributes(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminListMatchableAttributesResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_matchable_attributes_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.list_matchable_attributes_with_http_info(**kwargs) # noqa: E501 - return data - - def list_matchable_attributes_with_http_info(self, **kwargs): # noqa: E501 - """Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. # noqa: E501 - - Retrieve a list of MatchableAttributesConfiguration objects. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_matchable_attributes_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminListMatchableAttributesResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_matchable_attributes" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'resource_type' in params: - query_params.append(('resource_type', params['resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/matchable_attributes', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminListMatchableAttributesResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_named_entities(self, resource_type, project, domain, **kwargs): # noqa: E501 - """Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. # noqa: E501 - - Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_named_entities(resource_type, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required (required) - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. (required) - :param int limit: Indicates the number of resources to be returned. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_named_entities_with_http_info(resource_type, project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_named_entities_with_http_info(resource_type, project, domain, **kwargs) # noqa: E501 - return data - - def list_named_entities_with_http_info(self, resource_type, project, domain, **kwargs): # noqa: E501 - """Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. # noqa: E501 - - Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_named_entities_with_http_info(resource_type, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required (required) - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. (required) - :param int limit: Indicates the number of resources to be returned. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['resource_type', 'project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_named_entities" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'resource_type' is set - if ('resource_type' not in params or - params['resource_type'] is None): - raise ValueError("Missing the required parameter `resource_type` when calling `list_named_entities`") # noqa: E501 - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_named_entities`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_named_entities`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'resource_type' in params: - path_params['resource_type'] = params['resource_type'] # noqa: E501 - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/named_entities/{resource_type}/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_node_executions(self, workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - Fetch existing node executions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_node_executions(workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str workflow_execution_id_project: Name of the project the resource belongs to. (required) - :param str workflow_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str workflow_execution_id_name: User or system provided value for the resource. (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str unique_parent_id: Unique identifier of the parent node in the execution +optional. - :return: AdminNodeExecutionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_node_executions_with_http_info(workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_node_executions_with_http_info(workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs) # noqa: E501 - return data - - def list_node_executions_with_http_info(self, workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - Fetch existing node executions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_node_executions_with_http_info(workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str workflow_execution_id_project: Name of the project the resource belongs to. (required) - :param str workflow_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str workflow_execution_id_name: User or system provided value for the resource. (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str unique_parent_id: Unique identifier of the parent node in the execution +optional. - :return: AdminNodeExecutionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['workflow_execution_id_project', 'workflow_execution_id_domain', 'workflow_execution_id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction', 'unique_parent_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_node_executions" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'workflow_execution_id_project' is set - if ('workflow_execution_id_project' not in params or - params['workflow_execution_id_project'] is None): - raise ValueError("Missing the required parameter `workflow_execution_id_project` when calling `list_node_executions`") # noqa: E501 - # verify the required parameter 'workflow_execution_id_domain' is set - if ('workflow_execution_id_domain' not in params or - params['workflow_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `workflow_execution_id_domain` when calling `list_node_executions`") # noqa: E501 - # verify the required parameter 'workflow_execution_id_name' is set - if ('workflow_execution_id_name' not in params or - params['workflow_execution_id_name'] is None): - raise ValueError("Missing the required parameter `workflow_execution_id_name` when calling `list_node_executions`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'workflow_execution_id_project' in params: - path_params['workflow_execution_id.project'] = params['workflow_execution_id_project'] # noqa: E501 - if 'workflow_execution_id_domain' in params: - path_params['workflow_execution_id.domain'] = params['workflow_execution_id_domain'] # noqa: E501 - if 'workflow_execution_id_name' in params: - path_params['workflow_execution_id.name'] = params['workflow_execution_id_name'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'unique_parent_id' in params: - query_params.append(('unique_parent_id', params['unique_parent_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNodeExecutionList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_node_executions_for_task(self, task_execution_id_node_execution_id_execution_id_project, task_execution_id_node_execution_id_execution_id_domain, task_execution_id_node_execution_id_execution_id_name, task_execution_id_node_execution_id_node_id, task_execution_id_task_id_project, task_execution_id_task_id_domain, task_execution_id_task_id_name, task_execution_id_task_id_version, task_execution_id_retry_attempt, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - Fetch child node executions launched by the specified task execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_node_executions_for_task(task_execution_id_node_execution_id_execution_id_project, task_execution_id_node_execution_id_execution_id_domain, task_execution_id_node_execution_id_execution_id_name, task_execution_id_node_execution_id_node_id, task_execution_id_task_id_project, task_execution_id_task_id_domain, task_execution_id_task_id_name, task_execution_id_task_id_version, task_execution_id_retry_attempt, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str task_execution_id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str task_execution_id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str task_execution_id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str task_execution_id_node_execution_id_node_id: (required) - :param str task_execution_id_task_id_project: Name of the project the resource belongs to. (required) - :param str task_execution_id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str task_execution_id_task_id_name: User provided value for the resource. (required) - :param str task_execution_id_task_id_version: Specific version of the resource. (required) - :param int task_execution_id_retry_attempt: (required) - :param str task_execution_id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminNodeExecutionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_node_executions_for_task_with_http_info(task_execution_id_node_execution_id_execution_id_project, task_execution_id_node_execution_id_execution_id_domain, task_execution_id_node_execution_id_execution_id_name, task_execution_id_node_execution_id_node_id, task_execution_id_task_id_project, task_execution_id_task_id_domain, task_execution_id_task_id_name, task_execution_id_task_id_version, task_execution_id_retry_attempt, **kwargs) # noqa: E501 - else: - (data) = self.list_node_executions_for_task_with_http_info(task_execution_id_node_execution_id_execution_id_project, task_execution_id_node_execution_id_execution_id_domain, task_execution_id_node_execution_id_execution_id_name, task_execution_id_node_execution_id_node_id, task_execution_id_task_id_project, task_execution_id_task_id_domain, task_execution_id_task_id_name, task_execution_id_task_id_version, task_execution_id_retry_attempt, **kwargs) # noqa: E501 - return data - - def list_node_executions_for_task_with_http_info(self, task_execution_id_node_execution_id_execution_id_project, task_execution_id_node_execution_id_execution_id_domain, task_execution_id_node_execution_id_execution_id_name, task_execution_id_node_execution_id_node_id, task_execution_id_task_id_project, task_execution_id_task_id_domain, task_execution_id_task_id_name, task_execution_id_task_id_version, task_execution_id_retry_attempt, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - Fetch child node executions launched by the specified task execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_node_executions_for_task_with_http_info(task_execution_id_node_execution_id_execution_id_project, task_execution_id_node_execution_id_execution_id_domain, task_execution_id_node_execution_id_execution_id_name, task_execution_id_node_execution_id_node_id, task_execution_id_task_id_project, task_execution_id_task_id_domain, task_execution_id_task_id_name, task_execution_id_task_id_version, task_execution_id_retry_attempt, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str task_execution_id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str task_execution_id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str task_execution_id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str task_execution_id_node_execution_id_node_id: (required) - :param str task_execution_id_task_id_project: Name of the project the resource belongs to. (required) - :param str task_execution_id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str task_execution_id_task_id_name: User provided value for the resource. (required) - :param str task_execution_id_task_id_version: Specific version of the resource. (required) - :param int task_execution_id_retry_attempt: (required) - :param str task_execution_id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminNodeExecutionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['task_execution_id_node_execution_id_execution_id_project', 'task_execution_id_node_execution_id_execution_id_domain', 'task_execution_id_node_execution_id_execution_id_name', 'task_execution_id_node_execution_id_node_id', 'task_execution_id_task_id_project', 'task_execution_id_task_id_domain', 'task_execution_id_task_id_name', 'task_execution_id_task_id_version', 'task_execution_id_retry_attempt', 'task_execution_id_task_id_resource_type', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_node_executions_for_task" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'task_execution_id_node_execution_id_execution_id_project' is set - if ('task_execution_id_node_execution_id_execution_id_project' not in params or - params['task_execution_id_node_execution_id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_execution_id_project` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_node_execution_id_execution_id_domain' is set - if ('task_execution_id_node_execution_id_execution_id_domain' not in params or - params['task_execution_id_node_execution_id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_execution_id_domain` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_node_execution_id_execution_id_name' is set - if ('task_execution_id_node_execution_id_execution_id_name' not in params or - params['task_execution_id_node_execution_id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_execution_id_name` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_node_execution_id_node_id' is set - if ('task_execution_id_node_execution_id_node_id' not in params or - params['task_execution_id_node_execution_id_node_id'] is None): - raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_node_id` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_task_id_project' is set - if ('task_execution_id_task_id_project' not in params or - params['task_execution_id_task_id_project'] is None): - raise ValueError("Missing the required parameter `task_execution_id_task_id_project` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_task_id_domain' is set - if ('task_execution_id_task_id_domain' not in params or - params['task_execution_id_task_id_domain'] is None): - raise ValueError("Missing the required parameter `task_execution_id_task_id_domain` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_task_id_name' is set - if ('task_execution_id_task_id_name' not in params or - params['task_execution_id_task_id_name'] is None): - raise ValueError("Missing the required parameter `task_execution_id_task_id_name` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_task_id_version' is set - if ('task_execution_id_task_id_version' not in params or - params['task_execution_id_task_id_version'] is None): - raise ValueError("Missing the required parameter `task_execution_id_task_id_version` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_retry_attempt' is set - if ('task_execution_id_retry_attempt' not in params or - params['task_execution_id_retry_attempt'] is None): - raise ValueError("Missing the required parameter `task_execution_id_retry_attempt` when calling `list_node_executions_for_task`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'task_execution_id_node_execution_id_execution_id_project' in params: - path_params['task_execution_id.node_execution_id.execution_id.project'] = params['task_execution_id_node_execution_id_execution_id_project'] # noqa: E501 - if 'task_execution_id_node_execution_id_execution_id_domain' in params: - path_params['task_execution_id.node_execution_id.execution_id.domain'] = params['task_execution_id_node_execution_id_execution_id_domain'] # noqa: E501 - if 'task_execution_id_node_execution_id_execution_id_name' in params: - path_params['task_execution_id.node_execution_id.execution_id.name'] = params['task_execution_id_node_execution_id_execution_id_name'] # noqa: E501 - if 'task_execution_id_node_execution_id_node_id' in params: - path_params['task_execution_id.node_execution_id.node_id'] = params['task_execution_id_node_execution_id_node_id'] # noqa: E501 - if 'task_execution_id_task_id_project' in params: - path_params['task_execution_id.task_id.project'] = params['task_execution_id_task_id_project'] # noqa: E501 - if 'task_execution_id_task_id_domain' in params: - path_params['task_execution_id.task_id.domain'] = params['task_execution_id_task_id_domain'] # noqa: E501 - if 'task_execution_id_task_id_name' in params: - path_params['task_execution_id.task_id.name'] = params['task_execution_id_task_id_name'] # noqa: E501 - if 'task_execution_id_task_id_version' in params: - path_params['task_execution_id.task_id.version'] = params['task_execution_id_task_id_version'] # noqa: E501 - if 'task_execution_id_retry_attempt' in params: - path_params['task_execution_id.retry_attempt'] = params['task_execution_id_retry_attempt'] # noqa: E501 - - query_params = [] - if 'task_execution_id_task_id_resource_type' in params: - query_params.append(('task_execution_id.task_id.resource_type', params['task_execution_id_task_id_resource_type'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNodeExecutionList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_projects(self, **kwargs): # noqa: E501 - """Fetches a list of :ref:`ref_flyteidl.admin.Project` # noqa: E501 - - Fetch registered projects. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_projects(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int limit: Indicates the number of projects to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminProjects - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_projects_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.list_projects_with_http_info(**kwargs) # noqa: E501 - return data - - def list_projects_with_http_info(self, **kwargs): # noqa: E501 - """Fetches a list of :ref:`ref_flyteidl.admin.Project` # noqa: E501 - - Fetch registered projects. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_projects_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int limit: Indicates the number of projects to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminProjects - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_projects" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/projects', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjects', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_task_executions(self, node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs): # noqa: E501 - """Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - Fetch existing task executions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_task_executions(node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str node_execution_id_node_id: (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskExecutionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_task_executions_with_http_info(node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs) # noqa: E501 - else: - (data) = self.list_task_executions_with_http_info(node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs) # noqa: E501 - return data - - def list_task_executions_with_http_info(self, node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs): # noqa: E501 - """Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - Fetch existing task executions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_task_executions_with_http_info(node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str node_execution_id_node_id: (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskExecutionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['node_execution_id_execution_id_project', 'node_execution_id_execution_id_domain', 'node_execution_id_execution_id_name', 'node_execution_id_node_id', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_task_executions" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'node_execution_id_execution_id_project' is set - if ('node_execution_id_execution_id_project' not in params or - params['node_execution_id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `node_execution_id_execution_id_project` when calling `list_task_executions`") # noqa: E501 - # verify the required parameter 'node_execution_id_execution_id_domain' is set - if ('node_execution_id_execution_id_domain' not in params or - params['node_execution_id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `node_execution_id_execution_id_domain` when calling `list_task_executions`") # noqa: E501 - # verify the required parameter 'node_execution_id_execution_id_name' is set - if ('node_execution_id_execution_id_name' not in params or - params['node_execution_id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `node_execution_id_execution_id_name` when calling `list_task_executions`") # noqa: E501 - # verify the required parameter 'node_execution_id_node_id' is set - if ('node_execution_id_node_id' not in params or - params['node_execution_id_node_id'] is None): - raise ValueError("Missing the required parameter `node_execution_id_node_id` when calling `list_task_executions`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'node_execution_id_execution_id_project' in params: - path_params['node_execution_id.execution_id.project'] = params['node_execution_id_execution_id_project'] # noqa: E501 - if 'node_execution_id_execution_id_domain' in params: - path_params['node_execution_id.execution_id.domain'] = params['node_execution_id_execution_id_domain'] # noqa: E501 - if 'node_execution_id_execution_id_name' in params: - path_params['node_execution_id.execution_id.name'] = params['node_execution_id_execution_id_name'] # noqa: E501 - if 'node_execution_id_node_id' in params: - path_params['node_execution_id.node_id'] = params['node_execution_id_node_id'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskExecutionList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_task_ids(self, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. # noqa: E501 - - Fetch existing task definition identifiers matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_task_ids(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_task_ids_with_http_info(project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_task_ids_with_http_info(project, domain, **kwargs) # noqa: E501 - return data - - def list_task_ids_with_http_info(self, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. # noqa: E501 - - Fetch existing task definition identifiers matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_task_ids_with_http_info(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_task_ids" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_task_ids`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_task_ids`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/task_ids/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityIdentifierList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_tasks(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - - Fetch existing task definitions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_tasks(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_tasks_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_tasks_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def list_tasks_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - - Fetch existing task definitions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_tasks_with_http_info(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_tasks" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_tasks`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_tasks`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `list_tasks`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/tasks/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_tasks2(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - - Fetch existing task definitions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_tasks2(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_tasks2_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_tasks2_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_tasks2_with_http_info(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - - Fetch existing task definitions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_tasks2_with_http_info(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_tasks2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_tasks2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_tasks2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/tasks/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_workflow_ids(self, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. # noqa: E501 - - Fetch an existing workflow definition identifiers matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflow_ids(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_workflow_ids_with_http_info(project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_workflow_ids_with_http_info(project, domain, **kwargs) # noqa: E501 - return data - - def list_workflow_ids_with_http_info(self, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. # noqa: E501 - - Fetch an existing workflow definition identifiers matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflow_ids_with_http_info(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_workflow_ids" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_workflow_ids`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_workflow_ids`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflow_ids/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityIdentifierList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_workflows(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - - Fetch existing workflow definitions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflows(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminWorkflowList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_workflows_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_workflows_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def list_workflows_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - - Fetch existing workflow definitions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflows_with_http_info(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminWorkflowList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_workflows" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_workflows`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_workflows`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `list_workflows`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflows/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_workflows2(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - - Fetch existing workflow definitions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflows2(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminWorkflowList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_workflows2_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_workflows2_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_workflows2_with_http_info(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - - Fetch existing workflow definitions matching input filters. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflows2_with_http_info(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminWorkflowList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_workflows2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_workflows2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_workflows2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflows/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def recover_execution(self, body, **kwargs): # noqa: E501 - """Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. # noqa: E501 - - Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.recover_execution(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminExecutionRecoverRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.recover_execution_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.recover_execution_with_http_info(body, **kwargs) # noqa: E501 - return data - - def recover_execution_with_http_info(self, body, **kwargs): # noqa: E501 - """Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. # noqa: E501 - - Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.recover_execution_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminExecutionRecoverRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method recover_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `recover_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/recover', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def register_project(self, body, **kwargs): # noqa: E501 - """Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. # noqa: E501 - - Register a project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.register_project(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminProjectRegisterRequest body: (required) - :return: AdminProjectRegisterResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.register_project_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.register_project_with_http_info(body, **kwargs) # noqa: E501 - return data - - def register_project_with_http_info(self, body, **kwargs): # noqa: E501 - """Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. # noqa: E501 - - Register a project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.register_project_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminProjectRegisterRequest body: (required) - :return: AdminProjectRegisterResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method register_project" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `register_project`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/projects', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectRegisterResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def relaunch_execution(self, body, **kwargs): # noqa: E501 - """Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - - Relaunch a workflow execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.relaunch_execution(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminExecutionRelaunchRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.relaunch_execution_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.relaunch_execution_with_http_info(body, **kwargs) # noqa: E501 - return data - - def relaunch_execution_with_http_info(self, body, **kwargs): # noqa: E501 - """Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - - Relaunch a workflow execution. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.relaunch_execution_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminExecutionRelaunchRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method relaunch_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `relaunch_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/relaunch', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def terminate_execution(self, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - Terminate the active workflow execution specified in the request. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.terminate_execution(id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param AdminExecutionTerminateRequest body: (required) - :return: AdminExecutionTerminateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.terminate_execution_with_http_info(id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - else: - (data) = self.terminate_execution_with_http_info(id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - return data - - def terminate_execution_with_http_info(self, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - Terminate the active workflow execution specified in the request. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.terminate_execution_with_http_info(id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param AdminExecutionTerminateRequest body: (required) - :return: AdminExecutionTerminateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method terminate_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `terminate_execution`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `terminate_execution`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `terminate_execution`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `terminate_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/{id.project}/{id.domain}/{id.name}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionTerminateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_execution(self, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - Update execution belonging to project domain. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_execution(id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param AdminExecutionUpdateRequest body: (required) - :return: AdminExecutionUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_execution_with_http_info(id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - else: - (data) = self.update_execution_with_http_info(id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - return data - - def update_execution_with_http_info(self, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - Update execution belonging to project domain. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_execution_with_http_info(id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param AdminExecutionUpdateRequest body: (required) - :return: AdminExecutionUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `update_execution`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `update_execution`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `update_execution`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/{id.project}/{id.domain}/{id.name}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_launch_plan(self, id_project, id_domain, id_name, id_version, body, **kwargs): # noqa: E501 - """Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_launch_plan(id_project, id_domain, id_name, id_version, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param AdminLaunchPlanUpdateRequest body: (required) - :return: AdminLaunchPlanUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, body, **kwargs) # noqa: E501 - else: - (data) = self.update_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, body, **kwargs) # noqa: E501 - return data - - def update_launch_plan_with_http_info(self, id_project, id_domain, id_name, id_version, body, **kwargs): # noqa: E501 - """Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param AdminLaunchPlanUpdateRequest body: (required) - :return: AdminLaunchPlanUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_version', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_launch_plan" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `update_launch_plan`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `update_launch_plan`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `update_launch_plan`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `update_launch_plan`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_launch_plan`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_named_entity(self, resource_type, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - - Update the fields associated with a NamedEntity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_named_entity(resource_type, id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Resource type of the metadata to update +required (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param AdminNamedEntityUpdateRequest body: (required) - :return: AdminNamedEntityUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - else: - (data) = self.update_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - return data - - def update_named_entity_with_http_info(self, resource_type, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - - Update the fields associated with a NamedEntity # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Resource type of the metadata to update +required (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param AdminNamedEntityUpdateRequest body: (required) - :return: AdminNamedEntityUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['resource_type', 'id_project', 'id_domain', 'id_name', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_named_entity" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'resource_type' is set - if ('resource_type' not in params or - params['resource_type'] is None): - raise ValueError("Missing the required parameter `resource_type` when calling `update_named_entity`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `update_named_entity`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `update_named_entity`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `update_named_entity`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_named_entity`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'resource_type' in params: - path_params['resource_type'] = params['resource_type'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_project(self, id, body, **kwargs): # noqa: E501 - """Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. # noqa: E501 - - Update a project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project(id, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id: Globally unique project name. (required) - :param AdminProject body: (required) - :return: AdminProjectUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_project_with_http_info(id, body, **kwargs) # noqa: E501 - else: - (data) = self.update_project_with_http_info(id, body, **kwargs) # noqa: E501 - return data - - def update_project_with_http_info(self, id, body, **kwargs): # noqa: E501 - """Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. # noqa: E501 - - Update a project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project_with_http_info(id, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id: Globally unique project name. (required) - :param AdminProject body: (required) - :return: AdminProjectUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_project" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id' is set - if ('id' not in params or - params['id'] is None): - raise ValueError("Missing the required parameter `id` when calling `update_project`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_project`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id' in params: - path_params['id'] = params['id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/projects/{id}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_project_domain_attributes(self, attributes_project, attributes_domain, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - Update the customized resource attributes associated with a project-domain combination # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project_domain_attributes(attributes_project, attributes_domain, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) - :param AdminProjectDomainAttributesUpdateRequest body: (required) - :return: AdminProjectDomainAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_project_domain_attributes_with_http_info(attributes_project, attributes_domain, body, **kwargs) # noqa: E501 - else: - (data) = self.update_project_domain_attributes_with_http_info(attributes_project, attributes_domain, body, **kwargs) # noqa: E501 - return data - - def update_project_domain_attributes_with_http_info(self, attributes_project, attributes_domain, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - Update the customized resource attributes associated with a project-domain combination # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project_domain_attributes_with_http_info(attributes_project, attributes_domain, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) - :param AdminProjectDomainAttributesUpdateRequest body: (required) - :return: AdminProjectDomainAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['attributes_project', 'attributes_domain', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_project_domain_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'attributes_project' is set - if ('attributes_project' not in params or - params['attributes_project'] is None): - raise ValueError("Missing the required parameter `attributes_project` when calling `update_project_domain_attributes`") # noqa: E501 - # verify the required parameter 'attributes_domain' is set - if ('attributes_domain' not in params or - params['attributes_domain'] is None): - raise ValueError("Missing the required parameter `attributes_domain` when calling `update_project_domain_attributes`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_project_domain_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'attributes_project' in params: - path_params['attributes.project'] = params['attributes_project'] # noqa: E501 - if 'attributes_domain' in params: - path_params['attributes.domain'] = params['attributes_domain'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectDomainAttributesUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_workflow_attributes(self, attributes_project, attributes_domain, attributes_workflow, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - Update the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_workflow_attributes(attributes_project, attributes_domain, attributes_workflow, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) - :param str attributes_workflow: Workflow name for which this set of attributes will be applied. (required) - :param AdminWorkflowAttributesUpdateRequest body: (required) - :return: AdminWorkflowAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_workflow_attributes_with_http_info(attributes_project, attributes_domain, attributes_workflow, body, **kwargs) # noqa: E501 - else: - (data) = self.update_workflow_attributes_with_http_info(attributes_project, attributes_domain, attributes_workflow, body, **kwargs) # noqa: E501 - return data - - def update_workflow_attributes_with_http_info(self, attributes_project, attributes_domain, attributes_workflow, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - Update the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_workflow_attributes_with_http_info(attributes_project, attributes_domain, attributes_workflow, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) - :param str attributes_workflow: Workflow name for which this set of attributes will be applied. (required) - :param AdminWorkflowAttributesUpdateRequest body: (required) - :return: AdminWorkflowAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['attributes_project', 'attributes_domain', 'attributes_workflow', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_workflow_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'attributes_project' is set - if ('attributes_project' not in params or - params['attributes_project'] is None): - raise ValueError("Missing the required parameter `attributes_project` when calling `update_workflow_attributes`") # noqa: E501 - # verify the required parameter 'attributes_domain' is set - if ('attributes_domain' not in params or - params['attributes_domain'] is None): - raise ValueError("Missing the required parameter `attributes_domain` when calling `update_workflow_attributes`") # noqa: E501 - # verify the required parameter 'attributes_workflow' is set - if ('attributes_workflow' not in params or - params['attributes_workflow'] is None): - raise ValueError("Missing the required parameter `attributes_workflow` when calling `update_workflow_attributes`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_workflow_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'attributes_project' in params: - path_params['attributes.project'] = params['attributes_project'] # noqa: E501 - if 'attributes_domain' in params: - path_params['attributes.domain'] = params['attributes_domain'] # noqa: E501 - if 'attributes_workflow' in params: - path_params['attributes.workflow'] = params['attributes_workflow'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowAttributesUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api_client.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api_client.py deleted file mode 100644 index 9a7091b08..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api_client.py +++ /dev/null @@ -1,638 +0,0 @@ -# coding: utf-8 -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import datetime -import json -import mimetypes -from multiprocessing.pool import ThreadPool -import os -import re -import tempfile - -# python 2 and python 3 compatibility library -import six -from six.moves.urllib.parse import quote - -from flyteadmin.configuration import Configuration -import flyteadmin.models -from flyteadmin import rest - - -class ApiClient(object): - """Generic API client for Swagger client library builds. - - Swagger generic API client. This client handles the client- - server communication, and is invariant across implementations. Specifics of - the methods and models for each application are generated from the Swagger - templates. - - NOTE: This class is auto generated by the swagger code generator program. - Ref: https://github.com/swagger-api/swagger-codegen - Do not edit the class manually. - - :param configuration: .Configuration object for this client - :param header_name: a header to pass when making calls to the API. - :param header_value: a header value to pass when making calls to - the API. - :param cookie: a cookie to include in the header when making calls - to the API - """ - - PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types - NATIVE_TYPES_MAPPING = { - 'int': int, - 'long': int if six.PY3 else long, # noqa: F821 - 'float': float, - 'str': str, - 'bool': bool, - 'date': datetime.date, - 'datetime': datetime.datetime, - 'object': object, - } - - def __init__(self, configuration=None, header_name=None, header_value=None, - cookie=None): - if configuration is None: - configuration = Configuration() - self.configuration = configuration - - # Use the pool property to lazily initialize the ThreadPool. - self._pool = None - self.rest_client = rest.RESTClientObject(configuration) - self.default_headers = {} - if header_name is not None: - self.default_headers[header_name] = header_value - self.cookie = cookie - # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/1.0.0/python' - - def __del__(self): - if self._pool is not None: - self._pool.close() - self._pool.join() - - @property - def pool(self): - if self._pool is None: - self._pool = ThreadPool() - return self._pool - - @property - def user_agent(self): - """User agent for this API client""" - return self.default_headers['User-Agent'] - - @user_agent.setter - def user_agent(self, value): - self.default_headers['User-Agent'] = value - - def set_default_header(self, header_name, header_value): - self.default_headers[header_name] = header_value - - def __call_api( - self, resource_path, method, path_params=None, - query_params=None, header_params=None, body=None, post_params=None, - files=None, response_type=None, auth_settings=None, - _return_http_data_only=None, collection_formats=None, - _preload_content=True, _request_timeout=None): - - config = self.configuration - - # header parameters - header_params = header_params or {} - header_params.update(self.default_headers) - if self.cookie: - header_params['Cookie'] = self.cookie - if header_params: - header_params = self.sanitize_for_serialization(header_params) - header_params = dict(self.parameters_to_tuples(header_params, - collection_formats)) - - # path parameters - if path_params: - path_params = self.sanitize_for_serialization(path_params) - path_params = self.parameters_to_tuples(path_params, - collection_formats) - for k, v in path_params: - # specified safe chars, encode everything - resource_path = resource_path.replace( - '{%s}' % k, - quote(str(v), safe=config.safe_chars_for_path_param) - ) - - # query parameters - if query_params: - query_params = self.sanitize_for_serialization(query_params) - query_params = self.parameters_to_tuples(query_params, - collection_formats) - - # post parameters - if post_params or files: - post_params = self.prepare_post_parameters(post_params, files) - post_params = self.sanitize_for_serialization(post_params) - post_params = self.parameters_to_tuples(post_params, - collection_formats) - - # auth setting - self.update_params_for_auth(header_params, query_params, auth_settings) - - # body - if body: - body = self.sanitize_for_serialization(body) - - # request url - url = self.configuration.host + resource_path - - # perform request and return response - response_data = self.request( - method, url, query_params=query_params, headers=header_params, - post_params=post_params, body=body, - _preload_content=_preload_content, - _request_timeout=_request_timeout) - - self.last_response = response_data - - return_data = response_data - if _preload_content: - # deserialize response data - if response_type: - return_data = self.deserialize(response_data, response_type) - else: - return_data = None - - if _return_http_data_only: - return (return_data) - else: - return (return_data, response_data.status, - response_data.getheaders()) - - def sanitize_for_serialization(self, obj): - """Builds a JSON POST object. - - If obj is None, return None. - If obj is str, int, long, float, bool, return directly. - If obj is datetime.datetime, datetime.date - convert to string in iso8601 format. - If obj is list, sanitize each element in the list. - If obj is dict, return the dict. - If obj is swagger model, return the properties dict. - - :param obj: The data to serialize. - :return: The serialized form of data. - """ - if obj is None: - return None - elif isinstance(obj, self.PRIMITIVE_TYPES): - return obj - elif isinstance(obj, list): - return [self.sanitize_for_serialization(sub_obj) - for sub_obj in obj] - elif isinstance(obj, tuple): - return tuple(self.sanitize_for_serialization(sub_obj) - for sub_obj in obj) - elif isinstance(obj, (datetime.datetime, datetime.date)): - return obj.isoformat() - - if isinstance(obj, dict): - obj_dict = obj - else: - # Convert model obj to dict except - # attributes `swagger_types`, `attribute_map` - # and attributes which value is not None. - # Convert attribute name to json key in - # model definition for request. - obj_dict = {obj.attribute_map[attr]: getattr(obj, attr) - for attr, _ in six.iteritems(obj.swagger_types) - if getattr(obj, attr) is not None} - - return {key: self.sanitize_for_serialization(val) - for key, val in six.iteritems(obj_dict)} - - def deserialize(self, response, response_type): - """Deserializes response into an object. - - :param response: RESTResponse object to be deserialized. - :param response_type: class literal for - deserialized object, or string of class name. - - :return: deserialized object. - """ - # handle file downloading - # save response body into a tmp file and return the instance - if response_type == "file": - return self.__deserialize_file(response) - - # fetch data from response object - try: - data = json.loads(response.data) - except ValueError: - data = response.data - - return self.__deserialize(data, response_type) - - def __deserialize(self, data, klass): - """Deserializes dict, list, str into an object. - - :param data: dict, list or str. - :param klass: class literal, or string of class name. - - :return: object. - """ - if data is None: - return None - - if type(klass) == str: - if klass.startswith('list['): - sub_kls = re.match(r'list\[(.*)\]', klass).group(1) - return [self.__deserialize(sub_data, sub_kls) - for sub_data in data] - - if klass.startswith('dict('): - sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2) - return {k: self.__deserialize(v, sub_kls) - for k, v in six.iteritems(data)} - - # convert str to class - if klass in self.NATIVE_TYPES_MAPPING: - klass = self.NATIVE_TYPES_MAPPING[klass] - else: - klass = getattr(flyteadmin.models, klass) - - if klass in self.PRIMITIVE_TYPES: - return self.__deserialize_primitive(data, klass) - elif klass == object: - return self.__deserialize_object(data) - elif klass == datetime.date: - return self.__deserialize_date(data) - elif klass == datetime.datetime: - return self.__deserialize_datatime(data) - else: - return self.__deserialize_model(data, klass) - - def call_api(self, resource_path, method, - path_params=None, query_params=None, header_params=None, - body=None, post_params=None, files=None, - response_type=None, auth_settings=None, async_req=None, - _return_http_data_only=None, collection_formats=None, - _preload_content=True, _request_timeout=None): - """Makes the HTTP request (synchronous) and returns deserialized data. - - To make an async request, set the async_req parameter. - - :param resource_path: Path to method endpoint. - :param method: Method to call. - :param path_params: Path parameters in the url. - :param query_params: Query parameters in the url. - :param header_params: Header parameters to be - placed in the request header. - :param body: Request body. - :param post_params dict: Request post form parameters, - for `application/x-www-form-urlencoded`, `multipart/form-data`. - :param auth_settings list: Auth Settings names for the request. - :param response: Response data type. - :param files dict: key -> filename, value -> filepath, - for `multipart/form-data`. - :param async_req bool: execute request asynchronously - :param _return_http_data_only: response data without head status code - and headers - :param collection_formats: dict of collection formats for path, query, - header, and post parameters. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: - If async_req parameter is True, - the request will be called asynchronously. - The method will return the request thread. - If parameter async_req is False or missing, - then the method will return the response directly. - """ - if not async_req: - return self.__call_api(resource_path, method, - path_params, query_params, header_params, - body, post_params, files, - response_type, auth_settings, - _return_http_data_only, collection_formats, - _preload_content, _request_timeout) - else: - thread = self.pool.apply_async(self.__call_api, (resource_path, - method, path_params, query_params, - header_params, body, - post_params, files, - response_type, auth_settings, - _return_http_data_only, - collection_formats, - _preload_content, _request_timeout)) - return thread - - def request(self, method, url, query_params=None, headers=None, - post_params=None, body=None, _preload_content=True, - _request_timeout=None): - """Makes the HTTP request using RESTClient.""" - if method == "GET": - return self.rest_client.GET(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "HEAD": - return self.rest_client.HEAD(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "OPTIONS": - return self.rest_client.OPTIONS(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "POST": - return self.rest_client.POST(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PUT": - return self.rest_client.PUT(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PATCH": - return self.rest_client.PATCH(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "DELETE": - return self.rest_client.DELETE(url, - query_params=query_params, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - else: - raise ValueError( - "http method must be `GET`, `HEAD`, `OPTIONS`," - " `POST`, `PATCH`, `PUT` or `DELETE`." - ) - - def parameters_to_tuples(self, params, collection_formats): - """Get parameters as list of tuples, formatting collections. - - :param params: Parameters as dict or list of two-tuples - :param dict collection_formats: Parameter collection formats - :return: Parameters as list of tuples, collections formatted - """ - new_params = [] - if collection_formats is None: - collection_formats = {} - for k, v in six.iteritems(params) if isinstance(params, dict) else params: # noqa: E501 - if k in collection_formats: - collection_format = collection_formats[k] - if collection_format == 'multi': - new_params.extend((k, value) for value in v) - else: - if collection_format == 'ssv': - delimiter = ' ' - elif collection_format == 'tsv': - delimiter = '\t' - elif collection_format == 'pipes': - delimiter = '|' - else: # csv is the default - delimiter = ',' - new_params.append( - (k, delimiter.join(str(value) for value in v))) - else: - new_params.append((k, v)) - return new_params - - def prepare_post_parameters(self, post_params=None, files=None): - """Builds form parameters. - - :param post_params: Normal form parameters. - :param files: File parameters. - :return: Form parameters with files. - """ - params = [] - - if post_params: - params = post_params - - if files: - for k, v in six.iteritems(files): - if not v: - continue - file_names = v if type(v) is list else [v] - for n in file_names: - with open(n, 'rb') as f: - filename = os.path.basename(f.name) - filedata = f.read() - mimetype = (mimetypes.guess_type(filename)[0] or - 'application/octet-stream') - params.append( - tuple([k, tuple([filename, filedata, mimetype])])) - - return params - - def select_header_accept(self, accepts): - """Returns `Accept` based on an array of accepts provided. - - :param accepts: List of headers. - :return: Accept (e.g. application/json). - """ - if not accepts: - return - - accepts = [x.lower() for x in accepts] - - if 'application/json' in accepts: - return 'application/json' - else: - return ', '.join(accepts) - - def select_header_content_type(self, content_types): - """Returns `Content-Type` based on an array of content_types provided. - - :param content_types: List of content-types. - :return: Content-Type (e.g. application/json). - """ - if not content_types: - return 'application/json' - - content_types = [x.lower() for x in content_types] - - if 'application/json' in content_types or '*/*' in content_types: - return 'application/json' - else: - return content_types[0] - - def update_params_for_auth(self, headers, querys, auth_settings): - """Updates header and query params based on authentication setting. - - :param headers: Header parameters dict to be updated. - :param querys: Query parameters tuple list to be updated. - :param auth_settings: Authentication setting identifiers list. - """ - if not auth_settings: - return - - for auth in auth_settings: - auth_setting = self.configuration.auth_settings().get(auth) - if auth_setting: - if not auth_setting['value']: - continue - elif auth_setting['in'] == 'header': - headers[auth_setting['key']] = auth_setting['value'] - elif auth_setting['in'] == 'query': - querys.append((auth_setting['key'], auth_setting['value'])) - else: - raise ValueError( - 'Authentication token must be in `query` or `header`' - ) - - def __deserialize_file(self, response): - """Deserializes body to file - - Saves response body into a file in a temporary folder, - using the filename from the `Content-Disposition` header if provided. - - :param response: RESTResponse. - :return: file path. - """ - fd, path = tempfile.mkstemp(dir=self.configuration.temp_folder_path) - os.close(fd) - os.remove(path) - - content_disposition = response.getheader("Content-Disposition") - if content_disposition: - filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?', - content_disposition).group(1) - path = os.path.join(os.path.dirname(path), filename) - - with open(path, "wb") as f: - f.write(response.data) - - return path - - def __deserialize_primitive(self, data, klass): - """Deserializes string to primitive type. - - :param data: str. - :param klass: class literal. - - :return: int, long, float, str, bool. - """ - try: - return klass(data) - except UnicodeEncodeError: - return six.text_type(data) - except TypeError: - return data - - def __deserialize_object(self, value): - """Return a original value. - - :return: object. - """ - return value - - def __deserialize_date(self, string): - """Deserializes string to date. - - :param string: str. - :return: date. - """ - try: - from dateutil.parser import parse - return parse(string).date() - except ImportError: - return string - except ValueError: - raise rest.ApiException( - status=0, - reason="Failed to parse `{0}` as date object".format(string) - ) - - def __deserialize_datatime(self, string): - """Deserializes string to datetime. - - The string should be in iso8601 datetime format. - - :param string: str. - :return: datetime. - """ - try: - from dateutil.parser import parse - return parse(string) - except ImportError: - return string - except ValueError: - raise rest.ApiException( - status=0, - reason=( - "Failed to parse `{0}` as datetime object" - .format(string) - ) - ) - - def __hasattr(self, object, name): - return name in object.__class__.__dict__ - - def __deserialize_model(self, data, klass): - """Deserializes list or dict to model. - - :param data: dict, list. - :param klass: class literal. - :return: model object. - """ - - if (not klass.swagger_types and - not self.__hasattr(klass, 'get_real_child_model')): - return data - - kwargs = {} - if klass.swagger_types is not None: - for attr, attr_type in six.iteritems(klass.swagger_types): - if (data is not None and - klass.attribute_map[attr] in data and - isinstance(data, (list, dict))): - value = data[klass.attribute_map[attr]] - kwargs[attr] = self.__deserialize(value, attr_type) - - instance = klass(**kwargs) - - if (isinstance(instance, dict) and - klass.swagger_types is not None and - isinstance(data, dict)): - for key, value in data.items(): - if key not in klass.swagger_types: - instance[key] = value - if self.__hasattr(instance, 'get_real_child_model'): - klass_name = instance.get_real_child_model(data) - if klass_name: - instance = self.__deserialize(data, klass_name) - return instance diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/configuration.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/configuration.py deleted file mode 100644 index e6773bd5f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/configuration.py +++ /dev/null @@ -1,237 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import copy -import logging -import multiprocessing -import sys -import urllib3 - -import six -from six.moves import http_client as httplib - - -class Configuration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Ref: https://github.com/swagger-api/swagger-codegen - Do not edit the class manually. - """ - - _default = None - - def __init__(self): - """Constructor""" - if self._default: - for key in self._default.__dict__.keys(): - self.__dict__[key] = copy.copy(self._default.__dict__[key]) - return - - # Default Base url - self.host = "http://localhost" - # Temp file folder for downloading files - self.temp_folder_path = None - - # Authentication Settings - # dict to store API key(s) - self.api_key = {} - # dict to store API prefix (e.g. Bearer) - self.api_key_prefix = {} - # Username for HTTP basic authentication - self.username = "" - # Password for HTTP basic authentication - self.password = "" - - # Logging Settings - self.logger = {} - self.logger["package_logger"] = logging.getLogger("flyteadmin") - self.logger["urllib3_logger"] = logging.getLogger("urllib3") - # Log format - self.logger_format = '%(asctime)s %(levelname)s %(message)s' - # Log stream handler - self.logger_stream_handler = None - # Log file handler - self.logger_file_handler = None - # Debug file location - self.logger_file = None - # Debug switch - self.debug = False - - # SSL/TLS verification - # Set this to false to skip verifying SSL certificate when calling API - # from https server. - self.verify_ssl = True - # Set this to customize the certificate file to verify the peer. - self.ssl_ca_cert = None - # client certificate file - self.cert_file = None - # client key file - self.key_file = None - # Set this to True/False to enable/disable SSL hostname verification. - self.assert_hostname = None - - # urllib3 connection pool's maximum number of connections saved - # per pool. urllib3 uses 1 connection as default value, but this is - # not the best value when you are making a lot of possibly parallel - # requests to the same host, which is often the case here. - # cpu_count * 5 is used as default value to increase performance. - self.connection_pool_maxsize = multiprocessing.cpu_count() * 5 - - # Proxy URL - self.proxy = None - # Safe chars for path_param - self.safe_chars_for_path_param = '' - - @classmethod - def set_default(cls, default): - cls._default = default - - @property - def logger_file(self): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - return self.__logger_file - - @logger_file.setter - def logger_file(self, value): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - self.__logger_file = value - if self.__logger_file: - # If set logging file, - # then add file handler and remove stream handler. - self.logger_file_handler = logging.FileHandler(self.__logger_file) - self.logger_file_handler.setFormatter(self.logger_formatter) - for _, logger in six.iteritems(self.logger): - logger.addHandler(self.logger_file_handler) - if self.logger_stream_handler: - logger.removeHandler(self.logger_stream_handler) - else: - # If not set logging file, - # then add stream handler and remove file handler. - self.logger_stream_handler = logging.StreamHandler() - self.logger_stream_handler.setFormatter(self.logger_formatter) - for _, logger in six.iteritems(self.logger): - logger.addHandler(self.logger_stream_handler) - if self.logger_file_handler: - logger.removeHandler(self.logger_file_handler) - - @property - def debug(self): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - return self.__debug - - @debug.setter - def debug(self, value): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - self.__debug = value - if self.__debug: - # if debug status is True, turn on debug logging - for _, logger in six.iteritems(self.logger): - logger.setLevel(logging.DEBUG) - # turn on httplib debug - httplib.HTTPConnection.debuglevel = 1 - else: - # if debug status is False, turn off debug logging, - # setting log level to default `logging.WARNING` - for _, logger in six.iteritems(self.logger): - logger.setLevel(logging.WARNING) - # turn off httplib debug - httplib.HTTPConnection.debuglevel = 0 - - @property - def logger_format(self): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - return self.__logger_format - - @logger_format.setter - def logger_format(self, value): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - self.__logger_format = value - self.logger_formatter = logging.Formatter(self.__logger_format) - - def get_api_key_with_prefix(self, identifier): - """Gets API key (with prefix if set). - - :param identifier: The identifier of apiKey. - :return: The token for api key authentication. - """ - if (self.api_key.get(identifier) and - self.api_key_prefix.get(identifier)): - return self.api_key_prefix[identifier] + ' ' + self.api_key[identifier] # noqa: E501 - elif self.api_key.get(identifier): - return self.api_key[identifier] - - def get_basic_auth_token(self): - """Gets HTTP basic authentication header (string). - - :return: The token for basic HTTP authentication. - """ - return urllib3.util.make_headers( - basic_auth=self.username + ':' + self.password - ).get('authorization') - - def auth_settings(self): - """Gets Auth Settings dict for api client. - - :return: The Auth Settings information dict. - """ - return { - - } - - def to_debug_report(self): - """Gets the essential information for debugging. - - :return: The report for debugging. - """ - return "Python SDK Debug Report:\n"\ - "OS: {env}\n"\ - "Python Version: {pyversion}\n"\ - "Version of the API: version not set\n"\ - "SDK Package Version: 1.0.0".\ - format(env=sys.platform, pyversion=sys.version) diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py deleted file mode 100644 index 8a9b75041..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py +++ /dev/null @@ -1,262 +0,0 @@ -# coding: utf-8 - -# flake8: noqa -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -# import models into model package -from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata -from flyteadmin.models.admin_annotations import AdminAnnotations -from flyteadmin.models.admin_auth import AdminAuth -from flyteadmin.models.admin_auth_role import AdminAuthRole -from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment -from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes -from flyteadmin.models.admin_cron_schedule import AdminCronSchedule -from flyteadmin.models.admin_domain import AdminDomain -from flyteadmin.models.admin_email_notification import AdminEmailNotification -from flyteadmin.models.admin_execution import AdminExecution -from flyteadmin.models.admin_execution_closure import AdminExecutionClosure -from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel -from flyteadmin.models.admin_execution_create_request import AdminExecutionCreateRequest -from flyteadmin.models.admin_execution_create_response import AdminExecutionCreateResponse -from flyteadmin.models.admin_execution_list import AdminExecutionList -from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata -from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes -from flyteadmin.models.admin_execution_recover_request import AdminExecutionRecoverRequest -from flyteadmin.models.admin_execution_relaunch_request import AdminExecutionRelaunchRequest -from flyteadmin.models.admin_execution_spec import AdminExecutionSpec -from flyteadmin.models.admin_execution_state import AdminExecutionState -from flyteadmin.models.admin_execution_state_change_details import AdminExecutionStateChangeDetails -from flyteadmin.models.admin_execution_terminate_request import AdminExecutionTerminateRequest -from flyteadmin.models.admin_execution_terminate_response import AdminExecutionTerminateResponse -from flyteadmin.models.admin_execution_update_request import AdminExecutionUpdateRequest -from flyteadmin.models.admin_execution_update_response import AdminExecutionUpdateResponse -from flyteadmin.models.admin_fixed_rate import AdminFixedRate -from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit -from flyteadmin.models.admin_get_version_response import AdminGetVersionResponse -from flyteadmin.models.admin_labels import AdminLabels -from flyteadmin.models.admin_launch_plan import AdminLaunchPlan -from flyteadmin.models.admin_launch_plan_closure import AdminLaunchPlanClosure -from flyteadmin.models.admin_launch_plan_create_request import AdminLaunchPlanCreateRequest -from flyteadmin.models.admin_launch_plan_create_response import AdminLaunchPlanCreateResponse -from flyteadmin.models.admin_launch_plan_list import AdminLaunchPlanList -from flyteadmin.models.admin_launch_plan_metadata import AdminLaunchPlanMetadata -from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec -from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState -from flyteadmin.models.admin_launch_plan_update_request import AdminLaunchPlanUpdateRequest -from flyteadmin.models.admin_launch_plan_update_response import AdminLaunchPlanUpdateResponse -from flyteadmin.models.admin_list_matchable_attributes_response import AdminListMatchableAttributesResponse -from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob -from flyteadmin.models.admin_matchable_attributes_configuration import AdminMatchableAttributesConfiguration -from flyteadmin.models.admin_matchable_resource import AdminMatchableResource -from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes -from flyteadmin.models.admin_named_entity import AdminNamedEntity -from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier -from flyteadmin.models.admin_named_entity_identifier_list import AdminNamedEntityIdentifierList -from flyteadmin.models.admin_named_entity_list import AdminNamedEntityList -from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata -from flyteadmin.models.admin_named_entity_state import AdminNamedEntityState -from flyteadmin.models.admin_named_entity_update_request import AdminNamedEntityUpdateRequest -from flyteadmin.models.admin_named_entity_update_response import AdminNamedEntityUpdateResponse -from flyteadmin.models.admin_node_execution_closure import AdminNodeExecutionClosure -from flyteadmin.models.admin_node_execution_event_request import AdminNodeExecutionEventRequest -from flyteadmin.models.admin_node_execution_event_response import AdminNodeExecutionEventResponse -from flyteadmin.models.admin_node_execution_get_data_response import AdminNodeExecutionGetDataResponse -from flyteadmin.models.admin_node_execution_list import AdminNodeExecutionList -from flyteadmin.models.admin_node_execution_meta_data import AdminNodeExecutionMetaData -from flyteadmin.models.admin_notification import AdminNotification -from flyteadmin.models.admin_notification_list import AdminNotificationList -from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification -from flyteadmin.models.admin_plugin_override import AdminPluginOverride -from flyteadmin.models.admin_plugin_overrides import AdminPluginOverrides -from flyteadmin.models.admin_project import AdminProject -from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes -from flyteadmin.models.admin_project_domain_attributes_delete_request import AdminProjectDomainAttributesDeleteRequest -from flyteadmin.models.admin_project_domain_attributes_delete_response import AdminProjectDomainAttributesDeleteResponse -from flyteadmin.models.admin_project_domain_attributes_get_response import AdminProjectDomainAttributesGetResponse -from flyteadmin.models.admin_project_domain_attributes_update_request import AdminProjectDomainAttributesUpdateRequest -from flyteadmin.models.admin_project_domain_attributes_update_response import AdminProjectDomainAttributesUpdateResponse -from flyteadmin.models.admin_project_register_request import AdminProjectRegisterRequest -from flyteadmin.models.admin_project_register_response import AdminProjectRegisterResponse -from flyteadmin.models.admin_project_update_response import AdminProjectUpdateResponse -from flyteadmin.models.admin_projects import AdminProjects -from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig -from flyteadmin.models.admin_schedule import AdminSchedule -from flyteadmin.models.admin_slack_notification import AdminSlackNotification -from flyteadmin.models.admin_sort import AdminSort -from flyteadmin.models.admin_system_metadata import AdminSystemMetadata -from flyteadmin.models.admin_task import AdminTask -from flyteadmin.models.admin_task_closure import AdminTaskClosure -from flyteadmin.models.admin_task_create_request import AdminTaskCreateRequest -from flyteadmin.models.admin_task_create_response import AdminTaskCreateResponse -from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure -from flyteadmin.models.admin_task_execution_event_request import AdminTaskExecutionEventRequest -from flyteadmin.models.admin_task_execution_event_response import AdminTaskExecutionEventResponse -from flyteadmin.models.admin_task_execution_get_data_response import AdminTaskExecutionGetDataResponse -from flyteadmin.models.admin_task_execution_list import AdminTaskExecutionList -from flyteadmin.models.admin_task_list import AdminTaskList -from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes -from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec -from flyteadmin.models.admin_task_spec import AdminTaskSpec -from flyteadmin.models.admin_url_blob import AdminUrlBlob -from flyteadmin.models.admin_version import AdminVersion -from flyteadmin.models.admin_workflow import AdminWorkflow -from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes -from flyteadmin.models.admin_workflow_attributes_delete_request import AdminWorkflowAttributesDeleteRequest -from flyteadmin.models.admin_workflow_attributes_delete_response import AdminWorkflowAttributesDeleteResponse -from flyteadmin.models.admin_workflow_attributes_get_response import AdminWorkflowAttributesGetResponse -from flyteadmin.models.admin_workflow_attributes_update_request import AdminWorkflowAttributesUpdateRequest -from flyteadmin.models.admin_workflow_attributes_update_response import AdminWorkflowAttributesUpdateResponse -from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure -from flyteadmin.models.admin_workflow_create_request import AdminWorkflowCreateRequest -from flyteadmin.models.admin_workflow_create_response import AdminWorkflowCreateResponse -from flyteadmin.models.admin_workflow_execution_config import AdminWorkflowExecutionConfig -from flyteadmin.models.admin_workflow_execution_event_request import AdminWorkflowExecutionEventRequest -from flyteadmin.models.admin_workflow_execution_event_response import AdminWorkflowExecutionEventResponse -from flyteadmin.models.admin_workflow_execution_get_data_response import AdminWorkflowExecutionGetDataResponse -from flyteadmin.models.admin_workflow_list import AdminWorkflowList -from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec -from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality -from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus -from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator -from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator -from flyteadmin.models.connection_set_id_list import ConnectionSetIdList -from flyteadmin.models.container_architecture import ContainerArchitecture -from flyteadmin.models.core_alias import CoreAlias -from flyteadmin.models.core_binary import CoreBinary -from flyteadmin.models.core_binding import CoreBinding -from flyteadmin.models.core_binding_data import CoreBindingData -from flyteadmin.models.core_binding_data_collection import CoreBindingDataCollection -from flyteadmin.models.core_binding_data_map import CoreBindingDataMap -from flyteadmin.models.core_blob import CoreBlob -from flyteadmin.models.core_blob_metadata import CoreBlobMetadata -from flyteadmin.models.core_blob_type import CoreBlobType -from flyteadmin.models.core_boolean_expression import CoreBooleanExpression -from flyteadmin.models.core_branch_node import CoreBranchNode -from flyteadmin.models.core_catalog_artifact_tag import CoreCatalogArtifactTag -from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus -from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata -from flyteadmin.models.core_comparison_expression import CoreComparisonExpression -from flyteadmin.models.core_compiled_task import CoreCompiledTask -from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow -from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure -from flyteadmin.models.core_conjunction_expression import CoreConjunctionExpression -from flyteadmin.models.core_connection_set import CoreConnectionSet -from flyteadmin.models.core_container import CoreContainer -from flyteadmin.models.core_container_port import CoreContainerPort -from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig -from flyteadmin.models.core_enum_type import CoreEnumType -from flyteadmin.models.core_error import CoreError -from flyteadmin.models.core_execution_error import CoreExecutionError -from flyteadmin.models.core_io_strategy import CoreIOStrategy -from flyteadmin.models.core_identifier import CoreIdentifier -from flyteadmin.models.core_identity import CoreIdentity -from flyteadmin.models.core_if_block import CoreIfBlock -from flyteadmin.models.core_if_else_block import CoreIfElseBlock -from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata -from flyteadmin.models.core_k8s_pod import CoreK8sPod -from flyteadmin.models.core_key_value_pair import CoreKeyValuePair -from flyteadmin.models.core_literal import CoreLiteral -from flyteadmin.models.core_literal_collection import CoreLiteralCollection -from flyteadmin.models.core_literal_map import CoreLiteralMap -from flyteadmin.models.core_literal_type import CoreLiteralType -from flyteadmin.models.core_node import CoreNode -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier -from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase -from flyteadmin.models.core_node_metadata import CoreNodeMetadata -from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client -from flyteadmin.models.core_o_auth2_token_request import CoreOAuth2TokenRequest -from flyteadmin.models.core_o_auth2_token_request_type import CoreOAuth2TokenRequestType -from flyteadmin.models.core_operand import CoreOperand -from flyteadmin.models.core_output_reference import CoreOutputReference -from flyteadmin.models.core_parameter import CoreParameter -from flyteadmin.models.core_parameter_map import CoreParameterMap -from flyteadmin.models.core_primitive import CorePrimitive -from flyteadmin.models.core_quality_of_service import CoreQualityOfService -from flyteadmin.models.core_quality_of_service_spec import CoreQualityOfServiceSpec -from flyteadmin.models.core_resource_type import CoreResourceType -from flyteadmin.models.core_resources import CoreResources -from flyteadmin.models.core_retry_strategy import CoreRetryStrategy -from flyteadmin.models.core_runtime_metadata import CoreRuntimeMetadata -from flyteadmin.models.core_scalar import CoreScalar -from flyteadmin.models.core_schema_type import CoreSchemaType -from flyteadmin.models.core_secret import CoreSecret -from flyteadmin.models.core_security_context import CoreSecurityContext -from flyteadmin.models.core_simple_type import CoreSimpleType -from flyteadmin.models.core_sql import CoreSql -from flyteadmin.models.core_structured_dataset import CoreStructuredDataset -from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata -from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType -from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier -from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase -from flyteadmin.models.core_task_log import CoreTaskLog -from flyteadmin.models.core_task_metadata import CoreTaskMetadata -from flyteadmin.models.core_task_node import CoreTaskNode -from flyteadmin.models.core_task_node_overrides import CoreTaskNodeOverrides -from flyteadmin.models.core_task_template import CoreTaskTemplate -from flyteadmin.models.core_type_annotation import CoreTypeAnnotation -from flyteadmin.models.core_type_structure import CoreTypeStructure -from flyteadmin.models.core_typed_interface import CoreTypedInterface -from flyteadmin.models.core_union import CoreUnion -from flyteadmin.models.core_union_info import CoreUnionInfo -from flyteadmin.models.core_union_type import CoreUnionType -from flyteadmin.models.core_variable import CoreVariable -from flyteadmin.models.core_variable_map import CoreVariableMap -from flyteadmin.models.core_void import CoreVoid -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier -from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase -from flyteadmin.models.core_workflow_metadata import CoreWorkflowMetadata -from flyteadmin.models.core_workflow_metadata_defaults import CoreWorkflowMetadataDefaults -from flyteadmin.models.core_workflow_node import CoreWorkflowNode -from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate -from flyteadmin.models.data_loading_config_literal_map_format import DataLoadingConfigLiteralMapFormat -from flyteadmin.models.event_external_resource_info import EventExternalResourceInfo -from flyteadmin.models.event_node_execution_event import EventNodeExecutionEvent -from flyteadmin.models.event_parent_node_execution_metadata import EventParentNodeExecutionMetadata -from flyteadmin.models.event_parent_task_execution_metadata import EventParentTaskExecutionMetadata -from flyteadmin.models.event_resource_pool_info import EventResourcePoolInfo -from flyteadmin.models.event_task_execution_event import EventTaskExecutionEvent -from flyteadmin.models.event_task_execution_metadata import EventTaskExecutionMetadata -from flyteadmin.models.event_workflow_execution_event import EventWorkflowExecutionEvent -from flyteadmin.models.execution_error_error_kind import ExecutionErrorErrorKind -from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode -from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata -from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution -from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution -from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata -from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata -from flyteadmin.models.flyteidlcore_schema import FlyteidlcoreSchema -from flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata import FlyteidleventDynamicWorkflowNodeMetadata -from flyteadmin.models.flyteidlevent_task_node_metadata import FlyteidleventTaskNodeMetadata -from flyteadmin.models.flyteidlevent_workflow_node_metadata import FlyteidleventWorkflowNodeMetadata -from flyteadmin.models.io_strategy_download_mode import IOStrategyDownloadMode -from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode -from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior -from flyteadmin.models.project_project_state import ProjectProjectState -from flyteadmin.models.protobuf_list_value import ProtobufListValue -from flyteadmin.models.protobuf_null_value import ProtobufNullValue -from flyteadmin.models.protobuf_struct import ProtobufStruct -from flyteadmin.models.protobuf_value import ProtobufValue -from flyteadmin.models.quality_of_service_tier import QualityOfServiceTier -from flyteadmin.models.resources_resource_entry import ResourcesResourceEntry -from flyteadmin.models.resources_resource_name import ResourcesResourceName -from flyteadmin.models.runtime_metadata_runtime_type import RuntimeMetadataRuntimeType -from flyteadmin.models.schema_column_schema_column_type import SchemaColumnSchemaColumnType -from flyteadmin.models.schema_type_schema_column import SchemaTypeSchemaColumn -from flyteadmin.models.secret_mount_type import SecretMountType -from flyteadmin.models.sort_direction import SortDirection -from flyteadmin.models.sql_dialect import SqlDialect -from flyteadmin.models.structured_dataset_type_dataset_column import StructuredDatasetTypeDatasetColumn -from flyteadmin.models.task_execution_metadata_instance_class import TaskExecutionMetadataInstanceClass -from flyteadmin.models.task_log_message_format import TaskLogMessageFormat -from flyteadmin.models.workflow_metadata_on_failure_policy import WorkflowMetadataOnFailurePolicy diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_abort_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_abort_metadata.py deleted file mode 100644 index 406ea9047..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_abort_metadata.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminAbortMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cause': 'str', - 'principal': 'str' - } - - attribute_map = { - 'cause': 'cause', - 'principal': 'principal' - } - - def __init__(self, cause=None, principal=None): # noqa: E501 - """AdminAbortMetadata - a model defined in Swagger""" # noqa: E501 - - self._cause = None - self._principal = None - self.discriminator = None - - if cause is not None: - self.cause = cause - if principal is not None: - self.principal = principal - - @property - def cause(self): - """Gets the cause of this AdminAbortMetadata. # noqa: E501 - - In the case of a user-specified abort, this will pass along the user-supplied cause. # noqa: E501 - - :return: The cause of this AdminAbortMetadata. # noqa: E501 - :rtype: str - """ - return self._cause - - @cause.setter - def cause(self, cause): - """Sets the cause of this AdminAbortMetadata. - - In the case of a user-specified abort, this will pass along the user-supplied cause. # noqa: E501 - - :param cause: The cause of this AdminAbortMetadata. # noqa: E501 - :type: str - """ - - self._cause = cause - - @property - def principal(self): - """Gets the principal of this AdminAbortMetadata. # noqa: E501 - - - :return: The principal of this AdminAbortMetadata. # noqa: E501 - :rtype: str - """ - return self._principal - - @principal.setter - def principal(self, principal): - """Sets the principal of this AdminAbortMetadata. - - - :param principal: The principal of this AdminAbortMetadata. # noqa: E501 - :type: str - """ - - self._principal = principal - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminAbortMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminAbortMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_annotations.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_annotations.py deleted file mode 100644 index c0aeceade..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_annotations.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminAnnotations(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'values': 'dict(str, str)' - } - - attribute_map = { - 'values': 'values' - } - - def __init__(self, values=None): # noqa: E501 - """AdminAnnotations - a model defined in Swagger""" # noqa: E501 - - self._values = None - self.discriminator = None - - if values is not None: - self.values = values - - @property - def values(self): - """Gets the values of this AdminAnnotations. # noqa: E501 - - Map of custom annotations to be applied to the execution resource. # noqa: E501 - - :return: The values of this AdminAnnotations. # noqa: E501 - :rtype: dict(str, str) - """ - return self._values - - @values.setter - def values(self, values): - """Sets the values of this AdminAnnotations. - - Map of custom annotations to be applied to the execution resource. # noqa: E501 - - :param values: The values of this AdminAnnotations. # noqa: E501 - :type: dict(str, str) - """ - - self._values = values - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminAnnotations, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminAnnotations): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth.py deleted file mode 100644 index a994ca210..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminAuth(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'assumable_iam_role': 'str', - 'kubernetes_service_account': 'str' - } - - attribute_map = { - 'assumable_iam_role': 'assumable_iam_role', - 'kubernetes_service_account': 'kubernetes_service_account' - } - - def __init__(self, assumable_iam_role=None, kubernetes_service_account=None): # noqa: E501 - """AdminAuth - a model defined in Swagger""" # noqa: E501 - - self._assumable_iam_role = None - self._kubernetes_service_account = None - self.discriminator = None - - if assumable_iam_role is not None: - self.assumable_iam_role = assumable_iam_role - if kubernetes_service_account is not None: - self.kubernetes_service_account = kubernetes_service_account - - @property - def assumable_iam_role(self): - """Gets the assumable_iam_role of this AdminAuth. # noqa: E501 - - Defines an optional iam role which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :return: The assumable_iam_role of this AdminAuth. # noqa: E501 - :rtype: str - """ - return self._assumable_iam_role - - @assumable_iam_role.setter - def assumable_iam_role(self, assumable_iam_role): - """Sets the assumable_iam_role of this AdminAuth. - - Defines an optional iam role which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :param assumable_iam_role: The assumable_iam_role of this AdminAuth. # noqa: E501 - :type: str - """ - - self._assumable_iam_role = assumable_iam_role - - @property - def kubernetes_service_account(self): - """Gets the kubernetes_service_account of this AdminAuth. # noqa: E501 - - Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :return: The kubernetes_service_account of this AdminAuth. # noqa: E501 - :rtype: str - """ - return self._kubernetes_service_account - - @kubernetes_service_account.setter - def kubernetes_service_account(self, kubernetes_service_account): - """Sets the kubernetes_service_account of this AdminAuth. - - Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :param kubernetes_service_account: The kubernetes_service_account of this AdminAuth. # noqa: E501 - :type: str - """ - - self._kubernetes_service_account = kubernetes_service_account - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminAuth, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminAuth): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth_role.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth_role.py deleted file mode 100644 index 2cfde51be..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth_role.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminAuthRole(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'assumable_iam_role': 'str', - 'kubernetes_service_account': 'str' - } - - attribute_map = { - 'assumable_iam_role': 'assumable_iam_role', - 'kubernetes_service_account': 'kubernetes_service_account' - } - - def __init__(self, assumable_iam_role=None, kubernetes_service_account=None): # noqa: E501 - """AdminAuthRole - a model defined in Swagger""" # noqa: E501 - - self._assumable_iam_role = None - self._kubernetes_service_account = None - self.discriminator = None - - if assumable_iam_role is not None: - self.assumable_iam_role = assumable_iam_role - if kubernetes_service_account is not None: - self.kubernetes_service_account = kubernetes_service_account - - @property - def assumable_iam_role(self): - """Gets the assumable_iam_role of this AdminAuthRole. # noqa: E501 - - Defines an optional iam role which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :return: The assumable_iam_role of this AdminAuthRole. # noqa: E501 - :rtype: str - """ - return self._assumable_iam_role - - @assumable_iam_role.setter - def assumable_iam_role(self, assumable_iam_role): - """Sets the assumable_iam_role of this AdminAuthRole. - - Defines an optional iam role which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :param assumable_iam_role: The assumable_iam_role of this AdminAuthRole. # noqa: E501 - :type: str - """ - - self._assumable_iam_role = assumable_iam_role - - @property - def kubernetes_service_account(self): - """Gets the kubernetes_service_account of this AdminAuthRole. # noqa: E501 - - Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :return: The kubernetes_service_account of this AdminAuthRole. # noqa: E501 - :rtype: str - """ - return self._kubernetes_service_account - - @kubernetes_service_account.setter - def kubernetes_service_account(self, kubernetes_service_account): - """Sets the kubernetes_service_account of this AdminAuthRole. - - Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :param kubernetes_service_account: The kubernetes_service_account of this AdminAuthRole. # noqa: E501 - :type: str - """ - - self._kubernetes_service_account = kubernetes_service_account - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminAuthRole, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminAuthRole): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py deleted file mode 100644 index 15f5fd96f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminClusterAssignment(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cluster_pool_name': 'str' - } - - attribute_map = { - 'cluster_pool_name': 'cluster_pool_name' - } - - def __init__(self, cluster_pool_name=None): # noqa: E501 - """AdminClusterAssignment - a model defined in Swagger""" # noqa: E501 - - self._cluster_pool_name = None - self.discriminator = None - - if cluster_pool_name is not None: - self.cluster_pool_name = cluster_pool_name - - @property - def cluster_pool_name(self): - """Gets the cluster_pool_name of this AdminClusterAssignment. # noqa: E501 - - - :return: The cluster_pool_name of this AdminClusterAssignment. # noqa: E501 - :rtype: str - """ - return self._cluster_pool_name - - @cluster_pool_name.setter - def cluster_pool_name(self, cluster_pool_name): - """Sets the cluster_pool_name of this AdminClusterAssignment. - - - :param cluster_pool_name: The cluster_pool_name of this AdminClusterAssignment. # noqa: E501 - :type: str - """ - - self._cluster_pool_name = cluster_pool_name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminClusterAssignment, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminClusterAssignment): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py deleted file mode 100644 index 8b9627b37..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminClusterResourceAttributes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'dict(str, str)' - } - - attribute_map = { - 'attributes': 'attributes' - } - - def __init__(self, attributes=None): # noqa: E501 - """AdminClusterResourceAttributes - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - - @property - def attributes(self): - """Gets the attributes of this AdminClusterResourceAttributes. # noqa: E501 - - Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. # noqa: E501 - - :return: The attributes of this AdminClusterResourceAttributes. # noqa: E501 - :rtype: dict(str, str) - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminClusterResourceAttributes. - - Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. # noqa: E501 - - :param attributes: The attributes of this AdminClusterResourceAttributes. # noqa: E501 - :type: dict(str, str) - """ - - self._attributes = attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminClusterResourceAttributes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminClusterResourceAttributes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cron_schedule.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cron_schedule.py deleted file mode 100644 index 7f86dcaaf..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cron_schedule.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminCronSchedule(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'schedule': 'str', - 'offset': 'str' - } - - attribute_map = { - 'schedule': 'schedule', - 'offset': 'offset' - } - - def __init__(self, schedule=None, offset=None): # noqa: E501 - """AdminCronSchedule - a model defined in Swagger""" # noqa: E501 - - self._schedule = None - self._offset = None - self.discriminator = None - - if schedule is not None: - self.schedule = schedule - if offset is not None: - self.offset = offset - - @property - def schedule(self): - """Gets the schedule of this AdminCronSchedule. # noqa: E501 - - - :return: The schedule of this AdminCronSchedule. # noqa: E501 - :rtype: str - """ - return self._schedule - - @schedule.setter - def schedule(self, schedule): - """Sets the schedule of this AdminCronSchedule. - - - :param schedule: The schedule of this AdminCronSchedule. # noqa: E501 - :type: str - """ - - self._schedule = schedule - - @property - def offset(self): - """Gets the offset of this AdminCronSchedule. # noqa: E501 - - - :return: The offset of this AdminCronSchedule. # noqa: E501 - :rtype: str - """ - return self._offset - - @offset.setter - def offset(self, offset): - """Sets the offset of this AdminCronSchedule. - - - :param offset: The offset of this AdminCronSchedule. # noqa: E501 - :type: str - """ - - self._offset = offset - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminCronSchedule, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminCronSchedule): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_domain.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_domain.py deleted file mode 100644 index 9c500ee74..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_domain.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminDomain(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'str', - 'name': 'str' - } - - attribute_map = { - 'id': 'id', - 'name': 'name' - } - - def __init__(self, id=None, name=None): # noqa: E501 - """AdminDomain - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._name = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - - @property - def id(self): - """Gets the id of this AdminDomain. # noqa: E501 - - Globally unique domain name. # noqa: E501 - - :return: The id of this AdminDomain. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminDomain. - - Globally unique domain name. # noqa: E501 - - :param id: The id of this AdminDomain. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def name(self): - """Gets the name of this AdminDomain. # noqa: E501 - - Display name. # noqa: E501 - - :return: The name of this AdminDomain. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this AdminDomain. - - Display name. # noqa: E501 - - :param name: The name of this AdminDomain. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminDomain, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminDomain): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_email_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_email_notification.py deleted file mode 100644 index f97f62665..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_email_notification.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminEmailNotification(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'recipients_email': 'list[str]' - } - - attribute_map = { - 'recipients_email': 'recipients_email' - } - - def __init__(self, recipients_email=None): # noqa: E501 - """AdminEmailNotification - a model defined in Swagger""" # noqa: E501 - - self._recipients_email = None - self.discriminator = None - - if recipients_email is not None: - self.recipients_email = recipients_email - - @property - def recipients_email(self): - """Gets the recipients_email of this AdminEmailNotification. # noqa: E501 - - - :return: The recipients_email of this AdminEmailNotification. # noqa: E501 - :rtype: list[str] - """ - return self._recipients_email - - @recipients_email.setter - def recipients_email(self, recipients_email): - """Sets the recipients_email of this AdminEmailNotification. - - - :param recipients_email: The recipients_email of this AdminEmailNotification. # noqa: E501 - :type: list[str] - """ - - self._recipients_email = recipients_email - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminEmailNotification, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminEmailNotification): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution.py deleted file mode 100644 index 1de4f19d9..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_execution_closure import AdminExecutionClosure # noqa: F401,E501 -from flyteadmin.models.admin_execution_spec import AdminExecutionSpec # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class AdminExecution(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreWorkflowExecutionIdentifier', - 'spec': 'AdminExecutionSpec', - 'closure': 'AdminExecutionClosure' - } - - attribute_map = { - 'id': 'id', - 'spec': 'spec', - 'closure': 'closure' - } - - def __init__(self, id=None, spec=None, closure=None): # noqa: E501 - """AdminExecution - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._spec = None - self._closure = None - self.discriminator = None - - if id is not None: - self.id = id - if spec is not None: - self.spec = spec - if closure is not None: - self.closure = closure - - @property - def id(self): - """Gets the id of this AdminExecution. # noqa: E501 - - Unique identifier of the workflow execution. # noqa: E501 - - :return: The id of this AdminExecution. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminExecution. - - Unique identifier of the workflow execution. # noqa: E501 - - :param id: The id of this AdminExecution. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._id = id - - @property - def spec(self): - """Gets the spec of this AdminExecution. # noqa: E501 - - User-provided configuration and inputs for launching the execution. # noqa: E501 - - :return: The spec of this AdminExecution. # noqa: E501 - :rtype: AdminExecutionSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this AdminExecution. - - User-provided configuration and inputs for launching the execution. # noqa: E501 - - :param spec: The spec of this AdminExecution. # noqa: E501 - :type: AdminExecutionSpec - """ - - self._spec = spec - - @property - def closure(self): - """Gets the closure of this AdminExecution. # noqa: E501 - - Execution results. # noqa: E501 - - :return: The closure of this AdminExecution. # noqa: E501 - :rtype: AdminExecutionClosure - """ - return self._closure - - @closure.setter - def closure(self, closure): - """Sets the closure of this AdminExecution. - - Execution results. # noqa: E501 - - :param closure: The closure of this AdminExecution. # noqa: E501 - :type: AdminExecutionClosure - """ - - self._closure = closure - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecution, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecution): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_closure.py deleted file mode 100644 index a08f3ca1d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_closure.py +++ /dev/null @@ -1,486 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata # noqa: F401,E501 -from flyteadmin.models.admin_execution_state_change_details import AdminExecutionStateChangeDetails # noqa: F401,E501 -from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob # noqa: F401,E501 -from flyteadmin.models.admin_notification import AdminNotification # noqa: F401,E501 -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase # noqa: F401,E501 - - -class AdminExecutionClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'outputs': 'AdminLiteralMapBlob', - 'error': 'CoreExecutionError', - 'abort_cause': 'str', - 'abort_metadata': 'AdminAbortMetadata', - 'output_data': 'CoreLiteralMap', - 'computed_inputs': 'CoreLiteralMap', - 'phase': 'CoreWorkflowExecutionPhase', - 'started_at': 'datetime', - 'duration': 'str', - 'created_at': 'datetime', - 'updated_at': 'datetime', - 'notifications': 'list[AdminNotification]', - 'workflow_id': 'CoreIdentifier', - 'state_change_details': 'AdminExecutionStateChangeDetails' - } - - attribute_map = { - 'outputs': 'outputs', - 'error': 'error', - 'abort_cause': 'abort_cause', - 'abort_metadata': 'abort_metadata', - 'output_data': 'output_data', - 'computed_inputs': 'computed_inputs', - 'phase': 'phase', - 'started_at': 'started_at', - 'duration': 'duration', - 'created_at': 'created_at', - 'updated_at': 'updated_at', - 'notifications': 'notifications', - 'workflow_id': 'workflow_id', - 'state_change_details': 'state_change_details' - } - - def __init__(self, outputs=None, error=None, abort_cause=None, abort_metadata=None, output_data=None, computed_inputs=None, phase=None, started_at=None, duration=None, created_at=None, updated_at=None, notifications=None, workflow_id=None, state_change_details=None): # noqa: E501 - """AdminExecutionClosure - a model defined in Swagger""" # noqa: E501 - - self._outputs = None - self._error = None - self._abort_cause = None - self._abort_metadata = None - self._output_data = None - self._computed_inputs = None - self._phase = None - self._started_at = None - self._duration = None - self._created_at = None - self._updated_at = None - self._notifications = None - self._workflow_id = None - self._state_change_details = None - self.discriminator = None - - if outputs is not None: - self.outputs = outputs - if error is not None: - self.error = error - if abort_cause is not None: - self.abort_cause = abort_cause - if abort_metadata is not None: - self.abort_metadata = abort_metadata - if output_data is not None: - self.output_data = output_data - if computed_inputs is not None: - self.computed_inputs = computed_inputs - if phase is not None: - self.phase = phase - if started_at is not None: - self.started_at = started_at - if duration is not None: - self.duration = duration - if created_at is not None: - self.created_at = created_at - if updated_at is not None: - self.updated_at = updated_at - if notifications is not None: - self.notifications = notifications - if workflow_id is not None: - self.workflow_id = workflow_id - if state_change_details is not None: - self.state_change_details = state_change_details - - @property - def outputs(self): - """Gets the outputs of this AdminExecutionClosure. # noqa: E501 - - Output URI in the case of a successful execution. DEPRECATED. Use GetExecutionData to fetch output data instead. # noqa: E501 - - :return: The outputs of this AdminExecutionClosure. # noqa: E501 - :rtype: AdminLiteralMapBlob - """ - return self._outputs - - @outputs.setter - def outputs(self, outputs): - """Sets the outputs of this AdminExecutionClosure. - - Output URI in the case of a successful execution. DEPRECATED. Use GetExecutionData to fetch output data instead. # noqa: E501 - - :param outputs: The outputs of this AdminExecutionClosure. # noqa: E501 - :type: AdminLiteralMapBlob - """ - - self._outputs = outputs - - @property - def error(self): - """Gets the error of this AdminExecutionClosure. # noqa: E501 - - Error information in the case of a failed execution. # noqa: E501 - - :return: The error of this AdminExecutionClosure. # noqa: E501 - :rtype: CoreExecutionError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this AdminExecutionClosure. - - Error information in the case of a failed execution. # noqa: E501 - - :param error: The error of this AdminExecutionClosure. # noqa: E501 - :type: CoreExecutionError - """ - - self._error = error - - @property - def abort_cause(self): - """Gets the abort_cause of this AdminExecutionClosure. # noqa: E501 - - In the case of a user-specified abort, this will pass along the user-supplied cause. # noqa: E501 - - :return: The abort_cause of this AdminExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._abort_cause - - @abort_cause.setter - def abort_cause(self, abort_cause): - """Sets the abort_cause of this AdminExecutionClosure. - - In the case of a user-specified abort, this will pass along the user-supplied cause. # noqa: E501 - - :param abort_cause: The abort_cause of this AdminExecutionClosure. # noqa: E501 - :type: str - """ - - self._abort_cause = abort_cause - - @property - def abort_metadata(self): - """Gets the abort_metadata of this AdminExecutionClosure. # noqa: E501 - - In the case of a user-specified abort, this will pass along the user and their supplied cause. # noqa: E501 - - :return: The abort_metadata of this AdminExecutionClosure. # noqa: E501 - :rtype: AdminAbortMetadata - """ - return self._abort_metadata - - @abort_metadata.setter - def abort_metadata(self, abort_metadata): - """Sets the abort_metadata of this AdminExecutionClosure. - - In the case of a user-specified abort, this will pass along the user and their supplied cause. # noqa: E501 - - :param abort_metadata: The abort_metadata of this AdminExecutionClosure. # noqa: E501 - :type: AdminAbortMetadata - """ - - self._abort_metadata = abort_metadata - - @property - def output_data(self): - """Gets the output_data of this AdminExecutionClosure. # noqa: E501 - - Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead. # noqa: E501 - - :return: The output_data of this AdminExecutionClosure. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._output_data - - @output_data.setter - def output_data(self, output_data): - """Sets the output_data of this AdminExecutionClosure. - - Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead. # noqa: E501 - - :param output_data: The output_data of this AdminExecutionClosure. # noqa: E501 - :type: CoreLiteralMap - """ - - self._output_data = output_data - - @property - def computed_inputs(self): - """Gets the computed_inputs of this AdminExecutionClosure. # noqa: E501 - - - :return: The computed_inputs of this AdminExecutionClosure. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._computed_inputs - - @computed_inputs.setter - def computed_inputs(self, computed_inputs): - """Sets the computed_inputs of this AdminExecutionClosure. - - - :param computed_inputs: The computed_inputs of this AdminExecutionClosure. # noqa: E501 - :type: CoreLiteralMap - """ - - self._computed_inputs = computed_inputs - - @property - def phase(self): - """Gets the phase of this AdminExecutionClosure. # noqa: E501 - - Most recent recorded phase for the execution. # noqa: E501 - - :return: The phase of this AdminExecutionClosure. # noqa: E501 - :rtype: CoreWorkflowExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this AdminExecutionClosure. - - Most recent recorded phase for the execution. # noqa: E501 - - :param phase: The phase of this AdminExecutionClosure. # noqa: E501 - :type: CoreWorkflowExecutionPhase - """ - - self._phase = phase - - @property - def started_at(self): - """Gets the started_at of this AdminExecutionClosure. # noqa: E501 - - Reported time at which the execution began running. # noqa: E501 - - :return: The started_at of this AdminExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._started_at - - @started_at.setter - def started_at(self, started_at): - """Sets the started_at of this AdminExecutionClosure. - - Reported time at which the execution began running. # noqa: E501 - - :param started_at: The started_at of this AdminExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._started_at = started_at - - @property - def duration(self): - """Gets the duration of this AdminExecutionClosure. # noqa: E501 - - The amount of time the execution spent running. # noqa: E501 - - :return: The duration of this AdminExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this AdminExecutionClosure. - - The amount of time the execution spent running. # noqa: E501 - - :param duration: The duration of this AdminExecutionClosure. # noqa: E501 - :type: str - """ - - self._duration = duration - - @property - def created_at(self): - """Gets the created_at of this AdminExecutionClosure. # noqa: E501 - - Reported time at which the execution was created. # noqa: E501 - - :return: The created_at of this AdminExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this AdminExecutionClosure. - - Reported time at which the execution was created. # noqa: E501 - - :param created_at: The created_at of this AdminExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._created_at = created_at - - @property - def updated_at(self): - """Gets the updated_at of this AdminExecutionClosure. # noqa: E501 - - Reported time at which the execution was last updated. # noqa: E501 - - :return: The updated_at of this AdminExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - """Sets the updated_at of this AdminExecutionClosure. - - Reported time at which the execution was last updated. # noqa: E501 - - :param updated_at: The updated_at of this AdminExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._updated_at = updated_at - - @property - def notifications(self): - """Gets the notifications of this AdminExecutionClosure. # noqa: E501 - - The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan. # noqa: E501 - - :return: The notifications of this AdminExecutionClosure. # noqa: E501 - :rtype: list[AdminNotification] - """ - return self._notifications - - @notifications.setter - def notifications(self, notifications): - """Sets the notifications of this AdminExecutionClosure. - - The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan. # noqa: E501 - - :param notifications: The notifications of this AdminExecutionClosure. # noqa: E501 - :type: list[AdminNotification] - """ - - self._notifications = notifications - - @property - def workflow_id(self): - """Gets the workflow_id of this AdminExecutionClosure. # noqa: E501 - - Identifies the workflow definition for this execution. # noqa: E501 - - :return: The workflow_id of this AdminExecutionClosure. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._workflow_id - - @workflow_id.setter - def workflow_id(self, workflow_id): - """Sets the workflow_id of this AdminExecutionClosure. - - Identifies the workflow definition for this execution. # noqa: E501 - - :param workflow_id: The workflow_id of this AdminExecutionClosure. # noqa: E501 - :type: CoreIdentifier - """ - - self._workflow_id = workflow_id - - @property - def state_change_details(self): - """Gets the state_change_details of this AdminExecutionClosure. # noqa: E501 - - - :return: The state_change_details of this AdminExecutionClosure. # noqa: E501 - :rtype: AdminExecutionStateChangeDetails - """ - return self._state_change_details - - @state_change_details.setter - def state_change_details(self, state_change_details): - """Sets the state_change_details of this AdminExecutionClosure. - - - :param state_change_details: The state_change_details of this AdminExecutionClosure. # noqa: E501 - :type: AdminExecutionStateChangeDetails - """ - - self._state_change_details = state_change_details - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_cluster_label.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_cluster_label.py deleted file mode 100644 index 974d71ed6..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_cluster_label.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminExecutionClusterLabel(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'value': 'str' - } - - attribute_map = { - 'value': 'value' - } - - def __init__(self, value=None): # noqa: E501 - """AdminExecutionClusterLabel - a model defined in Swagger""" # noqa: E501 - - self._value = None - self.discriminator = None - - if value is not None: - self.value = value - - @property - def value(self): - """Gets the value of this AdminExecutionClusterLabel. # noqa: E501 - - - :return: The value of this AdminExecutionClusterLabel. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this AdminExecutionClusterLabel. - - - :param value: The value of this AdminExecutionClusterLabel. # noqa: E501 - :type: str - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionClusterLabel, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionClusterLabel): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_request.py deleted file mode 100644 index 5c5373a88..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_request.py +++ /dev/null @@ -1,222 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_execution_spec import AdminExecutionSpec # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 - - -class AdminExecutionCreateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'name': 'str', - 'spec': 'AdminExecutionSpec', - 'inputs': 'CoreLiteralMap' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'name': 'name', - 'spec': 'spec', - 'inputs': 'inputs' - } - - def __init__(self, project=None, domain=None, name=None, spec=None, inputs=None): # noqa: E501 - """AdminExecutionCreateRequest - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._name = None - self._spec = None - self._inputs = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if name is not None: - self.name = name - if spec is not None: - self.spec = spec - if inputs is not None: - self.inputs = inputs - - @property - def project(self): - """Gets the project of this AdminExecutionCreateRequest. # noqa: E501 - - - :return: The project of this AdminExecutionCreateRequest. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminExecutionCreateRequest. - - - :param project: The project of this AdminExecutionCreateRequest. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this AdminExecutionCreateRequest. # noqa: E501 - - - :return: The domain of this AdminExecutionCreateRequest. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminExecutionCreateRequest. - - - :param domain: The domain of this AdminExecutionCreateRequest. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def name(self): - """Gets the name of this AdminExecutionCreateRequest. # noqa: E501 - - - :return: The name of this AdminExecutionCreateRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this AdminExecutionCreateRequest. - - - :param name: The name of this AdminExecutionCreateRequest. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def spec(self): - """Gets the spec of this AdminExecutionCreateRequest. # noqa: E501 - - - :return: The spec of this AdminExecutionCreateRequest. # noqa: E501 - :rtype: AdminExecutionSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this AdminExecutionCreateRequest. - - - :param spec: The spec of this AdminExecutionCreateRequest. # noqa: E501 - :type: AdminExecutionSpec - """ - - self._spec = spec - - @property - def inputs(self): - """Gets the inputs of this AdminExecutionCreateRequest. # noqa: E501 - - - :return: The inputs of this AdminExecutionCreateRequest. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this AdminExecutionCreateRequest. - - - :param inputs: The inputs of this AdminExecutionCreateRequest. # noqa: E501 - :type: CoreLiteralMap - """ - - self._inputs = inputs - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionCreateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionCreateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_response.py deleted file mode 100644 index 664459cde..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_response.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class AdminExecutionCreateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreWorkflowExecutionIdentifier' - } - - attribute_map = { - 'id': 'id' - } - - def __init__(self, id=None): # noqa: E501 - """AdminExecutionCreateResponse - a model defined in Swagger""" # noqa: E501 - - self._id = None - self.discriminator = None - - if id is not None: - self.id = id - - @property - def id(self): - """Gets the id of this AdminExecutionCreateResponse. # noqa: E501 - - - :return: The id of this AdminExecutionCreateResponse. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminExecutionCreateResponse. - - - :param id: The id of this AdminExecutionCreateResponse. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._id = id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionCreateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionCreateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_list.py deleted file mode 100644 index 3821efb2f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_list.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_execution import AdminExecution # noqa: F401,E501 - - -class AdminExecutionList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'executions': 'list[AdminExecution]', - 'token': 'str' - } - - attribute_map = { - 'executions': 'executions', - 'token': 'token' - } - - def __init__(self, executions=None, token=None): # noqa: E501 - """AdminExecutionList - a model defined in Swagger""" # noqa: E501 - - self._executions = None - self._token = None - self.discriminator = None - - if executions is not None: - self.executions = executions - if token is not None: - self.token = token - - @property - def executions(self): - """Gets the executions of this AdminExecutionList. # noqa: E501 - - - :return: The executions of this AdminExecutionList. # noqa: E501 - :rtype: list[AdminExecution] - """ - return self._executions - - @executions.setter - def executions(self, executions): - """Sets the executions of this AdminExecutionList. - - - :param executions: The executions of this AdminExecutionList. # noqa: E501 - :type: list[AdminExecution] - """ - - self._executions = executions - - @property - def token(self): - """Gets the token of this AdminExecutionList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminExecutionList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminExecutionList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminExecutionList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py deleted file mode 100644 index 7deb9f109..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py +++ /dev/null @@ -1,286 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_system_metadata import AdminSystemMetadata # noqa: F401,E501 -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 -from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode # noqa: F401,E501 - - -class AdminExecutionMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'mode': 'ExecutionMetadataExecutionMode', - 'principal': 'str', - 'nesting': 'int', - 'scheduled_at': 'datetime', - 'parent_node_execution': 'CoreNodeExecutionIdentifier', - 'reference_execution': 'CoreWorkflowExecutionIdentifier', - 'system_metadata': 'AdminSystemMetadata' - } - - attribute_map = { - 'mode': 'mode', - 'principal': 'principal', - 'nesting': 'nesting', - 'scheduled_at': 'scheduled_at', - 'parent_node_execution': 'parent_node_execution', - 'reference_execution': 'reference_execution', - 'system_metadata': 'system_metadata' - } - - def __init__(self, mode=None, principal=None, nesting=None, scheduled_at=None, parent_node_execution=None, reference_execution=None, system_metadata=None): # noqa: E501 - """AdminExecutionMetadata - a model defined in Swagger""" # noqa: E501 - - self._mode = None - self._principal = None - self._nesting = None - self._scheduled_at = None - self._parent_node_execution = None - self._reference_execution = None - self._system_metadata = None - self.discriminator = None - - if mode is not None: - self.mode = mode - if principal is not None: - self.principal = principal - if nesting is not None: - self.nesting = nesting - if scheduled_at is not None: - self.scheduled_at = scheduled_at - if parent_node_execution is not None: - self.parent_node_execution = parent_node_execution - if reference_execution is not None: - self.reference_execution = reference_execution - if system_metadata is not None: - self.system_metadata = system_metadata - - @property - def mode(self): - """Gets the mode of this AdminExecutionMetadata. # noqa: E501 - - - :return: The mode of this AdminExecutionMetadata. # noqa: E501 - :rtype: ExecutionMetadataExecutionMode - """ - return self._mode - - @mode.setter - def mode(self, mode): - """Sets the mode of this AdminExecutionMetadata. - - - :param mode: The mode of this AdminExecutionMetadata. # noqa: E501 - :type: ExecutionMetadataExecutionMode - """ - - self._mode = mode - - @property - def principal(self): - """Gets the principal of this AdminExecutionMetadata. # noqa: E501 - - Identifier of the entity that triggered this execution. For systems using back-end authentication any value set here will be discarded in favor of the authenticated user context. # noqa: E501 - - :return: The principal of this AdminExecutionMetadata. # noqa: E501 - :rtype: str - """ - return self._principal - - @principal.setter - def principal(self, principal): - """Sets the principal of this AdminExecutionMetadata. - - Identifier of the entity that triggered this execution. For systems using back-end authentication any value set here will be discarded in favor of the authenticated user context. # noqa: E501 - - :param principal: The principal of this AdminExecutionMetadata. # noqa: E501 - :type: str - """ - - self._principal = principal - - @property - def nesting(self): - """Gets the nesting of this AdminExecutionMetadata. # noqa: E501 - - Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1. # noqa: E501 - - :return: The nesting of this AdminExecutionMetadata. # noqa: E501 - :rtype: int - """ - return self._nesting - - @nesting.setter - def nesting(self, nesting): - """Sets the nesting of this AdminExecutionMetadata. - - Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1. # noqa: E501 - - :param nesting: The nesting of this AdminExecutionMetadata. # noqa: E501 - :type: int - """ - - self._nesting = nesting - - @property - def scheduled_at(self): - """Gets the scheduled_at of this AdminExecutionMetadata. # noqa: E501 - - For scheduled executions, the requested time for execution for this specific schedule invocation. # noqa: E501 - - :return: The scheduled_at of this AdminExecutionMetadata. # noqa: E501 - :rtype: datetime - """ - return self._scheduled_at - - @scheduled_at.setter - def scheduled_at(self, scheduled_at): - """Sets the scheduled_at of this AdminExecutionMetadata. - - For scheduled executions, the requested time for execution for this specific schedule invocation. # noqa: E501 - - :param scheduled_at: The scheduled_at of this AdminExecutionMetadata. # noqa: E501 - :type: datetime - """ - - self._scheduled_at = scheduled_at - - @property - def parent_node_execution(self): - """Gets the parent_node_execution of this AdminExecutionMetadata. # noqa: E501 - - - :return: The parent_node_execution of this AdminExecutionMetadata. # noqa: E501 - :rtype: CoreNodeExecutionIdentifier - """ - return self._parent_node_execution - - @parent_node_execution.setter - def parent_node_execution(self, parent_node_execution): - """Sets the parent_node_execution of this AdminExecutionMetadata. - - - :param parent_node_execution: The parent_node_execution of this AdminExecutionMetadata. # noqa: E501 - :type: CoreNodeExecutionIdentifier - """ - - self._parent_node_execution = parent_node_execution - - @property - def reference_execution(self): - """Gets the reference_execution of this AdminExecutionMetadata. # noqa: E501 - - Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution. # noqa: E501 - - :return: The reference_execution of this AdminExecutionMetadata. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._reference_execution - - @reference_execution.setter - def reference_execution(self, reference_execution): - """Sets the reference_execution of this AdminExecutionMetadata. - - Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution. # noqa: E501 - - :param reference_execution: The reference_execution of this AdminExecutionMetadata. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._reference_execution = reference_execution - - @property - def system_metadata(self): - """Gets the system_metadata of this AdminExecutionMetadata. # noqa: E501 - - Optional, platform-specific metadata about the execution. In this the future this may be gated behind an ACL or some sort of authorization. # noqa: E501 - - :return: The system_metadata of this AdminExecutionMetadata. # noqa: E501 - :rtype: AdminSystemMetadata - """ - return self._system_metadata - - @system_metadata.setter - def system_metadata(self, system_metadata): - """Sets the system_metadata of this AdminExecutionMetadata. - - Optional, platform-specific metadata about the execution. In this the future this may be gated behind an ACL or some sort of authorization. # noqa: E501 - - :param system_metadata: The system_metadata of this AdminExecutionMetadata. # noqa: E501 - :type: AdminSystemMetadata - """ - - self._system_metadata = system_metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py deleted file mode 100644 index c8ac3d9d2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminExecutionQueueAttributes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'tags': 'list[str]' - } - - attribute_map = { - 'tags': 'tags' - } - - def __init__(self, tags=None): # noqa: E501 - """AdminExecutionQueueAttributes - a model defined in Swagger""" # noqa: E501 - - self._tags = None - self.discriminator = None - - if tags is not None: - self.tags = tags - - @property - def tags(self): - """Gets the tags of this AdminExecutionQueueAttributes. # noqa: E501 - - Tags used for assigning execution queues for tasks defined within this project. # noqa: E501 - - :return: The tags of this AdminExecutionQueueAttributes. # noqa: E501 - :rtype: list[str] - """ - return self._tags - - @tags.setter - def tags(self, tags): - """Sets the tags of this AdminExecutionQueueAttributes. - - Tags used for assigning execution queues for tasks defined within this project. # noqa: E501 - - :param tags: The tags of this AdminExecutionQueueAttributes. # noqa: E501 - :type: list[str] - """ - - self._tags = tags - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionQueueAttributes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionQueueAttributes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_recover_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_recover_request.py deleted file mode 100644 index acd856ada..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_recover_request.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class AdminExecutionRecoverRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreWorkflowExecutionIdentifier', - 'name': 'str', - 'metadata': 'AdminExecutionMetadata' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'metadata': 'metadata' - } - - def __init__(self, id=None, name=None, metadata=None): # noqa: E501 - """AdminExecutionRecoverRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._name = None - self._metadata = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if metadata is not None: - self.metadata = metadata - - @property - def id(self): - """Gets the id of this AdminExecutionRecoverRequest. # noqa: E501 - - Identifier of the workflow execution to recover. # noqa: E501 - - :return: The id of this AdminExecutionRecoverRequest. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminExecutionRecoverRequest. - - Identifier of the workflow execution to recover. # noqa: E501 - - :param id: The id of this AdminExecutionRecoverRequest. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._id = id - - @property - def name(self): - """Gets the name of this AdminExecutionRecoverRequest. # noqa: E501 - - - :return: The name of this AdminExecutionRecoverRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this AdminExecutionRecoverRequest. - - - :param name: The name of this AdminExecutionRecoverRequest. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def metadata(self): - """Gets the metadata of this AdminExecutionRecoverRequest. # noqa: E501 - - Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. # noqa: E501 - - :return: The metadata of this AdminExecutionRecoverRequest. # noqa: E501 - :rtype: AdminExecutionMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this AdminExecutionRecoverRequest. - - Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. # noqa: E501 - - :param metadata: The metadata of this AdminExecutionRecoverRequest. # noqa: E501 - :type: AdminExecutionMetadata - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionRecoverRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionRecoverRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_relaunch_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_relaunch_request.py deleted file mode 100644 index 4fb42a38b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_relaunch_request.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class AdminExecutionRelaunchRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreWorkflowExecutionIdentifier', - 'name': 'str' - } - - attribute_map = { - 'id': 'id', - 'name': 'name' - } - - def __init__(self, id=None, name=None): # noqa: E501 - """AdminExecutionRelaunchRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._name = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - - @property - def id(self): - """Gets the id of this AdminExecutionRelaunchRequest. # noqa: E501 - - - :return: The id of this AdminExecutionRelaunchRequest. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminExecutionRelaunchRequest. - - - :param id: The id of this AdminExecutionRelaunchRequest. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._id = id - - @property - def name(self): - """Gets the name of this AdminExecutionRelaunchRequest. # noqa: E501 - - - :return: The name of this AdminExecutionRelaunchRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this AdminExecutionRelaunchRequest. - - - :param name: The name of this AdminExecutionRelaunchRequest. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionRelaunchRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionRelaunchRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py deleted file mode 100644 index ed3cbd31c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py +++ /dev/null @@ -1,485 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: F401,E501 -from flyteadmin.models.admin_auth_role import AdminAuthRole # noqa: F401,E501 -from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment # noqa: F401,E501 -from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata # noqa: F401,E501 -from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 -from flyteadmin.models.admin_notification_list import AdminNotificationList # noqa: F401,E501 -from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: F401,E501 -from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: F401,E501 - - -class AdminExecutionSpec(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'launch_plan': 'CoreIdentifier', - 'inputs': 'CoreLiteralMap', - 'metadata': 'AdminExecutionMetadata', - 'notifications': 'AdminNotificationList', - 'disable_all': 'bool', - 'labels': 'AdminLabels', - 'annotations': 'AdminAnnotations', - 'security_context': 'CoreSecurityContext', - 'auth_role': 'AdminAuthRole', - 'quality_of_service': 'CoreQualityOfService', - 'max_parallelism': 'int', - 'raw_output_data_config': 'AdminRawOutputDataConfig', - 'cluster_assignment': 'AdminClusterAssignment', - 'interruptible': 'bool' - } - - attribute_map = { - 'launch_plan': 'launch_plan', - 'inputs': 'inputs', - 'metadata': 'metadata', - 'notifications': 'notifications', - 'disable_all': 'disable_all', - 'labels': 'labels', - 'annotations': 'annotations', - 'security_context': 'security_context', - 'auth_role': 'auth_role', - 'quality_of_service': 'quality_of_service', - 'max_parallelism': 'max_parallelism', - 'raw_output_data_config': 'raw_output_data_config', - 'cluster_assignment': 'cluster_assignment', - 'interruptible': 'interruptible' - } - - def __init__(self, launch_plan=None, inputs=None, metadata=None, notifications=None, disable_all=None, labels=None, annotations=None, security_context=None, auth_role=None, quality_of_service=None, max_parallelism=None, raw_output_data_config=None, cluster_assignment=None, interruptible=None): # noqa: E501 - """AdminExecutionSpec - a model defined in Swagger""" # noqa: E501 - - self._launch_plan = None - self._inputs = None - self._metadata = None - self._notifications = None - self._disable_all = None - self._labels = None - self._annotations = None - self._security_context = None - self._auth_role = None - self._quality_of_service = None - self._max_parallelism = None - self._raw_output_data_config = None - self._cluster_assignment = None - self._interruptible = None - self.discriminator = None - - if launch_plan is not None: - self.launch_plan = launch_plan - if inputs is not None: - self.inputs = inputs - if metadata is not None: - self.metadata = metadata - if notifications is not None: - self.notifications = notifications - if disable_all is not None: - self.disable_all = disable_all - if labels is not None: - self.labels = labels - if annotations is not None: - self.annotations = annotations - if security_context is not None: - self.security_context = security_context - if auth_role is not None: - self.auth_role = auth_role - if quality_of_service is not None: - self.quality_of_service = quality_of_service - if max_parallelism is not None: - self.max_parallelism = max_parallelism - if raw_output_data_config is not None: - self.raw_output_data_config = raw_output_data_config - if cluster_assignment is not None: - self.cluster_assignment = cluster_assignment - if interruptible is not None: - self.interruptible = interruptible - - @property - def launch_plan(self): - """Gets the launch_plan of this AdminExecutionSpec. # noqa: E501 - - - :return: The launch_plan of this AdminExecutionSpec. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._launch_plan - - @launch_plan.setter - def launch_plan(self, launch_plan): - """Sets the launch_plan of this AdminExecutionSpec. - - - :param launch_plan: The launch_plan of this AdminExecutionSpec. # noqa: E501 - :type: CoreIdentifier - """ - - self._launch_plan = launch_plan - - @property - def inputs(self): - """Gets the inputs of this AdminExecutionSpec. # noqa: E501 - - - :return: The inputs of this AdminExecutionSpec. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this AdminExecutionSpec. - - - :param inputs: The inputs of this AdminExecutionSpec. # noqa: E501 - :type: CoreLiteralMap - """ - - self._inputs = inputs - - @property - def metadata(self): - """Gets the metadata of this AdminExecutionSpec. # noqa: E501 - - - :return: The metadata of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminExecutionMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this AdminExecutionSpec. - - - :param metadata: The metadata of this AdminExecutionSpec. # noqa: E501 - :type: AdminExecutionMetadata - """ - - self._metadata = metadata - - @property - def notifications(self): - """Gets the notifications of this AdminExecutionSpec. # noqa: E501 - - List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied. # noqa: E501 - - :return: The notifications of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminNotificationList - """ - return self._notifications - - @notifications.setter - def notifications(self, notifications): - """Sets the notifications of this AdminExecutionSpec. - - List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied. # noqa: E501 - - :param notifications: The notifications of this AdminExecutionSpec. # noqa: E501 - :type: AdminNotificationList - """ - - self._notifications = notifications - - @property - def disable_all(self): - """Gets the disable_all of this AdminExecutionSpec. # noqa: E501 - - This should be set to true if all notifications are intended to be disabled for this execution. # noqa: E501 - - :return: The disable_all of this AdminExecutionSpec. # noqa: E501 - :rtype: bool - """ - return self._disable_all - - @disable_all.setter - def disable_all(self, disable_all): - """Sets the disable_all of this AdminExecutionSpec. - - This should be set to true if all notifications are intended to be disabled for this execution. # noqa: E501 - - :param disable_all: The disable_all of this AdminExecutionSpec. # noqa: E501 - :type: bool - """ - - self._disable_all = disable_all - - @property - def labels(self): - """Gets the labels of this AdminExecutionSpec. # noqa: E501 - - Labels to apply to the execution resource. # noqa: E501 - - :return: The labels of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminLabels - """ - return self._labels - - @labels.setter - def labels(self, labels): - """Sets the labels of this AdminExecutionSpec. - - Labels to apply to the execution resource. # noqa: E501 - - :param labels: The labels of this AdminExecutionSpec. # noqa: E501 - :type: AdminLabels - """ - - self._labels = labels - - @property - def annotations(self): - """Gets the annotations of this AdminExecutionSpec. # noqa: E501 - - Annotations to apply to the execution resource. # noqa: E501 - - :return: The annotations of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminAnnotations - """ - return self._annotations - - @annotations.setter - def annotations(self, annotations): - """Sets the annotations of this AdminExecutionSpec. - - Annotations to apply to the execution resource. # noqa: E501 - - :param annotations: The annotations of this AdminExecutionSpec. # noqa: E501 - :type: AdminAnnotations - """ - - self._annotations = annotations - - @property - def security_context(self): - """Gets the security_context of this AdminExecutionSpec. # noqa: E501 - - Optional: security context override to apply this execution. # noqa: E501 - - :return: The security_context of this AdminExecutionSpec. # noqa: E501 - :rtype: CoreSecurityContext - """ - return self._security_context - - @security_context.setter - def security_context(self, security_context): - """Sets the security_context of this AdminExecutionSpec. - - Optional: security context override to apply this execution. # noqa: E501 - - :param security_context: The security_context of this AdminExecutionSpec. # noqa: E501 - :type: CoreSecurityContext - """ - - self._security_context = security_context - - @property - def auth_role(self): - """Gets the auth_role of this AdminExecutionSpec. # noqa: E501 - - Optional: auth override to apply this execution. # noqa: E501 - - :return: The auth_role of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminAuthRole - """ - return self._auth_role - - @auth_role.setter - def auth_role(self, auth_role): - """Sets the auth_role of this AdminExecutionSpec. - - Optional: auth override to apply this execution. # noqa: E501 - - :param auth_role: The auth_role of this AdminExecutionSpec. # noqa: E501 - :type: AdminAuthRole - """ - - self._auth_role = auth_role - - @property - def quality_of_service(self): - """Gets the quality_of_service of this AdminExecutionSpec. # noqa: E501 - - Indicates the runtime priority of the execution. # noqa: E501 - - :return: The quality_of_service of this AdminExecutionSpec. # noqa: E501 - :rtype: CoreQualityOfService - """ - return self._quality_of_service - - @quality_of_service.setter - def quality_of_service(self, quality_of_service): - """Sets the quality_of_service of this AdminExecutionSpec. - - Indicates the runtime priority of the execution. # noqa: E501 - - :param quality_of_service: The quality_of_service of this AdminExecutionSpec. # noqa: E501 - :type: CoreQualityOfService - """ - - self._quality_of_service = quality_of_service - - @property - def max_parallelism(self): - """Gets the max_parallelism of this AdminExecutionSpec. # noqa: E501 - - Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. # noqa: E501 - - :return: The max_parallelism of this AdminExecutionSpec. # noqa: E501 - :rtype: int - """ - return self._max_parallelism - - @max_parallelism.setter - def max_parallelism(self, max_parallelism): - """Sets the max_parallelism of this AdminExecutionSpec. - - Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. # noqa: E501 - - :param max_parallelism: The max_parallelism of this AdminExecutionSpec. # noqa: E501 - :type: int - """ - - self._max_parallelism = max_parallelism - - @property - def raw_output_data_config(self): - """Gets the raw_output_data_config of this AdminExecutionSpec. # noqa: E501 - - - :return: The raw_output_data_config of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminRawOutputDataConfig - """ - return self._raw_output_data_config - - @raw_output_data_config.setter - def raw_output_data_config(self, raw_output_data_config): - """Sets the raw_output_data_config of this AdminExecutionSpec. - - - :param raw_output_data_config: The raw_output_data_config of this AdminExecutionSpec. # noqa: E501 - :type: AdminRawOutputDataConfig - """ - - self._raw_output_data_config = raw_output_data_config - - @property - def cluster_assignment(self): - """Gets the cluster_assignment of this AdminExecutionSpec. # noqa: E501 - - Controls how to select an available cluster on which this execution should run. # noqa: E501 - - :return: The cluster_assignment of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminClusterAssignment - """ - return self._cluster_assignment - - @cluster_assignment.setter - def cluster_assignment(self, cluster_assignment): - """Sets the cluster_assignment of this AdminExecutionSpec. - - Controls how to select an available cluster on which this execution should run. # noqa: E501 - - :param cluster_assignment: The cluster_assignment of this AdminExecutionSpec. # noqa: E501 - :type: AdminClusterAssignment - """ - - self._cluster_assignment = cluster_assignment - - @property - def interruptible(self): - """Gets the interruptible of this AdminExecutionSpec. # noqa: E501 - - Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 - - :return: The interruptible of this AdminExecutionSpec. # noqa: E501 - :rtype: bool - """ - return self._interruptible - - @interruptible.setter - def interruptible(self, interruptible): - """Sets the interruptible of this AdminExecutionSpec. - - Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 - - :param interruptible: The interruptible of this AdminExecutionSpec. # noqa: E501 - :type: bool - """ - - self._interruptible = interruptible - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionSpec, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionSpec): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state.py deleted file mode 100644 index 7f3d281b8..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminExecutionState(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ACTIVE = "EXECUTION_ACTIVE" - ARCHIVED = "EXECUTION_ARCHIVED" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminExecutionState - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionState, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionState): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state_change_details.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state_change_details.py deleted file mode 100644 index a82156027..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state_change_details.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_execution_state import AdminExecutionState # noqa: F401,E501 - - -class AdminExecutionStateChangeDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'state': 'AdminExecutionState', - 'occurred_at': 'datetime', - 'principal': 'str' - } - - attribute_map = { - 'state': 'state', - 'occurred_at': 'occurred_at', - 'principal': 'principal' - } - - def __init__(self, state=None, occurred_at=None, principal=None): # noqa: E501 - """AdminExecutionStateChangeDetails - a model defined in Swagger""" # noqa: E501 - - self._state = None - self._occurred_at = None - self._principal = None - self.discriminator = None - - if state is not None: - self.state = state - if occurred_at is not None: - self.occurred_at = occurred_at - if principal is not None: - self.principal = principal - - @property - def state(self): - """Gets the state of this AdminExecutionStateChangeDetails. # noqa: E501 - - The state of the execution is used to control its visibility in the UI/CLI. # noqa: E501 - - :return: The state of this AdminExecutionStateChangeDetails. # noqa: E501 - :rtype: AdminExecutionState - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this AdminExecutionStateChangeDetails. - - The state of the execution is used to control its visibility in the UI/CLI. # noqa: E501 - - :param state: The state of this AdminExecutionStateChangeDetails. # noqa: E501 - :type: AdminExecutionState - """ - - self._state = state - - @property - def occurred_at(self): - """Gets the occurred_at of this AdminExecutionStateChangeDetails. # noqa: E501 - - This timestamp represents when the state changed. # noqa: E501 - - :return: The occurred_at of this AdminExecutionStateChangeDetails. # noqa: E501 - :rtype: datetime - """ - return self._occurred_at - - @occurred_at.setter - def occurred_at(self, occurred_at): - """Sets the occurred_at of this AdminExecutionStateChangeDetails. - - This timestamp represents when the state changed. # noqa: E501 - - :param occurred_at: The occurred_at of this AdminExecutionStateChangeDetails. # noqa: E501 - :type: datetime - """ - - self._occurred_at = occurred_at - - @property - def principal(self): - """Gets the principal of this AdminExecutionStateChangeDetails. # noqa: E501 - - - :return: The principal of this AdminExecutionStateChangeDetails. # noqa: E501 - :rtype: str - """ - return self._principal - - @principal.setter - def principal(self, principal): - """Sets the principal of this AdminExecutionStateChangeDetails. - - - :param principal: The principal of this AdminExecutionStateChangeDetails. # noqa: E501 - :type: str - """ - - self._principal = principal - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionStateChangeDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionStateChangeDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_request.py deleted file mode 100644 index a2fb097d4..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_request.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class AdminExecutionTerminateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreWorkflowExecutionIdentifier', - 'cause': 'str' - } - - attribute_map = { - 'id': 'id', - 'cause': 'cause' - } - - def __init__(self, id=None, cause=None): # noqa: E501 - """AdminExecutionTerminateRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._cause = None - self.discriminator = None - - if id is not None: - self.id = id - if cause is not None: - self.cause = cause - - @property - def id(self): - """Gets the id of this AdminExecutionTerminateRequest. # noqa: E501 - - Uniquely identifies the individual workflow execution to be terminated. # noqa: E501 - - :return: The id of this AdminExecutionTerminateRequest. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminExecutionTerminateRequest. - - Uniquely identifies the individual workflow execution to be terminated. # noqa: E501 - - :param id: The id of this AdminExecutionTerminateRequest. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._id = id - - @property - def cause(self): - """Gets the cause of this AdminExecutionTerminateRequest. # noqa: E501 - - Optional reason for aborting. # noqa: E501 - - :return: The cause of this AdminExecutionTerminateRequest. # noqa: E501 - :rtype: str - """ - return self._cause - - @cause.setter - def cause(self, cause): - """Sets the cause of this AdminExecutionTerminateRequest. - - Optional reason for aborting. # noqa: E501 - - :param cause: The cause of this AdminExecutionTerminateRequest. # noqa: E501 - :type: str - """ - - self._cause = cause - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionTerminateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionTerminateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_response.py deleted file mode 100644 index b7e68c83d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminExecutionTerminateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminExecutionTerminateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionTerminateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionTerminateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_request.py deleted file mode 100644 index 5bbddc57b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_request.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_execution_state import AdminExecutionState # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class AdminExecutionUpdateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreWorkflowExecutionIdentifier', - 'state': 'AdminExecutionState' - } - - attribute_map = { - 'id': 'id', - 'state': 'state' - } - - def __init__(self, id=None, state=None): # noqa: E501 - """AdminExecutionUpdateRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._state = None - self.discriminator = None - - if id is not None: - self.id = id - if state is not None: - self.state = state - - @property - def id(self): - """Gets the id of this AdminExecutionUpdateRequest. # noqa: E501 - - - :return: The id of this AdminExecutionUpdateRequest. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminExecutionUpdateRequest. - - - :param id: The id of this AdminExecutionUpdateRequest. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._id = id - - @property - def state(self): - """Gets the state of this AdminExecutionUpdateRequest. # noqa: E501 - - - :return: The state of this AdminExecutionUpdateRequest. # noqa: E501 - :rtype: AdminExecutionState - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this AdminExecutionUpdateRequest. - - - :param state: The state of this AdminExecutionUpdateRequest. # noqa: E501 - :type: AdminExecutionState - """ - - self._state = state - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionUpdateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionUpdateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_response.py deleted file mode 100644 index 9e9f90ee7..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminExecutionUpdateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminExecutionUpdateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionUpdateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionUpdateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate.py deleted file mode 100644 index 5eacbeebc..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit # noqa: F401,E501 - - -class AdminFixedRate(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'value': 'int', - 'unit': 'AdminFixedRateUnit' - } - - attribute_map = { - 'value': 'value', - 'unit': 'unit' - } - - def __init__(self, value=None, unit=None): # noqa: E501 - """AdminFixedRate - a model defined in Swagger""" # noqa: E501 - - self._value = None - self._unit = None - self.discriminator = None - - if value is not None: - self.value = value - if unit is not None: - self.unit = unit - - @property - def value(self): - """Gets the value of this AdminFixedRate. # noqa: E501 - - - :return: The value of this AdminFixedRate. # noqa: E501 - :rtype: int - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this AdminFixedRate. - - - :param value: The value of this AdminFixedRate. # noqa: E501 - :type: int - """ - - self._value = value - - @property - def unit(self): - """Gets the unit of this AdminFixedRate. # noqa: E501 - - - :return: The unit of this AdminFixedRate. # noqa: E501 - :rtype: AdminFixedRateUnit - """ - return self._unit - - @unit.setter - def unit(self, unit): - """Sets the unit of this AdminFixedRate. - - - :param unit: The unit of this AdminFixedRate. # noqa: E501 - :type: AdminFixedRateUnit - """ - - self._unit = unit - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminFixedRate, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminFixedRate): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate_unit.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate_unit.py deleted file mode 100644 index 2c65b556b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate_unit.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminFixedRateUnit(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - MINUTE = "MINUTE" - HOUR = "HOUR" - DAY = "DAY" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminFixedRateUnit - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminFixedRateUnit, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminFixedRateUnit): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_get_version_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_get_version_response.py deleted file mode 100644 index 622a52256..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_get_version_response.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_version import AdminVersion # noqa: F401,E501 - - -class AdminGetVersionResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'control_plane_version': 'AdminVersion' - } - - attribute_map = { - 'control_plane_version': 'control_plane_version' - } - - def __init__(self, control_plane_version=None): # noqa: E501 - """AdminGetVersionResponse - a model defined in Swagger""" # noqa: E501 - - self._control_plane_version = None - self.discriminator = None - - if control_plane_version is not None: - self.control_plane_version = control_plane_version - - @property - def control_plane_version(self): - """Gets the control_plane_version of this AdminGetVersionResponse. # noqa: E501 - - - :return: The control_plane_version of this AdminGetVersionResponse. # noqa: E501 - :rtype: AdminVersion - """ - return self._control_plane_version - - @control_plane_version.setter - def control_plane_version(self, control_plane_version): - """Sets the control_plane_version of this AdminGetVersionResponse. - - - :param control_plane_version: The control_plane_version of this AdminGetVersionResponse. # noqa: E501 - :type: AdminVersion - """ - - self._control_plane_version = control_plane_version - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminGetVersionResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminGetVersionResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_labels.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_labels.py deleted file mode 100644 index 1391051e4..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_labels.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminLabels(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'values': 'dict(str, str)' - } - - attribute_map = { - 'values': 'values' - } - - def __init__(self, values=None): # noqa: E501 - """AdminLabels - a model defined in Swagger""" # noqa: E501 - - self._values = None - self.discriminator = None - - if values is not None: - self.values = values - - @property - def values(self): - """Gets the values of this AdminLabels. # noqa: E501 - - Map of custom labels to be applied to the execution resource. # noqa: E501 - - :return: The values of this AdminLabels. # noqa: E501 - :rtype: dict(str, str) - """ - return self._values - - @values.setter - def values(self, values): - """Sets the values of this AdminLabels. - - Map of custom labels to be applied to the execution resource. # noqa: E501 - - :param values: The values of this AdminLabels. # noqa: E501 - :type: dict(str, str) - """ - - self._values = values - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLabels, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLabels): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan.py deleted file mode 100644 index 84a6eef48..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_launch_plan_closure import AdminLaunchPlanClosure # noqa: F401,E501 -from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminLaunchPlan(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'spec': 'AdminLaunchPlanSpec', - 'closure': 'AdminLaunchPlanClosure' - } - - attribute_map = { - 'id': 'id', - 'spec': 'spec', - 'closure': 'closure' - } - - def __init__(self, id=None, spec=None, closure=None): # noqa: E501 - """AdminLaunchPlan - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._spec = None - self._closure = None - self.discriminator = None - - if id is not None: - self.id = id - if spec is not None: - self.spec = spec - if closure is not None: - self.closure = closure - - @property - def id(self): - """Gets the id of this AdminLaunchPlan. # noqa: E501 - - Uniquely identifies a launch plan entity. # noqa: E501 - - :return: The id of this AdminLaunchPlan. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminLaunchPlan. - - Uniquely identifies a launch plan entity. # noqa: E501 - - :param id: The id of this AdminLaunchPlan. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def spec(self): - """Gets the spec of this AdminLaunchPlan. # noqa: E501 - - User-provided launch plan details, including reference workflow, inputs and other metadata. # noqa: E501 - - :return: The spec of this AdminLaunchPlan. # noqa: E501 - :rtype: AdminLaunchPlanSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this AdminLaunchPlan. - - User-provided launch plan details, including reference workflow, inputs and other metadata. # noqa: E501 - - :param spec: The spec of this AdminLaunchPlan. # noqa: E501 - :type: AdminLaunchPlanSpec - """ - - self._spec = spec - - @property - def closure(self): - """Gets the closure of this AdminLaunchPlan. # noqa: E501 - - Values computed by the flyte platform after launch plan registration. # noqa: E501 - - :return: The closure of this AdminLaunchPlan. # noqa: E501 - :rtype: AdminLaunchPlanClosure - """ - return self._closure - - @closure.setter - def closure(self, closure): - """Sets the closure of this AdminLaunchPlan. - - Values computed by the flyte platform after launch plan registration. # noqa: E501 - - :param closure: The closure of this AdminLaunchPlan. # noqa: E501 - :type: AdminLaunchPlanClosure - """ - - self._closure = closure - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlan, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlan): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_closure.py deleted file mode 100644 index 2464c1fa4..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_closure.py +++ /dev/null @@ -1,229 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState # noqa: F401,E501 -from flyteadmin.models.core_parameter_map import CoreParameterMap # noqa: F401,E501 -from flyteadmin.models.core_variable_map import CoreVariableMap # noqa: F401,E501 - - -class AdminLaunchPlanClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'state': 'AdminLaunchPlanState', - 'expected_inputs': 'CoreParameterMap', - 'expected_outputs': 'CoreVariableMap', - 'created_at': 'datetime', - 'updated_at': 'datetime' - } - - attribute_map = { - 'state': 'state', - 'expected_inputs': 'expected_inputs', - 'expected_outputs': 'expected_outputs', - 'created_at': 'created_at', - 'updated_at': 'updated_at' - } - - def __init__(self, state=None, expected_inputs=None, expected_outputs=None, created_at=None, updated_at=None): # noqa: E501 - """AdminLaunchPlanClosure - a model defined in Swagger""" # noqa: E501 - - self._state = None - self._expected_inputs = None - self._expected_outputs = None - self._created_at = None - self._updated_at = None - self.discriminator = None - - if state is not None: - self.state = state - if expected_inputs is not None: - self.expected_inputs = expected_inputs - if expected_outputs is not None: - self.expected_outputs = expected_outputs - if created_at is not None: - self.created_at = created_at - if updated_at is not None: - self.updated_at = updated_at - - @property - def state(self): - """Gets the state of this AdminLaunchPlanClosure. # noqa: E501 - - Indicate the Launch plan state. # noqa: E501 - - :return: The state of this AdminLaunchPlanClosure. # noqa: E501 - :rtype: AdminLaunchPlanState - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this AdminLaunchPlanClosure. - - Indicate the Launch plan state. # noqa: E501 - - :param state: The state of this AdminLaunchPlanClosure. # noqa: E501 - :type: AdminLaunchPlanState - """ - - self._state = state - - @property - def expected_inputs(self): - """Gets the expected_inputs of this AdminLaunchPlanClosure. # noqa: E501 - - - :return: The expected_inputs of this AdminLaunchPlanClosure. # noqa: E501 - :rtype: CoreParameterMap - """ - return self._expected_inputs - - @expected_inputs.setter - def expected_inputs(self, expected_inputs): - """Sets the expected_inputs of this AdminLaunchPlanClosure. - - - :param expected_inputs: The expected_inputs of this AdminLaunchPlanClosure. # noqa: E501 - :type: CoreParameterMap - """ - - self._expected_inputs = expected_inputs - - @property - def expected_outputs(self): - """Gets the expected_outputs of this AdminLaunchPlanClosure. # noqa: E501 - - - :return: The expected_outputs of this AdminLaunchPlanClosure. # noqa: E501 - :rtype: CoreVariableMap - """ - return self._expected_outputs - - @expected_outputs.setter - def expected_outputs(self, expected_outputs): - """Sets the expected_outputs of this AdminLaunchPlanClosure. - - - :param expected_outputs: The expected_outputs of this AdminLaunchPlanClosure. # noqa: E501 - :type: CoreVariableMap - """ - - self._expected_outputs = expected_outputs - - @property - def created_at(self): - """Gets the created_at of this AdminLaunchPlanClosure. # noqa: E501 - - Time at which the launch plan was created. # noqa: E501 - - :return: The created_at of this AdminLaunchPlanClosure. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this AdminLaunchPlanClosure. - - Time at which the launch plan was created. # noqa: E501 - - :param created_at: The created_at of this AdminLaunchPlanClosure. # noqa: E501 - :type: datetime - """ - - self._created_at = created_at - - @property - def updated_at(self): - """Gets the updated_at of this AdminLaunchPlanClosure. # noqa: E501 - - Time at which the launch plan was last updated. # noqa: E501 - - :return: The updated_at of this AdminLaunchPlanClosure. # noqa: E501 - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - """Sets the updated_at of this AdminLaunchPlanClosure. - - Time at which the launch plan was last updated. # noqa: E501 - - :param updated_at: The updated_at of this AdminLaunchPlanClosure. # noqa: E501 - :type: datetime - """ - - self._updated_at = updated_at - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_request.py deleted file mode 100644 index 888fa5b2f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_request.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminLaunchPlanCreateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'spec': 'AdminLaunchPlanSpec' - } - - attribute_map = { - 'id': 'id', - 'spec': 'spec' - } - - def __init__(self, id=None, spec=None): # noqa: E501 - """AdminLaunchPlanCreateRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._spec = None - self.discriminator = None - - if id is not None: - self.id = id - if spec is not None: - self.spec = spec - - @property - def id(self): - """Gets the id of this AdminLaunchPlanCreateRequest. # noqa: E501 - - Uniquely identifies a launch plan entity. # noqa: E501 - - :return: The id of this AdminLaunchPlanCreateRequest. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminLaunchPlanCreateRequest. - - Uniquely identifies a launch plan entity. # noqa: E501 - - :param id: The id of this AdminLaunchPlanCreateRequest. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def spec(self): - """Gets the spec of this AdminLaunchPlanCreateRequest. # noqa: E501 - - User-provided launch plan details, including reference workflow, inputs and other metadata. # noqa: E501 - - :return: The spec of this AdminLaunchPlanCreateRequest. # noqa: E501 - :rtype: AdminLaunchPlanSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this AdminLaunchPlanCreateRequest. - - User-provided launch plan details, including reference workflow, inputs and other metadata. # noqa: E501 - - :param spec: The spec of this AdminLaunchPlanCreateRequest. # noqa: E501 - :type: AdminLaunchPlanSpec - """ - - self._spec = spec - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanCreateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanCreateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_response.py deleted file mode 100644 index 8bc8d4a76..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminLaunchPlanCreateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminLaunchPlanCreateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanCreateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanCreateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_list.py deleted file mode 100644 index 9c337f347..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_list.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_launch_plan import AdminLaunchPlan # noqa: F401,E501 - - -class AdminLaunchPlanList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'launch_plans': 'list[AdminLaunchPlan]', - 'token': 'str' - } - - attribute_map = { - 'launch_plans': 'launch_plans', - 'token': 'token' - } - - def __init__(self, launch_plans=None, token=None): # noqa: E501 - """AdminLaunchPlanList - a model defined in Swagger""" # noqa: E501 - - self._launch_plans = None - self._token = None - self.discriminator = None - - if launch_plans is not None: - self.launch_plans = launch_plans - if token is not None: - self.token = token - - @property - def launch_plans(self): - """Gets the launch_plans of this AdminLaunchPlanList. # noqa: E501 - - - :return: The launch_plans of this AdminLaunchPlanList. # noqa: E501 - :rtype: list[AdminLaunchPlan] - """ - return self._launch_plans - - @launch_plans.setter - def launch_plans(self, launch_plans): - """Sets the launch_plans of this AdminLaunchPlanList. - - - :param launch_plans: The launch_plans of this AdminLaunchPlanList. # noqa: E501 - :type: list[AdminLaunchPlan] - """ - - self._launch_plans = launch_plans - - @property - def token(self): - """Gets the token of this AdminLaunchPlanList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminLaunchPlanList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminLaunchPlanList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminLaunchPlanList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py deleted file mode 100644 index d4ebda5dc..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_notification import AdminNotification # noqa: F401,E501 -from flyteadmin.models.admin_schedule import AdminSchedule # noqa: F401,E501 - - -class AdminLaunchPlanMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'schedule': 'AdminSchedule', - 'notifications': 'list[AdminNotification]' - } - - attribute_map = { - 'schedule': 'schedule', - 'notifications': 'notifications' - } - - def __init__(self, schedule=None, notifications=None): # noqa: E501 - """AdminLaunchPlanMetadata - a model defined in Swagger""" # noqa: E501 - - self._schedule = None - self._notifications = None - self.discriminator = None - - if schedule is not None: - self.schedule = schedule - if notifications is not None: - self.notifications = notifications - - @property - def schedule(self): - """Gets the schedule of this AdminLaunchPlanMetadata. # noqa: E501 - - - :return: The schedule of this AdminLaunchPlanMetadata. # noqa: E501 - :rtype: AdminSchedule - """ - return self._schedule - - @schedule.setter - def schedule(self, schedule): - """Sets the schedule of this AdminLaunchPlanMetadata. - - - :param schedule: The schedule of this AdminLaunchPlanMetadata. # noqa: E501 - :type: AdminSchedule - """ - - self._schedule = schedule - - @property - def notifications(self): - """Gets the notifications of this AdminLaunchPlanMetadata. # noqa: E501 - - - :return: The notifications of this AdminLaunchPlanMetadata. # noqa: E501 - :rtype: list[AdminNotification] - """ - return self._notifications - - @notifications.setter - def notifications(self, notifications): - """Sets the notifications of this AdminLaunchPlanMetadata. - - - :param notifications: The notifications of this AdminLaunchPlanMetadata. # noqa: E501 - :type: list[AdminNotification] - """ - - self._notifications = notifications - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py deleted file mode 100644 index 710d5a414..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py +++ /dev/null @@ -1,483 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: F401,E501 -from flyteadmin.models.admin_auth import AdminAuth # noqa: F401,E501 -from flyteadmin.models.admin_auth_role import AdminAuthRole # noqa: F401,E501 -from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 -from flyteadmin.models.admin_launch_plan_metadata import AdminLaunchPlanMetadata # noqa: F401,E501 -from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_parameter_map import CoreParameterMap # noqa: F401,E501 -from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: F401,E501 -from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: F401,E501 - - -class AdminLaunchPlanSpec(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'workflow_id': 'CoreIdentifier', - 'entity_metadata': 'AdminLaunchPlanMetadata', - 'default_inputs': 'CoreParameterMap', - 'fixed_inputs': 'CoreLiteralMap', - 'role': 'str', - 'labels': 'AdminLabels', - 'annotations': 'AdminAnnotations', - 'auth': 'AdminAuth', - 'auth_role': 'AdminAuthRole', - 'security_context': 'CoreSecurityContext', - 'quality_of_service': 'CoreQualityOfService', - 'raw_output_data_config': 'AdminRawOutputDataConfig', - 'max_parallelism': 'int', - 'interruptible': 'bool' - } - - attribute_map = { - 'workflow_id': 'workflow_id', - 'entity_metadata': 'entity_metadata', - 'default_inputs': 'default_inputs', - 'fixed_inputs': 'fixed_inputs', - 'role': 'role', - 'labels': 'labels', - 'annotations': 'annotations', - 'auth': 'auth', - 'auth_role': 'auth_role', - 'security_context': 'security_context', - 'quality_of_service': 'quality_of_service', - 'raw_output_data_config': 'raw_output_data_config', - 'max_parallelism': 'max_parallelism', - 'interruptible': 'interruptible' - } - - def __init__(self, workflow_id=None, entity_metadata=None, default_inputs=None, fixed_inputs=None, role=None, labels=None, annotations=None, auth=None, auth_role=None, security_context=None, quality_of_service=None, raw_output_data_config=None, max_parallelism=None, interruptible=None): # noqa: E501 - """AdminLaunchPlanSpec - a model defined in Swagger""" # noqa: E501 - - self._workflow_id = None - self._entity_metadata = None - self._default_inputs = None - self._fixed_inputs = None - self._role = None - self._labels = None - self._annotations = None - self._auth = None - self._auth_role = None - self._security_context = None - self._quality_of_service = None - self._raw_output_data_config = None - self._max_parallelism = None - self._interruptible = None - self.discriminator = None - - if workflow_id is not None: - self.workflow_id = workflow_id - if entity_metadata is not None: - self.entity_metadata = entity_metadata - if default_inputs is not None: - self.default_inputs = default_inputs - if fixed_inputs is not None: - self.fixed_inputs = fixed_inputs - if role is not None: - self.role = role - if labels is not None: - self.labels = labels - if annotations is not None: - self.annotations = annotations - if auth is not None: - self.auth = auth - if auth_role is not None: - self.auth_role = auth_role - if security_context is not None: - self.security_context = security_context - if quality_of_service is not None: - self.quality_of_service = quality_of_service - if raw_output_data_config is not None: - self.raw_output_data_config = raw_output_data_config - if max_parallelism is not None: - self.max_parallelism = max_parallelism - if interruptible is not None: - self.interruptible = interruptible - - @property - def workflow_id(self): - """Gets the workflow_id of this AdminLaunchPlanSpec. # noqa: E501 - - - :return: The workflow_id of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._workflow_id - - @workflow_id.setter - def workflow_id(self, workflow_id): - """Sets the workflow_id of this AdminLaunchPlanSpec. - - - :param workflow_id: The workflow_id of this AdminLaunchPlanSpec. # noqa: E501 - :type: CoreIdentifier - """ - - self._workflow_id = workflow_id - - @property - def entity_metadata(self): - """Gets the entity_metadata of this AdminLaunchPlanSpec. # noqa: E501 - - - :return: The entity_metadata of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: AdminLaunchPlanMetadata - """ - return self._entity_metadata - - @entity_metadata.setter - def entity_metadata(self, entity_metadata): - """Sets the entity_metadata of this AdminLaunchPlanSpec. - - - :param entity_metadata: The entity_metadata of this AdminLaunchPlanSpec. # noqa: E501 - :type: AdminLaunchPlanMetadata - """ - - self._entity_metadata = entity_metadata - - @property - def default_inputs(self): - """Gets the default_inputs of this AdminLaunchPlanSpec. # noqa: E501 - - Input values to be passed for the execution. These can be overriden when an execution is created with this launch plan. # noqa: E501 - - :return: The default_inputs of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: CoreParameterMap - """ - return self._default_inputs - - @default_inputs.setter - def default_inputs(self, default_inputs): - """Sets the default_inputs of this AdminLaunchPlanSpec. - - Input values to be passed for the execution. These can be overriden when an execution is created with this launch plan. # noqa: E501 - - :param default_inputs: The default_inputs of this AdminLaunchPlanSpec. # noqa: E501 - :type: CoreParameterMap - """ - - self._default_inputs = default_inputs - - @property - def fixed_inputs(self): - """Gets the fixed_inputs of this AdminLaunchPlanSpec. # noqa: E501 - - Fixed, non-overridable inputs for the Launch Plan. These can not be overriden when an execution is created with this launch plan. # noqa: E501 - - :return: The fixed_inputs of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._fixed_inputs - - @fixed_inputs.setter - def fixed_inputs(self, fixed_inputs): - """Sets the fixed_inputs of this AdminLaunchPlanSpec. - - Fixed, non-overridable inputs for the Launch Plan. These can not be overriden when an execution is created with this launch plan. # noqa: E501 - - :param fixed_inputs: The fixed_inputs of this AdminLaunchPlanSpec. # noqa: E501 - :type: CoreLiteralMap - """ - - self._fixed_inputs = fixed_inputs - - @property - def role(self): - """Gets the role of this AdminLaunchPlanSpec. # noqa: E501 - - - :return: The role of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: str - """ - return self._role - - @role.setter - def role(self, role): - """Sets the role of this AdminLaunchPlanSpec. - - - :param role: The role of this AdminLaunchPlanSpec. # noqa: E501 - :type: str - """ - - self._role = role - - @property - def labels(self): - """Gets the labels of this AdminLaunchPlanSpec. # noqa: E501 - - Custom labels to be applied to the execution resource. # noqa: E501 - - :return: The labels of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: AdminLabels - """ - return self._labels - - @labels.setter - def labels(self, labels): - """Sets the labels of this AdminLaunchPlanSpec. - - Custom labels to be applied to the execution resource. # noqa: E501 - - :param labels: The labels of this AdminLaunchPlanSpec. # noqa: E501 - :type: AdminLabels - """ - - self._labels = labels - - @property - def annotations(self): - """Gets the annotations of this AdminLaunchPlanSpec. # noqa: E501 - - Custom annotations to be applied to the execution resource. # noqa: E501 - - :return: The annotations of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: AdminAnnotations - """ - return self._annotations - - @annotations.setter - def annotations(self, annotations): - """Sets the annotations of this AdminLaunchPlanSpec. - - Custom annotations to be applied to the execution resource. # noqa: E501 - - :param annotations: The annotations of this AdminLaunchPlanSpec. # noqa: E501 - :type: AdminAnnotations - """ - - self._annotations = annotations - - @property - def auth(self): - """Gets the auth of this AdminLaunchPlanSpec. # noqa: E501 - - Indicates the permission associated with workflow executions triggered with this launch plan. # noqa: E501 - - :return: The auth of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: AdminAuth - """ - return self._auth - - @auth.setter - def auth(self, auth): - """Sets the auth of this AdminLaunchPlanSpec. - - Indicates the permission associated with workflow executions triggered with this launch plan. # noqa: E501 - - :param auth: The auth of this AdminLaunchPlanSpec. # noqa: E501 - :type: AdminAuth - """ - - self._auth = auth - - @property - def auth_role(self): - """Gets the auth_role of this AdminLaunchPlanSpec. # noqa: E501 - - - :return: The auth_role of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: AdminAuthRole - """ - return self._auth_role - - @auth_role.setter - def auth_role(self, auth_role): - """Sets the auth_role of this AdminLaunchPlanSpec. - - - :param auth_role: The auth_role of this AdminLaunchPlanSpec. # noqa: E501 - :type: AdminAuthRole - """ - - self._auth_role = auth_role - - @property - def security_context(self): - """Gets the security_context of this AdminLaunchPlanSpec. # noqa: E501 - - - :return: The security_context of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: CoreSecurityContext - """ - return self._security_context - - @security_context.setter - def security_context(self, security_context): - """Sets the security_context of this AdminLaunchPlanSpec. - - - :param security_context: The security_context of this AdminLaunchPlanSpec. # noqa: E501 - :type: CoreSecurityContext - """ - - self._security_context = security_context - - @property - def quality_of_service(self): - """Gets the quality_of_service of this AdminLaunchPlanSpec. # noqa: E501 - - Indicates the runtime priority of the execution. # noqa: E501 - - :return: The quality_of_service of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: CoreQualityOfService - """ - return self._quality_of_service - - @quality_of_service.setter - def quality_of_service(self, quality_of_service): - """Sets the quality_of_service of this AdminLaunchPlanSpec. - - Indicates the runtime priority of the execution. # noqa: E501 - - :param quality_of_service: The quality_of_service of this AdminLaunchPlanSpec. # noqa: E501 - :type: CoreQualityOfService - """ - - self._quality_of_service = quality_of_service - - @property - def raw_output_data_config(self): - """Gets the raw_output_data_config of this AdminLaunchPlanSpec. # noqa: E501 - - Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). # noqa: E501 - - :return: The raw_output_data_config of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: AdminRawOutputDataConfig - """ - return self._raw_output_data_config - - @raw_output_data_config.setter - def raw_output_data_config(self, raw_output_data_config): - """Sets the raw_output_data_config of this AdminLaunchPlanSpec. - - Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). # noqa: E501 - - :param raw_output_data_config: The raw_output_data_config of this AdminLaunchPlanSpec. # noqa: E501 - :type: AdminRawOutputDataConfig - """ - - self._raw_output_data_config = raw_output_data_config - - @property - def max_parallelism(self): - """Gets the max_parallelism of this AdminLaunchPlanSpec. # noqa: E501 - - Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. # noqa: E501 - - :return: The max_parallelism of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: int - """ - return self._max_parallelism - - @max_parallelism.setter - def max_parallelism(self, max_parallelism): - """Sets the max_parallelism of this AdminLaunchPlanSpec. - - Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. # noqa: E501 - - :param max_parallelism: The max_parallelism of this AdminLaunchPlanSpec. # noqa: E501 - :type: int - """ - - self._max_parallelism = max_parallelism - - @property - def interruptible(self): - """Gets the interruptible of this AdminLaunchPlanSpec. # noqa: E501 - - Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 - - :return: The interruptible of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: bool - """ - return self._interruptible - - @interruptible.setter - def interruptible(self, interruptible): - """Sets the interruptible of this AdminLaunchPlanSpec. - - Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 - - :param interruptible: The interruptible of this AdminLaunchPlanSpec. # noqa: E501 - :type: bool - """ - - self._interruptible = interruptible - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanSpec, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanSpec): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_state.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_state.py deleted file mode 100644 index 49b1828a8..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_state.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminLaunchPlanState(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - INACTIVE = "INACTIVE" - ACTIVE = "ACTIVE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminLaunchPlanState - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanState, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanState): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_request.py deleted file mode 100644 index bfd79c3a1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_request.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminLaunchPlanUpdateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'state': 'AdminLaunchPlanState' - } - - attribute_map = { - 'id': 'id', - 'state': 'state' - } - - def __init__(self, id=None, state=None): # noqa: E501 - """AdminLaunchPlanUpdateRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._state = None - self.discriminator = None - - if id is not None: - self.id = id - if state is not None: - self.state = state - - @property - def id(self): - """Gets the id of this AdminLaunchPlanUpdateRequest. # noqa: E501 - - Identifier of launch plan for which to change state. +required. # noqa: E501 - - :return: The id of this AdminLaunchPlanUpdateRequest. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminLaunchPlanUpdateRequest. - - Identifier of launch plan for which to change state. +required. # noqa: E501 - - :param id: The id of this AdminLaunchPlanUpdateRequest. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def state(self): - """Gets the state of this AdminLaunchPlanUpdateRequest. # noqa: E501 - - Desired state to apply to the launch plan. +required. # noqa: E501 - - :return: The state of this AdminLaunchPlanUpdateRequest. # noqa: E501 - :rtype: AdminLaunchPlanState - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this AdminLaunchPlanUpdateRequest. - - Desired state to apply to the launch plan. +required. # noqa: E501 - - :param state: The state of this AdminLaunchPlanUpdateRequest. # noqa: E501 - :type: AdminLaunchPlanState - """ - - self._state = state - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanUpdateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanUpdateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_response.py deleted file mode 100644 index 03932d5cd..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminLaunchPlanUpdateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminLaunchPlanUpdateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanUpdateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanUpdateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_list_matchable_attributes_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_list_matchable_attributes_response.py deleted file mode 100644 index c1efcb34b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_list_matchable_attributes_response.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matchable_attributes_configuration import AdminMatchableAttributesConfiguration # noqa: F401,E501 - - -class AdminListMatchableAttributesResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'configurations': 'list[AdminMatchableAttributesConfiguration]' - } - - attribute_map = { - 'configurations': 'configurations' - } - - def __init__(self, configurations=None): # noqa: E501 - """AdminListMatchableAttributesResponse - a model defined in Swagger""" # noqa: E501 - - self._configurations = None - self.discriminator = None - - if configurations is not None: - self.configurations = configurations - - @property - def configurations(self): - """Gets the configurations of this AdminListMatchableAttributesResponse. # noqa: E501 - - - :return: The configurations of this AdminListMatchableAttributesResponse. # noqa: E501 - :rtype: list[AdminMatchableAttributesConfiguration] - """ - return self._configurations - - @configurations.setter - def configurations(self, configurations): - """Sets the configurations of this AdminListMatchableAttributesResponse. - - - :param configurations: The configurations of this AdminListMatchableAttributesResponse. # noqa: E501 - :type: list[AdminMatchableAttributesConfiguration] - """ - - self._configurations = configurations - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminListMatchableAttributesResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminListMatchableAttributesResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_literal_map_blob.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_literal_map_blob.py deleted file mode 100644 index 6d7c78b49..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_literal_map_blob.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 - - -class AdminLiteralMapBlob(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'values': 'CoreLiteralMap', - 'uri': 'str' - } - - attribute_map = { - 'values': 'values', - 'uri': 'uri' - } - - def __init__(self, values=None, uri=None): # noqa: E501 - """AdminLiteralMapBlob - a model defined in Swagger""" # noqa: E501 - - self._values = None - self._uri = None - self.discriminator = None - - if values is not None: - self.values = values - if uri is not None: - self.uri = uri - - @property - def values(self): - """Gets the values of this AdminLiteralMapBlob. # noqa: E501 - - - :return: The values of this AdminLiteralMapBlob. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._values - - @values.setter - def values(self, values): - """Sets the values of this AdminLiteralMapBlob. - - - :param values: The values of this AdminLiteralMapBlob. # noqa: E501 - :type: CoreLiteralMap - """ - - self._values = values - - @property - def uri(self): - """Gets the uri of this AdminLiteralMapBlob. # noqa: E501 - - - :return: The uri of this AdminLiteralMapBlob. # noqa: E501 - :rtype: str - """ - return self._uri - - @uri.setter - def uri(self, uri): - """Sets the uri of this AdminLiteralMapBlob. - - - :param uri: The uri of this AdminLiteralMapBlob. # noqa: E501 - :type: str - """ - - self._uri = uri - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLiteralMapBlob, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLiteralMapBlob): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_attributes_configuration.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_attributes_configuration.py deleted file mode 100644 index a9be455f2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_attributes_configuration.py +++ /dev/null @@ -1,221 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: F401,E501 - - -class AdminMatchableAttributesConfiguration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'AdminMatchingAttributes', - 'domain': 'str', - 'project': 'str', - 'workflow': 'str', - 'launch_plan': 'str' - } - - attribute_map = { - 'attributes': 'attributes', - 'domain': 'domain', - 'project': 'project', - 'workflow': 'workflow', - 'launch_plan': 'launch_plan' - } - - def __init__(self, attributes=None, domain=None, project=None, workflow=None, launch_plan=None): # noqa: E501 - """AdminMatchableAttributesConfiguration - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self._domain = None - self._project = None - self._workflow = None - self._launch_plan = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - if domain is not None: - self.domain = domain - if project is not None: - self.project = project - if workflow is not None: - self.workflow = workflow - if launch_plan is not None: - self.launch_plan = launch_plan - - @property - def attributes(self): - """Gets the attributes of this AdminMatchableAttributesConfiguration. # noqa: E501 - - - :return: The attributes of this AdminMatchableAttributesConfiguration. # noqa: E501 - :rtype: AdminMatchingAttributes - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminMatchableAttributesConfiguration. - - - :param attributes: The attributes of this AdminMatchableAttributesConfiguration. # noqa: E501 - :type: AdminMatchingAttributes - """ - - self._attributes = attributes - - @property - def domain(self): - """Gets the domain of this AdminMatchableAttributesConfiguration. # noqa: E501 - - - :return: The domain of this AdminMatchableAttributesConfiguration. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminMatchableAttributesConfiguration. - - - :param domain: The domain of this AdminMatchableAttributesConfiguration. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def project(self): - """Gets the project of this AdminMatchableAttributesConfiguration. # noqa: E501 - - - :return: The project of this AdminMatchableAttributesConfiguration. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminMatchableAttributesConfiguration. - - - :param project: The project of this AdminMatchableAttributesConfiguration. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def workflow(self): - """Gets the workflow of this AdminMatchableAttributesConfiguration. # noqa: E501 - - - :return: The workflow of this AdminMatchableAttributesConfiguration. # noqa: E501 - :rtype: str - """ - return self._workflow - - @workflow.setter - def workflow(self, workflow): - """Sets the workflow of this AdminMatchableAttributesConfiguration. - - - :param workflow: The workflow of this AdminMatchableAttributesConfiguration. # noqa: E501 - :type: str - """ - - self._workflow = workflow - - @property - def launch_plan(self): - """Gets the launch_plan of this AdminMatchableAttributesConfiguration. # noqa: E501 - - - :return: The launch_plan of this AdminMatchableAttributesConfiguration. # noqa: E501 - :rtype: str - """ - return self._launch_plan - - @launch_plan.setter - def launch_plan(self, launch_plan): - """Sets the launch_plan of this AdminMatchableAttributesConfiguration. - - - :param launch_plan: The launch_plan of this AdminMatchableAttributesConfiguration. # noqa: E501 - :type: str - """ - - self._launch_plan = launch_plan - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminMatchableAttributesConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminMatchableAttributesConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_resource.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_resource.py deleted file mode 100644 index 2c234614f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_resource.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminMatchableResource(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - TASK_RESOURCE = "TASK_RESOURCE" - CLUSTER_RESOURCE = "CLUSTER_RESOURCE" - EXECUTION_QUEUE = "EXECUTION_QUEUE" - EXECUTION_CLUSTER_LABEL = "EXECUTION_CLUSTER_LABEL" - QUALITY_OF_SERVICE_SPECIFICATION = "QUALITY_OF_SERVICE_SPECIFICATION" - PLUGIN_OVERRIDE = "PLUGIN_OVERRIDE" - WORKFLOW_EXECUTION_CONFIG = "WORKFLOW_EXECUTION_CONFIG" - CLUSTER_ASSIGNMENT = "CLUSTER_ASSIGNMENT" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminMatchableResource - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminMatchableResource, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminMatchableResource): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py deleted file mode 100644 index aadcc1d21..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py +++ /dev/null @@ -1,306 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment # noqa: F401,E501 -from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes # noqa: F401,E501 -from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel # noqa: F401,E501 -from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes # noqa: F401,E501 -from flyteadmin.models.admin_plugin_overrides import AdminPluginOverrides # noqa: F401,E501 -from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes # noqa: F401,E501 -from flyteadmin.models.admin_workflow_execution_config import AdminWorkflowExecutionConfig # noqa: F401,E501 -from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: F401,E501 - - -class AdminMatchingAttributes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'task_resource_attributes': 'AdminTaskResourceAttributes', - 'cluster_resource_attributes': 'AdminClusterResourceAttributes', - 'execution_queue_attributes': 'AdminExecutionQueueAttributes', - 'execution_cluster_label': 'AdminExecutionClusterLabel', - 'quality_of_service': 'CoreQualityOfService', - 'plugin_overrides': 'AdminPluginOverrides', - 'workflow_execution_config': 'AdminWorkflowExecutionConfig', - 'cluster_assignment': 'AdminClusterAssignment' - } - - attribute_map = { - 'task_resource_attributes': 'task_resource_attributes', - 'cluster_resource_attributes': 'cluster_resource_attributes', - 'execution_queue_attributes': 'execution_queue_attributes', - 'execution_cluster_label': 'execution_cluster_label', - 'quality_of_service': 'quality_of_service', - 'plugin_overrides': 'plugin_overrides', - 'workflow_execution_config': 'workflow_execution_config', - 'cluster_assignment': 'cluster_assignment' - } - - def __init__(self, task_resource_attributes=None, cluster_resource_attributes=None, execution_queue_attributes=None, execution_cluster_label=None, quality_of_service=None, plugin_overrides=None, workflow_execution_config=None, cluster_assignment=None): # noqa: E501 - """AdminMatchingAttributes - a model defined in Swagger""" # noqa: E501 - - self._task_resource_attributes = None - self._cluster_resource_attributes = None - self._execution_queue_attributes = None - self._execution_cluster_label = None - self._quality_of_service = None - self._plugin_overrides = None - self._workflow_execution_config = None - self._cluster_assignment = None - self.discriminator = None - - if task_resource_attributes is not None: - self.task_resource_attributes = task_resource_attributes - if cluster_resource_attributes is not None: - self.cluster_resource_attributes = cluster_resource_attributes - if execution_queue_attributes is not None: - self.execution_queue_attributes = execution_queue_attributes - if execution_cluster_label is not None: - self.execution_cluster_label = execution_cluster_label - if quality_of_service is not None: - self.quality_of_service = quality_of_service - if plugin_overrides is not None: - self.plugin_overrides = plugin_overrides - if workflow_execution_config is not None: - self.workflow_execution_config = workflow_execution_config - if cluster_assignment is not None: - self.cluster_assignment = cluster_assignment - - @property - def task_resource_attributes(self): - """Gets the task_resource_attributes of this AdminMatchingAttributes. # noqa: E501 - - - :return: The task_resource_attributes of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminTaskResourceAttributes - """ - return self._task_resource_attributes - - @task_resource_attributes.setter - def task_resource_attributes(self, task_resource_attributes): - """Sets the task_resource_attributes of this AdminMatchingAttributes. - - - :param task_resource_attributes: The task_resource_attributes of this AdminMatchingAttributes. # noqa: E501 - :type: AdminTaskResourceAttributes - """ - - self._task_resource_attributes = task_resource_attributes - - @property - def cluster_resource_attributes(self): - """Gets the cluster_resource_attributes of this AdminMatchingAttributes. # noqa: E501 - - - :return: The cluster_resource_attributes of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminClusterResourceAttributes - """ - return self._cluster_resource_attributes - - @cluster_resource_attributes.setter - def cluster_resource_attributes(self, cluster_resource_attributes): - """Sets the cluster_resource_attributes of this AdminMatchingAttributes. - - - :param cluster_resource_attributes: The cluster_resource_attributes of this AdminMatchingAttributes. # noqa: E501 - :type: AdminClusterResourceAttributes - """ - - self._cluster_resource_attributes = cluster_resource_attributes - - @property - def execution_queue_attributes(self): - """Gets the execution_queue_attributes of this AdminMatchingAttributes. # noqa: E501 - - - :return: The execution_queue_attributes of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminExecutionQueueAttributes - """ - return self._execution_queue_attributes - - @execution_queue_attributes.setter - def execution_queue_attributes(self, execution_queue_attributes): - """Sets the execution_queue_attributes of this AdminMatchingAttributes. - - - :param execution_queue_attributes: The execution_queue_attributes of this AdminMatchingAttributes. # noqa: E501 - :type: AdminExecutionQueueAttributes - """ - - self._execution_queue_attributes = execution_queue_attributes - - @property - def execution_cluster_label(self): - """Gets the execution_cluster_label of this AdminMatchingAttributes. # noqa: E501 - - - :return: The execution_cluster_label of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminExecutionClusterLabel - """ - return self._execution_cluster_label - - @execution_cluster_label.setter - def execution_cluster_label(self, execution_cluster_label): - """Sets the execution_cluster_label of this AdminMatchingAttributes. - - - :param execution_cluster_label: The execution_cluster_label of this AdminMatchingAttributes. # noqa: E501 - :type: AdminExecutionClusterLabel - """ - - self._execution_cluster_label = execution_cluster_label - - @property - def quality_of_service(self): - """Gets the quality_of_service of this AdminMatchingAttributes. # noqa: E501 - - - :return: The quality_of_service of this AdminMatchingAttributes. # noqa: E501 - :rtype: CoreQualityOfService - """ - return self._quality_of_service - - @quality_of_service.setter - def quality_of_service(self, quality_of_service): - """Sets the quality_of_service of this AdminMatchingAttributes. - - - :param quality_of_service: The quality_of_service of this AdminMatchingAttributes. # noqa: E501 - :type: CoreQualityOfService - """ - - self._quality_of_service = quality_of_service - - @property - def plugin_overrides(self): - """Gets the plugin_overrides of this AdminMatchingAttributes. # noqa: E501 - - - :return: The plugin_overrides of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminPluginOverrides - """ - return self._plugin_overrides - - @plugin_overrides.setter - def plugin_overrides(self, plugin_overrides): - """Sets the plugin_overrides of this AdminMatchingAttributes. - - - :param plugin_overrides: The plugin_overrides of this AdminMatchingAttributes. # noqa: E501 - :type: AdminPluginOverrides - """ - - self._plugin_overrides = plugin_overrides - - @property - def workflow_execution_config(self): - """Gets the workflow_execution_config of this AdminMatchingAttributes. # noqa: E501 - - - :return: The workflow_execution_config of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminWorkflowExecutionConfig - """ - return self._workflow_execution_config - - @workflow_execution_config.setter - def workflow_execution_config(self, workflow_execution_config): - """Sets the workflow_execution_config of this AdminMatchingAttributes. - - - :param workflow_execution_config: The workflow_execution_config of this AdminMatchingAttributes. # noqa: E501 - :type: AdminWorkflowExecutionConfig - """ - - self._workflow_execution_config = workflow_execution_config - - @property - def cluster_assignment(self): - """Gets the cluster_assignment of this AdminMatchingAttributes. # noqa: E501 - - - :return: The cluster_assignment of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminClusterAssignment - """ - return self._cluster_assignment - - @cluster_assignment.setter - def cluster_assignment(self, cluster_assignment): - """Sets the cluster_assignment of this AdminMatchingAttributes. - - - :param cluster_assignment: The cluster_assignment of this AdminMatchingAttributes. # noqa: E501 - :type: AdminClusterAssignment - """ - - self._cluster_assignment = cluster_assignment - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminMatchingAttributes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminMatchingAttributes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity.py deleted file mode 100644 index 9a8600de9..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier # noqa: F401,E501 -from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata # noqa: F401,E501 -from flyteadmin.models.core_resource_type import CoreResourceType # noqa: F401,E501 - - -class AdminNamedEntity(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'resource_type': 'CoreResourceType', - 'id': 'AdminNamedEntityIdentifier', - 'metadata': 'AdminNamedEntityMetadata' - } - - attribute_map = { - 'resource_type': 'resource_type', - 'id': 'id', - 'metadata': 'metadata' - } - - def __init__(self, resource_type=None, id=None, metadata=None): # noqa: E501 - """AdminNamedEntity - a model defined in Swagger""" # noqa: E501 - - self._resource_type = None - self._id = None - self._metadata = None - self.discriminator = None - - if resource_type is not None: - self.resource_type = resource_type - if id is not None: - self.id = id - if metadata is not None: - self.metadata = metadata - - @property - def resource_type(self): - """Gets the resource_type of this AdminNamedEntity. # noqa: E501 - - Resource type of the named entity. One of Task, Workflow or LaunchPlan. # noqa: E501 - - :return: The resource_type of this AdminNamedEntity. # noqa: E501 - :rtype: CoreResourceType - """ - return self._resource_type - - @resource_type.setter - def resource_type(self, resource_type): - """Sets the resource_type of this AdminNamedEntity. - - Resource type of the named entity. One of Task, Workflow or LaunchPlan. # noqa: E501 - - :param resource_type: The resource_type of this AdminNamedEntity. # noqa: E501 - :type: CoreResourceType - """ - - self._resource_type = resource_type - - @property - def id(self): - """Gets the id of this AdminNamedEntity. # noqa: E501 - - - :return: The id of this AdminNamedEntity. # noqa: E501 - :rtype: AdminNamedEntityIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminNamedEntity. - - - :param id: The id of this AdminNamedEntity. # noqa: E501 - :type: AdminNamedEntityIdentifier - """ - - self._id = id - - @property - def metadata(self): - """Gets the metadata of this AdminNamedEntity. # noqa: E501 - - Additional metadata around a named entity. # noqa: E501 - - :return: The metadata of this AdminNamedEntity. # noqa: E501 - :rtype: AdminNamedEntityMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this AdminNamedEntity. - - Additional metadata around a named entity. # noqa: E501 - - :param metadata: The metadata of this AdminNamedEntity. # noqa: E501 - :type: AdminNamedEntityMetadata - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntity, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntity): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier.py deleted file mode 100644 index 8a0624140..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminNamedEntityIdentifier(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'name': 'str' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'name': 'name' - } - - def __init__(self, project=None, domain=None, name=None): # noqa: E501 - """AdminNamedEntityIdentifier - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._name = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if name is not None: - self.name = name - - @property - def project(self): - """Gets the project of this AdminNamedEntityIdentifier. # noqa: E501 - - Name of the project the resource belongs to. # noqa: E501 - - :return: The project of this AdminNamedEntityIdentifier. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminNamedEntityIdentifier. - - Name of the project the resource belongs to. # noqa: E501 - - :param project: The project of this AdminNamedEntityIdentifier. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this AdminNamedEntityIdentifier. # noqa: E501 - - Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 - - :return: The domain of this AdminNamedEntityIdentifier. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminNamedEntityIdentifier. - - Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 - - :param domain: The domain of this AdminNamedEntityIdentifier. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def name(self): - """Gets the name of this AdminNamedEntityIdentifier. # noqa: E501 - - - :return: The name of this AdminNamedEntityIdentifier. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this AdminNamedEntityIdentifier. - - - :param name: The name of this AdminNamedEntityIdentifier. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityIdentifier, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityIdentifier): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier_list.py deleted file mode 100644 index 04a4ad028..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier_list.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier # noqa: F401,E501 - - -class AdminNamedEntityIdentifierList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'entities': 'list[AdminNamedEntityIdentifier]', - 'token': 'str' - } - - attribute_map = { - 'entities': 'entities', - 'token': 'token' - } - - def __init__(self, entities=None, token=None): # noqa: E501 - """AdminNamedEntityIdentifierList - a model defined in Swagger""" # noqa: E501 - - self._entities = None - self._token = None - self.discriminator = None - - if entities is not None: - self.entities = entities - if token is not None: - self.token = token - - @property - def entities(self): - """Gets the entities of this AdminNamedEntityIdentifierList. # noqa: E501 - - A list of identifiers. # noqa: E501 - - :return: The entities of this AdminNamedEntityIdentifierList. # noqa: E501 - :rtype: list[AdminNamedEntityIdentifier] - """ - return self._entities - - @entities.setter - def entities(self, entities): - """Sets the entities of this AdminNamedEntityIdentifierList. - - A list of identifiers. # noqa: E501 - - :param entities: The entities of this AdminNamedEntityIdentifierList. # noqa: E501 - :type: list[AdminNamedEntityIdentifier] - """ - - self._entities = entities - - @property - def token(self): - """Gets the token of this AdminNamedEntityIdentifierList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminNamedEntityIdentifierList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminNamedEntityIdentifierList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminNamedEntityIdentifierList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityIdentifierList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityIdentifierList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_list.py deleted file mode 100644 index 6a9769988..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_list.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_named_entity import AdminNamedEntity # noqa: F401,E501 - - -class AdminNamedEntityList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'entities': 'list[AdminNamedEntity]', - 'token': 'str' - } - - attribute_map = { - 'entities': 'entities', - 'token': 'token' - } - - def __init__(self, entities=None, token=None): # noqa: E501 - """AdminNamedEntityList - a model defined in Swagger""" # noqa: E501 - - self._entities = None - self._token = None - self.discriminator = None - - if entities is not None: - self.entities = entities - if token is not None: - self.token = token - - @property - def entities(self): - """Gets the entities of this AdminNamedEntityList. # noqa: E501 - - - :return: The entities of this AdminNamedEntityList. # noqa: E501 - :rtype: list[AdminNamedEntity] - """ - return self._entities - - @entities.setter - def entities(self, entities): - """Sets the entities of this AdminNamedEntityList. - - - :param entities: The entities of this AdminNamedEntityList. # noqa: E501 - :type: list[AdminNamedEntity] - """ - - self._entities = entities - - @property - def token(self): - """Gets the token of this AdminNamedEntityList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminNamedEntityList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminNamedEntityList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminNamedEntityList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_metadata.py deleted file mode 100644 index e7e538e04..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_metadata.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_named_entity_state import AdminNamedEntityState # noqa: F401,E501 - - -class AdminNamedEntityMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'description': 'str', - 'state': 'AdminNamedEntityState' - } - - attribute_map = { - 'description': 'description', - 'state': 'state' - } - - def __init__(self, description=None, state=None): # noqa: E501 - """AdminNamedEntityMetadata - a model defined in Swagger""" # noqa: E501 - - self._description = None - self._state = None - self.discriminator = None - - if description is not None: - self.description = description - if state is not None: - self.state = state - - @property - def description(self): - """Gets the description of this AdminNamedEntityMetadata. # noqa: E501 - - - :return: The description of this AdminNamedEntityMetadata. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this AdminNamedEntityMetadata. - - - :param description: The description of this AdminNamedEntityMetadata. # noqa: E501 - :type: str - """ - - self._description = description - - @property - def state(self): - """Gets the state of this AdminNamedEntityMetadata. # noqa: E501 - - Shared state across all version of the entity At this point in time, only workflow entities can have their state archived. # noqa: E501 - - :return: The state of this AdminNamedEntityMetadata. # noqa: E501 - :rtype: AdminNamedEntityState - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this AdminNamedEntityMetadata. - - Shared state across all version of the entity At this point in time, only workflow entities can have their state archived. # noqa: E501 - - :param state: The state of this AdminNamedEntityMetadata. # noqa: E501 - :type: AdminNamedEntityState - """ - - self._state = state - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_state.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_state.py deleted file mode 100644 index c2739d233..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_state.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminNamedEntityState(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - NAMED_ENTITY_ACTIVE = "NAMED_ENTITY_ACTIVE" - NAMED_ENTITY_ARCHIVED = "NAMED_ENTITY_ARCHIVED" - SYSTEM_GENERATED = "SYSTEM_GENERATED" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminNamedEntityState - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityState, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityState): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_request.py deleted file mode 100644 index 92b851213..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_request.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier # noqa: F401,E501 -from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata # noqa: F401,E501 -from flyteadmin.models.core_resource_type import CoreResourceType # noqa: F401,E501 - - -class AdminNamedEntityUpdateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'resource_type': 'CoreResourceType', - 'id': 'AdminNamedEntityIdentifier', - 'metadata': 'AdminNamedEntityMetadata' - } - - attribute_map = { - 'resource_type': 'resource_type', - 'id': 'id', - 'metadata': 'metadata' - } - - def __init__(self, resource_type=None, id=None, metadata=None): # noqa: E501 - """AdminNamedEntityUpdateRequest - a model defined in Swagger""" # noqa: E501 - - self._resource_type = None - self._id = None - self._metadata = None - self.discriminator = None - - if resource_type is not None: - self.resource_type = resource_type - if id is not None: - self.id = id - if metadata is not None: - self.metadata = metadata - - @property - def resource_type(self): - """Gets the resource_type of this AdminNamedEntityUpdateRequest. # noqa: E501 - - - :return: The resource_type of this AdminNamedEntityUpdateRequest. # noqa: E501 - :rtype: CoreResourceType - """ - return self._resource_type - - @resource_type.setter - def resource_type(self, resource_type): - """Sets the resource_type of this AdminNamedEntityUpdateRequest. - - - :param resource_type: The resource_type of this AdminNamedEntityUpdateRequest. # noqa: E501 - :type: CoreResourceType - """ - - self._resource_type = resource_type - - @property - def id(self): - """Gets the id of this AdminNamedEntityUpdateRequest. # noqa: E501 - - - :return: The id of this AdminNamedEntityUpdateRequest. # noqa: E501 - :rtype: AdminNamedEntityIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminNamedEntityUpdateRequest. - - - :param id: The id of this AdminNamedEntityUpdateRequest. # noqa: E501 - :type: AdminNamedEntityIdentifier - """ - - self._id = id - - @property - def metadata(self): - """Gets the metadata of this AdminNamedEntityUpdateRequest. # noqa: E501 - - - :return: The metadata of this AdminNamedEntityUpdateRequest. # noqa: E501 - :rtype: AdminNamedEntityMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this AdminNamedEntityUpdateRequest. - - - :param metadata: The metadata of this AdminNamedEntityUpdateRequest. # noqa: E501 - :type: AdminNamedEntityMetadata - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityUpdateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityUpdateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_response.py deleted file mode 100644 index fc86d9ea8..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminNamedEntityUpdateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminNamedEntityUpdateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityUpdateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityUpdateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py deleted file mode 100644 index 48c933218..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py +++ /dev/null @@ -1,395 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase # noqa: F401,E501 -from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata # noqa: F401,E501 -from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata # noqa: F401,E501 - - -class AdminNodeExecutionClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'output_uri': 'str', - 'error': 'CoreExecutionError', - 'output_data': 'CoreLiteralMap', - 'phase': 'CoreNodeExecutionPhase', - 'started_at': 'datetime', - 'duration': 'str', - 'created_at': 'datetime', - 'updated_at': 'datetime', - 'workflow_node_metadata': 'FlyteidladminWorkflowNodeMetadata', - 'task_node_metadata': 'FlyteidladminTaskNodeMetadata', - 'deck_uri': 'str' - } - - attribute_map = { - 'output_uri': 'output_uri', - 'error': 'error', - 'output_data': 'output_data', - 'phase': 'phase', - 'started_at': 'started_at', - 'duration': 'duration', - 'created_at': 'created_at', - 'updated_at': 'updated_at', - 'workflow_node_metadata': 'workflow_node_metadata', - 'task_node_metadata': 'task_node_metadata', - 'deck_uri': 'deck_uri' - } - - def __init__(self, output_uri=None, error=None, output_data=None, phase=None, started_at=None, duration=None, created_at=None, updated_at=None, workflow_node_metadata=None, task_node_metadata=None, deck_uri=None): # noqa: E501 - """AdminNodeExecutionClosure - a model defined in Swagger""" # noqa: E501 - - self._output_uri = None - self._error = None - self._output_data = None - self._phase = None - self._started_at = None - self._duration = None - self._created_at = None - self._updated_at = None - self._workflow_node_metadata = None - self._task_node_metadata = None - self._deck_uri = None - self.discriminator = None - - if output_uri is not None: - self.output_uri = output_uri - if error is not None: - self.error = error - if output_data is not None: - self.output_data = output_data - if phase is not None: - self.phase = phase - if started_at is not None: - self.started_at = started_at - if duration is not None: - self.duration = duration - if created_at is not None: - self.created_at = created_at - if updated_at is not None: - self.updated_at = updated_at - if workflow_node_metadata is not None: - self.workflow_node_metadata = workflow_node_metadata - if task_node_metadata is not None: - self.task_node_metadata = task_node_metadata - if deck_uri is not None: - self.deck_uri = deck_uri - - @property - def output_uri(self): - """Gets the output_uri of this AdminNodeExecutionClosure. # noqa: E501 - - Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. # noqa: E501 - - :return: The output_uri of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._output_uri - - @output_uri.setter - def output_uri(self, output_uri): - """Sets the output_uri of this AdminNodeExecutionClosure. - - Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. # noqa: E501 - - :param output_uri: The output_uri of this AdminNodeExecutionClosure. # noqa: E501 - :type: str - """ - - self._output_uri = output_uri - - @property - def error(self): - """Gets the error of this AdminNodeExecutionClosure. # noqa: E501 - - - :return: The error of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: CoreExecutionError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this AdminNodeExecutionClosure. - - - :param error: The error of this AdminNodeExecutionClosure. # noqa: E501 - :type: CoreExecutionError - """ - - self._error = error - - @property - def output_data(self): - """Gets the output_data of this AdminNodeExecutionClosure. # noqa: E501 - - Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. # noqa: E501 - - :return: The output_data of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._output_data - - @output_data.setter - def output_data(self, output_data): - """Sets the output_data of this AdminNodeExecutionClosure. - - Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. # noqa: E501 - - :param output_data: The output_data of this AdminNodeExecutionClosure. # noqa: E501 - :type: CoreLiteralMap - """ - - self._output_data = output_data - - @property - def phase(self): - """Gets the phase of this AdminNodeExecutionClosure. # noqa: E501 - - The last recorded phase for this node execution. # noqa: E501 - - :return: The phase of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: CoreNodeExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this AdminNodeExecutionClosure. - - The last recorded phase for this node execution. # noqa: E501 - - :param phase: The phase of this AdminNodeExecutionClosure. # noqa: E501 - :type: CoreNodeExecutionPhase - """ - - self._phase = phase - - @property - def started_at(self): - """Gets the started_at of this AdminNodeExecutionClosure. # noqa: E501 - - Time at which the node execution began running. # noqa: E501 - - :return: The started_at of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._started_at - - @started_at.setter - def started_at(self, started_at): - """Sets the started_at of this AdminNodeExecutionClosure. - - Time at which the node execution began running. # noqa: E501 - - :param started_at: The started_at of this AdminNodeExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._started_at = started_at - - @property - def duration(self): - """Gets the duration of this AdminNodeExecutionClosure. # noqa: E501 - - The amount of time the node execution spent running. # noqa: E501 - - :return: The duration of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this AdminNodeExecutionClosure. - - The amount of time the node execution spent running. # noqa: E501 - - :param duration: The duration of this AdminNodeExecutionClosure. # noqa: E501 - :type: str - """ - - self._duration = duration - - @property - def created_at(self): - """Gets the created_at of this AdminNodeExecutionClosure. # noqa: E501 - - Time at which the node execution was created. # noqa: E501 - - :return: The created_at of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this AdminNodeExecutionClosure. - - Time at which the node execution was created. # noqa: E501 - - :param created_at: The created_at of this AdminNodeExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._created_at = created_at - - @property - def updated_at(self): - """Gets the updated_at of this AdminNodeExecutionClosure. # noqa: E501 - - Time at which the node execution was last updated. # noqa: E501 - - :return: The updated_at of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - """Sets the updated_at of this AdminNodeExecutionClosure. - - Time at which the node execution was last updated. # noqa: E501 - - :param updated_at: The updated_at of this AdminNodeExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._updated_at = updated_at - - @property - def workflow_node_metadata(self): - """Gets the workflow_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 - - - :return: The workflow_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: FlyteidladminWorkflowNodeMetadata - """ - return self._workflow_node_metadata - - @workflow_node_metadata.setter - def workflow_node_metadata(self, workflow_node_metadata): - """Sets the workflow_node_metadata of this AdminNodeExecutionClosure. - - - :param workflow_node_metadata: The workflow_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 - :type: FlyteidladminWorkflowNodeMetadata - """ - - self._workflow_node_metadata = workflow_node_metadata - - @property - def task_node_metadata(self): - """Gets the task_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 - - - :return: The task_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: FlyteidladminTaskNodeMetadata - """ - return self._task_node_metadata - - @task_node_metadata.setter - def task_node_metadata(self, task_node_metadata): - """Sets the task_node_metadata of this AdminNodeExecutionClosure. - - - :param task_node_metadata: The task_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 - :type: FlyteidladminTaskNodeMetadata - """ - - self._task_node_metadata = task_node_metadata - - @property - def deck_uri(self): - """Gets the deck_uri of this AdminNodeExecutionClosure. # noqa: E501 - - - :return: The deck_uri of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._deck_uri - - @deck_uri.setter - def deck_uri(self, deck_uri): - """Sets the deck_uri of this AdminNodeExecutionClosure. - - - :param deck_uri: The deck_uri of this AdminNodeExecutionClosure. # noqa: E501 - :type: str - """ - - self._deck_uri = deck_uri - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNodeExecutionClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNodeExecutionClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_request.py deleted file mode 100644 index 1b0555a03..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_request.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.event_node_execution_event import EventNodeExecutionEvent # noqa: F401,E501 - - -class AdminNodeExecutionEventRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'request_id': 'str', - 'event': 'EventNodeExecutionEvent' - } - - attribute_map = { - 'request_id': 'request_id', - 'event': 'event' - } - - def __init__(self, request_id=None, event=None): # noqa: E501 - """AdminNodeExecutionEventRequest - a model defined in Swagger""" # noqa: E501 - - self._request_id = None - self._event = None - self.discriminator = None - - if request_id is not None: - self.request_id = request_id - if event is not None: - self.event = event - - @property - def request_id(self): - """Gets the request_id of this AdminNodeExecutionEventRequest. # noqa: E501 - - - :return: The request_id of this AdminNodeExecutionEventRequest. # noqa: E501 - :rtype: str - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id): - """Sets the request_id of this AdminNodeExecutionEventRequest. - - - :param request_id: The request_id of this AdminNodeExecutionEventRequest. # noqa: E501 - :type: str - """ - - self._request_id = request_id - - @property - def event(self): - """Gets the event of this AdminNodeExecutionEventRequest. # noqa: E501 - - Details about the event that occurred. # noqa: E501 - - :return: The event of this AdminNodeExecutionEventRequest. # noqa: E501 - :rtype: EventNodeExecutionEvent - """ - return self._event - - @event.setter - def event(self, event): - """Sets the event of this AdminNodeExecutionEventRequest. - - Details about the event that occurred. # noqa: E501 - - :param event: The event of this AdminNodeExecutionEventRequest. # noqa: E501 - :type: EventNodeExecutionEvent - """ - - self._event = event - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNodeExecutionEventRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNodeExecutionEventRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_response.py deleted file mode 100644 index bc409dd13..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminNodeExecutionEventResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminNodeExecutionEventResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNodeExecutionEventResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNodeExecutionEventResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py deleted file mode 100644 index 3f6a52845..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py +++ /dev/null @@ -1,233 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata # noqa: F401,E501 - - -class AdminNodeExecutionGetDataResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'inputs': 'AdminUrlBlob', - 'outputs': 'AdminUrlBlob', - 'full_inputs': 'CoreLiteralMap', - 'full_outputs': 'CoreLiteralMap', - 'dynamic_workflow': 'FlyteidladminDynamicWorkflowNodeMetadata' - } - - attribute_map = { - 'inputs': 'inputs', - 'outputs': 'outputs', - 'full_inputs': 'full_inputs', - 'full_outputs': 'full_outputs', - 'dynamic_workflow': 'dynamic_workflow' - } - - def __init__(self, inputs=None, outputs=None, full_inputs=None, full_outputs=None, dynamic_workflow=None): # noqa: E501 - """AdminNodeExecutionGetDataResponse - a model defined in Swagger""" # noqa: E501 - - self._inputs = None - self._outputs = None - self._full_inputs = None - self._full_outputs = None - self._dynamic_workflow = None - self.discriminator = None - - if inputs is not None: - self.inputs = inputs - if outputs is not None: - self.outputs = outputs - if full_inputs is not None: - self.full_inputs = full_inputs - if full_outputs is not None: - self.full_outputs = full_outputs - if dynamic_workflow is not None: - self.dynamic_workflow = dynamic_workflow - - @property - def inputs(self): - """Gets the inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - - Signed url to fetch a core.LiteralMap of node execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 - - :return: The inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :rtype: AdminUrlBlob - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this AdminNodeExecutionGetDataResponse. - - Signed url to fetch a core.LiteralMap of node execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 - - :param inputs: The inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :type: AdminUrlBlob - """ - - self._inputs = inputs - - @property - def outputs(self): - """Gets the outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - - Signed url to fetch a core.LiteralMap of node execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 - - :return: The outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :rtype: AdminUrlBlob - """ - return self._outputs - - @outputs.setter - def outputs(self, outputs): - """Sets the outputs of this AdminNodeExecutionGetDataResponse. - - Signed url to fetch a core.LiteralMap of node execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 - - :param outputs: The outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :type: AdminUrlBlob - """ - - self._outputs = outputs - - @property - def full_inputs(self): - """Gets the full_inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - - Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :return: The full_inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._full_inputs - - @full_inputs.setter - def full_inputs(self, full_inputs): - """Sets the full_inputs of this AdminNodeExecutionGetDataResponse. - - Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :param full_inputs: The full_inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :type: CoreLiteralMap - """ - - self._full_inputs = full_inputs - - @property - def full_outputs(self): - """Gets the full_outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - - Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :return: The full_outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._full_outputs - - @full_outputs.setter - def full_outputs(self, full_outputs): - """Sets the full_outputs of this AdminNodeExecutionGetDataResponse. - - Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :param full_outputs: The full_outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :type: CoreLiteralMap - """ - - self._full_outputs = full_outputs - - @property - def dynamic_workflow(self): - """Gets the dynamic_workflow of this AdminNodeExecutionGetDataResponse. # noqa: E501 - - Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. # noqa: E501 - - :return: The dynamic_workflow of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :rtype: FlyteidladminDynamicWorkflowNodeMetadata - """ - return self._dynamic_workflow - - @dynamic_workflow.setter - def dynamic_workflow(self, dynamic_workflow): - """Sets the dynamic_workflow of this AdminNodeExecutionGetDataResponse. - - Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. # noqa: E501 - - :param dynamic_workflow: The dynamic_workflow of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :type: FlyteidladminDynamicWorkflowNodeMetadata - """ - - self._dynamic_workflow = dynamic_workflow - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNodeExecutionGetDataResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNodeExecutionGetDataResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_list.py deleted file mode 100644 index 8f23e8cd4..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_list.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution # noqa: F401,E501 - - -class AdminNodeExecutionList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'node_executions': 'list[FlyteidladminNodeExecution]', - 'token': 'str' - } - - attribute_map = { - 'node_executions': 'node_executions', - 'token': 'token' - } - - def __init__(self, node_executions=None, token=None): # noqa: E501 - """AdminNodeExecutionList - a model defined in Swagger""" # noqa: E501 - - self._node_executions = None - self._token = None - self.discriminator = None - - if node_executions is not None: - self.node_executions = node_executions - if token is not None: - self.token = token - - @property - def node_executions(self): - """Gets the node_executions of this AdminNodeExecutionList. # noqa: E501 - - - :return: The node_executions of this AdminNodeExecutionList. # noqa: E501 - :rtype: list[FlyteidladminNodeExecution] - """ - return self._node_executions - - @node_executions.setter - def node_executions(self, node_executions): - """Sets the node_executions of this AdminNodeExecutionList. - - - :param node_executions: The node_executions of this AdminNodeExecutionList. # noqa: E501 - :type: list[FlyteidladminNodeExecution] - """ - - self._node_executions = node_executions - - @property - def token(self): - """Gets the token of this AdminNodeExecutionList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminNodeExecutionList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminNodeExecutionList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminNodeExecutionList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNodeExecutionList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNodeExecutionList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_meta_data.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_meta_data.py deleted file mode 100644 index 659ad1f3c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_meta_data.py +++ /dev/null @@ -1,199 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminNodeExecutionMetaData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'retry_group': 'str', - 'is_parent_node': 'bool', - 'spec_node_id': 'str', - 'is_dynamic': 'bool' - } - - attribute_map = { - 'retry_group': 'retry_group', - 'is_parent_node': 'is_parent_node', - 'spec_node_id': 'spec_node_id', - 'is_dynamic': 'is_dynamic' - } - - def __init__(self, retry_group=None, is_parent_node=None, spec_node_id=None, is_dynamic=None): # noqa: E501 - """AdminNodeExecutionMetaData - a model defined in Swagger""" # noqa: E501 - - self._retry_group = None - self._is_parent_node = None - self._spec_node_id = None - self._is_dynamic = None - self.discriminator = None - - if retry_group is not None: - self.retry_group = retry_group - if is_parent_node is not None: - self.is_parent_node = is_parent_node - if spec_node_id is not None: - self.spec_node_id = spec_node_id - if is_dynamic is not None: - self.is_dynamic = is_dynamic - - @property - def retry_group(self): - """Gets the retry_group of this AdminNodeExecutionMetaData. # noqa: E501 - - Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node. # noqa: E501 - - :return: The retry_group of this AdminNodeExecutionMetaData. # noqa: E501 - :rtype: str - """ - return self._retry_group - - @retry_group.setter - def retry_group(self, retry_group): - """Sets the retry_group of this AdminNodeExecutionMetaData. - - Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node. # noqa: E501 - - :param retry_group: The retry_group of this AdminNodeExecutionMetaData. # noqa: E501 - :type: str - """ - - self._retry_group = retry_group - - @property - def is_parent_node(self): - """Gets the is_parent_node of this AdminNodeExecutionMetaData. # noqa: E501 - - Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes. # noqa: E501 - - :return: The is_parent_node of this AdminNodeExecutionMetaData. # noqa: E501 - :rtype: bool - """ - return self._is_parent_node - - @is_parent_node.setter - def is_parent_node(self, is_parent_node): - """Sets the is_parent_node of this AdminNodeExecutionMetaData. - - Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes. # noqa: E501 - - :param is_parent_node: The is_parent_node of this AdminNodeExecutionMetaData. # noqa: E501 - :type: bool - """ - - self._is_parent_node = is_parent_node - - @property - def spec_node_id(self): - """Gets the spec_node_id of this AdminNodeExecutionMetaData. # noqa: E501 - - - :return: The spec_node_id of this AdminNodeExecutionMetaData. # noqa: E501 - :rtype: str - """ - return self._spec_node_id - - @spec_node_id.setter - def spec_node_id(self, spec_node_id): - """Sets the spec_node_id of this AdminNodeExecutionMetaData. - - - :param spec_node_id: The spec_node_id of this AdminNodeExecutionMetaData. # noqa: E501 - :type: str - """ - - self._spec_node_id = spec_node_id - - @property - def is_dynamic(self): - """Gets the is_dynamic of this AdminNodeExecutionMetaData. # noqa: E501 - - Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true. # noqa: E501 - - :return: The is_dynamic of this AdminNodeExecutionMetaData. # noqa: E501 - :rtype: bool - """ - return self._is_dynamic - - @is_dynamic.setter - def is_dynamic(self, is_dynamic): - """Sets the is_dynamic of this AdminNodeExecutionMetaData. - - Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true. # noqa: E501 - - :param is_dynamic: The is_dynamic of this AdminNodeExecutionMetaData. # noqa: E501 - :type: bool - """ - - self._is_dynamic = is_dynamic - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNodeExecutionMetaData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNodeExecutionMetaData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification.py deleted file mode 100644 index 8232eed6b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification.py +++ /dev/null @@ -1,198 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_email_notification import AdminEmailNotification # noqa: F401,E501 -from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification # noqa: F401,E501 -from flyteadmin.models.admin_slack_notification import AdminSlackNotification # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase # noqa: F401,E501 - - -class AdminNotification(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'phases': 'list[CoreWorkflowExecutionPhase]', - 'email': 'AdminEmailNotification', - 'pager_duty': 'AdminPagerDutyNotification', - 'slack': 'AdminSlackNotification' - } - - attribute_map = { - 'phases': 'phases', - 'email': 'email', - 'pager_duty': 'pager_duty', - 'slack': 'slack' - } - - def __init__(self, phases=None, email=None, pager_duty=None, slack=None): # noqa: E501 - """AdminNotification - a model defined in Swagger""" # noqa: E501 - - self._phases = None - self._email = None - self._pager_duty = None - self._slack = None - self.discriminator = None - - if phases is not None: - self.phases = phases - if email is not None: - self.email = email - if pager_duty is not None: - self.pager_duty = pager_duty - if slack is not None: - self.slack = slack - - @property - def phases(self): - """Gets the phases of this AdminNotification. # noqa: E501 - - - :return: The phases of this AdminNotification. # noqa: E501 - :rtype: list[CoreWorkflowExecutionPhase] - """ - return self._phases - - @phases.setter - def phases(self, phases): - """Sets the phases of this AdminNotification. - - - :param phases: The phases of this AdminNotification. # noqa: E501 - :type: list[CoreWorkflowExecutionPhase] - """ - - self._phases = phases - - @property - def email(self): - """Gets the email of this AdminNotification. # noqa: E501 - - - :return: The email of this AdminNotification. # noqa: E501 - :rtype: AdminEmailNotification - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this AdminNotification. - - - :param email: The email of this AdminNotification. # noqa: E501 - :type: AdminEmailNotification - """ - - self._email = email - - @property - def pager_duty(self): - """Gets the pager_duty of this AdminNotification. # noqa: E501 - - - :return: The pager_duty of this AdminNotification. # noqa: E501 - :rtype: AdminPagerDutyNotification - """ - return self._pager_duty - - @pager_duty.setter - def pager_duty(self, pager_duty): - """Sets the pager_duty of this AdminNotification. - - - :param pager_duty: The pager_duty of this AdminNotification. # noqa: E501 - :type: AdminPagerDutyNotification - """ - - self._pager_duty = pager_duty - - @property - def slack(self): - """Gets the slack of this AdminNotification. # noqa: E501 - - - :return: The slack of this AdminNotification. # noqa: E501 - :rtype: AdminSlackNotification - """ - return self._slack - - @slack.setter - def slack(self, slack): - """Sets the slack of this AdminNotification. - - - :param slack: The slack of this AdminNotification. # noqa: E501 - :type: AdminSlackNotification - """ - - self._slack = slack - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNotification, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNotification): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification_list.py deleted file mode 100644 index 200a0b1fe..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification_list.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_notification import AdminNotification # noqa: F401,E501 - - -class AdminNotificationList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'notifications': 'list[AdminNotification]' - } - - attribute_map = { - 'notifications': 'notifications' - } - - def __init__(self, notifications=None): # noqa: E501 - """AdminNotificationList - a model defined in Swagger""" # noqa: E501 - - self._notifications = None - self.discriminator = None - - if notifications is not None: - self.notifications = notifications - - @property - def notifications(self): - """Gets the notifications of this AdminNotificationList. # noqa: E501 - - - :return: The notifications of this AdminNotificationList. # noqa: E501 - :rtype: list[AdminNotification] - """ - return self._notifications - - @notifications.setter - def notifications(self, notifications): - """Sets the notifications of this AdminNotificationList. - - - :param notifications: The notifications of this AdminNotificationList. # noqa: E501 - :type: list[AdminNotification] - """ - - self._notifications = notifications - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNotificationList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNotificationList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_pager_duty_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_pager_duty_notification.py deleted file mode 100644 index 4dccfa645..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_pager_duty_notification.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminPagerDutyNotification(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'recipients_email': 'list[str]' - } - - attribute_map = { - 'recipients_email': 'recipients_email' - } - - def __init__(self, recipients_email=None): # noqa: E501 - """AdminPagerDutyNotification - a model defined in Swagger""" # noqa: E501 - - self._recipients_email = None - self.discriminator = None - - if recipients_email is not None: - self.recipients_email = recipients_email - - @property - def recipients_email(self): - """Gets the recipients_email of this AdminPagerDutyNotification. # noqa: E501 - - - :return: The recipients_email of this AdminPagerDutyNotification. # noqa: E501 - :rtype: list[str] - """ - return self._recipients_email - - @recipients_email.setter - def recipients_email(self, recipients_email): - """Sets the recipients_email of this AdminPagerDutyNotification. - - - :param recipients_email: The recipients_email of this AdminPagerDutyNotification. # noqa: E501 - :type: list[str] - """ - - self._recipients_email = recipients_email - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminPagerDutyNotification, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminPagerDutyNotification): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_override.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_override.py deleted file mode 100644 index b339f7c51..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_override.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior # noqa: F401,E501 - - -class AdminPluginOverride(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'task_type': 'str', - 'plugin_id': 'list[str]', - 'missing_plugin_behavior': 'PluginOverrideMissingPluginBehavior' - } - - attribute_map = { - 'task_type': 'task_type', - 'plugin_id': 'plugin_id', - 'missing_plugin_behavior': 'missing_plugin_behavior' - } - - def __init__(self, task_type=None, plugin_id=None, missing_plugin_behavior=None): # noqa: E501 - """AdminPluginOverride - a model defined in Swagger""" # noqa: E501 - - self._task_type = None - self._plugin_id = None - self._missing_plugin_behavior = None - self.discriminator = None - - if task_type is not None: - self.task_type = task_type - if plugin_id is not None: - self.plugin_id = plugin_id - if missing_plugin_behavior is not None: - self.missing_plugin_behavior = missing_plugin_behavior - - @property - def task_type(self): - """Gets the task_type of this AdminPluginOverride. # noqa: E501 - - A predefined yet extensible Task type identifier. # noqa: E501 - - :return: The task_type of this AdminPluginOverride. # noqa: E501 - :rtype: str - """ - return self._task_type - - @task_type.setter - def task_type(self, task_type): - """Sets the task_type of this AdminPluginOverride. - - A predefined yet extensible Task type identifier. # noqa: E501 - - :param task_type: The task_type of this AdminPluginOverride. # noqa: E501 - :type: str - """ - - self._task_type = task_type - - @property - def plugin_id(self): - """Gets the plugin_id of this AdminPluginOverride. # noqa: E501 - - A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id. # noqa: E501 - - :return: The plugin_id of this AdminPluginOverride. # noqa: E501 - :rtype: list[str] - """ - return self._plugin_id - - @plugin_id.setter - def plugin_id(self, plugin_id): - """Sets the plugin_id of this AdminPluginOverride. - - A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id. # noqa: E501 - - :param plugin_id: The plugin_id of this AdminPluginOverride. # noqa: E501 - :type: list[str] - """ - - self._plugin_id = plugin_id - - @property - def missing_plugin_behavior(self): - """Gets the missing_plugin_behavior of this AdminPluginOverride. # noqa: E501 - - Defines the behavior when no plugin from the plugin_id list is not found. # noqa: E501 - - :return: The missing_plugin_behavior of this AdminPluginOverride. # noqa: E501 - :rtype: PluginOverrideMissingPluginBehavior - """ - return self._missing_plugin_behavior - - @missing_plugin_behavior.setter - def missing_plugin_behavior(self, missing_plugin_behavior): - """Sets the missing_plugin_behavior of this AdminPluginOverride. - - Defines the behavior when no plugin from the plugin_id list is not found. # noqa: E501 - - :param missing_plugin_behavior: The missing_plugin_behavior of this AdminPluginOverride. # noqa: E501 - :type: PluginOverrideMissingPluginBehavior - """ - - self._missing_plugin_behavior = missing_plugin_behavior - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminPluginOverride, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminPluginOverride): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_overrides.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_overrides.py deleted file mode 100644 index 3831ab8d7..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_overrides.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_plugin_override import AdminPluginOverride # noqa: F401,E501 - - -class AdminPluginOverrides(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'overrides': 'list[AdminPluginOverride]' - } - - attribute_map = { - 'overrides': 'overrides' - } - - def __init__(self, overrides=None): # noqa: E501 - """AdminPluginOverrides - a model defined in Swagger""" # noqa: E501 - - self._overrides = None - self.discriminator = None - - if overrides is not None: - self.overrides = overrides - - @property - def overrides(self): - """Gets the overrides of this AdminPluginOverrides. # noqa: E501 - - - :return: The overrides of this AdminPluginOverrides. # noqa: E501 - :rtype: list[AdminPluginOverride] - """ - return self._overrides - - @overrides.setter - def overrides(self, overrides): - """Sets the overrides of this AdminPluginOverrides. - - - :param overrides: The overrides of this AdminPluginOverrides. # noqa: E501 - :type: list[AdminPluginOverride] - """ - - self._overrides = overrides - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminPluginOverrides, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminPluginOverrides): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project.py deleted file mode 100644 index 325d97fd8..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project.py +++ /dev/null @@ -1,255 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_domain import AdminDomain # noqa: F401,E501 -from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 -from flyteadmin.models.project_project_state import ProjectProjectState # noqa: F401,E501 - - -class AdminProject(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'str', - 'name': 'str', - 'domains': 'list[AdminDomain]', - 'description': 'str', - 'labels': 'AdminLabels', - 'state': 'ProjectProjectState' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'domains': 'domains', - 'description': 'description', - 'labels': 'labels', - 'state': 'state' - } - - def __init__(self, id=None, name=None, domains=None, description=None, labels=None, state=None): # noqa: E501 - """AdminProject - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._name = None - self._domains = None - self._description = None - self._labels = None - self._state = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if domains is not None: - self.domains = domains - if description is not None: - self.description = description - if labels is not None: - self.labels = labels - if state is not None: - self.state = state - - @property - def id(self): - """Gets the id of this AdminProject. # noqa: E501 - - Globally unique project name. # noqa: E501 - - :return: The id of this AdminProject. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminProject. - - Globally unique project name. # noqa: E501 - - :param id: The id of this AdminProject. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def name(self): - """Gets the name of this AdminProject. # noqa: E501 - - Display name. # noqa: E501 - - :return: The name of this AdminProject. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this AdminProject. - - Display name. # noqa: E501 - - :param name: The name of this AdminProject. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def domains(self): - """Gets the domains of this AdminProject. # noqa: E501 - - - :return: The domains of this AdminProject. # noqa: E501 - :rtype: list[AdminDomain] - """ - return self._domains - - @domains.setter - def domains(self, domains): - """Sets the domains of this AdminProject. - - - :param domains: The domains of this AdminProject. # noqa: E501 - :type: list[AdminDomain] - """ - - self._domains = domains - - @property - def description(self): - """Gets the description of this AdminProject. # noqa: E501 - - - :return: The description of this AdminProject. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this AdminProject. - - - :param description: The description of this AdminProject. # noqa: E501 - :type: str - """ - - self._description = description - - @property - def labels(self): - """Gets the labels of this AdminProject. # noqa: E501 - - Leverage Labels from flyteidel.admin.common.proto to tag projects with ownership information. # noqa: E501 - - :return: The labels of this AdminProject. # noqa: E501 - :rtype: AdminLabels - """ - return self._labels - - @labels.setter - def labels(self, labels): - """Sets the labels of this AdminProject. - - Leverage Labels from flyteidel.admin.common.proto to tag projects with ownership information. # noqa: E501 - - :param labels: The labels of this AdminProject. # noqa: E501 - :type: AdminLabels - """ - - self._labels = labels - - @property - def state(self): - """Gets the state of this AdminProject. # noqa: E501 - - - :return: The state of this AdminProject. # noqa: E501 - :rtype: ProjectProjectState - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this AdminProject. - - - :param state: The state of this AdminProject. # noqa: E501 - :type: ProjectProjectState - """ - - self._state = state - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProject, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProject): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py deleted file mode 100644 index 0c7d6e455..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: F401,E501 - - -class AdminProjectDomainAttributes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'matching_attributes': 'AdminMatchingAttributes' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'matching_attributes': 'matching_attributes' - } - - def __init__(self, project=None, domain=None, matching_attributes=None): # noqa: E501 - """AdminProjectDomainAttributes - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._matching_attributes = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if matching_attributes is not None: - self.matching_attributes = matching_attributes - - @property - def project(self): - """Gets the project of this AdminProjectDomainAttributes. # noqa: E501 - - Unique project id for which this set of attributes will be applied. # noqa: E501 - - :return: The project of this AdminProjectDomainAttributes. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminProjectDomainAttributes. - - Unique project id for which this set of attributes will be applied. # noqa: E501 - - :param project: The project of this AdminProjectDomainAttributes. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this AdminProjectDomainAttributes. # noqa: E501 - - Unique domain id for which this set of attributes will be applied. # noqa: E501 - - :return: The domain of this AdminProjectDomainAttributes. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminProjectDomainAttributes. - - Unique domain id for which this set of attributes will be applied. # noqa: E501 - - :param domain: The domain of this AdminProjectDomainAttributes. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def matching_attributes(self): - """Gets the matching_attributes of this AdminProjectDomainAttributes. # noqa: E501 - - - :return: The matching_attributes of this AdminProjectDomainAttributes. # noqa: E501 - :rtype: AdminMatchingAttributes - """ - return self._matching_attributes - - @matching_attributes.setter - def matching_attributes(self, matching_attributes): - """Sets the matching_attributes of this AdminProjectDomainAttributes. - - - :param matching_attributes: The matching_attributes of this AdminProjectDomainAttributes. # noqa: E501 - :type: AdminMatchingAttributes - """ - - self._matching_attributes = matching_attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectDomainAttributes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectDomainAttributes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_request.py deleted file mode 100644 index aef8bfa14..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_request.py +++ /dev/null @@ -1,169 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matchable_resource import AdminMatchableResource # noqa: F401,E501 - - -class AdminProjectDomainAttributesDeleteRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'resource_type': 'AdminMatchableResource' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'resource_type': 'resource_type' - } - - def __init__(self, project=None, domain=None, resource_type=None): # noqa: E501 - """AdminProjectDomainAttributesDeleteRequest - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._resource_type = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if resource_type is not None: - self.resource_type = resource_type - - @property - def project(self): - """Gets the project of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - - - :return: The project of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminProjectDomainAttributesDeleteRequest. - - - :param project: The project of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - - - :return: The domain of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminProjectDomainAttributesDeleteRequest. - - - :param domain: The domain of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def resource_type(self): - """Gets the resource_type of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - - - :return: The resource_type of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :rtype: AdminMatchableResource - """ - return self._resource_type - - @resource_type.setter - def resource_type(self, resource_type): - """Sets the resource_type of this AdminProjectDomainAttributesDeleteRequest. - - - :param resource_type: The resource_type of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :type: AdminMatchableResource - """ - - self._resource_type = resource_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectDomainAttributesDeleteRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectDomainAttributesDeleteRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_response.py deleted file mode 100644 index 7226075a0..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminProjectDomainAttributesDeleteResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminProjectDomainAttributesDeleteResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectDomainAttributesDeleteResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectDomainAttributesDeleteResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_get_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_get_response.py deleted file mode 100644 index e73d95a82..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_get_response.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes # noqa: F401,E501 - - -class AdminProjectDomainAttributesGetResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'AdminProjectDomainAttributes' - } - - attribute_map = { - 'attributes': 'attributes' - } - - def __init__(self, attributes=None): # noqa: E501 - """AdminProjectDomainAttributesGetResponse - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - - @property - def attributes(self): - """Gets the attributes of this AdminProjectDomainAttributesGetResponse. # noqa: E501 - - - :return: The attributes of this AdminProjectDomainAttributesGetResponse. # noqa: E501 - :rtype: AdminProjectDomainAttributes - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminProjectDomainAttributesGetResponse. - - - :param attributes: The attributes of this AdminProjectDomainAttributesGetResponse. # noqa: E501 - :type: AdminProjectDomainAttributes - """ - - self._attributes = attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectDomainAttributesGetResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectDomainAttributesGetResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_request.py deleted file mode 100644 index 983e8d3ae..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_request.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes # noqa: F401,E501 - - -class AdminProjectDomainAttributesUpdateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'AdminProjectDomainAttributes' - } - - attribute_map = { - 'attributes': 'attributes' - } - - def __init__(self, attributes=None): # noqa: E501 - """AdminProjectDomainAttributesUpdateRequest - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - - @property - def attributes(self): - """Gets the attributes of this AdminProjectDomainAttributesUpdateRequest. # noqa: E501 - - - :return: The attributes of this AdminProjectDomainAttributesUpdateRequest. # noqa: E501 - :rtype: AdminProjectDomainAttributes - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminProjectDomainAttributesUpdateRequest. - - - :param attributes: The attributes of this AdminProjectDomainAttributesUpdateRequest. # noqa: E501 - :type: AdminProjectDomainAttributes - """ - - self._attributes = attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectDomainAttributesUpdateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectDomainAttributesUpdateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_response.py deleted file mode 100644 index aa2ed8327..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminProjectDomainAttributesUpdateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminProjectDomainAttributesUpdateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectDomainAttributesUpdateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectDomainAttributesUpdateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_request.py deleted file mode 100644 index bbc2a0d94..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_request.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_project import AdminProject # noqa: F401,E501 - - -class AdminProjectRegisterRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'AdminProject' - } - - attribute_map = { - 'project': 'project' - } - - def __init__(self, project=None): # noqa: E501 - """AdminProjectRegisterRequest - a model defined in Swagger""" # noqa: E501 - - self._project = None - self.discriminator = None - - if project is not None: - self.project = project - - @property - def project(self): - """Gets the project of this AdminProjectRegisterRequest. # noqa: E501 - - - :return: The project of this AdminProjectRegisterRequest. # noqa: E501 - :rtype: AdminProject - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminProjectRegisterRequest. - - - :param project: The project of this AdminProjectRegisterRequest. # noqa: E501 - :type: AdminProject - """ - - self._project = project - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectRegisterRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectRegisterRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_response.py deleted file mode 100644 index e6868b051..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminProjectRegisterResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminProjectRegisterResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectRegisterResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectRegisterResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_update_response.py deleted file mode 100644 index 4b48a4ac2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_update_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminProjectUpdateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminProjectUpdateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectUpdateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectUpdateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_projects.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_projects.py deleted file mode 100644 index cff2ec408..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_projects.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_project import AdminProject # noqa: F401,E501 - - -class AdminProjects(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'projects': 'list[AdminProject]', - 'token': 'str' - } - - attribute_map = { - 'projects': 'projects', - 'token': 'token' - } - - def __init__(self, projects=None, token=None): # noqa: E501 - """AdminProjects - a model defined in Swagger""" # noqa: E501 - - self._projects = None - self._token = None - self.discriminator = None - - if projects is not None: - self.projects = projects - if token is not None: - self.token = token - - @property - def projects(self): - """Gets the projects of this AdminProjects. # noqa: E501 - - - :return: The projects of this AdminProjects. # noqa: E501 - :rtype: list[AdminProject] - """ - return self._projects - - @projects.setter - def projects(self, projects): - """Sets the projects of this AdminProjects. - - - :param projects: The projects of this AdminProjects. # noqa: E501 - :type: list[AdminProject] - """ - - self._projects = projects - - @property - def token(self): - """Gets the token of this AdminProjects. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminProjects. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminProjects. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminProjects. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjects, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjects): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_raw_output_data_config.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_raw_output_data_config.py deleted file mode 100644 index 4d7e20966..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_raw_output_data_config.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminRawOutputDataConfig(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'output_location_prefix': 'str' - } - - attribute_map = { - 'output_location_prefix': 'output_location_prefix' - } - - def __init__(self, output_location_prefix=None): # noqa: E501 - """AdminRawOutputDataConfig - a model defined in Swagger""" # noqa: E501 - - self._output_location_prefix = None - self.discriminator = None - - if output_location_prefix is not None: - self.output_location_prefix = output_location_prefix - - @property - def output_location_prefix(self): - """Gets the output_location_prefix of this AdminRawOutputDataConfig. # noqa: E501 - - - :return: The output_location_prefix of this AdminRawOutputDataConfig. # noqa: E501 - :rtype: str - """ - return self._output_location_prefix - - @output_location_prefix.setter - def output_location_prefix(self, output_location_prefix): - """Sets the output_location_prefix of this AdminRawOutputDataConfig. - - - :param output_location_prefix: The output_location_prefix of this AdminRawOutputDataConfig. # noqa: E501 - :type: str - """ - - self._output_location_prefix = output_location_prefix - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminRawOutputDataConfig, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminRawOutputDataConfig): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_schedule.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_schedule.py deleted file mode 100644 index 835766fa8..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_schedule.py +++ /dev/null @@ -1,198 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_cron_schedule import AdminCronSchedule # noqa: F401,E501 -from flyteadmin.models.admin_fixed_rate import AdminFixedRate # noqa: F401,E501 - - -class AdminSchedule(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cron_expression': 'str', - 'rate': 'AdminFixedRate', - 'cron_schedule': 'AdminCronSchedule', - 'kickoff_time_input_arg': 'str' - } - - attribute_map = { - 'cron_expression': 'cron_expression', - 'rate': 'rate', - 'cron_schedule': 'cron_schedule', - 'kickoff_time_input_arg': 'kickoff_time_input_arg' - } - - def __init__(self, cron_expression=None, rate=None, cron_schedule=None, kickoff_time_input_arg=None): # noqa: E501 - """AdminSchedule - a model defined in Swagger""" # noqa: E501 - - self._cron_expression = None - self._rate = None - self._cron_schedule = None - self._kickoff_time_input_arg = None - self.discriminator = None - - if cron_expression is not None: - self.cron_expression = cron_expression - if rate is not None: - self.rate = rate - if cron_schedule is not None: - self.cron_schedule = cron_schedule - if kickoff_time_input_arg is not None: - self.kickoff_time_input_arg = kickoff_time_input_arg - - @property - def cron_expression(self): - """Gets the cron_expression of this AdminSchedule. # noqa: E501 - - - :return: The cron_expression of this AdminSchedule. # noqa: E501 - :rtype: str - """ - return self._cron_expression - - @cron_expression.setter - def cron_expression(self, cron_expression): - """Sets the cron_expression of this AdminSchedule. - - - :param cron_expression: The cron_expression of this AdminSchedule. # noqa: E501 - :type: str - """ - - self._cron_expression = cron_expression - - @property - def rate(self): - """Gets the rate of this AdminSchedule. # noqa: E501 - - - :return: The rate of this AdminSchedule. # noqa: E501 - :rtype: AdminFixedRate - """ - return self._rate - - @rate.setter - def rate(self, rate): - """Sets the rate of this AdminSchedule. - - - :param rate: The rate of this AdminSchedule. # noqa: E501 - :type: AdminFixedRate - """ - - self._rate = rate - - @property - def cron_schedule(self): - """Gets the cron_schedule of this AdminSchedule. # noqa: E501 - - - :return: The cron_schedule of this AdminSchedule. # noqa: E501 - :rtype: AdminCronSchedule - """ - return self._cron_schedule - - @cron_schedule.setter - def cron_schedule(self, cron_schedule): - """Sets the cron_schedule of this AdminSchedule. - - - :param cron_schedule: The cron_schedule of this AdminSchedule. # noqa: E501 - :type: AdminCronSchedule - """ - - self._cron_schedule = cron_schedule - - @property - def kickoff_time_input_arg(self): - """Gets the kickoff_time_input_arg of this AdminSchedule. # noqa: E501 - - Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. # noqa: E501 - - :return: The kickoff_time_input_arg of this AdminSchedule. # noqa: E501 - :rtype: str - """ - return self._kickoff_time_input_arg - - @kickoff_time_input_arg.setter - def kickoff_time_input_arg(self, kickoff_time_input_arg): - """Sets the kickoff_time_input_arg of this AdminSchedule. - - Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. # noqa: E501 - - :param kickoff_time_input_arg: The kickoff_time_input_arg of this AdminSchedule. # noqa: E501 - :type: str - """ - - self._kickoff_time_input_arg = kickoff_time_input_arg - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminSchedule, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminSchedule): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_slack_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_slack_notification.py deleted file mode 100644 index d282c7f68..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_slack_notification.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminSlackNotification(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'recipients_email': 'list[str]' - } - - attribute_map = { - 'recipients_email': 'recipients_email' - } - - def __init__(self, recipients_email=None): # noqa: E501 - """AdminSlackNotification - a model defined in Swagger""" # noqa: E501 - - self._recipients_email = None - self.discriminator = None - - if recipients_email is not None: - self.recipients_email = recipients_email - - @property - def recipients_email(self): - """Gets the recipients_email of this AdminSlackNotification. # noqa: E501 - - - :return: The recipients_email of this AdminSlackNotification. # noqa: E501 - :rtype: list[str] - """ - return self._recipients_email - - @recipients_email.setter - def recipients_email(self, recipients_email): - """Sets the recipients_email of this AdminSlackNotification. - - - :param recipients_email: The recipients_email of this AdminSlackNotification. # noqa: E501 - :type: list[str] - """ - - self._recipients_email = recipients_email - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminSlackNotification, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminSlackNotification): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_sort.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_sort.py deleted file mode 100644 index 98d6a62bc..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_sort.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.sort_direction import SortDirection # noqa: F401,E501 - - -class AdminSort(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'key': 'str', - 'direction': 'SortDirection' - } - - attribute_map = { - 'key': 'key', - 'direction': 'direction' - } - - def __init__(self, key=None, direction=None): # noqa: E501 - """AdminSort - a model defined in Swagger""" # noqa: E501 - - self._key = None - self._direction = None - self.discriminator = None - - if key is not None: - self.key = key - if direction is not None: - self.direction = direction - - @property - def key(self): - """Gets the key of this AdminSort. # noqa: E501 - - - :return: The key of this AdminSort. # noqa: E501 - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - """Sets the key of this AdminSort. - - - :param key: The key of this AdminSort. # noqa: E501 - :type: str - """ - - self._key = key - - @property - def direction(self): - """Gets the direction of this AdminSort. # noqa: E501 - - - :return: The direction of this AdminSort. # noqa: E501 - :rtype: SortDirection - """ - return self._direction - - @direction.setter - def direction(self, direction): - """Sets the direction of this AdminSort. - - - :param direction: The direction of this AdminSort. # noqa: E501 - :type: SortDirection - """ - - self._direction = direction - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminSort, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminSort): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_system_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_system_metadata.py deleted file mode 100644 index c365a56be..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_system_metadata.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminSystemMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'execution_cluster': 'str' - } - - attribute_map = { - 'execution_cluster': 'execution_cluster' - } - - def __init__(self, execution_cluster=None): # noqa: E501 - """AdminSystemMetadata - a model defined in Swagger""" # noqa: E501 - - self._execution_cluster = None - self.discriminator = None - - if execution_cluster is not None: - self.execution_cluster = execution_cluster - - @property - def execution_cluster(self): - """Gets the execution_cluster of this AdminSystemMetadata. # noqa: E501 - - Which execution cluster this execution ran on. # noqa: E501 - - :return: The execution_cluster of this AdminSystemMetadata. # noqa: E501 - :rtype: str - """ - return self._execution_cluster - - @execution_cluster.setter - def execution_cluster(self, execution_cluster): - """Sets the execution_cluster of this AdminSystemMetadata. - - Which execution cluster this execution ran on. # noqa: E501 - - :param execution_cluster: The execution_cluster of this AdminSystemMetadata. # noqa: E501 - :type: str - """ - - self._execution_cluster = execution_cluster - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminSystemMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminSystemMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task.py deleted file mode 100644 index cae8fe3e3..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_task_closure import AdminTaskClosure # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminTask(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'closure': 'AdminTaskClosure' - } - - attribute_map = { - 'id': 'id', - 'closure': 'closure' - } - - def __init__(self, id=None, closure=None): # noqa: E501 - """AdminTask - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._closure = None - self.discriminator = None - - if id is not None: - self.id = id - if closure is not None: - self.closure = closure - - @property - def id(self): - """Gets the id of this AdminTask. # noqa: E501 - - id represents the unique identifier of the task. # noqa: E501 - - :return: The id of this AdminTask. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminTask. - - id represents the unique identifier of the task. # noqa: E501 - - :param id: The id of this AdminTask. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def closure(self): - """Gets the closure of this AdminTask. # noqa: E501 - - closure encapsulates all the fields that maps to a compiled version of the task. # noqa: E501 - - :return: The closure of this AdminTask. # noqa: E501 - :rtype: AdminTaskClosure - """ - return self._closure - - @closure.setter - def closure(self, closure): - """Sets the closure of this AdminTask. - - closure encapsulates all the fields that maps to a compiled version of the task. # noqa: E501 - - :param closure: The closure of this AdminTask. # noqa: E501 - :type: AdminTaskClosure - """ - - self._closure = closure - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTask, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTask): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_closure.py deleted file mode 100644 index d43a09630..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_closure.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_compiled_task import CoreCompiledTask # noqa: F401,E501 - - -class AdminTaskClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'compiled_task': 'CoreCompiledTask', - 'created_at': 'datetime' - } - - attribute_map = { - 'compiled_task': 'compiled_task', - 'created_at': 'created_at' - } - - def __init__(self, compiled_task=None, created_at=None): # noqa: E501 - """AdminTaskClosure - a model defined in Swagger""" # noqa: E501 - - self._compiled_task = None - self._created_at = None - self.discriminator = None - - if compiled_task is not None: - self.compiled_task = compiled_task - if created_at is not None: - self.created_at = created_at - - @property - def compiled_task(self): - """Gets the compiled_task of this AdminTaskClosure. # noqa: E501 - - Represents the compiled representation of the task from the specification provided. # noqa: E501 - - :return: The compiled_task of this AdminTaskClosure. # noqa: E501 - :rtype: CoreCompiledTask - """ - return self._compiled_task - - @compiled_task.setter - def compiled_task(self, compiled_task): - """Sets the compiled_task of this AdminTaskClosure. - - Represents the compiled representation of the task from the specification provided. # noqa: E501 - - :param compiled_task: The compiled_task of this AdminTaskClosure. # noqa: E501 - :type: CoreCompiledTask - """ - - self._compiled_task = compiled_task - - @property - def created_at(self): - """Gets the created_at of this AdminTaskClosure. # noqa: E501 - - Time at which the task was created. # noqa: E501 - - :return: The created_at of this AdminTaskClosure. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this AdminTaskClosure. - - Time at which the task was created. # noqa: E501 - - :param created_at: The created_at of this AdminTaskClosure. # noqa: E501 - :type: datetime - """ - - self._created_at = created_at - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_request.py deleted file mode 100644 index 8eddeb420..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_request.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_task_spec import AdminTaskSpec # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminTaskCreateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'spec': 'AdminTaskSpec' - } - - attribute_map = { - 'id': 'id', - 'spec': 'spec' - } - - def __init__(self, id=None, spec=None): # noqa: E501 - """AdminTaskCreateRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._spec = None - self.discriminator = None - - if id is not None: - self.id = id - if spec is not None: - self.spec = spec - - @property - def id(self): - """Gets the id of this AdminTaskCreateRequest. # noqa: E501 - - - :return: The id of this AdminTaskCreateRequest. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminTaskCreateRequest. - - - :param id: The id of this AdminTaskCreateRequest. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def spec(self): - """Gets the spec of this AdminTaskCreateRequest. # noqa: E501 - - - :return: The spec of this AdminTaskCreateRequest. # noqa: E501 - :rtype: AdminTaskSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this AdminTaskCreateRequest. - - - :param spec: The spec of this AdminTaskCreateRequest. # noqa: E501 - :type: AdminTaskSpec - """ - - self._spec = spec - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskCreateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskCreateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_response.py deleted file mode 100644 index de1ecdf4d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminTaskCreateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminTaskCreateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskCreateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskCreateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py deleted file mode 100644 index d840e190b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py +++ /dev/null @@ -1,488 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase # noqa: F401,E501 -from flyteadmin.models.core_task_log import CoreTaskLog # noqa: F401,E501 -from flyteadmin.models.event_task_execution_metadata import EventTaskExecutionMetadata # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class AdminTaskExecutionClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'output_uri': 'str', - 'error': 'CoreExecutionError', - 'output_data': 'CoreLiteralMap', - 'phase': 'CoreTaskExecutionPhase', - 'logs': 'list[CoreTaskLog]', - 'started_at': 'datetime', - 'duration': 'str', - 'created_at': 'datetime', - 'updated_at': 'datetime', - 'custom_info': 'ProtobufStruct', - 'reason': 'str', - 'task_type': 'str', - 'metadata': 'EventTaskExecutionMetadata', - 'event_version': 'int' - } - - attribute_map = { - 'output_uri': 'output_uri', - 'error': 'error', - 'output_data': 'output_data', - 'phase': 'phase', - 'logs': 'logs', - 'started_at': 'started_at', - 'duration': 'duration', - 'created_at': 'created_at', - 'updated_at': 'updated_at', - 'custom_info': 'custom_info', - 'reason': 'reason', - 'task_type': 'task_type', - 'metadata': 'metadata', - 'event_version': 'event_version' - } - - def __init__(self, output_uri=None, error=None, output_data=None, phase=None, logs=None, started_at=None, duration=None, created_at=None, updated_at=None, custom_info=None, reason=None, task_type=None, metadata=None, event_version=None): # noqa: E501 - """AdminTaskExecutionClosure - a model defined in Swagger""" # noqa: E501 - - self._output_uri = None - self._error = None - self._output_data = None - self._phase = None - self._logs = None - self._started_at = None - self._duration = None - self._created_at = None - self._updated_at = None - self._custom_info = None - self._reason = None - self._task_type = None - self._metadata = None - self._event_version = None - self.discriminator = None - - if output_uri is not None: - self.output_uri = output_uri - if error is not None: - self.error = error - if output_data is not None: - self.output_data = output_data - if phase is not None: - self.phase = phase - if logs is not None: - self.logs = logs - if started_at is not None: - self.started_at = started_at - if duration is not None: - self.duration = duration - if created_at is not None: - self.created_at = created_at - if updated_at is not None: - self.updated_at = updated_at - if custom_info is not None: - self.custom_info = custom_info - if reason is not None: - self.reason = reason - if task_type is not None: - self.task_type = task_type - if metadata is not None: - self.metadata = metadata - if event_version is not None: - self.event_version = event_version - - @property - def output_uri(self): - """Gets the output_uri of this AdminTaskExecutionClosure. # noqa: E501 - - Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead. # noqa: E501 - - :return: The output_uri of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._output_uri - - @output_uri.setter - def output_uri(self, output_uri): - """Sets the output_uri of this AdminTaskExecutionClosure. - - Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead. # noqa: E501 - - :param output_uri: The output_uri of this AdminTaskExecutionClosure. # noqa: E501 - :type: str - """ - - self._output_uri = output_uri - - @property - def error(self): - """Gets the error of this AdminTaskExecutionClosure. # noqa: E501 - - Error information for the task execution. Populated if the execution failed. # noqa: E501 - - :return: The error of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: CoreExecutionError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this AdminTaskExecutionClosure. - - Error information for the task execution. Populated if the execution failed. # noqa: E501 - - :param error: The error of this AdminTaskExecutionClosure. # noqa: E501 - :type: CoreExecutionError - """ - - self._error = error - - @property - def output_data(self): - """Gets the output_data of this AdminTaskExecutionClosure. # noqa: E501 - - Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead. # noqa: E501 - - :return: The output_data of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._output_data - - @output_data.setter - def output_data(self, output_data): - """Sets the output_data of this AdminTaskExecutionClosure. - - Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead. # noqa: E501 - - :param output_data: The output_data of this AdminTaskExecutionClosure. # noqa: E501 - :type: CoreLiteralMap - """ - - self._output_data = output_data - - @property - def phase(self): - """Gets the phase of this AdminTaskExecutionClosure. # noqa: E501 - - The last recorded phase for this task execution. # noqa: E501 - - :return: The phase of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: CoreTaskExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this AdminTaskExecutionClosure. - - The last recorded phase for this task execution. # noqa: E501 - - :param phase: The phase of this AdminTaskExecutionClosure. # noqa: E501 - :type: CoreTaskExecutionPhase - """ - - self._phase = phase - - @property - def logs(self): - """Gets the logs of this AdminTaskExecutionClosure. # noqa: E501 - - Detailed log information output by the task execution. # noqa: E501 - - :return: The logs of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: list[CoreTaskLog] - """ - return self._logs - - @logs.setter - def logs(self, logs): - """Sets the logs of this AdminTaskExecutionClosure. - - Detailed log information output by the task execution. # noqa: E501 - - :param logs: The logs of this AdminTaskExecutionClosure. # noqa: E501 - :type: list[CoreTaskLog] - """ - - self._logs = logs - - @property - def started_at(self): - """Gets the started_at of this AdminTaskExecutionClosure. # noqa: E501 - - Time at which the task execution began running. # noqa: E501 - - :return: The started_at of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._started_at - - @started_at.setter - def started_at(self, started_at): - """Sets the started_at of this AdminTaskExecutionClosure. - - Time at which the task execution began running. # noqa: E501 - - :param started_at: The started_at of this AdminTaskExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._started_at = started_at - - @property - def duration(self): - """Gets the duration of this AdminTaskExecutionClosure. # noqa: E501 - - The amount of time the task execution spent running. # noqa: E501 - - :return: The duration of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this AdminTaskExecutionClosure. - - The amount of time the task execution spent running. # noqa: E501 - - :param duration: The duration of this AdminTaskExecutionClosure. # noqa: E501 - :type: str - """ - - self._duration = duration - - @property - def created_at(self): - """Gets the created_at of this AdminTaskExecutionClosure. # noqa: E501 - - Time at which the task execution was created. # noqa: E501 - - :return: The created_at of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this AdminTaskExecutionClosure. - - Time at which the task execution was created. # noqa: E501 - - :param created_at: The created_at of this AdminTaskExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._created_at = created_at - - @property - def updated_at(self): - """Gets the updated_at of this AdminTaskExecutionClosure. # noqa: E501 - - Time at which the task execution was last updated. # noqa: E501 - - :return: The updated_at of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - """Sets the updated_at of this AdminTaskExecutionClosure. - - Time at which the task execution was last updated. # noqa: E501 - - :param updated_at: The updated_at of this AdminTaskExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._updated_at = updated_at - - @property - def custom_info(self): - """Gets the custom_info of this AdminTaskExecutionClosure. # noqa: E501 - - Custom data specific to the task plugin. # noqa: E501 - - :return: The custom_info of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._custom_info - - @custom_info.setter - def custom_info(self, custom_info): - """Sets the custom_info of this AdminTaskExecutionClosure. - - Custom data specific to the task plugin. # noqa: E501 - - :param custom_info: The custom_info of this AdminTaskExecutionClosure. # noqa: E501 - :type: ProtobufStruct - """ - - self._custom_info = custom_info - - @property - def reason(self): - """Gets the reason of this AdminTaskExecutionClosure. # noqa: E501 - - If there is an explanation for the most recent phase transition, the reason will capture it. # noqa: E501 - - :return: The reason of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._reason - - @reason.setter - def reason(self, reason): - """Sets the reason of this AdminTaskExecutionClosure. - - If there is an explanation for the most recent phase transition, the reason will capture it. # noqa: E501 - - :param reason: The reason of this AdminTaskExecutionClosure. # noqa: E501 - :type: str - """ - - self._reason = reason - - @property - def task_type(self): - """Gets the task_type of this AdminTaskExecutionClosure. # noqa: E501 - - A predefined yet extensible Task type identifier. # noqa: E501 - - :return: The task_type of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._task_type - - @task_type.setter - def task_type(self, task_type): - """Sets the task_type of this AdminTaskExecutionClosure. - - A predefined yet extensible Task type identifier. # noqa: E501 - - :param task_type: The task_type of this AdminTaskExecutionClosure. # noqa: E501 - :type: str - """ - - self._task_type = task_type - - @property - def metadata(self): - """Gets the metadata of this AdminTaskExecutionClosure. # noqa: E501 - - Metadata around how a task was executed. # noqa: E501 - - :return: The metadata of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: EventTaskExecutionMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this AdminTaskExecutionClosure. - - Metadata around how a task was executed. # noqa: E501 - - :param metadata: The metadata of this AdminTaskExecutionClosure. # noqa: E501 - :type: EventTaskExecutionMetadata - """ - - self._metadata = metadata - - @property - def event_version(self): - """Gets the event_version of this AdminTaskExecutionClosure. # noqa: E501 - - The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. # noqa: E501 - - :return: The event_version of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: int - """ - return self._event_version - - @event_version.setter - def event_version(self, event_version): - """Sets the event_version of this AdminTaskExecutionClosure. - - The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. # noqa: E501 - - :param event_version: The event_version of this AdminTaskExecutionClosure. # noqa: E501 - :type: int - """ - - self._event_version = event_version - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskExecutionClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskExecutionClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_request.py deleted file mode 100644 index d8d650d41..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_request.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.event_task_execution_event import EventTaskExecutionEvent # noqa: F401,E501 - - -class AdminTaskExecutionEventRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'request_id': 'str', - 'event': 'EventTaskExecutionEvent' - } - - attribute_map = { - 'request_id': 'request_id', - 'event': 'event' - } - - def __init__(self, request_id=None, event=None): # noqa: E501 - """AdminTaskExecutionEventRequest - a model defined in Swagger""" # noqa: E501 - - self._request_id = None - self._event = None - self.discriminator = None - - if request_id is not None: - self.request_id = request_id - if event is not None: - self.event = event - - @property - def request_id(self): - """Gets the request_id of this AdminTaskExecutionEventRequest. # noqa: E501 - - - :return: The request_id of this AdminTaskExecutionEventRequest. # noqa: E501 - :rtype: str - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id): - """Sets the request_id of this AdminTaskExecutionEventRequest. - - - :param request_id: The request_id of this AdminTaskExecutionEventRequest. # noqa: E501 - :type: str - """ - - self._request_id = request_id - - @property - def event(self): - """Gets the event of this AdminTaskExecutionEventRequest. # noqa: E501 - - Details about the event that occurred. # noqa: E501 - - :return: The event of this AdminTaskExecutionEventRequest. # noqa: E501 - :rtype: EventTaskExecutionEvent - """ - return self._event - - @event.setter - def event(self, event): - """Sets the event of this AdminTaskExecutionEventRequest. - - Details about the event that occurred. # noqa: E501 - - :param event: The event of this AdminTaskExecutionEventRequest. # noqa: E501 - :type: EventTaskExecutionEvent - """ - - self._event = event - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskExecutionEventRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskExecutionEventRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_response.py deleted file mode 100644 index 9e8bd3882..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminTaskExecutionEventResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminTaskExecutionEventResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskExecutionEventResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskExecutionEventResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py deleted file mode 100644 index cfb7c545a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py +++ /dev/null @@ -1,204 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 - - -class AdminTaskExecutionGetDataResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'inputs': 'AdminUrlBlob', - 'outputs': 'AdminUrlBlob', - 'full_inputs': 'CoreLiteralMap', - 'full_outputs': 'CoreLiteralMap' - } - - attribute_map = { - 'inputs': 'inputs', - 'outputs': 'outputs', - 'full_inputs': 'full_inputs', - 'full_outputs': 'full_outputs' - } - - def __init__(self, inputs=None, outputs=None, full_inputs=None, full_outputs=None): # noqa: E501 - """AdminTaskExecutionGetDataResponse - a model defined in Swagger""" # noqa: E501 - - self._inputs = None - self._outputs = None - self._full_inputs = None - self._full_outputs = None - self.discriminator = None - - if inputs is not None: - self.inputs = inputs - if outputs is not None: - self.outputs = outputs - if full_inputs is not None: - self.full_inputs = full_inputs - if full_outputs is not None: - self.full_outputs = full_outputs - - @property - def inputs(self): - """Gets the inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - - Signed url to fetch a core.LiteralMap of task execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 - - :return: The inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :rtype: AdminUrlBlob - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this AdminTaskExecutionGetDataResponse. - - Signed url to fetch a core.LiteralMap of task execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 - - :param inputs: The inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :type: AdminUrlBlob - """ - - self._inputs = inputs - - @property - def outputs(self): - """Gets the outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - - Signed url to fetch a core.LiteralMap of task execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 - - :return: The outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :rtype: AdminUrlBlob - """ - return self._outputs - - @outputs.setter - def outputs(self, outputs): - """Sets the outputs of this AdminTaskExecutionGetDataResponse. - - Signed url to fetch a core.LiteralMap of task execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 - - :param outputs: The outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :type: AdminUrlBlob - """ - - self._outputs = outputs - - @property - def full_inputs(self): - """Gets the full_inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - - Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :return: The full_inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._full_inputs - - @full_inputs.setter - def full_inputs(self, full_inputs): - """Sets the full_inputs of this AdminTaskExecutionGetDataResponse. - - Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :param full_inputs: The full_inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :type: CoreLiteralMap - """ - - self._full_inputs = full_inputs - - @property - def full_outputs(self): - """Gets the full_outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - - Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :return: The full_outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._full_outputs - - @full_outputs.setter - def full_outputs(self, full_outputs): - """Sets the full_outputs of this AdminTaskExecutionGetDataResponse. - - Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :param full_outputs: The full_outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :type: CoreLiteralMap - """ - - self._full_outputs = full_outputs - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskExecutionGetDataResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskExecutionGetDataResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_list.py deleted file mode 100644 index 4c3a8e7c1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_list.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution # noqa: F401,E501 - - -class AdminTaskExecutionList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'task_executions': 'list[FlyteidladminTaskExecution]', - 'token': 'str' - } - - attribute_map = { - 'task_executions': 'task_executions', - 'token': 'token' - } - - def __init__(self, task_executions=None, token=None): # noqa: E501 - """AdminTaskExecutionList - a model defined in Swagger""" # noqa: E501 - - self._task_executions = None - self._token = None - self.discriminator = None - - if task_executions is not None: - self.task_executions = task_executions - if token is not None: - self.token = token - - @property - def task_executions(self): - """Gets the task_executions of this AdminTaskExecutionList. # noqa: E501 - - - :return: The task_executions of this AdminTaskExecutionList. # noqa: E501 - :rtype: list[FlyteidladminTaskExecution] - """ - return self._task_executions - - @task_executions.setter - def task_executions(self, task_executions): - """Sets the task_executions of this AdminTaskExecutionList. - - - :param task_executions: The task_executions of this AdminTaskExecutionList. # noqa: E501 - :type: list[FlyteidladminTaskExecution] - """ - - self._task_executions = task_executions - - @property - def token(self): - """Gets the token of this AdminTaskExecutionList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminTaskExecutionList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminTaskExecutionList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminTaskExecutionList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskExecutionList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskExecutionList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_list.py deleted file mode 100644 index ea9212b92..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_list.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_task import AdminTask # noqa: F401,E501 - - -class AdminTaskList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'tasks': 'list[AdminTask]', - 'token': 'str' - } - - attribute_map = { - 'tasks': 'tasks', - 'token': 'token' - } - - def __init__(self, tasks=None, token=None): # noqa: E501 - """AdminTaskList - a model defined in Swagger""" # noqa: E501 - - self._tasks = None - self._token = None - self.discriminator = None - - if tasks is not None: - self.tasks = tasks - if token is not None: - self.token = token - - @property - def tasks(self): - """Gets the tasks of this AdminTaskList. # noqa: E501 - - A list of tasks returned based on the request. # noqa: E501 - - :return: The tasks of this AdminTaskList. # noqa: E501 - :rtype: list[AdminTask] - """ - return self._tasks - - @tasks.setter - def tasks(self, tasks): - """Sets the tasks of this AdminTaskList. - - A list of tasks returned based on the request. # noqa: E501 - - :param tasks: The tasks of this AdminTaskList. # noqa: E501 - :type: list[AdminTask] - """ - - self._tasks = tasks - - @property - def token(self): - """Gets the token of this AdminTaskList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminTaskList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminTaskList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminTaskList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py deleted file mode 100644 index 664761775..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec # noqa: F401,E501 - - -class AdminTaskResourceAttributes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'defaults': 'AdminTaskResourceSpec', - 'limits': 'AdminTaskResourceSpec' - } - - attribute_map = { - 'defaults': 'defaults', - 'limits': 'limits' - } - - def __init__(self, defaults=None, limits=None): # noqa: E501 - """AdminTaskResourceAttributes - a model defined in Swagger""" # noqa: E501 - - self._defaults = None - self._limits = None - self.discriminator = None - - if defaults is not None: - self.defaults = defaults - if limits is not None: - self.limits = limits - - @property - def defaults(self): - """Gets the defaults of this AdminTaskResourceAttributes. # noqa: E501 - - - :return: The defaults of this AdminTaskResourceAttributes. # noqa: E501 - :rtype: AdminTaskResourceSpec - """ - return self._defaults - - @defaults.setter - def defaults(self, defaults): - """Sets the defaults of this AdminTaskResourceAttributes. - - - :param defaults: The defaults of this AdminTaskResourceAttributes. # noqa: E501 - :type: AdminTaskResourceSpec - """ - - self._defaults = defaults - - @property - def limits(self): - """Gets the limits of this AdminTaskResourceAttributes. # noqa: E501 - - - :return: The limits of this AdminTaskResourceAttributes. # noqa: E501 - :rtype: AdminTaskResourceSpec - """ - return self._limits - - @limits.setter - def limits(self, limits): - """Sets the limits of this AdminTaskResourceAttributes. - - - :param limits: The limits of this AdminTaskResourceAttributes. # noqa: E501 - :type: AdminTaskResourceSpec - """ - - self._limits = limits - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskResourceAttributes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskResourceAttributes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py deleted file mode 100644 index 1b13a28ec..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py +++ /dev/null @@ -1,219 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminTaskResourceSpec(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cpu': 'str', - 'gpu': 'str', - 'memory': 'str', - 'storage': 'str', - 'ephemeral_storage': 'str' - } - - attribute_map = { - 'cpu': 'cpu', - 'gpu': 'gpu', - 'memory': 'memory', - 'storage': 'storage', - 'ephemeral_storage': 'ephemeral_storage' - } - - def __init__(self, cpu=None, gpu=None, memory=None, storage=None, ephemeral_storage=None): # noqa: E501 - """AdminTaskResourceSpec - a model defined in Swagger""" # noqa: E501 - - self._cpu = None - self._gpu = None - self._memory = None - self._storage = None - self._ephemeral_storage = None - self.discriminator = None - - if cpu is not None: - self.cpu = cpu - if gpu is not None: - self.gpu = gpu - if memory is not None: - self.memory = memory - if storage is not None: - self.storage = storage - if ephemeral_storage is not None: - self.ephemeral_storage = ephemeral_storage - - @property - def cpu(self): - """Gets the cpu of this AdminTaskResourceSpec. # noqa: E501 - - - :return: The cpu of this AdminTaskResourceSpec. # noqa: E501 - :rtype: str - """ - return self._cpu - - @cpu.setter - def cpu(self, cpu): - """Sets the cpu of this AdminTaskResourceSpec. - - - :param cpu: The cpu of this AdminTaskResourceSpec. # noqa: E501 - :type: str - """ - - self._cpu = cpu - - @property - def gpu(self): - """Gets the gpu of this AdminTaskResourceSpec. # noqa: E501 - - - :return: The gpu of this AdminTaskResourceSpec. # noqa: E501 - :rtype: str - """ - return self._gpu - - @gpu.setter - def gpu(self, gpu): - """Sets the gpu of this AdminTaskResourceSpec. - - - :param gpu: The gpu of this AdminTaskResourceSpec. # noqa: E501 - :type: str - """ - - self._gpu = gpu - - @property - def memory(self): - """Gets the memory of this AdminTaskResourceSpec. # noqa: E501 - - - :return: The memory of this AdminTaskResourceSpec. # noqa: E501 - :rtype: str - """ - return self._memory - - @memory.setter - def memory(self, memory): - """Sets the memory of this AdminTaskResourceSpec. - - - :param memory: The memory of this AdminTaskResourceSpec. # noqa: E501 - :type: str - """ - - self._memory = memory - - @property - def storage(self): - """Gets the storage of this AdminTaskResourceSpec. # noqa: E501 - - - :return: The storage of this AdminTaskResourceSpec. # noqa: E501 - :rtype: str - """ - return self._storage - - @storage.setter - def storage(self, storage): - """Sets the storage of this AdminTaskResourceSpec. - - - :param storage: The storage of this AdminTaskResourceSpec. # noqa: E501 - :type: str - """ - - self._storage = storage - - @property - def ephemeral_storage(self): - """Gets the ephemeral_storage of this AdminTaskResourceSpec. # noqa: E501 - - - :return: The ephemeral_storage of this AdminTaskResourceSpec. # noqa: E501 - :rtype: str - """ - return self._ephemeral_storage - - @ephemeral_storage.setter - def ephemeral_storage(self, ephemeral_storage): - """Sets the ephemeral_storage of this AdminTaskResourceSpec. - - - :param ephemeral_storage: The ephemeral_storage of this AdminTaskResourceSpec. # noqa: E501 - :type: str - """ - - self._ephemeral_storage = ephemeral_storage - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskResourceSpec, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskResourceSpec): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_spec.py deleted file mode 100644 index b9fa4fddc..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_spec.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_task_template import CoreTaskTemplate # noqa: F401,E501 - - -class AdminTaskSpec(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'template': 'CoreTaskTemplate' - } - - attribute_map = { - 'template': 'template' - } - - def __init__(self, template=None): # noqa: E501 - """AdminTaskSpec - a model defined in Swagger""" # noqa: E501 - - self._template = None - self.discriminator = None - - if template is not None: - self.template = template - - @property - def template(self): - """Gets the template of this AdminTaskSpec. # noqa: E501 - - Template of the task that encapsulates all the metadata of the task. # noqa: E501 - - :return: The template of this AdminTaskSpec. # noqa: E501 - :rtype: CoreTaskTemplate - """ - return self._template - - @template.setter - def template(self, template): - """Sets the template of this AdminTaskSpec. - - Template of the task that encapsulates all the metadata of the task. # noqa: E501 - - :param template: The template of this AdminTaskSpec. # noqa: E501 - :type: CoreTaskTemplate - """ - - self._template = template - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskSpec, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskSpec): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_url_blob.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_url_blob.py deleted file mode 100644 index 7d0bb6ef9..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_url_blob.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminUrlBlob(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'url': 'str', - 'bytes': 'str' - } - - attribute_map = { - 'url': 'url', - 'bytes': 'bytes' - } - - def __init__(self, url=None, bytes=None): # noqa: E501 - """AdminUrlBlob - a model defined in Swagger""" # noqa: E501 - - self._url = None - self._bytes = None - self.discriminator = None - - if url is not None: - self.url = url - if bytes is not None: - self.bytes = bytes - - @property - def url(self): - """Gets the url of this AdminUrlBlob. # noqa: E501 - - Actual url value. # noqa: E501 - - :return: The url of this AdminUrlBlob. # noqa: E501 - :rtype: str - """ - return self._url - - @url.setter - def url(self, url): - """Sets the url of this AdminUrlBlob. - - Actual url value. # noqa: E501 - - :param url: The url of this AdminUrlBlob. # noqa: E501 - :type: str - """ - - self._url = url - - @property - def bytes(self): - """Gets the bytes of this AdminUrlBlob. # noqa: E501 - - Represents the size of the file accessible at the above url. # noqa: E501 - - :return: The bytes of this AdminUrlBlob. # noqa: E501 - :rtype: str - """ - return self._bytes - - @bytes.setter - def bytes(self, bytes): - """Sets the bytes of this AdminUrlBlob. - - Represents the size of the file accessible at the above url. # noqa: E501 - - :param bytes: The bytes of this AdminUrlBlob. # noqa: E501 - :type: str - """ - - self._bytes = bytes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminUrlBlob, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminUrlBlob): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_version.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_version.py deleted file mode 100644 index bdbad41bb..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_version.py +++ /dev/null @@ -1,167 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminVersion(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'build': 'str', - 'version': 'str', - 'build_time': 'str' - } - - attribute_map = { - 'build': 'Build', - 'version': 'Version', - 'build_time': 'BuildTime' - } - - def __init__(self, build=None, version=None, build_time=None): # noqa: E501 - """AdminVersion - a model defined in Swagger""" # noqa: E501 - - self._build = None - self._version = None - self._build_time = None - self.discriminator = None - - if build is not None: - self.build = build - if version is not None: - self.version = version - if build_time is not None: - self.build_time = build_time - - @property - def build(self): - """Gets the build of this AdminVersion. # noqa: E501 - - - :return: The build of this AdminVersion. # noqa: E501 - :rtype: str - """ - return self._build - - @build.setter - def build(self, build): - """Sets the build of this AdminVersion. - - - :param build: The build of this AdminVersion. # noqa: E501 - :type: str - """ - - self._build = build - - @property - def version(self): - """Gets the version of this AdminVersion. # noqa: E501 - - - :return: The version of this AdminVersion. # noqa: E501 - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this AdminVersion. - - - :param version: The version of this AdminVersion. # noqa: E501 - :type: str - """ - - self._version = version - - @property - def build_time(self): - """Gets the build_time of this AdminVersion. # noqa: E501 - - - :return: The build_time of this AdminVersion. # noqa: E501 - :rtype: str - """ - return self._build_time - - @build_time.setter - def build_time(self, build_time): - """Sets the build_time of this AdminVersion. - - - :param build_time: The build_time of this AdminVersion. # noqa: E501 - :type: str - """ - - self._build_time = build_time - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminVersion, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminVersion): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow.py deleted file mode 100644 index 244e9cda0..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminWorkflow(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'closure': 'AdminWorkflowClosure' - } - - attribute_map = { - 'id': 'id', - 'closure': 'closure' - } - - def __init__(self, id=None, closure=None): # noqa: E501 - """AdminWorkflow - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._closure = None - self.discriminator = None - - if id is not None: - self.id = id - if closure is not None: - self.closure = closure - - @property - def id(self): - """Gets the id of this AdminWorkflow. # noqa: E501 - - id represents the unique identifier of the workflow. # noqa: E501 - - :return: The id of this AdminWorkflow. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminWorkflow. - - id represents the unique identifier of the workflow. # noqa: E501 - - :param id: The id of this AdminWorkflow. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def closure(self): - """Gets the closure of this AdminWorkflow. # noqa: E501 - - closure encapsulates all the fields that maps to a compiled version of the workflow. # noqa: E501 - - :return: The closure of this AdminWorkflow. # noqa: E501 - :rtype: AdminWorkflowClosure - """ - return self._closure - - @closure.setter - def closure(self, closure): - """Sets the closure of this AdminWorkflow. - - closure encapsulates all the fields that maps to a compiled version of the workflow. # noqa: E501 - - :param closure: The closure of this AdminWorkflow. # noqa: E501 - :type: AdminWorkflowClosure - """ - - self._closure = closure - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflow, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflow): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py deleted file mode 100644 index e5dc38907..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py +++ /dev/null @@ -1,201 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: F401,E501 - - -class AdminWorkflowAttributes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'workflow': 'str', - 'matching_attributes': 'AdminMatchingAttributes' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'workflow': 'workflow', - 'matching_attributes': 'matching_attributes' - } - - def __init__(self, project=None, domain=None, workflow=None, matching_attributes=None): # noqa: E501 - """AdminWorkflowAttributes - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._workflow = None - self._matching_attributes = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if workflow is not None: - self.workflow = workflow - if matching_attributes is not None: - self.matching_attributes = matching_attributes - - @property - def project(self): - """Gets the project of this AdminWorkflowAttributes. # noqa: E501 - - Unique project id for which this set of attributes will be applied. # noqa: E501 - - :return: The project of this AdminWorkflowAttributes. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminWorkflowAttributes. - - Unique project id for which this set of attributes will be applied. # noqa: E501 - - :param project: The project of this AdminWorkflowAttributes. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this AdminWorkflowAttributes. # noqa: E501 - - Unique domain id for which this set of attributes will be applied. # noqa: E501 - - :return: The domain of this AdminWorkflowAttributes. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminWorkflowAttributes. - - Unique domain id for which this set of attributes will be applied. # noqa: E501 - - :param domain: The domain of this AdminWorkflowAttributes. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def workflow(self): - """Gets the workflow of this AdminWorkflowAttributes. # noqa: E501 - - Workflow name for which this set of attributes will be applied. # noqa: E501 - - :return: The workflow of this AdminWorkflowAttributes. # noqa: E501 - :rtype: str - """ - return self._workflow - - @workflow.setter - def workflow(self, workflow): - """Sets the workflow of this AdminWorkflowAttributes. - - Workflow name for which this set of attributes will be applied. # noqa: E501 - - :param workflow: The workflow of this AdminWorkflowAttributes. # noqa: E501 - :type: str - """ - - self._workflow = workflow - - @property - def matching_attributes(self): - """Gets the matching_attributes of this AdminWorkflowAttributes. # noqa: E501 - - - :return: The matching_attributes of this AdminWorkflowAttributes. # noqa: E501 - :rtype: AdminMatchingAttributes - """ - return self._matching_attributes - - @matching_attributes.setter - def matching_attributes(self, matching_attributes): - """Sets the matching_attributes of this AdminWorkflowAttributes. - - - :param matching_attributes: The matching_attributes of this AdminWorkflowAttributes. # noqa: E501 - :type: AdminMatchingAttributes - """ - - self._matching_attributes = matching_attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowAttributes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowAttributes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_request.py deleted file mode 100644 index 348cd9821..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_request.py +++ /dev/null @@ -1,195 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matchable_resource import AdminMatchableResource # noqa: F401,E501 - - -class AdminWorkflowAttributesDeleteRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'workflow': 'str', - 'resource_type': 'AdminMatchableResource' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'workflow': 'workflow', - 'resource_type': 'resource_type' - } - - def __init__(self, project=None, domain=None, workflow=None, resource_type=None): # noqa: E501 - """AdminWorkflowAttributesDeleteRequest - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._workflow = None - self._resource_type = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if workflow is not None: - self.workflow = workflow - if resource_type is not None: - self.resource_type = resource_type - - @property - def project(self): - """Gets the project of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - - - :return: The project of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminWorkflowAttributesDeleteRequest. - - - :param project: The project of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - - - :return: The domain of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminWorkflowAttributesDeleteRequest. - - - :param domain: The domain of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def workflow(self): - """Gets the workflow of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - - - :return: The workflow of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._workflow - - @workflow.setter - def workflow(self, workflow): - """Sets the workflow of this AdminWorkflowAttributesDeleteRequest. - - - :param workflow: The workflow of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._workflow = workflow - - @property - def resource_type(self): - """Gets the resource_type of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - - - :return: The resource_type of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :rtype: AdminMatchableResource - """ - return self._resource_type - - @resource_type.setter - def resource_type(self, resource_type): - """Sets the resource_type of this AdminWorkflowAttributesDeleteRequest. - - - :param resource_type: The resource_type of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :type: AdminMatchableResource - """ - - self._resource_type = resource_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowAttributesDeleteRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowAttributesDeleteRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_response.py deleted file mode 100644 index 7d2f277cb..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminWorkflowAttributesDeleteResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminWorkflowAttributesDeleteResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowAttributesDeleteResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowAttributesDeleteResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_get_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_get_response.py deleted file mode 100644 index 6d0b4971d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_get_response.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes # noqa: F401,E501 - - -class AdminWorkflowAttributesGetResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'AdminWorkflowAttributes' - } - - attribute_map = { - 'attributes': 'attributes' - } - - def __init__(self, attributes=None): # noqa: E501 - """AdminWorkflowAttributesGetResponse - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - - @property - def attributes(self): - """Gets the attributes of this AdminWorkflowAttributesGetResponse. # noqa: E501 - - - :return: The attributes of this AdminWorkflowAttributesGetResponse. # noqa: E501 - :rtype: AdminWorkflowAttributes - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminWorkflowAttributesGetResponse. - - - :param attributes: The attributes of this AdminWorkflowAttributesGetResponse. # noqa: E501 - :type: AdminWorkflowAttributes - """ - - self._attributes = attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowAttributesGetResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowAttributesGetResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py deleted file mode 100644 index 2f5ae0956..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes # noqa: F401,E501 - - -class AdminWorkflowAttributesUpdateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'AdminWorkflowAttributes' - } - - attribute_map = { - 'attributes': 'attributes' - } - - def __init__(self, attributes=None): # noqa: E501 - """AdminWorkflowAttributesUpdateRequest - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - - @property - def attributes(self): - """Gets the attributes of this AdminWorkflowAttributesUpdateRequest. # noqa: E501 - - - :return: The attributes of this AdminWorkflowAttributesUpdateRequest. # noqa: E501 - :rtype: AdminWorkflowAttributes - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminWorkflowAttributesUpdateRequest. - - - :param attributes: The attributes of this AdminWorkflowAttributesUpdateRequest. # noqa: E501 - :type: AdminWorkflowAttributes - """ - - self._attributes = attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowAttributesUpdateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowAttributesUpdateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py deleted file mode 100644 index 871461df5..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminWorkflowAttributesUpdateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminWorkflowAttributesUpdateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowAttributesUpdateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowAttributesUpdateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_closure.py deleted file mode 100644 index 41b674b65..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_closure.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure # noqa: F401,E501 - - -class AdminWorkflowClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'compiled_workflow': 'CoreCompiledWorkflowClosure', - 'created_at': 'datetime' - } - - attribute_map = { - 'compiled_workflow': 'compiled_workflow', - 'created_at': 'created_at' - } - - def __init__(self, compiled_workflow=None, created_at=None): # noqa: E501 - """AdminWorkflowClosure - a model defined in Swagger""" # noqa: E501 - - self._compiled_workflow = None - self._created_at = None - self.discriminator = None - - if compiled_workflow is not None: - self.compiled_workflow = compiled_workflow - if created_at is not None: - self.created_at = created_at - - @property - def compiled_workflow(self): - """Gets the compiled_workflow of this AdminWorkflowClosure. # noqa: E501 - - Represents the compiled representation of the workflow from the specification provided. # noqa: E501 - - :return: The compiled_workflow of this AdminWorkflowClosure. # noqa: E501 - :rtype: CoreCompiledWorkflowClosure - """ - return self._compiled_workflow - - @compiled_workflow.setter - def compiled_workflow(self, compiled_workflow): - """Sets the compiled_workflow of this AdminWorkflowClosure. - - Represents the compiled representation of the workflow from the specification provided. # noqa: E501 - - :param compiled_workflow: The compiled_workflow of this AdminWorkflowClosure. # noqa: E501 - :type: CoreCompiledWorkflowClosure - """ - - self._compiled_workflow = compiled_workflow - - @property - def created_at(self): - """Gets the created_at of this AdminWorkflowClosure. # noqa: E501 - - Time at which the workflow was created. # noqa: E501 - - :return: The created_at of this AdminWorkflowClosure. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this AdminWorkflowClosure. - - Time at which the workflow was created. # noqa: E501 - - :param created_at: The created_at of this AdminWorkflowClosure. # noqa: E501 - :type: datetime - """ - - self._created_at = created_at - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_request.py deleted file mode 100644 index d806cd1b6..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_request.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminWorkflowCreateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'spec': 'AdminWorkflowSpec' - } - - attribute_map = { - 'id': 'id', - 'spec': 'spec' - } - - def __init__(self, id=None, spec=None): # noqa: E501 - """AdminWorkflowCreateRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._spec = None - self.discriminator = None - - if id is not None: - self.id = id - if spec is not None: - self.spec = spec - - @property - def id(self): - """Gets the id of this AdminWorkflowCreateRequest. # noqa: E501 - - - :return: The id of this AdminWorkflowCreateRequest. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminWorkflowCreateRequest. - - - :param id: The id of this AdminWorkflowCreateRequest. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def spec(self): - """Gets the spec of this AdminWorkflowCreateRequest. # noqa: E501 - - - :return: The spec of this AdminWorkflowCreateRequest. # noqa: E501 - :rtype: AdminWorkflowSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this AdminWorkflowCreateRequest. - - - :param spec: The spec of this AdminWorkflowCreateRequest. # noqa: E501 - :type: AdminWorkflowSpec - """ - - self._spec = spec - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowCreateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowCreateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_response.py deleted file mode 100644 index 63dfaa032..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminWorkflowCreateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminWorkflowCreateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowCreateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowCreateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py deleted file mode 100644 index 3e9fc6722..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py +++ /dev/null @@ -1,262 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: F401,E501 -from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 -from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: F401,E501 -from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: F401,E501 - - -class AdminWorkflowExecutionConfig(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'max_parallelism': 'int', - 'security_context': 'CoreSecurityContext', - 'raw_output_data_config': 'AdminRawOutputDataConfig', - 'labels': 'AdminLabels', - 'annotations': 'AdminAnnotations', - 'interruptible': 'bool' - } - - attribute_map = { - 'max_parallelism': 'max_parallelism', - 'security_context': 'security_context', - 'raw_output_data_config': 'raw_output_data_config', - 'labels': 'labels', - 'annotations': 'annotations', - 'interruptible': 'interruptible' - } - - def __init__(self, max_parallelism=None, security_context=None, raw_output_data_config=None, labels=None, annotations=None, interruptible=None): # noqa: E501 - """AdminWorkflowExecutionConfig - a model defined in Swagger""" # noqa: E501 - - self._max_parallelism = None - self._security_context = None - self._raw_output_data_config = None - self._labels = None - self._annotations = None - self._interruptible = None - self.discriminator = None - - if max_parallelism is not None: - self.max_parallelism = max_parallelism - if security_context is not None: - self.security_context = security_context - if raw_output_data_config is not None: - self.raw_output_data_config = raw_output_data_config - if labels is not None: - self.labels = labels - if annotations is not None: - self.annotations = annotations - if interruptible is not None: - self.interruptible = interruptible - - @property - def max_parallelism(self): - """Gets the max_parallelism of this AdminWorkflowExecutionConfig. # noqa: E501 - - Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness. # noqa: E501 - - :return: The max_parallelism of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: int - """ - return self._max_parallelism - - @max_parallelism.setter - def max_parallelism(self, max_parallelism): - """Sets the max_parallelism of this AdminWorkflowExecutionConfig. - - Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness. # noqa: E501 - - :param max_parallelism: The max_parallelism of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: int - """ - - self._max_parallelism = max_parallelism - - @property - def security_context(self): - """Gets the security_context of this AdminWorkflowExecutionConfig. # noqa: E501 - - Indicates security context permissions for executions triggered with this matchable attribute. # noqa: E501 - - :return: The security_context of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: CoreSecurityContext - """ - return self._security_context - - @security_context.setter - def security_context(self, security_context): - """Sets the security_context of this AdminWorkflowExecutionConfig. - - Indicates security context permissions for executions triggered with this matchable attribute. # noqa: E501 - - :param security_context: The security_context of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: CoreSecurityContext - """ - - self._security_context = security_context - - @property - def raw_output_data_config(self): - """Gets the raw_output_data_config of this AdminWorkflowExecutionConfig. # noqa: E501 - - Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). # noqa: E501 - - :return: The raw_output_data_config of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: AdminRawOutputDataConfig - """ - return self._raw_output_data_config - - @raw_output_data_config.setter - def raw_output_data_config(self, raw_output_data_config): - """Sets the raw_output_data_config of this AdminWorkflowExecutionConfig. - - Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). # noqa: E501 - - :param raw_output_data_config: The raw_output_data_config of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: AdminRawOutputDataConfig - """ - - self._raw_output_data_config = raw_output_data_config - - @property - def labels(self): - """Gets the labels of this AdminWorkflowExecutionConfig. # noqa: E501 - - Custom labels to be applied to a triggered execution resource. # noqa: E501 - - :return: The labels of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: AdminLabels - """ - return self._labels - - @labels.setter - def labels(self, labels): - """Sets the labels of this AdminWorkflowExecutionConfig. - - Custom labels to be applied to a triggered execution resource. # noqa: E501 - - :param labels: The labels of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: AdminLabels - """ - - self._labels = labels - - @property - def annotations(self): - """Gets the annotations of this AdminWorkflowExecutionConfig. # noqa: E501 - - Custom annotations to be applied to a triggered execution resource. # noqa: E501 - - :return: The annotations of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: AdminAnnotations - """ - return self._annotations - - @annotations.setter - def annotations(self, annotations): - """Sets the annotations of this AdminWorkflowExecutionConfig. - - Custom annotations to be applied to a triggered execution resource. # noqa: E501 - - :param annotations: The annotations of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: AdminAnnotations - """ - - self._annotations = annotations - - @property - def interruptible(self): - """Gets the interruptible of this AdminWorkflowExecutionConfig. # noqa: E501 - - Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 - - :return: The interruptible of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: bool - """ - return self._interruptible - - @interruptible.setter - def interruptible(self, interruptible): - """Sets the interruptible of this AdminWorkflowExecutionConfig. - - Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 - - :param interruptible: The interruptible of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: bool - """ - - self._interruptible = interruptible - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowExecutionConfig, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowExecutionConfig): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_request.py deleted file mode 100644 index 5b49fb363..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_request.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.event_workflow_execution_event import EventWorkflowExecutionEvent # noqa: F401,E501 - - -class AdminWorkflowExecutionEventRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'request_id': 'str', - 'event': 'EventWorkflowExecutionEvent' - } - - attribute_map = { - 'request_id': 'request_id', - 'event': 'event' - } - - def __init__(self, request_id=None, event=None): # noqa: E501 - """AdminWorkflowExecutionEventRequest - a model defined in Swagger""" # noqa: E501 - - self._request_id = None - self._event = None - self.discriminator = None - - if request_id is not None: - self.request_id = request_id - if event is not None: - self.event = event - - @property - def request_id(self): - """Gets the request_id of this AdminWorkflowExecutionEventRequest. # noqa: E501 - - - :return: The request_id of this AdminWorkflowExecutionEventRequest. # noqa: E501 - :rtype: str - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id): - """Sets the request_id of this AdminWorkflowExecutionEventRequest. - - - :param request_id: The request_id of this AdminWorkflowExecutionEventRequest. # noqa: E501 - :type: str - """ - - self._request_id = request_id - - @property - def event(self): - """Gets the event of this AdminWorkflowExecutionEventRequest. # noqa: E501 - - Details about the event that occurred. # noqa: E501 - - :return: The event of this AdminWorkflowExecutionEventRequest. # noqa: E501 - :rtype: EventWorkflowExecutionEvent - """ - return self._event - - @event.setter - def event(self, event): - """Sets the event of this AdminWorkflowExecutionEventRequest. - - Details about the event that occurred. # noqa: E501 - - :param event: The event of this AdminWorkflowExecutionEventRequest. # noqa: E501 - :type: EventWorkflowExecutionEvent - """ - - self._event = event - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowExecutionEventRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowExecutionEventRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_response.py deleted file mode 100644 index e4ddc78b6..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminWorkflowExecutionEventResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminWorkflowExecutionEventResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowExecutionEventResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowExecutionEventResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_data_response.py deleted file mode 100644 index 7b08ce32c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_data_response.py +++ /dev/null @@ -1,204 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 - - -class AdminWorkflowExecutionGetDataResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'outputs': 'AdminUrlBlob', - 'inputs': 'AdminUrlBlob', - 'full_inputs': 'CoreLiteralMap', - 'full_outputs': 'CoreLiteralMap' - } - - attribute_map = { - 'outputs': 'outputs', - 'inputs': 'inputs', - 'full_inputs': 'full_inputs', - 'full_outputs': 'full_outputs' - } - - def __init__(self, outputs=None, inputs=None, full_inputs=None, full_outputs=None): # noqa: E501 - """AdminWorkflowExecutionGetDataResponse - a model defined in Swagger""" # noqa: E501 - - self._outputs = None - self._inputs = None - self._full_inputs = None - self._full_outputs = None - self.discriminator = None - - if outputs is not None: - self.outputs = outputs - if inputs is not None: - self.inputs = inputs - if full_inputs is not None: - self.full_inputs = full_inputs - if full_outputs is not None: - self.full_outputs = full_outputs - - @property - def outputs(self): - """Gets the outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - - Signed url to fetch a core.LiteralMap of execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 - - :return: The outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :rtype: AdminUrlBlob - """ - return self._outputs - - @outputs.setter - def outputs(self, outputs): - """Sets the outputs of this AdminWorkflowExecutionGetDataResponse. - - Signed url to fetch a core.LiteralMap of execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 - - :param outputs: The outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :type: AdminUrlBlob - """ - - self._outputs = outputs - - @property - def inputs(self): - """Gets the inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - - Signed url to fetch a core.LiteralMap of execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 - - :return: The inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :rtype: AdminUrlBlob - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this AdminWorkflowExecutionGetDataResponse. - - Signed url to fetch a core.LiteralMap of execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 - - :param inputs: The inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :type: AdminUrlBlob - """ - - self._inputs = inputs - - @property - def full_inputs(self): - """Gets the full_inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - - Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :return: The full_inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._full_inputs - - @full_inputs.setter - def full_inputs(self, full_inputs): - """Sets the full_inputs of this AdminWorkflowExecutionGetDataResponse. - - Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :param full_inputs: The full_inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :type: CoreLiteralMap - """ - - self._full_inputs = full_inputs - - @property - def full_outputs(self): - """Gets the full_outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - - Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :return: The full_outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._full_outputs - - @full_outputs.setter - def full_outputs(self, full_outputs): - """Sets the full_outputs of this AdminWorkflowExecutionGetDataResponse. - - Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :param full_outputs: The full_outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :type: CoreLiteralMap - """ - - self._full_outputs = full_outputs - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowExecutionGetDataResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowExecutionGetDataResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_list.py deleted file mode 100644 index 65fe9fb33..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_list.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_workflow import AdminWorkflow # noqa: F401,E501 - - -class AdminWorkflowList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'workflows': 'list[AdminWorkflow]', - 'token': 'str' - } - - attribute_map = { - 'workflows': 'workflows', - 'token': 'token' - } - - def __init__(self, workflows=None, token=None): # noqa: E501 - """AdminWorkflowList - a model defined in Swagger""" # noqa: E501 - - self._workflows = None - self._token = None - self.discriminator = None - - if workflows is not None: - self.workflows = workflows - if token is not None: - self.token = token - - @property - def workflows(self): - """Gets the workflows of this AdminWorkflowList. # noqa: E501 - - A list of workflows returned based on the request. # noqa: E501 - - :return: The workflows of this AdminWorkflowList. # noqa: E501 - :rtype: list[AdminWorkflow] - """ - return self._workflows - - @workflows.setter - def workflows(self, workflows): - """Sets the workflows of this AdminWorkflowList. - - A list of workflows returned based on the request. # noqa: E501 - - :param workflows: The workflows of this AdminWorkflowList. # noqa: E501 - :type: list[AdminWorkflow] - """ - - self._workflows = workflows - - @property - def token(self): - """Gets the token of this AdminWorkflowList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminWorkflowList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminWorkflowList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminWorkflowList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_spec.py deleted file mode 100644 index d49a6db68..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_spec.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate # noqa: F401,E501 - - -class AdminWorkflowSpec(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'template': 'CoreWorkflowTemplate', - 'sub_workflows': 'list[CoreWorkflowTemplate]' - } - - attribute_map = { - 'template': 'template', - 'sub_workflows': 'sub_workflows' - } - - def __init__(self, template=None, sub_workflows=None): # noqa: E501 - """AdminWorkflowSpec - a model defined in Swagger""" # noqa: E501 - - self._template = None - self._sub_workflows = None - self.discriminator = None - - if template is not None: - self.template = template - if sub_workflows is not None: - self.sub_workflows = sub_workflows - - @property - def template(self): - """Gets the template of this AdminWorkflowSpec. # noqa: E501 - - Template of the task that encapsulates all the metadata of the workflow. # noqa: E501 - - :return: The template of this AdminWorkflowSpec. # noqa: E501 - :rtype: CoreWorkflowTemplate - """ - return self._template - - @template.setter - def template(self, template): - """Sets the template of this AdminWorkflowSpec. - - Template of the task that encapsulates all the metadata of the workflow. # noqa: E501 - - :param template: The template of this AdminWorkflowSpec. # noqa: E501 - :type: CoreWorkflowTemplate - """ - - self._template = template - - @property - def sub_workflows(self): - """Gets the sub_workflows of this AdminWorkflowSpec. # noqa: E501 - - Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered. # noqa: E501 - - :return: The sub_workflows of this AdminWorkflowSpec. # noqa: E501 - :rtype: list[CoreWorkflowTemplate] - """ - return self._sub_workflows - - @sub_workflows.setter - def sub_workflows(self, sub_workflows): - """Sets the sub_workflows of this AdminWorkflowSpec. - - Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered. # noqa: E501 - - :param sub_workflows: The sub_workflows of this AdminWorkflowSpec. # noqa: E501 - :type: list[CoreWorkflowTemplate] - """ - - self._sub_workflows = sub_workflows - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowSpec, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowSpec): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/blob_type_blob_dimensionality.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/blob_type_blob_dimensionality.py deleted file mode 100644 index 94a5d768f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/blob_type_blob_dimensionality.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class BlobTypeBlobDimensionality(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - SINGLE = "SINGLE" - MULTIPART = "MULTIPART" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """BlobTypeBlobDimensionality - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(BlobTypeBlobDimensionality, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, BlobTypeBlobDimensionality): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/catalog_reservation_status.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/catalog_reservation_status.py deleted file mode 100644 index f51859542..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/catalog_reservation_status.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CatalogReservationStatus(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DISABLED = "RESERVATION_DISABLED" - ACQUIRED = "RESERVATION_ACQUIRED" - EXISTS = "RESERVATION_EXISTS" - RELEASED = "RESERVATION_RELEASED" - FAILURE = "RESERVATION_FAILURE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CatalogReservationStatus - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CatalogReservationStatus, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CatalogReservationStatus): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py deleted file mode 100644 index b14151518..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ComparisonExpressionOperator(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - EQ = "EQ" - NEQ = "NEQ" - GT = "GT" - GTE = "GTE" - LT = "LT" - LTE = "LTE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ComparisonExpressionOperator - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ComparisonExpressionOperator, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ComparisonExpressionOperator): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/conjunction_expression_logical_operator.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/conjunction_expression_logical_operator.py deleted file mode 100644 index 95bbfe714..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/conjunction_expression_logical_operator.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ConjunctionExpressionLogicalOperator(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - AND = "AND" - OR = "OR" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ConjunctionExpressionLogicalOperator - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ConjunctionExpressionLogicalOperator, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ConjunctionExpressionLogicalOperator): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/connection_set_id_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/connection_set_id_list.py deleted file mode 100644 index 75c023248..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/connection_set_id_list.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ConnectionSetIdList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'ids': 'list[str]' - } - - attribute_map = { - 'ids': 'ids' - } - - def __init__(self, ids=None): # noqa: E501 - """ConnectionSetIdList - a model defined in Swagger""" # noqa: E501 - - self._ids = None - self.discriminator = None - - if ids is not None: - self.ids = ids - - @property - def ids(self): - """Gets the ids of this ConnectionSetIdList. # noqa: E501 - - - :return: The ids of this ConnectionSetIdList. # noqa: E501 - :rtype: list[str] - """ - return self._ids - - @ids.setter - def ids(self, ids): - """Sets the ids of this ConnectionSetIdList. - - - :param ids: The ids of this ConnectionSetIdList. # noqa: E501 - :type: list[str] - """ - - self._ids = ids - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ConnectionSetIdList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ConnectionSetIdList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/container_architecture.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/container_architecture.py deleted file mode 100644 index eb0f6d398..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/container_architecture.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ContainerArchitecture(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNKNOWN = "UNKNOWN" - AMD64 = "AMD64" - ARM64 = "ARM64" - ARM_V6 = "ARM_V6" - ARM_V7 = "ARM_V7" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ContainerArchitecture - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ContainerArchitecture, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ContainerArchitecture): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_alias.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_alias.py deleted file mode 100644 index e838fed4e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_alias.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreAlias(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'var': 'str', - 'alias': 'str' - } - - attribute_map = { - 'var': 'var', - 'alias': 'alias' - } - - def __init__(self, var=None, alias=None): # noqa: E501 - """CoreAlias - a model defined in Swagger""" # noqa: E501 - - self._var = None - self._alias = None - self.discriminator = None - - if var is not None: - self.var = var - if alias is not None: - self.alias = alias - - @property - def var(self): - """Gets the var of this CoreAlias. # noqa: E501 - - Must match one of the output variable names on a node. # noqa: E501 - - :return: The var of this CoreAlias. # noqa: E501 - :rtype: str - """ - return self._var - - @var.setter - def var(self, var): - """Sets the var of this CoreAlias. - - Must match one of the output variable names on a node. # noqa: E501 - - :param var: The var of this CoreAlias. # noqa: E501 - :type: str - """ - - self._var = var - - @property - def alias(self): - """Gets the alias of this CoreAlias. # noqa: E501 - - A workflow-level unique alias that downstream nodes can refer to in their input. # noqa: E501 - - :return: The alias of this CoreAlias. # noqa: E501 - :rtype: str - """ - return self._alias - - @alias.setter - def alias(self, alias): - """Sets the alias of this CoreAlias. - - A workflow-level unique alias that downstream nodes can refer to in their input. # noqa: E501 - - :param alias: The alias of this CoreAlias. # noqa: E501 - :type: str - """ - - self._alias = alias - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreAlias, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreAlias): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binary.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binary.py deleted file mode 100644 index 371292819..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binary.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreBinary(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'value': 'str', - 'tag': 'str' - } - - attribute_map = { - 'value': 'value', - 'tag': 'tag' - } - - def __init__(self, value=None, tag=None): # noqa: E501 - """CoreBinary - a model defined in Swagger""" # noqa: E501 - - self._value = None - self._tag = None - self.discriminator = None - - if value is not None: - self.value = value - if tag is not None: - self.tag = tag - - @property - def value(self): - """Gets the value of this CoreBinary. # noqa: E501 - - - :return: The value of this CoreBinary. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this CoreBinary. - - - :param value: The value of this CoreBinary. # noqa: E501 - :type: str - """ - if value is not None and not re.search(r'^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', value): # noqa: E501 - raise ValueError(r"Invalid value for `value`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") # noqa: E501 - - self._value = value - - @property - def tag(self): - """Gets the tag of this CoreBinary. # noqa: E501 - - - :return: The tag of this CoreBinary. # noqa: E501 - :rtype: str - """ - return self._tag - - @tag.setter - def tag(self, tag): - """Sets the tag of this CoreBinary. - - - :param tag: The tag of this CoreBinary. # noqa: E501 - :type: str - """ - - self._tag = tag - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBinary, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBinary): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding.py deleted file mode 100644 index e865a23dc..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_binding_data import CoreBindingData # noqa: F401,E501 - - -class CoreBinding(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'var': 'str', - 'binding': 'CoreBindingData' - } - - attribute_map = { - 'var': 'var', - 'binding': 'binding' - } - - def __init__(self, var=None, binding=None): # noqa: E501 - """CoreBinding - a model defined in Swagger""" # noqa: E501 - - self._var = None - self._binding = None - self.discriminator = None - - if var is not None: - self.var = var - if binding is not None: - self.binding = binding - - @property - def var(self): - """Gets the var of this CoreBinding. # noqa: E501 - - Variable name must match an input/output variable of the node. # noqa: E501 - - :return: The var of this CoreBinding. # noqa: E501 - :rtype: str - """ - return self._var - - @var.setter - def var(self, var): - """Sets the var of this CoreBinding. - - Variable name must match an input/output variable of the node. # noqa: E501 - - :param var: The var of this CoreBinding. # noqa: E501 - :type: str - """ - - self._var = var - - @property - def binding(self): - """Gets the binding of this CoreBinding. # noqa: E501 - - Data to use to bind this variable. # noqa: E501 - - :return: The binding of this CoreBinding. # noqa: E501 - :rtype: CoreBindingData - """ - return self._binding - - @binding.setter - def binding(self, binding): - """Sets the binding of this CoreBinding. - - Data to use to bind this variable. # noqa: E501 - - :param binding: The binding of this CoreBinding. # noqa: E501 - :type: CoreBindingData - """ - - self._binding = binding - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBinding, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBinding): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data.py deleted file mode 100644 index 611a1aca5..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data.py +++ /dev/null @@ -1,233 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_binding_data_collection import CoreBindingDataCollection # noqa: F401,E501 -from flyteadmin.models.core_binding_data_map import CoreBindingDataMap # noqa: F401,E501 -from flyteadmin.models.core_output_reference import CoreOutputReference # noqa: F401,E501 -from flyteadmin.models.core_scalar import CoreScalar # noqa: F401,E501 -from flyteadmin.models.core_union_info import CoreUnionInfo # noqa: F401,E501 - - -class CoreBindingData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'scalar': 'CoreScalar', - 'collection': 'CoreBindingDataCollection', - 'promise': 'CoreOutputReference', - 'map': 'CoreBindingDataMap', - 'union': 'CoreUnionInfo' - } - - attribute_map = { - 'scalar': 'scalar', - 'collection': 'collection', - 'promise': 'promise', - 'map': 'map', - 'union': 'union' - } - - def __init__(self, scalar=None, collection=None, promise=None, map=None, union=None): # noqa: E501 - """CoreBindingData - a model defined in Swagger""" # noqa: E501 - - self._scalar = None - self._collection = None - self._promise = None - self._map = None - self._union = None - self.discriminator = None - - if scalar is not None: - self.scalar = scalar - if collection is not None: - self.collection = collection - if promise is not None: - self.promise = promise - if map is not None: - self.map = map - if union is not None: - self.union = union - - @property - def scalar(self): - """Gets the scalar of this CoreBindingData. # noqa: E501 - - A simple scalar value. # noqa: E501 - - :return: The scalar of this CoreBindingData. # noqa: E501 - :rtype: CoreScalar - """ - return self._scalar - - @scalar.setter - def scalar(self, scalar): - """Sets the scalar of this CoreBindingData. - - A simple scalar value. # noqa: E501 - - :param scalar: The scalar of this CoreBindingData. # noqa: E501 - :type: CoreScalar - """ - - self._scalar = scalar - - @property - def collection(self): - """Gets the collection of this CoreBindingData. # noqa: E501 - - A collection of binding data. This allows nesting of binding data to any number of levels. # noqa: E501 - - :return: The collection of this CoreBindingData. # noqa: E501 - :rtype: CoreBindingDataCollection - """ - return self._collection - - @collection.setter - def collection(self, collection): - """Sets the collection of this CoreBindingData. - - A collection of binding data. This allows nesting of binding data to any number of levels. # noqa: E501 - - :param collection: The collection of this CoreBindingData. # noqa: E501 - :type: CoreBindingDataCollection - """ - - self._collection = collection - - @property - def promise(self): - """Gets the promise of this CoreBindingData. # noqa: E501 - - References an output promised by another node. # noqa: E501 - - :return: The promise of this CoreBindingData. # noqa: E501 - :rtype: CoreOutputReference - """ - return self._promise - - @promise.setter - def promise(self, promise): - """Sets the promise of this CoreBindingData. - - References an output promised by another node. # noqa: E501 - - :param promise: The promise of this CoreBindingData. # noqa: E501 - :type: CoreOutputReference - """ - - self._promise = promise - - @property - def map(self): - """Gets the map of this CoreBindingData. # noqa: E501 - - A map of bindings. The key is always a string. # noqa: E501 - - :return: The map of this CoreBindingData. # noqa: E501 - :rtype: CoreBindingDataMap - """ - return self._map - - @map.setter - def map(self, map): - """Sets the map of this CoreBindingData. - - A map of bindings. The key is always a string. # noqa: E501 - - :param map: The map of this CoreBindingData. # noqa: E501 - :type: CoreBindingDataMap - """ - - self._map = map - - @property - def union(self): - """Gets the union of this CoreBindingData. # noqa: E501 - - - :return: The union of this CoreBindingData. # noqa: E501 - :rtype: CoreUnionInfo - """ - return self._union - - @union.setter - def union(self, union): - """Sets the union of this CoreBindingData. - - - :param union: The union of this CoreBindingData. # noqa: E501 - :type: CoreUnionInfo - """ - - self._union = union - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBindingData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBindingData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_collection.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_collection.py deleted file mode 100644 index a2e765d7f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_collection.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_binding_data import CoreBindingData # noqa: F401,E501 - - -class CoreBindingDataCollection(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bindings': 'list[CoreBindingData]' - } - - attribute_map = { - 'bindings': 'bindings' - } - - def __init__(self, bindings=None): # noqa: E501 - """CoreBindingDataCollection - a model defined in Swagger""" # noqa: E501 - - self._bindings = None - self.discriminator = None - - if bindings is not None: - self.bindings = bindings - - @property - def bindings(self): - """Gets the bindings of this CoreBindingDataCollection. # noqa: E501 - - - :return: The bindings of this CoreBindingDataCollection. # noqa: E501 - :rtype: list[CoreBindingData] - """ - return self._bindings - - @bindings.setter - def bindings(self, bindings): - """Sets the bindings of this CoreBindingDataCollection. - - - :param bindings: The bindings of this CoreBindingDataCollection. # noqa: E501 - :type: list[CoreBindingData] - """ - - self._bindings = bindings - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBindingDataCollection, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBindingDataCollection): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_map.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_map.py deleted file mode 100644 index d3d00d404..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_map.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_binding_data import CoreBindingData # noqa: F401,E501 - - -class CoreBindingDataMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bindings': 'dict(str, CoreBindingData)' - } - - attribute_map = { - 'bindings': 'bindings' - } - - def __init__(self, bindings=None): # noqa: E501 - """CoreBindingDataMap - a model defined in Swagger""" # noqa: E501 - - self._bindings = None - self.discriminator = None - - if bindings is not None: - self.bindings = bindings - - @property - def bindings(self): - """Gets the bindings of this CoreBindingDataMap. # noqa: E501 - - - :return: The bindings of this CoreBindingDataMap. # noqa: E501 - :rtype: dict(str, CoreBindingData) - """ - return self._bindings - - @bindings.setter - def bindings(self, bindings): - """Sets the bindings of this CoreBindingDataMap. - - - :param bindings: The bindings of this CoreBindingDataMap. # noqa: E501 - :type: dict(str, CoreBindingData) - """ - - self._bindings = bindings - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBindingDataMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBindingDataMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob.py deleted file mode 100644 index 270ae7060..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_blob_metadata import CoreBlobMetadata # noqa: F401,E501 - - -class CoreBlob(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'metadata': 'CoreBlobMetadata', - 'uri': 'str' - } - - attribute_map = { - 'metadata': 'metadata', - 'uri': 'uri' - } - - def __init__(self, metadata=None, uri=None): # noqa: E501 - """CoreBlob - a model defined in Swagger""" # noqa: E501 - - self._metadata = None - self._uri = None - self.discriminator = None - - if metadata is not None: - self.metadata = metadata - if uri is not None: - self.uri = uri - - @property - def metadata(self): - """Gets the metadata of this CoreBlob. # noqa: E501 - - - :return: The metadata of this CoreBlob. # noqa: E501 - :rtype: CoreBlobMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreBlob. - - - :param metadata: The metadata of this CoreBlob. # noqa: E501 - :type: CoreBlobMetadata - """ - - self._metadata = metadata - - @property - def uri(self): - """Gets the uri of this CoreBlob. # noqa: E501 - - - :return: The uri of this CoreBlob. # noqa: E501 - :rtype: str - """ - return self._uri - - @uri.setter - def uri(self, uri): - """Sets the uri of this CoreBlob. - - - :param uri: The uri of this CoreBlob. # noqa: E501 - :type: str - """ - - self._uri = uri - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBlob, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBlob): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_metadata.py deleted file mode 100644 index 3a12b7f98..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_metadata.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_blob_type import CoreBlobType # noqa: F401,E501 - - -class CoreBlobMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'type': 'CoreBlobType' - } - - attribute_map = { - 'type': 'type' - } - - def __init__(self, type=None): # noqa: E501 - """CoreBlobMetadata - a model defined in Swagger""" # noqa: E501 - - self._type = None - self.discriminator = None - - if type is not None: - self.type = type - - @property - def type(self): - """Gets the type of this CoreBlobMetadata. # noqa: E501 - - - :return: The type of this CoreBlobMetadata. # noqa: E501 - :rtype: CoreBlobType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreBlobMetadata. - - - :param type: The type of this CoreBlobMetadata. # noqa: E501 - :type: CoreBlobType - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBlobMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBlobMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_type.py deleted file mode 100644 index a81b58c44..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_type.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality # noqa: F401,E501 - - -class CoreBlobType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'format': 'str', - 'dimensionality': 'BlobTypeBlobDimensionality' - } - - attribute_map = { - 'format': 'format', - 'dimensionality': 'dimensionality' - } - - def __init__(self, format=None, dimensionality=None): # noqa: E501 - """CoreBlobType - a model defined in Swagger""" # noqa: E501 - - self._format = None - self._dimensionality = None - self.discriminator = None - - if format is not None: - self.format = format - if dimensionality is not None: - self.dimensionality = dimensionality - - @property - def format(self): - """Gets the format of this CoreBlobType. # noqa: E501 - - - :return: The format of this CoreBlobType. # noqa: E501 - :rtype: str - """ - return self._format - - @format.setter - def format(self, format): - """Sets the format of this CoreBlobType. - - - :param format: The format of this CoreBlobType. # noqa: E501 - :type: str - """ - - self._format = format - - @property - def dimensionality(self): - """Gets the dimensionality of this CoreBlobType. # noqa: E501 - - - :return: The dimensionality of this CoreBlobType. # noqa: E501 - :rtype: BlobTypeBlobDimensionality - """ - return self._dimensionality - - @dimensionality.setter - def dimensionality(self, dimensionality): - """Sets the dimensionality of this CoreBlobType. - - - :param dimensionality: The dimensionality of this CoreBlobType. # noqa: E501 - :type: BlobTypeBlobDimensionality - """ - - self._dimensionality = dimensionality - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBlobType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBlobType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_boolean_expression.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_boolean_expression.py deleted file mode 100644 index f7eaff613..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_boolean_expression.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_comparison_expression import CoreComparisonExpression # noqa: F401,E501 -from flyteadmin.models.core_conjunction_expression import CoreConjunctionExpression # noqa: F401,E501 - - -class CoreBooleanExpression(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'conjunction': 'CoreConjunctionExpression', - 'comparison': 'CoreComparisonExpression' - } - - attribute_map = { - 'conjunction': 'conjunction', - 'comparison': 'comparison' - } - - def __init__(self, conjunction=None, comparison=None): # noqa: E501 - """CoreBooleanExpression - a model defined in Swagger""" # noqa: E501 - - self._conjunction = None - self._comparison = None - self.discriminator = None - - if conjunction is not None: - self.conjunction = conjunction - if comparison is not None: - self.comparison = comparison - - @property - def conjunction(self): - """Gets the conjunction of this CoreBooleanExpression. # noqa: E501 - - - :return: The conjunction of this CoreBooleanExpression. # noqa: E501 - :rtype: CoreConjunctionExpression - """ - return self._conjunction - - @conjunction.setter - def conjunction(self, conjunction): - """Sets the conjunction of this CoreBooleanExpression. - - - :param conjunction: The conjunction of this CoreBooleanExpression. # noqa: E501 - :type: CoreConjunctionExpression - """ - - self._conjunction = conjunction - - @property - def comparison(self): - """Gets the comparison of this CoreBooleanExpression. # noqa: E501 - - - :return: The comparison of this CoreBooleanExpression. # noqa: E501 - :rtype: CoreComparisonExpression - """ - return self._comparison - - @comparison.setter - def comparison(self, comparison): - """Sets the comparison of this CoreBooleanExpression. - - - :param comparison: The comparison of this CoreBooleanExpression. # noqa: E501 - :type: CoreComparisonExpression - """ - - self._comparison = comparison - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBooleanExpression, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBooleanExpression): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_branch_node.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_branch_node.py deleted file mode 100644 index db7cc3c71..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_branch_node.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_if_else_block import CoreIfElseBlock # noqa: F401,E501 - - -class CoreBranchNode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'if_else': 'CoreIfElseBlock' - } - - attribute_map = { - 'if_else': 'if_else' - } - - def __init__(self, if_else=None): # noqa: E501 - """CoreBranchNode - a model defined in Swagger""" # noqa: E501 - - self._if_else = None - self.discriminator = None - - if if_else is not None: - self.if_else = if_else - - @property - def if_else(self): - """Gets the if_else of this CoreBranchNode. # noqa: E501 - - - :return: The if_else of this CoreBranchNode. # noqa: E501 - :rtype: CoreIfElseBlock - """ - return self._if_else - - @if_else.setter - def if_else(self, if_else): - """Sets the if_else of this CoreBranchNode. - - - :param if_else: The if_else of this CoreBranchNode. # noqa: E501 - :type: CoreIfElseBlock - """ - - self._if_else = if_else - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBranchNode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBranchNode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_artifact_tag.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_artifact_tag.py deleted file mode 100644 index 77fb0a950..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_artifact_tag.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreCatalogArtifactTag(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'artifact_id': 'str', - 'name': 'str' - } - - attribute_map = { - 'artifact_id': 'artifact_id', - 'name': 'name' - } - - def __init__(self, artifact_id=None, name=None): # noqa: E501 - """CoreCatalogArtifactTag - a model defined in Swagger""" # noqa: E501 - - self._artifact_id = None - self._name = None - self.discriminator = None - - if artifact_id is not None: - self.artifact_id = artifact_id - if name is not None: - self.name = name - - @property - def artifact_id(self): - """Gets the artifact_id of this CoreCatalogArtifactTag. # noqa: E501 - - - :return: The artifact_id of this CoreCatalogArtifactTag. # noqa: E501 - :rtype: str - """ - return self._artifact_id - - @artifact_id.setter - def artifact_id(self, artifact_id): - """Sets the artifact_id of this CoreCatalogArtifactTag. - - - :param artifact_id: The artifact_id of this CoreCatalogArtifactTag. # noqa: E501 - :type: str - """ - - self._artifact_id = artifact_id - - @property - def name(self): - """Gets the name of this CoreCatalogArtifactTag. # noqa: E501 - - - :return: The name of this CoreCatalogArtifactTag. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CoreCatalogArtifactTag. - - - :param name: The name of this CoreCatalogArtifactTag. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreCatalogArtifactTag, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreCatalogArtifactTag): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_cache_status.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_cache_status.py deleted file mode 100644 index 95d2dc313..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_cache_status.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreCatalogCacheStatus(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DISABLED = "CACHE_DISABLED" - MISS = "CACHE_MISS" - HIT = "CACHE_HIT" - POPULATED = "CACHE_POPULATED" - LOOKUP_FAILURE = "CACHE_LOOKUP_FAILURE" - PUT_FAILURE = "CACHE_PUT_FAILURE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreCatalogCacheStatus - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreCatalogCacheStatus, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreCatalogCacheStatus): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_metadata.py deleted file mode 100644 index ae3d5f81f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_metadata.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_catalog_artifact_tag import CoreCatalogArtifactTag # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: F401,E501 - - -class CoreCatalogMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'dataset_id': 'CoreIdentifier', - 'artifact_tag': 'CoreCatalogArtifactTag', - 'source_task_execution': 'CoreTaskExecutionIdentifier' - } - - attribute_map = { - 'dataset_id': 'dataset_id', - 'artifact_tag': 'artifact_tag', - 'source_task_execution': 'source_task_execution' - } - - def __init__(self, dataset_id=None, artifact_tag=None, source_task_execution=None): # noqa: E501 - """CoreCatalogMetadata - a model defined in Swagger""" # noqa: E501 - - self._dataset_id = None - self._artifact_tag = None - self._source_task_execution = None - self.discriminator = None - - if dataset_id is not None: - self.dataset_id = dataset_id - if artifact_tag is not None: - self.artifact_tag = artifact_tag - if source_task_execution is not None: - self.source_task_execution = source_task_execution - - @property - def dataset_id(self): - """Gets the dataset_id of this CoreCatalogMetadata. # noqa: E501 - - - :return: The dataset_id of this CoreCatalogMetadata. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._dataset_id - - @dataset_id.setter - def dataset_id(self, dataset_id): - """Sets the dataset_id of this CoreCatalogMetadata. - - - :param dataset_id: The dataset_id of this CoreCatalogMetadata. # noqa: E501 - :type: CoreIdentifier - """ - - self._dataset_id = dataset_id - - @property - def artifact_tag(self): - """Gets the artifact_tag of this CoreCatalogMetadata. # noqa: E501 - - - :return: The artifact_tag of this CoreCatalogMetadata. # noqa: E501 - :rtype: CoreCatalogArtifactTag - """ - return self._artifact_tag - - @artifact_tag.setter - def artifact_tag(self, artifact_tag): - """Sets the artifact_tag of this CoreCatalogMetadata. - - - :param artifact_tag: The artifact_tag of this CoreCatalogMetadata. # noqa: E501 - :type: CoreCatalogArtifactTag - """ - - self._artifact_tag = artifact_tag - - @property - def source_task_execution(self): - """Gets the source_task_execution of this CoreCatalogMetadata. # noqa: E501 - - - :return: The source_task_execution of this CoreCatalogMetadata. # noqa: E501 - :rtype: CoreTaskExecutionIdentifier - """ - return self._source_task_execution - - @source_task_execution.setter - def source_task_execution(self, source_task_execution): - """Sets the source_task_execution of this CoreCatalogMetadata. - - - :param source_task_execution: The source_task_execution of this CoreCatalogMetadata. # noqa: E501 - :type: CoreTaskExecutionIdentifier - """ - - self._source_task_execution = source_task_execution - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreCatalogMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreCatalogMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py deleted file mode 100644 index 76e06e75c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator # noqa: F401,E501 -from flyteadmin.models.core_operand import CoreOperand # noqa: F401,E501 - - -class CoreComparisonExpression(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'operator': 'ComparisonExpressionOperator', - 'left_value': 'CoreOperand', - 'right_value': 'CoreOperand' - } - - attribute_map = { - 'operator': 'operator', - 'left_value': 'left_value', - 'right_value': 'right_value' - } - - def __init__(self, operator=None, left_value=None, right_value=None): # noqa: E501 - """CoreComparisonExpression - a model defined in Swagger""" # noqa: E501 - - self._operator = None - self._left_value = None - self._right_value = None - self.discriminator = None - - if operator is not None: - self.operator = operator - if left_value is not None: - self.left_value = left_value - if right_value is not None: - self.right_value = right_value - - @property - def operator(self): - """Gets the operator of this CoreComparisonExpression. # noqa: E501 - - - :return: The operator of this CoreComparisonExpression. # noqa: E501 - :rtype: ComparisonExpressionOperator - """ - return self._operator - - @operator.setter - def operator(self, operator): - """Sets the operator of this CoreComparisonExpression. - - - :param operator: The operator of this CoreComparisonExpression. # noqa: E501 - :type: ComparisonExpressionOperator - """ - - self._operator = operator - - @property - def left_value(self): - """Gets the left_value of this CoreComparisonExpression. # noqa: E501 - - - :return: The left_value of this CoreComparisonExpression. # noqa: E501 - :rtype: CoreOperand - """ - return self._left_value - - @left_value.setter - def left_value(self, left_value): - """Sets the left_value of this CoreComparisonExpression. - - - :param left_value: The left_value of this CoreComparisonExpression. # noqa: E501 - :type: CoreOperand - """ - - self._left_value = left_value - - @property - def right_value(self): - """Gets the right_value of this CoreComparisonExpression. # noqa: E501 - - - :return: The right_value of this CoreComparisonExpression. # noqa: E501 - :rtype: CoreOperand - """ - return self._right_value - - @right_value.setter - def right_value(self, right_value): - """Sets the right_value of this CoreComparisonExpression. - - - :param right_value: The right_value of this CoreComparisonExpression. # noqa: E501 - :type: CoreOperand - """ - - self._right_value = right_value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreComparisonExpression, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreComparisonExpression): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_task.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_task.py deleted file mode 100644 index e7bb749c0..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_task.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_task_template import CoreTaskTemplate # noqa: F401,E501 - - -class CoreCompiledTask(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'template': 'CoreTaskTemplate' - } - - attribute_map = { - 'template': 'template' - } - - def __init__(self, template=None): # noqa: E501 - """CoreCompiledTask - a model defined in Swagger""" # noqa: E501 - - self._template = None - self.discriminator = None - - if template is not None: - self.template = template - - @property - def template(self): - """Gets the template of this CoreCompiledTask. # noqa: E501 - - - :return: The template of this CoreCompiledTask. # noqa: E501 - :rtype: CoreTaskTemplate - """ - return self._template - - @template.setter - def template(self, template): - """Sets the template of this CoreCompiledTask. - - - :param template: The template of this CoreCompiledTask. # noqa: E501 - :type: CoreTaskTemplate - """ - - self._template = template - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreCompiledTask, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreCompiledTask): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow.py deleted file mode 100644 index 2b7de1f25..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow.py +++ /dev/null @@ -1,146 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_connection_set import CoreConnectionSet # noqa: F401,E501 -from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate # noqa: F401,E501 - - -class CoreCompiledWorkflow(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'template': 'CoreWorkflowTemplate', - 'connections': 'CoreConnectionSet' - } - - attribute_map = { - 'template': 'template', - 'connections': 'connections' - } - - def __init__(self, template=None, connections=None): # noqa: E501 - """CoreCompiledWorkflow - a model defined in Swagger""" # noqa: E501 - - self._template = None - self._connections = None - self.discriminator = None - - if template is not None: - self.template = template - if connections is not None: - self.connections = connections - - @property - def template(self): - """Gets the template of this CoreCompiledWorkflow. # noqa: E501 - - - :return: The template of this CoreCompiledWorkflow. # noqa: E501 - :rtype: CoreWorkflowTemplate - """ - return self._template - - @template.setter - def template(self, template): - """Sets the template of this CoreCompiledWorkflow. - - - :param template: The template of this CoreCompiledWorkflow. # noqa: E501 - :type: CoreWorkflowTemplate - """ - - self._template = template - - @property - def connections(self): - """Gets the connections of this CoreCompiledWorkflow. # noqa: E501 - - For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored. # noqa: E501 - - :return: The connections of this CoreCompiledWorkflow. # noqa: E501 - :rtype: CoreConnectionSet - """ - return self._connections - - @connections.setter - def connections(self, connections): - """Sets the connections of this CoreCompiledWorkflow. - - For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored. # noqa: E501 - - :param connections: The connections of this CoreCompiledWorkflow. # noqa: E501 - :type: CoreConnectionSet - """ - - self._connections = connections - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreCompiledWorkflow, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreCompiledWorkflow): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow_closure.py deleted file mode 100644 index 48afd2e2c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow_closure.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_compiled_task import CoreCompiledTask # noqa: F401,E501 -from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow # noqa: F401,E501 - - -class CoreCompiledWorkflowClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'primary': 'CoreCompiledWorkflow', - 'sub_workflows': 'list[CoreCompiledWorkflow]', - 'tasks': 'list[CoreCompiledTask]' - } - - attribute_map = { - 'primary': 'primary', - 'sub_workflows': 'sub_workflows', - 'tasks': 'tasks' - } - - def __init__(self, primary=None, sub_workflows=None, tasks=None): # noqa: E501 - """CoreCompiledWorkflowClosure - a model defined in Swagger""" # noqa: E501 - - self._primary = None - self._sub_workflows = None - self._tasks = None - self.discriminator = None - - if primary is not None: - self.primary = primary - if sub_workflows is not None: - self.sub_workflows = sub_workflows - if tasks is not None: - self.tasks = tasks - - @property - def primary(self): - """Gets the primary of this CoreCompiledWorkflowClosure. # noqa: E501 - - - :return: The primary of this CoreCompiledWorkflowClosure. # noqa: E501 - :rtype: CoreCompiledWorkflow - """ - return self._primary - - @primary.setter - def primary(self, primary): - """Sets the primary of this CoreCompiledWorkflowClosure. - - - :param primary: The primary of this CoreCompiledWorkflowClosure. # noqa: E501 - :type: CoreCompiledWorkflow - """ - - self._primary = primary - - @property - def sub_workflows(self): - """Gets the sub_workflows of this CoreCompiledWorkflowClosure. # noqa: E501 - - - :return: The sub_workflows of this CoreCompiledWorkflowClosure. # noqa: E501 - :rtype: list[CoreCompiledWorkflow] - """ - return self._sub_workflows - - @sub_workflows.setter - def sub_workflows(self, sub_workflows): - """Sets the sub_workflows of this CoreCompiledWorkflowClosure. - - - :param sub_workflows: The sub_workflows of this CoreCompiledWorkflowClosure. # noqa: E501 - :type: list[CoreCompiledWorkflow] - """ - - self._sub_workflows = sub_workflows - - @property - def tasks(self): - """Gets the tasks of this CoreCompiledWorkflowClosure. # noqa: E501 - - - :return: The tasks of this CoreCompiledWorkflowClosure. # noqa: E501 - :rtype: list[CoreCompiledTask] - """ - return self._tasks - - @tasks.setter - def tasks(self, tasks): - """Sets the tasks of this CoreCompiledWorkflowClosure. - - - :param tasks: The tasks of this CoreCompiledWorkflowClosure. # noqa: E501 - :type: list[CoreCompiledTask] - """ - - self._tasks = tasks - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreCompiledWorkflowClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreCompiledWorkflowClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_conjunction_expression.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_conjunction_expression.py deleted file mode 100644 index d28a2ac83..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_conjunction_expression.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator # noqa: F401,E501 -from flyteadmin.models.core_boolean_expression import CoreBooleanExpression # noqa: F401,E501 - - -class CoreConjunctionExpression(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'operator': 'ConjunctionExpressionLogicalOperator', - 'left_expression': 'CoreBooleanExpression', - 'right_expression': 'CoreBooleanExpression' - } - - attribute_map = { - 'operator': 'operator', - 'left_expression': 'left_expression', - 'right_expression': 'right_expression' - } - - def __init__(self, operator=None, left_expression=None, right_expression=None): # noqa: E501 - """CoreConjunctionExpression - a model defined in Swagger""" # noqa: E501 - - self._operator = None - self._left_expression = None - self._right_expression = None - self.discriminator = None - - if operator is not None: - self.operator = operator - if left_expression is not None: - self.left_expression = left_expression - if right_expression is not None: - self.right_expression = right_expression - - @property - def operator(self): - """Gets the operator of this CoreConjunctionExpression. # noqa: E501 - - - :return: The operator of this CoreConjunctionExpression. # noqa: E501 - :rtype: ConjunctionExpressionLogicalOperator - """ - return self._operator - - @operator.setter - def operator(self, operator): - """Sets the operator of this CoreConjunctionExpression. - - - :param operator: The operator of this CoreConjunctionExpression. # noqa: E501 - :type: ConjunctionExpressionLogicalOperator - """ - - self._operator = operator - - @property - def left_expression(self): - """Gets the left_expression of this CoreConjunctionExpression. # noqa: E501 - - - :return: The left_expression of this CoreConjunctionExpression. # noqa: E501 - :rtype: CoreBooleanExpression - """ - return self._left_expression - - @left_expression.setter - def left_expression(self, left_expression): - """Sets the left_expression of this CoreConjunctionExpression. - - - :param left_expression: The left_expression of this CoreConjunctionExpression. # noqa: E501 - :type: CoreBooleanExpression - """ - - self._left_expression = left_expression - - @property - def right_expression(self): - """Gets the right_expression of this CoreConjunctionExpression. # noqa: E501 - - - :return: The right_expression of this CoreConjunctionExpression. # noqa: E501 - :rtype: CoreBooleanExpression - """ - return self._right_expression - - @right_expression.setter - def right_expression(self, right_expression): - """Sets the right_expression of this CoreConjunctionExpression. - - - :param right_expression: The right_expression of this CoreConjunctionExpression. # noqa: E501 - :type: CoreBooleanExpression - """ - - self._right_expression = right_expression - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreConjunctionExpression, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreConjunctionExpression): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_connection_set.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_connection_set.py deleted file mode 100644 index 05361c4a1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_connection_set.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.connection_set_id_list import ConnectionSetIdList # noqa: F401,E501 - - -class CoreConnectionSet(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'downstream': 'dict(str, ConnectionSetIdList)', - 'upstream': 'dict(str, ConnectionSetIdList)' - } - - attribute_map = { - 'downstream': 'downstream', - 'upstream': 'upstream' - } - - def __init__(self, downstream=None, upstream=None): # noqa: E501 - """CoreConnectionSet - a model defined in Swagger""" # noqa: E501 - - self._downstream = None - self._upstream = None - self.discriminator = None - - if downstream is not None: - self.downstream = downstream - if upstream is not None: - self.upstream = upstream - - @property - def downstream(self): - """Gets the downstream of this CoreConnectionSet. # noqa: E501 - - - :return: The downstream of this CoreConnectionSet. # noqa: E501 - :rtype: dict(str, ConnectionSetIdList) - """ - return self._downstream - - @downstream.setter - def downstream(self, downstream): - """Sets the downstream of this CoreConnectionSet. - - - :param downstream: The downstream of this CoreConnectionSet. # noqa: E501 - :type: dict(str, ConnectionSetIdList) - """ - - self._downstream = downstream - - @property - def upstream(self): - """Gets the upstream of this CoreConnectionSet. # noqa: E501 - - - :return: The upstream of this CoreConnectionSet. # noqa: E501 - :rtype: dict(str, ConnectionSetIdList) - """ - return self._upstream - - @upstream.setter - def upstream(self, upstream): - """Sets the upstream of this CoreConnectionSet. - - - :param upstream: The upstream of this CoreConnectionSet. # noqa: E501 - :type: dict(str, ConnectionSetIdList) - """ - - self._upstream = upstream - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreConnectionSet, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreConnectionSet): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container.py deleted file mode 100644 index d62eb0797..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container.py +++ /dev/null @@ -1,339 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.container_architecture import ContainerArchitecture # noqa: F401,E501 -from flyteadmin.models.core_container_port import CoreContainerPort # noqa: F401,E501 -from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig # noqa: F401,E501 -from flyteadmin.models.core_key_value_pair import CoreKeyValuePair # noqa: F401,E501 -from flyteadmin.models.core_resources import CoreResources # noqa: F401,E501 - - -class CoreContainer(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'image': 'str', - 'command': 'list[str]', - 'args': 'list[str]', - 'resources': 'CoreResources', - 'env': 'list[CoreKeyValuePair]', - 'config': 'list[CoreKeyValuePair]', - 'ports': 'list[CoreContainerPort]', - 'data_config': 'CoreDataLoadingConfig', - 'architecture': 'ContainerArchitecture' - } - - attribute_map = { - 'image': 'image', - 'command': 'command', - 'args': 'args', - 'resources': 'resources', - 'env': 'env', - 'config': 'config', - 'ports': 'ports', - 'data_config': 'data_config', - 'architecture': 'architecture' - } - - def __init__(self, image=None, command=None, args=None, resources=None, env=None, config=None, ports=None, data_config=None, architecture=None): # noqa: E501 - """CoreContainer - a model defined in Swagger""" # noqa: E501 - - self._image = None - self._command = None - self._args = None - self._resources = None - self._env = None - self._config = None - self._ports = None - self._data_config = None - self._architecture = None - self.discriminator = None - - if image is not None: - self.image = image - if command is not None: - self.command = command - if args is not None: - self.args = args - if resources is not None: - self.resources = resources - if env is not None: - self.env = env - if config is not None: - self.config = config - if ports is not None: - self.ports = ports - if data_config is not None: - self.data_config = data_config - if architecture is not None: - self.architecture = architecture - - @property - def image(self): - """Gets the image of this CoreContainer. # noqa: E501 - - - :return: The image of this CoreContainer. # noqa: E501 - :rtype: str - """ - return self._image - - @image.setter - def image(self, image): - """Sets the image of this CoreContainer. - - - :param image: The image of this CoreContainer. # noqa: E501 - :type: str - """ - - self._image = image - - @property - def command(self): - """Gets the command of this CoreContainer. # noqa: E501 - - Command to be executed, if not provided, the default entrypoint in the container image will be used. # noqa: E501 - - :return: The command of this CoreContainer. # noqa: E501 - :rtype: list[str] - """ - return self._command - - @command.setter - def command(self, command): - """Sets the command of this CoreContainer. - - Command to be executed, if not provided, the default entrypoint in the container image will be used. # noqa: E501 - - :param command: The command of this CoreContainer. # noqa: E501 - :type: list[str] - """ - - self._command = command - - @property - def args(self): - """Gets the args of this CoreContainer. # noqa: E501 - - These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container. # noqa: E501 - - :return: The args of this CoreContainer. # noqa: E501 - :rtype: list[str] - """ - return self._args - - @args.setter - def args(self, args): - """Sets the args of this CoreContainer. - - These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container. # noqa: E501 - - :param args: The args of this CoreContainer. # noqa: E501 - :type: list[str] - """ - - self._args = args - - @property - def resources(self): - """Gets the resources of this CoreContainer. # noqa: E501 - - Container resources requirement as specified by the container engine. # noqa: E501 - - :return: The resources of this CoreContainer. # noqa: E501 - :rtype: CoreResources - """ - return self._resources - - @resources.setter - def resources(self, resources): - """Sets the resources of this CoreContainer. - - Container resources requirement as specified by the container engine. # noqa: E501 - - :param resources: The resources of this CoreContainer. # noqa: E501 - :type: CoreResources - """ - - self._resources = resources - - @property - def env(self): - """Gets the env of this CoreContainer. # noqa: E501 - - Environment variables will be set as the container is starting up. # noqa: E501 - - :return: The env of this CoreContainer. # noqa: E501 - :rtype: list[CoreKeyValuePair] - """ - return self._env - - @env.setter - def env(self, env): - """Sets the env of this CoreContainer. - - Environment variables will be set as the container is starting up. # noqa: E501 - - :param env: The env of this CoreContainer. # noqa: E501 - :type: list[CoreKeyValuePair] - """ - - self._env = env - - @property - def config(self): - """Gets the config of this CoreContainer. # noqa: E501 - - Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead. # noqa: E501 - - :return: The config of this CoreContainer. # noqa: E501 - :rtype: list[CoreKeyValuePair] - """ - return self._config - - @config.setter - def config(self, config): - """Sets the config of this CoreContainer. - - Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead. # noqa: E501 - - :param config: The config of this CoreContainer. # noqa: E501 - :type: list[CoreKeyValuePair] - """ - - self._config = config - - @property - def ports(self): - """Gets the ports of this CoreContainer. # noqa: E501 - - - :return: The ports of this CoreContainer. # noqa: E501 - :rtype: list[CoreContainerPort] - """ - return self._ports - - @ports.setter - def ports(self, ports): - """Sets the ports of this CoreContainer. - - - :param ports: The ports of this CoreContainer. # noqa: E501 - :type: list[CoreContainerPort] - """ - - self._ports = ports - - @property - def data_config(self): - """Gets the data_config of this CoreContainer. # noqa: E501 - - - :return: The data_config of this CoreContainer. # noqa: E501 - :rtype: CoreDataLoadingConfig - """ - return self._data_config - - @data_config.setter - def data_config(self, data_config): - """Sets the data_config of this CoreContainer. - - - :param data_config: The data_config of this CoreContainer. # noqa: E501 - :type: CoreDataLoadingConfig - """ - - self._data_config = data_config - - @property - def architecture(self): - """Gets the architecture of this CoreContainer. # noqa: E501 - - - :return: The architecture of this CoreContainer. # noqa: E501 - :rtype: ContainerArchitecture - """ - return self._architecture - - @architecture.setter - def architecture(self, architecture): - """Sets the architecture of this CoreContainer. - - - :param architecture: The architecture of this CoreContainer. # noqa: E501 - :type: ContainerArchitecture - """ - - self._architecture = architecture - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreContainer, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreContainer): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container_port.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container_port.py deleted file mode 100644 index 812da5c31..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container_port.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreContainerPort(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'container_port': 'int' - } - - attribute_map = { - 'container_port': 'container_port' - } - - def __init__(self, container_port=None): # noqa: E501 - """CoreContainerPort - a model defined in Swagger""" # noqa: E501 - - self._container_port = None - self.discriminator = None - - if container_port is not None: - self.container_port = container_port - - @property - def container_port(self): - """Gets the container_port of this CoreContainerPort. # noqa: E501 - - Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. # noqa: E501 - - :return: The container_port of this CoreContainerPort. # noqa: E501 - :rtype: int - """ - return self._container_port - - @container_port.setter - def container_port(self, container_port): - """Sets the container_port of this CoreContainerPort. - - Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. # noqa: E501 - - :param container_port: The container_port of this CoreContainerPort. # noqa: E501 - :type: int - """ - - self._container_port = container_port - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreContainerPort, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreContainerPort): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_data_loading_config.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_data_loading_config.py deleted file mode 100644 index 83e4629d4..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_data_loading_config.py +++ /dev/null @@ -1,222 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_io_strategy import CoreIOStrategy # noqa: F401,E501 -from flyteadmin.models.data_loading_config_literal_map_format import DataLoadingConfigLiteralMapFormat # noqa: F401,E501 - - -class CoreDataLoadingConfig(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'enabled': 'bool', - 'input_path': 'str', - 'output_path': 'str', - 'format': 'DataLoadingConfigLiteralMapFormat', - 'io_strategy': 'CoreIOStrategy' - } - - attribute_map = { - 'enabled': 'enabled', - 'input_path': 'input_path', - 'output_path': 'output_path', - 'format': 'format', - 'io_strategy': 'io_strategy' - } - - def __init__(self, enabled=None, input_path=None, output_path=None, format=None, io_strategy=None): # noqa: E501 - """CoreDataLoadingConfig - a model defined in Swagger""" # noqa: E501 - - self._enabled = None - self._input_path = None - self._output_path = None - self._format = None - self._io_strategy = None - self.discriminator = None - - if enabled is not None: - self.enabled = enabled - if input_path is not None: - self.input_path = input_path - if output_path is not None: - self.output_path = output_path - if format is not None: - self.format = format - if io_strategy is not None: - self.io_strategy = io_strategy - - @property - def enabled(self): - """Gets the enabled of this CoreDataLoadingConfig. # noqa: E501 - - - :return: The enabled of this CoreDataLoadingConfig. # noqa: E501 - :rtype: bool - """ - return self._enabled - - @enabled.setter - def enabled(self, enabled): - """Sets the enabled of this CoreDataLoadingConfig. - - - :param enabled: The enabled of this CoreDataLoadingConfig. # noqa: E501 - :type: bool - """ - - self._enabled = enabled - - @property - def input_path(self): - """Gets the input_path of this CoreDataLoadingConfig. # noqa: E501 - - - :return: The input_path of this CoreDataLoadingConfig. # noqa: E501 - :rtype: str - """ - return self._input_path - - @input_path.setter - def input_path(self, input_path): - """Sets the input_path of this CoreDataLoadingConfig. - - - :param input_path: The input_path of this CoreDataLoadingConfig. # noqa: E501 - :type: str - """ - - self._input_path = input_path - - @property - def output_path(self): - """Gets the output_path of this CoreDataLoadingConfig. # noqa: E501 - - - :return: The output_path of this CoreDataLoadingConfig. # noqa: E501 - :rtype: str - """ - return self._output_path - - @output_path.setter - def output_path(self, output_path): - """Sets the output_path of this CoreDataLoadingConfig. - - - :param output_path: The output_path of this CoreDataLoadingConfig. # noqa: E501 - :type: str - """ - - self._output_path = output_path - - @property - def format(self): - """Gets the format of this CoreDataLoadingConfig. # noqa: E501 - - - :return: The format of this CoreDataLoadingConfig. # noqa: E501 - :rtype: DataLoadingConfigLiteralMapFormat - """ - return self._format - - @format.setter - def format(self, format): - """Sets the format of this CoreDataLoadingConfig. - - - :param format: The format of this CoreDataLoadingConfig. # noqa: E501 - :type: DataLoadingConfigLiteralMapFormat - """ - - self._format = format - - @property - def io_strategy(self): - """Gets the io_strategy of this CoreDataLoadingConfig. # noqa: E501 - - - :return: The io_strategy of this CoreDataLoadingConfig. # noqa: E501 - :rtype: CoreIOStrategy - """ - return self._io_strategy - - @io_strategy.setter - def io_strategy(self, io_strategy): - """Sets the io_strategy of this CoreDataLoadingConfig. - - - :param io_strategy: The io_strategy of this CoreDataLoadingConfig. # noqa: E501 - :type: CoreIOStrategy - """ - - self._io_strategy = io_strategy - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreDataLoadingConfig, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreDataLoadingConfig): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_enum_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_enum_type.py deleted file mode 100644 index bf9e6f85c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_enum_type.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreEnumType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'values': 'list[str]' - } - - attribute_map = { - 'values': 'values' - } - - def __init__(self, values=None): # noqa: E501 - """CoreEnumType - a model defined in Swagger""" # noqa: E501 - - self._values = None - self.discriminator = None - - if values is not None: - self.values = values - - @property - def values(self): - """Gets the values of this CoreEnumType. # noqa: E501 - - Predefined set of enum values. # noqa: E501 - - :return: The values of this CoreEnumType. # noqa: E501 - :rtype: list[str] - """ - return self._values - - @values.setter - def values(self, values): - """Sets the values of this CoreEnumType. - - Predefined set of enum values. # noqa: E501 - - :param values: The values of this CoreEnumType. # noqa: E501 - :type: list[str] - """ - - self._values = values - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreEnumType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreEnumType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_error.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_error.py deleted file mode 100644 index 50537e11d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_error.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreError(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'failed_node_id': 'str', - 'message': 'str' - } - - attribute_map = { - 'failed_node_id': 'failed_node_id', - 'message': 'message' - } - - def __init__(self, failed_node_id=None, message=None): # noqa: E501 - """CoreError - a model defined in Swagger""" # noqa: E501 - - self._failed_node_id = None - self._message = None - self.discriminator = None - - if failed_node_id is not None: - self.failed_node_id = failed_node_id - if message is not None: - self.message = message - - @property - def failed_node_id(self): - """Gets the failed_node_id of this CoreError. # noqa: E501 - - The node id that threw the error. # noqa: E501 - - :return: The failed_node_id of this CoreError. # noqa: E501 - :rtype: str - """ - return self._failed_node_id - - @failed_node_id.setter - def failed_node_id(self, failed_node_id): - """Sets the failed_node_id of this CoreError. - - The node id that threw the error. # noqa: E501 - - :param failed_node_id: The failed_node_id of this CoreError. # noqa: E501 - :type: str - """ - - self._failed_node_id = failed_node_id - - @property - def message(self): - """Gets the message of this CoreError. # noqa: E501 - - Error message thrown. # noqa: E501 - - :return: The message of this CoreError. # noqa: E501 - :rtype: str - """ - return self._message - - @message.setter - def message(self, message): - """Sets the message of this CoreError. - - Error message thrown. # noqa: E501 - - :param message: The message of this CoreError. # noqa: E501 - :type: str - """ - - self._message = message - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreError, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreError): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_execution_error.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_execution_error.py deleted file mode 100644 index b71cd287d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_execution_error.py +++ /dev/null @@ -1,197 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.execution_error_error_kind import ExecutionErrorErrorKind # noqa: F401,E501 - - -class CoreExecutionError(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'str', - 'message': 'str', - 'error_uri': 'str', - 'kind': 'ExecutionErrorErrorKind' - } - - attribute_map = { - 'code': 'code', - 'message': 'message', - 'error_uri': 'error_uri', - 'kind': 'kind' - } - - def __init__(self, code=None, message=None, error_uri=None, kind=None): # noqa: E501 - """CoreExecutionError - a model defined in Swagger""" # noqa: E501 - - self._code = None - self._message = None - self._error_uri = None - self._kind = None - self.discriminator = None - - if code is not None: - self.code = code - if message is not None: - self.message = message - if error_uri is not None: - self.error_uri = error_uri - if kind is not None: - self.kind = kind - - @property - def code(self): - """Gets the code of this CoreExecutionError. # noqa: E501 - - - :return: The code of this CoreExecutionError. # noqa: E501 - :rtype: str - """ - return self._code - - @code.setter - def code(self, code): - """Sets the code of this CoreExecutionError. - - - :param code: The code of this CoreExecutionError. # noqa: E501 - :type: str - """ - - self._code = code - - @property - def message(self): - """Gets the message of this CoreExecutionError. # noqa: E501 - - Detailed description of the error - including stack trace. # noqa: E501 - - :return: The message of this CoreExecutionError. # noqa: E501 - :rtype: str - """ - return self._message - - @message.setter - def message(self, message): - """Sets the message of this CoreExecutionError. - - Detailed description of the error - including stack trace. # noqa: E501 - - :param message: The message of this CoreExecutionError. # noqa: E501 - :type: str - """ - - self._message = message - - @property - def error_uri(self): - """Gets the error_uri of this CoreExecutionError. # noqa: E501 - - - :return: The error_uri of this CoreExecutionError. # noqa: E501 - :rtype: str - """ - return self._error_uri - - @error_uri.setter - def error_uri(self, error_uri): - """Sets the error_uri of this CoreExecutionError. - - - :param error_uri: The error_uri of this CoreExecutionError. # noqa: E501 - :type: str - """ - - self._error_uri = error_uri - - @property - def kind(self): - """Gets the kind of this CoreExecutionError. # noqa: E501 - - - :return: The kind of this CoreExecutionError. # noqa: E501 - :rtype: ExecutionErrorErrorKind - """ - return self._kind - - @kind.setter - def kind(self, kind): - """Sets the kind of this CoreExecutionError. - - - :param kind: The kind of this CoreExecutionError. # noqa: E501 - :type: ExecutionErrorErrorKind - """ - - self._kind = kind - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreExecutionError, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreExecutionError): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identifier.py deleted file mode 100644 index ae03fc69e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identifier.py +++ /dev/null @@ -1,231 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_resource_type import CoreResourceType # noqa: F401,E501 - - -class CoreIdentifier(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'resource_type': 'CoreResourceType', - 'project': 'str', - 'domain': 'str', - 'name': 'str', - 'version': 'str' - } - - attribute_map = { - 'resource_type': 'resource_type', - 'project': 'project', - 'domain': 'domain', - 'name': 'name', - 'version': 'version' - } - - def __init__(self, resource_type=None, project=None, domain=None, name=None, version=None): # noqa: E501 - """CoreIdentifier - a model defined in Swagger""" # noqa: E501 - - self._resource_type = None - self._project = None - self._domain = None - self._name = None - self._version = None - self.discriminator = None - - if resource_type is not None: - self.resource_type = resource_type - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if name is not None: - self.name = name - if version is not None: - self.version = version - - @property - def resource_type(self): - """Gets the resource_type of this CoreIdentifier. # noqa: E501 - - Identifies the specific type of resource that this identifier corresponds to. # noqa: E501 - - :return: The resource_type of this CoreIdentifier. # noqa: E501 - :rtype: CoreResourceType - """ - return self._resource_type - - @resource_type.setter - def resource_type(self, resource_type): - """Sets the resource_type of this CoreIdentifier. - - Identifies the specific type of resource that this identifier corresponds to. # noqa: E501 - - :param resource_type: The resource_type of this CoreIdentifier. # noqa: E501 - :type: CoreResourceType - """ - - self._resource_type = resource_type - - @property - def project(self): - """Gets the project of this CoreIdentifier. # noqa: E501 - - Name of the project the resource belongs to. # noqa: E501 - - :return: The project of this CoreIdentifier. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this CoreIdentifier. - - Name of the project the resource belongs to. # noqa: E501 - - :param project: The project of this CoreIdentifier. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this CoreIdentifier. # noqa: E501 - - Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 - - :return: The domain of this CoreIdentifier. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this CoreIdentifier. - - Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 - - :param domain: The domain of this CoreIdentifier. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def name(self): - """Gets the name of this CoreIdentifier. # noqa: E501 - - User provided value for the resource. # noqa: E501 - - :return: The name of this CoreIdentifier. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CoreIdentifier. - - User provided value for the resource. # noqa: E501 - - :param name: The name of this CoreIdentifier. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def version(self): - """Gets the version of this CoreIdentifier. # noqa: E501 - - Specific version of the resource. # noqa: E501 - - :return: The version of this CoreIdentifier. # noqa: E501 - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this CoreIdentifier. - - Specific version of the resource. # noqa: E501 - - :param version: The version of this CoreIdentifier. # noqa: E501 - :type: str - """ - - self._version = version - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreIdentifier, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreIdentifier): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py deleted file mode 100644 index d3a43ecc2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client # noqa: F401,E501 - - -class CoreIdentity(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'iam_role': 'str', - 'k8s_service_account': 'str', - 'oauth2_client': 'CoreOAuth2Client' - } - - attribute_map = { - 'iam_role': 'iam_role', - 'k8s_service_account': 'k8s_service_account', - 'oauth2_client': 'oauth2_client' - } - - def __init__(self, iam_role=None, k8s_service_account=None, oauth2_client=None): # noqa: E501 - """CoreIdentity - a model defined in Swagger""" # noqa: E501 - - self._iam_role = None - self._k8s_service_account = None - self._oauth2_client = None - self.discriminator = None - - if iam_role is not None: - self.iam_role = iam_role - if k8s_service_account is not None: - self.k8s_service_account = k8s_service_account - if oauth2_client is not None: - self.oauth2_client = oauth2_client - - @property - def iam_role(self): - """Gets the iam_role of this CoreIdentity. # noqa: E501 - - iam_role references the fully qualified name of Identity & Access Management role to impersonate. # noqa: E501 - - :return: The iam_role of this CoreIdentity. # noqa: E501 - :rtype: str - """ - return self._iam_role - - @iam_role.setter - def iam_role(self, iam_role): - """Sets the iam_role of this CoreIdentity. - - iam_role references the fully qualified name of Identity & Access Management role to impersonate. # noqa: E501 - - :param iam_role: The iam_role of this CoreIdentity. # noqa: E501 - :type: str - """ - - self._iam_role = iam_role - - @property - def k8s_service_account(self): - """Gets the k8s_service_account of this CoreIdentity. # noqa: E501 - - k8s_service_account references a kubernetes service account to impersonate. # noqa: E501 - - :return: The k8s_service_account of this CoreIdentity. # noqa: E501 - :rtype: str - """ - return self._k8s_service_account - - @k8s_service_account.setter - def k8s_service_account(self, k8s_service_account): - """Sets the k8s_service_account of this CoreIdentity. - - k8s_service_account references a kubernetes service account to impersonate. # noqa: E501 - - :param k8s_service_account: The k8s_service_account of this CoreIdentity. # noqa: E501 - :type: str - """ - - self._k8s_service_account = k8s_service_account - - @property - def oauth2_client(self): - """Gets the oauth2_client of this CoreIdentity. # noqa: E501 - - oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls. # noqa: E501 - - :return: The oauth2_client of this CoreIdentity. # noqa: E501 - :rtype: CoreOAuth2Client - """ - return self._oauth2_client - - @oauth2_client.setter - def oauth2_client(self, oauth2_client): - """Sets the oauth2_client of this CoreIdentity. - - oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls. # noqa: E501 - - :param oauth2_client: The oauth2_client of this CoreIdentity. # noqa: E501 - :type: CoreOAuth2Client - """ - - self._oauth2_client = oauth2_client - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreIdentity, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreIdentity): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_block.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_block.py deleted file mode 100644 index 5368a7036..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_block.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_boolean_expression import CoreBooleanExpression # noqa: F401,E501 -from flyteadmin.models.core_node import CoreNode # noqa: F401,E501 - - -class CoreIfBlock(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'condition': 'CoreBooleanExpression', - 'then_node': 'CoreNode' - } - - attribute_map = { - 'condition': 'condition', - 'then_node': 'then_node' - } - - def __init__(self, condition=None, then_node=None): # noqa: E501 - """CoreIfBlock - a model defined in Swagger""" # noqa: E501 - - self._condition = None - self._then_node = None - self.discriminator = None - - if condition is not None: - self.condition = condition - if then_node is not None: - self.then_node = then_node - - @property - def condition(self): - """Gets the condition of this CoreIfBlock. # noqa: E501 - - - :return: The condition of this CoreIfBlock. # noqa: E501 - :rtype: CoreBooleanExpression - """ - return self._condition - - @condition.setter - def condition(self, condition): - """Sets the condition of this CoreIfBlock. - - - :param condition: The condition of this CoreIfBlock. # noqa: E501 - :type: CoreBooleanExpression - """ - - self._condition = condition - - @property - def then_node(self): - """Gets the then_node of this CoreIfBlock. # noqa: E501 - - - :return: The then_node of this CoreIfBlock. # noqa: E501 - :rtype: CoreNode - """ - return self._then_node - - @then_node.setter - def then_node(self, then_node): - """Sets the then_node of this CoreIfBlock. - - - :param then_node: The then_node of this CoreIfBlock. # noqa: E501 - :type: CoreNode - """ - - self._then_node = then_node - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreIfBlock, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreIfBlock): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_else_block.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_else_block.py deleted file mode 100644 index bff092a8a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_else_block.py +++ /dev/null @@ -1,205 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_error import CoreError # noqa: F401,E501 -from flyteadmin.models.core_if_block import CoreIfBlock # noqa: F401,E501 -from flyteadmin.models.core_node import CoreNode # noqa: F401,E501 - - -class CoreIfElseBlock(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'case': 'CoreIfBlock', - 'other': 'list[CoreIfBlock]', - 'else_node': 'CoreNode', - 'error': 'CoreError' - } - - attribute_map = { - 'case': 'case', - 'other': 'other', - 'else_node': 'else_node', - 'error': 'error' - } - - def __init__(self, case=None, other=None, else_node=None, error=None): # noqa: E501 - """CoreIfElseBlock - a model defined in Swagger""" # noqa: E501 - - self._case = None - self._other = None - self._else_node = None - self._error = None - self.discriminator = None - - if case is not None: - self.case = case - if other is not None: - self.other = other - if else_node is not None: - self.else_node = else_node - if error is not None: - self.error = error - - @property - def case(self): - """Gets the case of this CoreIfElseBlock. # noqa: E501 - - +required. First condition to evaluate. # noqa: E501 - - :return: The case of this CoreIfElseBlock. # noqa: E501 - :rtype: CoreIfBlock - """ - return self._case - - @case.setter - def case(self, case): - """Sets the case of this CoreIfElseBlock. - - +required. First condition to evaluate. # noqa: E501 - - :param case: The case of this CoreIfElseBlock. # noqa: E501 - :type: CoreIfBlock - """ - - self._case = case - - @property - def other(self): - """Gets the other of this CoreIfElseBlock. # noqa: E501 - - +optional. Additional branches to evaluate. # noqa: E501 - - :return: The other of this CoreIfElseBlock. # noqa: E501 - :rtype: list[CoreIfBlock] - """ - return self._other - - @other.setter - def other(self, other): - """Sets the other of this CoreIfElseBlock. - - +optional. Additional branches to evaluate. # noqa: E501 - - :param other: The other of this CoreIfElseBlock. # noqa: E501 - :type: list[CoreIfBlock] - """ - - self._other = other - - @property - def else_node(self): - """Gets the else_node of this CoreIfElseBlock. # noqa: E501 - - The node to execute in case none of the branches were taken. # noqa: E501 - - :return: The else_node of this CoreIfElseBlock. # noqa: E501 - :rtype: CoreNode - """ - return self._else_node - - @else_node.setter - def else_node(self, else_node): - """Sets the else_node of this CoreIfElseBlock. - - The node to execute in case none of the branches were taken. # noqa: E501 - - :param else_node: The else_node of this CoreIfElseBlock. # noqa: E501 - :type: CoreNode - """ - - self._else_node = else_node - - @property - def error(self): - """Gets the error of this CoreIfElseBlock. # noqa: E501 - - An error to throw in case none of the branches were taken. # noqa: E501 - - :return: The error of this CoreIfElseBlock. # noqa: E501 - :rtype: CoreError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this CoreIfElseBlock. - - An error to throw in case none of the branches were taken. # noqa: E501 - - :param error: The error of this CoreIfElseBlock. # noqa: E501 - :type: CoreError - """ - - self._error = error - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreIfElseBlock, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreIfElseBlock): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_io_strategy.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_io_strategy.py deleted file mode 100644 index 8260e8eb1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_io_strategy.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.io_strategy_download_mode import IOStrategyDownloadMode # noqa: F401,E501 -from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode # noqa: F401,E501 - - -class CoreIOStrategy(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'download_mode': 'IOStrategyDownloadMode', - 'upload_mode': 'IOStrategyUploadMode' - } - - attribute_map = { - 'download_mode': 'download_mode', - 'upload_mode': 'upload_mode' - } - - def __init__(self, download_mode=None, upload_mode=None): # noqa: E501 - """CoreIOStrategy - a model defined in Swagger""" # noqa: E501 - - self._download_mode = None - self._upload_mode = None - self.discriminator = None - - if download_mode is not None: - self.download_mode = download_mode - if upload_mode is not None: - self.upload_mode = upload_mode - - @property - def download_mode(self): - """Gets the download_mode of this CoreIOStrategy. # noqa: E501 - - - :return: The download_mode of this CoreIOStrategy. # noqa: E501 - :rtype: IOStrategyDownloadMode - """ - return self._download_mode - - @download_mode.setter - def download_mode(self, download_mode): - """Sets the download_mode of this CoreIOStrategy. - - - :param download_mode: The download_mode of this CoreIOStrategy. # noqa: E501 - :type: IOStrategyDownloadMode - """ - - self._download_mode = download_mode - - @property - def upload_mode(self): - """Gets the upload_mode of this CoreIOStrategy. # noqa: E501 - - - :return: The upload_mode of this CoreIOStrategy. # noqa: E501 - :rtype: IOStrategyUploadMode - """ - return self._upload_mode - - @upload_mode.setter - def upload_mode(self, upload_mode): - """Sets the upload_mode of this CoreIOStrategy. - - - :param upload_mode: The upload_mode of this CoreIOStrategy. # noqa: E501 - :type: IOStrategyUploadMode - """ - - self._upload_mode = upload_mode - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreIOStrategy, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreIOStrategy): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_object_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_object_metadata.py deleted file mode 100644 index 439e7a5db..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_object_metadata.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreK8sObjectMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'labels': 'dict(str, str)', - 'annotations': 'dict(str, str)' - } - - attribute_map = { - 'labels': 'labels', - 'annotations': 'annotations' - } - - def __init__(self, labels=None, annotations=None): # noqa: E501 - """CoreK8sObjectMetadata - a model defined in Swagger""" # noqa: E501 - - self._labels = None - self._annotations = None - self.discriminator = None - - if labels is not None: - self.labels = labels - if annotations is not None: - self.annotations = annotations - - @property - def labels(self): - """Gets the labels of this CoreK8sObjectMetadata. # noqa: E501 - - Optional labels to add to the pod definition. # noqa: E501 - - :return: The labels of this CoreK8sObjectMetadata. # noqa: E501 - :rtype: dict(str, str) - """ - return self._labels - - @labels.setter - def labels(self, labels): - """Sets the labels of this CoreK8sObjectMetadata. - - Optional labels to add to the pod definition. # noqa: E501 - - :param labels: The labels of this CoreK8sObjectMetadata. # noqa: E501 - :type: dict(str, str) - """ - - self._labels = labels - - @property - def annotations(self): - """Gets the annotations of this CoreK8sObjectMetadata. # noqa: E501 - - Optional annotations to add to the pod definition. # noqa: E501 - - :return: The annotations of this CoreK8sObjectMetadata. # noqa: E501 - :rtype: dict(str, str) - """ - return self._annotations - - @annotations.setter - def annotations(self, annotations): - """Sets the annotations of this CoreK8sObjectMetadata. - - Optional annotations to add to the pod definition. # noqa: E501 - - :param annotations: The annotations of this CoreK8sObjectMetadata. # noqa: E501 - :type: dict(str, str) - """ - - self._annotations = annotations - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreK8sObjectMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreK8sObjectMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py deleted file mode 100644 index 16eb2cf51..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py +++ /dev/null @@ -1,146 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class CoreK8sPod(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'metadata': 'CoreK8sObjectMetadata', - 'pod_spec': 'ProtobufStruct' - } - - attribute_map = { - 'metadata': 'metadata', - 'pod_spec': 'pod_spec' - } - - def __init__(self, metadata=None, pod_spec=None): # noqa: E501 - """CoreK8sPod - a model defined in Swagger""" # noqa: E501 - - self._metadata = None - self._pod_spec = None - self.discriminator = None - - if metadata is not None: - self.metadata = metadata - if pod_spec is not None: - self.pod_spec = pod_spec - - @property - def metadata(self): - """Gets the metadata of this CoreK8sPod. # noqa: E501 - - Contains additional metadata for building a kubernetes pod. # noqa: E501 - - :return: The metadata of this CoreK8sPod. # noqa: E501 - :rtype: CoreK8sObjectMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreK8sPod. - - Contains additional metadata for building a kubernetes pod. # noqa: E501 - - :param metadata: The metadata of this CoreK8sPod. # noqa: E501 - :type: CoreK8sObjectMetadata - """ - - self._metadata = metadata - - @property - def pod_spec(self): - """Gets the pod_spec of this CoreK8sPod. # noqa: E501 - - - :return: The pod_spec of this CoreK8sPod. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._pod_spec - - @pod_spec.setter - def pod_spec(self, pod_spec): - """Sets the pod_spec of this CoreK8sPod. - - - :param pod_spec: The pod_spec of this CoreK8sPod. # noqa: E501 - :type: ProtobufStruct - """ - - self._pod_spec = pod_spec - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreK8sPod, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreK8sPod): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_key_value_pair.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_key_value_pair.py deleted file mode 100644 index cd985c0fe..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_key_value_pair.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreKeyValuePair(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'key': 'str', - 'value': 'str' - } - - attribute_map = { - 'key': 'key', - 'value': 'value' - } - - def __init__(self, key=None, value=None): # noqa: E501 - """CoreKeyValuePair - a model defined in Swagger""" # noqa: E501 - - self._key = None - self._value = None - self.discriminator = None - - if key is not None: - self.key = key - if value is not None: - self.value = value - - @property - def key(self): - """Gets the key of this CoreKeyValuePair. # noqa: E501 - - required. # noqa: E501 - - :return: The key of this CoreKeyValuePair. # noqa: E501 - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - """Sets the key of this CoreKeyValuePair. - - required. # noqa: E501 - - :param key: The key of this CoreKeyValuePair. # noqa: E501 - :type: str - """ - - self._key = key - - @property - def value(self): - """Gets the value of this CoreKeyValuePair. # noqa: E501 - - +optional. # noqa: E501 - - :return: The value of this CoreKeyValuePair. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this CoreKeyValuePair. - - +optional. # noqa: E501 - - :param value: The value of this CoreKeyValuePair. # noqa: E501 - :type: str - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreKeyValuePair, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreKeyValuePair): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py deleted file mode 100644 index a0099dacf..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py +++ /dev/null @@ -1,203 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal_collection import CoreLiteralCollection # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_scalar import CoreScalar # noqa: F401,E501 - - -class CoreLiteral(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'scalar': 'CoreScalar', - 'collection': 'CoreLiteralCollection', - 'map': 'CoreLiteralMap', - 'hash': 'str' - } - - attribute_map = { - 'scalar': 'scalar', - 'collection': 'collection', - 'map': 'map', - 'hash': 'hash' - } - - def __init__(self, scalar=None, collection=None, map=None, hash=None): # noqa: E501 - """CoreLiteral - a model defined in Swagger""" # noqa: E501 - - self._scalar = None - self._collection = None - self._map = None - self._hash = None - self.discriminator = None - - if scalar is not None: - self.scalar = scalar - if collection is not None: - self.collection = collection - if map is not None: - self.map = map - if hash is not None: - self.hash = hash - - @property - def scalar(self): - """Gets the scalar of this CoreLiteral. # noqa: E501 - - A simple value. # noqa: E501 - - :return: The scalar of this CoreLiteral. # noqa: E501 - :rtype: CoreScalar - """ - return self._scalar - - @scalar.setter - def scalar(self, scalar): - """Sets the scalar of this CoreLiteral. - - A simple value. # noqa: E501 - - :param scalar: The scalar of this CoreLiteral. # noqa: E501 - :type: CoreScalar - """ - - self._scalar = scalar - - @property - def collection(self): - """Gets the collection of this CoreLiteral. # noqa: E501 - - A collection of literals to allow nesting. # noqa: E501 - - :return: The collection of this CoreLiteral. # noqa: E501 - :rtype: CoreLiteralCollection - """ - return self._collection - - @collection.setter - def collection(self, collection): - """Sets the collection of this CoreLiteral. - - A collection of literals to allow nesting. # noqa: E501 - - :param collection: The collection of this CoreLiteral. # noqa: E501 - :type: CoreLiteralCollection - """ - - self._collection = collection - - @property - def map(self): - """Gets the map of this CoreLiteral. # noqa: E501 - - A map of strings to literals. # noqa: E501 - - :return: The map of this CoreLiteral. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._map - - @map.setter - def map(self, map): - """Sets the map of this CoreLiteral. - - A map of strings to literals. # noqa: E501 - - :param map: The map of this CoreLiteral. # noqa: E501 - :type: CoreLiteralMap - """ - - self._map = map - - @property - def hash(self): - """Gets the hash of this CoreLiteral. # noqa: E501 - - - :return: The hash of this CoreLiteral. # noqa: E501 - :rtype: str - """ - return self._hash - - @hash.setter - def hash(self, hash): - """Sets the hash of this CoreLiteral. - - - :param hash: The hash of this CoreLiteral. # noqa: E501 - :type: str - """ - - self._hash = hash - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreLiteral, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreLiteral): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_collection.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_collection.py deleted file mode 100644 index 325550f74..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_collection.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal import CoreLiteral # noqa: F401,E501 - - -class CoreLiteralCollection(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'literals': 'list[CoreLiteral]' - } - - attribute_map = { - 'literals': 'literals' - } - - def __init__(self, literals=None): # noqa: E501 - """CoreLiteralCollection - a model defined in Swagger""" # noqa: E501 - - self._literals = None - self.discriminator = None - - if literals is not None: - self.literals = literals - - @property - def literals(self): - """Gets the literals of this CoreLiteralCollection. # noqa: E501 - - - :return: The literals of this CoreLiteralCollection. # noqa: E501 - :rtype: list[CoreLiteral] - """ - return self._literals - - @literals.setter - def literals(self, literals): - """Sets the literals of this CoreLiteralCollection. - - - :param literals: The literals of this CoreLiteralCollection. # noqa: E501 - :type: list[CoreLiteral] - """ - - self._literals = literals - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreLiteralCollection, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreLiteralCollection): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_map.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_map.py deleted file mode 100644 index bdcf7cc37..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_map.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal import CoreLiteral # noqa: F401,E501 - - -class CoreLiteralMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'literals': 'dict(str, CoreLiteral)' - } - - attribute_map = { - 'literals': 'literals' - } - - def __init__(self, literals=None): # noqa: E501 - """CoreLiteralMap - a model defined in Swagger""" # noqa: E501 - - self._literals = None - self.discriminator = None - - if literals is not None: - self.literals = literals - - @property - def literals(self): - """Gets the literals of this CoreLiteralMap. # noqa: E501 - - - :return: The literals of this CoreLiteralMap. # noqa: E501 - :rtype: dict(str, CoreLiteral) - """ - return self._literals - - @literals.setter - def literals(self, literals): - """Sets the literals of this CoreLiteralMap. - - - :param literals: The literals of this CoreLiteralMap. # noqa: E501 - :type: dict(str, CoreLiteral) - """ - - self._literals = literals - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreLiteralMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreLiteralMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_type.py deleted file mode 100644 index efa49c9ce..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_type.py +++ /dev/null @@ -1,406 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_blob_type import CoreBlobType # noqa: F401,E501 -from flyteadmin.models.core_enum_type import CoreEnumType # noqa: F401,E501 -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 -from flyteadmin.models.core_schema_type import CoreSchemaType # noqa: F401,E501 -from flyteadmin.models.core_simple_type import CoreSimpleType # noqa: F401,E501 -from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType # noqa: F401,E501 -from flyteadmin.models.core_type_annotation import CoreTypeAnnotation # noqa: F401,E501 -from flyteadmin.models.core_type_structure import CoreTypeStructure # noqa: F401,E501 -from flyteadmin.models.core_union_type import CoreUnionType # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class CoreLiteralType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'simple': 'CoreSimpleType', - 'schema': 'CoreSchemaType', - 'collection_type': 'CoreLiteralType', - 'map_value_type': 'CoreLiteralType', - 'blob': 'CoreBlobType', - 'enum_type': 'CoreEnumType', - 'structured_dataset_type': 'CoreStructuredDatasetType', - 'union_type': 'CoreUnionType', - 'metadata': 'ProtobufStruct', - 'annotation': 'CoreTypeAnnotation', - 'structure': 'CoreTypeStructure' - } - - attribute_map = { - 'simple': 'simple', - 'schema': 'schema', - 'collection_type': 'collection_type', - 'map_value_type': 'map_value_type', - 'blob': 'blob', - 'enum_type': 'enum_type', - 'structured_dataset_type': 'structured_dataset_type', - 'union_type': 'union_type', - 'metadata': 'metadata', - 'annotation': 'annotation', - 'structure': 'structure' - } - - def __init__(self, simple=None, schema=None, collection_type=None, map_value_type=None, blob=None, enum_type=None, structured_dataset_type=None, union_type=None, metadata=None, annotation=None, structure=None): # noqa: E501 - """CoreLiteralType - a model defined in Swagger""" # noqa: E501 - - self._simple = None - self._schema = None - self._collection_type = None - self._map_value_type = None - self._blob = None - self._enum_type = None - self._structured_dataset_type = None - self._union_type = None - self._metadata = None - self._annotation = None - self._structure = None - self.discriminator = None - - if simple is not None: - self.simple = simple - if schema is not None: - self.schema = schema - if collection_type is not None: - self.collection_type = collection_type - if map_value_type is not None: - self.map_value_type = map_value_type - if blob is not None: - self.blob = blob - if enum_type is not None: - self.enum_type = enum_type - if structured_dataset_type is not None: - self.structured_dataset_type = structured_dataset_type - if union_type is not None: - self.union_type = union_type - if metadata is not None: - self.metadata = metadata - if annotation is not None: - self.annotation = annotation - if structure is not None: - self.structure = structure - - @property - def simple(self): - """Gets the simple of this CoreLiteralType. # noqa: E501 - - A simple type that can be compared one-to-one with another. # noqa: E501 - - :return: The simple of this CoreLiteralType. # noqa: E501 - :rtype: CoreSimpleType - """ - return self._simple - - @simple.setter - def simple(self, simple): - """Sets the simple of this CoreLiteralType. - - A simple type that can be compared one-to-one with another. # noqa: E501 - - :param simple: The simple of this CoreLiteralType. # noqa: E501 - :type: CoreSimpleType - """ - - self._simple = simple - - @property - def schema(self): - """Gets the schema of this CoreLiteralType. # noqa: E501 - - A complex type that requires matching of inner fields. # noqa: E501 - - :return: The schema of this CoreLiteralType. # noqa: E501 - :rtype: CoreSchemaType - """ - return self._schema - - @schema.setter - def schema(self, schema): - """Sets the schema of this CoreLiteralType. - - A complex type that requires matching of inner fields. # noqa: E501 - - :param schema: The schema of this CoreLiteralType. # noqa: E501 - :type: CoreSchemaType - """ - - self._schema = schema - - @property - def collection_type(self): - """Gets the collection_type of this CoreLiteralType. # noqa: E501 - - Defines the type of the value of a collection. Only homogeneous collections are allowed. # noqa: E501 - - :return: The collection_type of this CoreLiteralType. # noqa: E501 - :rtype: CoreLiteralType - """ - return self._collection_type - - @collection_type.setter - def collection_type(self, collection_type): - """Sets the collection_type of this CoreLiteralType. - - Defines the type of the value of a collection. Only homogeneous collections are allowed. # noqa: E501 - - :param collection_type: The collection_type of this CoreLiteralType. # noqa: E501 - :type: CoreLiteralType - """ - - self._collection_type = collection_type - - @property - def map_value_type(self): - """Gets the map_value_type of this CoreLiteralType. # noqa: E501 - - Defines the type of the value of a map type. The type of the key is always a string. # noqa: E501 - - :return: The map_value_type of this CoreLiteralType. # noqa: E501 - :rtype: CoreLiteralType - """ - return self._map_value_type - - @map_value_type.setter - def map_value_type(self, map_value_type): - """Sets the map_value_type of this CoreLiteralType. - - Defines the type of the value of a map type. The type of the key is always a string. # noqa: E501 - - :param map_value_type: The map_value_type of this CoreLiteralType. # noqa: E501 - :type: CoreLiteralType - """ - - self._map_value_type = map_value_type - - @property - def blob(self): - """Gets the blob of this CoreLiteralType. # noqa: E501 - - A blob might have specialized implementation details depending on associated metadata. # noqa: E501 - - :return: The blob of this CoreLiteralType. # noqa: E501 - :rtype: CoreBlobType - """ - return self._blob - - @blob.setter - def blob(self, blob): - """Sets the blob of this CoreLiteralType. - - A blob might have specialized implementation details depending on associated metadata. # noqa: E501 - - :param blob: The blob of this CoreLiteralType. # noqa: E501 - :type: CoreBlobType - """ - - self._blob = blob - - @property - def enum_type(self): - """Gets the enum_type of this CoreLiteralType. # noqa: E501 - - Defines an enum with pre-defined string values. # noqa: E501 - - :return: The enum_type of this CoreLiteralType. # noqa: E501 - :rtype: CoreEnumType - """ - return self._enum_type - - @enum_type.setter - def enum_type(self, enum_type): - """Sets the enum_type of this CoreLiteralType. - - Defines an enum with pre-defined string values. # noqa: E501 - - :param enum_type: The enum_type of this CoreLiteralType. # noqa: E501 - :type: CoreEnumType - """ - - self._enum_type = enum_type - - @property - def structured_dataset_type(self): - """Gets the structured_dataset_type of this CoreLiteralType. # noqa: E501 - - - :return: The structured_dataset_type of this CoreLiteralType. # noqa: E501 - :rtype: CoreStructuredDatasetType - """ - return self._structured_dataset_type - - @structured_dataset_type.setter - def structured_dataset_type(self, structured_dataset_type): - """Sets the structured_dataset_type of this CoreLiteralType. - - - :param structured_dataset_type: The structured_dataset_type of this CoreLiteralType. # noqa: E501 - :type: CoreStructuredDatasetType - """ - - self._structured_dataset_type = structured_dataset_type - - @property - def union_type(self): - """Gets the union_type of this CoreLiteralType. # noqa: E501 - - Defines an union type with pre-defined LiteralTypes. # noqa: E501 - - :return: The union_type of this CoreLiteralType. # noqa: E501 - :rtype: CoreUnionType - """ - return self._union_type - - @union_type.setter - def union_type(self, union_type): - """Sets the union_type of this CoreLiteralType. - - Defines an union type with pre-defined LiteralTypes. # noqa: E501 - - :param union_type: The union_type of this CoreLiteralType. # noqa: E501 - :type: CoreUnionType - """ - - self._union_type = union_type - - @property - def metadata(self): - """Gets the metadata of this CoreLiteralType. # noqa: E501 - - This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type. # noqa: E501 - - :return: The metadata of this CoreLiteralType. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreLiteralType. - - This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type. # noqa: E501 - - :param metadata: The metadata of this CoreLiteralType. # noqa: E501 - :type: ProtobufStruct - """ - - self._metadata = metadata - - @property - def annotation(self): - """Gets the annotation of this CoreLiteralType. # noqa: E501 - - This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior. # noqa: E501 - - :return: The annotation of this CoreLiteralType. # noqa: E501 - :rtype: CoreTypeAnnotation - """ - return self._annotation - - @annotation.setter - def annotation(self, annotation): - """Sets the annotation of this CoreLiteralType. - - This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior. # noqa: E501 - - :param annotation: The annotation of this CoreLiteralType. # noqa: E501 - :type: CoreTypeAnnotation - """ - - self._annotation = annotation - - @property - def structure(self): - """Gets the structure of this CoreLiteralType. # noqa: E501 - - Hints to improve type matching. # noqa: E501 - - :return: The structure of this CoreLiteralType. # noqa: E501 - :rtype: CoreTypeStructure - """ - return self._structure - - @structure.setter - def structure(self, structure): - """Sets the structure of this CoreLiteralType. - - Hints to improve type matching. # noqa: E501 - - :param structure: The structure of this CoreLiteralType. # noqa: E501 - :type: CoreTypeStructure - """ - - self._structure = structure - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreLiteralType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreLiteralType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node.py deleted file mode 100644 index 96d375c98..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node.py +++ /dev/null @@ -1,320 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_alias import CoreAlias # noqa: F401,E501 -from flyteadmin.models.core_binding import CoreBinding # noqa: F401,E501 -from flyteadmin.models.core_branch_node import CoreBranchNode # noqa: F401,E501 -from flyteadmin.models.core_node_metadata import CoreNodeMetadata # noqa: F401,E501 -from flyteadmin.models.core_task_node import CoreTaskNode # noqa: F401,E501 -from flyteadmin.models.core_workflow_node import CoreWorkflowNode # noqa: F401,E501 - - -class CoreNode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'str', - 'metadata': 'CoreNodeMetadata', - 'inputs': 'list[CoreBinding]', - 'upstream_node_ids': 'list[str]', - 'output_aliases': 'list[CoreAlias]', - 'task_node': 'CoreTaskNode', - 'workflow_node': 'CoreWorkflowNode', - 'branch_node': 'CoreBranchNode' - } - - attribute_map = { - 'id': 'id', - 'metadata': 'metadata', - 'inputs': 'inputs', - 'upstream_node_ids': 'upstream_node_ids', - 'output_aliases': 'output_aliases', - 'task_node': 'task_node', - 'workflow_node': 'workflow_node', - 'branch_node': 'branch_node' - } - - def __init__(self, id=None, metadata=None, inputs=None, upstream_node_ids=None, output_aliases=None, task_node=None, workflow_node=None, branch_node=None): # noqa: E501 - """CoreNode - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._metadata = None - self._inputs = None - self._upstream_node_ids = None - self._output_aliases = None - self._task_node = None - self._workflow_node = None - self._branch_node = None - self.discriminator = None - - if id is not None: - self.id = id - if metadata is not None: - self.metadata = metadata - if inputs is not None: - self.inputs = inputs - if upstream_node_ids is not None: - self.upstream_node_ids = upstream_node_ids - if output_aliases is not None: - self.output_aliases = output_aliases - if task_node is not None: - self.task_node = task_node - if workflow_node is not None: - self.workflow_node = workflow_node - if branch_node is not None: - self.branch_node = branch_node - - @property - def id(self): - """Gets the id of this CoreNode. # noqa: E501 - - A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes. # noqa: E501 - - :return: The id of this CoreNode. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CoreNode. - - A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes. # noqa: E501 - - :param id: The id of this CoreNode. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def metadata(self): - """Gets the metadata of this CoreNode. # noqa: E501 - - Extra metadata about the node. # noqa: E501 - - :return: The metadata of this CoreNode. # noqa: E501 - :rtype: CoreNodeMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreNode. - - Extra metadata about the node. # noqa: E501 - - :param metadata: The metadata of this CoreNode. # noqa: E501 - :type: CoreNodeMetadata - """ - - self._metadata = metadata - - @property - def inputs(self): - """Gets the inputs of this CoreNode. # noqa: E501 - - Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled. # noqa: E501 - - :return: The inputs of this CoreNode. # noqa: E501 - :rtype: list[CoreBinding] - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this CoreNode. - - Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled. # noqa: E501 - - :param inputs: The inputs of this CoreNode. # noqa: E501 - :type: list[CoreBinding] - """ - - self._inputs = inputs - - @property - def upstream_node_ids(self): - """Gets the upstream_node_ids of this CoreNode. # noqa: E501 - - +optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field. # noqa: E501 - - :return: The upstream_node_ids of this CoreNode. # noqa: E501 - :rtype: list[str] - """ - return self._upstream_node_ids - - @upstream_node_ids.setter - def upstream_node_ids(self, upstream_node_ids): - """Sets the upstream_node_ids of this CoreNode. - - +optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field. # noqa: E501 - - :param upstream_node_ids: The upstream_node_ids of this CoreNode. # noqa: E501 - :type: list[str] - """ - - self._upstream_node_ids = upstream_node_ids - - @property - def output_aliases(self): - """Gets the output_aliases of this CoreNode. # noqa: E501 - - +optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified. # noqa: E501 - - :return: The output_aliases of this CoreNode. # noqa: E501 - :rtype: list[CoreAlias] - """ - return self._output_aliases - - @output_aliases.setter - def output_aliases(self, output_aliases): - """Sets the output_aliases of this CoreNode. - - +optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified. # noqa: E501 - - :param output_aliases: The output_aliases of this CoreNode. # noqa: E501 - :type: list[CoreAlias] - """ - - self._output_aliases = output_aliases - - @property - def task_node(self): - """Gets the task_node of this CoreNode. # noqa: E501 - - Information about the Task to execute in this node. # noqa: E501 - - :return: The task_node of this CoreNode. # noqa: E501 - :rtype: CoreTaskNode - """ - return self._task_node - - @task_node.setter - def task_node(self, task_node): - """Sets the task_node of this CoreNode. - - Information about the Task to execute in this node. # noqa: E501 - - :param task_node: The task_node of this CoreNode. # noqa: E501 - :type: CoreTaskNode - """ - - self._task_node = task_node - - @property - def workflow_node(self): - """Gets the workflow_node of this CoreNode. # noqa: E501 - - Information about the Workflow to execute in this mode. # noqa: E501 - - :return: The workflow_node of this CoreNode. # noqa: E501 - :rtype: CoreWorkflowNode - """ - return self._workflow_node - - @workflow_node.setter - def workflow_node(self, workflow_node): - """Sets the workflow_node of this CoreNode. - - Information about the Workflow to execute in this mode. # noqa: E501 - - :param workflow_node: The workflow_node of this CoreNode. # noqa: E501 - :type: CoreWorkflowNode - """ - - self._workflow_node = workflow_node - - @property - def branch_node(self): - """Gets the branch_node of this CoreNode. # noqa: E501 - - Information about the branch node to evaluate in this node. # noqa: E501 - - :return: The branch_node of this CoreNode. # noqa: E501 - :rtype: CoreBranchNode - """ - return self._branch_node - - @branch_node.setter - def branch_node(self, branch_node): - """Sets the branch_node of this CoreNode. - - Information about the branch node to evaluate in this node. # noqa: E501 - - :param branch_node: The branch_node of this CoreNode. # noqa: E501 - :type: CoreBranchNode - """ - - self._branch_node = branch_node - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreNode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreNode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_identifier.py deleted file mode 100644 index 0c3ea4e60..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_identifier.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class CoreNodeExecutionIdentifier(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'node_id': 'str', - 'execution_id': 'CoreWorkflowExecutionIdentifier' - } - - attribute_map = { - 'node_id': 'node_id', - 'execution_id': 'execution_id' - } - - def __init__(self, node_id=None, execution_id=None): # noqa: E501 - """CoreNodeExecutionIdentifier - a model defined in Swagger""" # noqa: E501 - - self._node_id = None - self._execution_id = None - self.discriminator = None - - if node_id is not None: - self.node_id = node_id - if execution_id is not None: - self.execution_id = execution_id - - @property - def node_id(self): - """Gets the node_id of this CoreNodeExecutionIdentifier. # noqa: E501 - - - :return: The node_id of this CoreNodeExecutionIdentifier. # noqa: E501 - :rtype: str - """ - return self._node_id - - @node_id.setter - def node_id(self, node_id): - """Sets the node_id of this CoreNodeExecutionIdentifier. - - - :param node_id: The node_id of this CoreNodeExecutionIdentifier. # noqa: E501 - :type: str - """ - - self._node_id = node_id - - @property - def execution_id(self): - """Gets the execution_id of this CoreNodeExecutionIdentifier. # noqa: E501 - - - :return: The execution_id of this CoreNodeExecutionIdentifier. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._execution_id - - @execution_id.setter - def execution_id(self, execution_id): - """Sets the execution_id of this CoreNodeExecutionIdentifier. - - - :param execution_id: The execution_id of this CoreNodeExecutionIdentifier. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._execution_id = execution_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreNodeExecutionIdentifier, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreNodeExecutionIdentifier): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_phase.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_phase.py deleted file mode 100644 index 5b03e7e48..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_phase.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreNodeExecutionPhase(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNDEFINED = "UNDEFINED" - QUEUED = "QUEUED" - RUNNING = "RUNNING" - SUCCEEDED = "SUCCEEDED" - FAILING = "FAILING" - FAILED = "FAILED" - ABORTED = "ABORTED" - SKIPPED = "SKIPPED" - TIMED_OUT = "TIMED_OUT" - DYNAMIC_RUNNING = "DYNAMIC_RUNNING" - RECOVERED = "RECOVERED" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreNodeExecutionPhase - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreNodeExecutionPhase, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreNodeExecutionPhase): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_metadata.py deleted file mode 100644 index d23c04290..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_metadata.py +++ /dev/null @@ -1,199 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_retry_strategy import CoreRetryStrategy # noqa: F401,E501 - - -class CoreNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str', - 'timeout': 'str', - 'retries': 'CoreRetryStrategy', - 'interruptible': 'bool' - } - - attribute_map = { - 'name': 'name', - 'timeout': 'timeout', - 'retries': 'retries', - 'interruptible': 'interruptible' - } - - def __init__(self, name=None, timeout=None, retries=None, interruptible=None): # noqa: E501 - """CoreNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._name = None - self._timeout = None - self._retries = None - self._interruptible = None - self.discriminator = None - - if name is not None: - self.name = name - if timeout is not None: - self.timeout = timeout - if retries is not None: - self.retries = retries - if interruptible is not None: - self.interruptible = interruptible - - @property - def name(self): - """Gets the name of this CoreNodeMetadata. # noqa: E501 - - - :return: The name of this CoreNodeMetadata. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CoreNodeMetadata. - - - :param name: The name of this CoreNodeMetadata. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def timeout(self): - """Gets the timeout of this CoreNodeMetadata. # noqa: E501 - - The overall timeout of a task. # noqa: E501 - - :return: The timeout of this CoreNodeMetadata. # noqa: E501 - :rtype: str - """ - return self._timeout - - @timeout.setter - def timeout(self, timeout): - """Sets the timeout of this CoreNodeMetadata. - - The overall timeout of a task. # noqa: E501 - - :param timeout: The timeout of this CoreNodeMetadata. # noqa: E501 - :type: str - """ - - self._timeout = timeout - - @property - def retries(self): - """Gets the retries of this CoreNodeMetadata. # noqa: E501 - - Number of retries per task. # noqa: E501 - - :return: The retries of this CoreNodeMetadata. # noqa: E501 - :rtype: CoreRetryStrategy - """ - return self._retries - - @retries.setter - def retries(self, retries): - """Sets the retries of this CoreNodeMetadata. - - Number of retries per task. # noqa: E501 - - :param retries: The retries of this CoreNodeMetadata. # noqa: E501 - :type: CoreRetryStrategy - """ - - self._retries = retries - - @property - def interruptible(self): - """Gets the interruptible of this CoreNodeMetadata. # noqa: E501 - - - :return: The interruptible of this CoreNodeMetadata. # noqa: E501 - :rtype: bool - """ - return self._interruptible - - @interruptible.setter - def interruptible(self, interruptible): - """Sets the interruptible of this CoreNodeMetadata. - - - :param interruptible: The interruptible of this CoreNodeMetadata. # noqa: E501 - :type: bool - """ - - self._interruptible = interruptible - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_client.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_client.py deleted file mode 100644 index 520dfdee3..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_client.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_secret import CoreSecret # noqa: F401,E501 - - -class CoreOAuth2Client(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'client_id': 'str', - 'client_secret': 'CoreSecret' - } - - attribute_map = { - 'client_id': 'client_id', - 'client_secret': 'client_secret' - } - - def __init__(self, client_id=None, client_secret=None): # noqa: E501 - """CoreOAuth2Client - a model defined in Swagger""" # noqa: E501 - - self._client_id = None - self._client_secret = None - self.discriminator = None - - if client_id is not None: - self.client_id = client_id - if client_secret is not None: - self.client_secret = client_secret - - @property - def client_id(self): - """Gets the client_id of this CoreOAuth2Client. # noqa: E501 - - - :return: The client_id of this CoreOAuth2Client. # noqa: E501 - :rtype: str - """ - return self._client_id - - @client_id.setter - def client_id(self, client_id): - """Sets the client_id of this CoreOAuth2Client. - - - :param client_id: The client_id of this CoreOAuth2Client. # noqa: E501 - :type: str - """ - - self._client_id = client_id - - @property - def client_secret(self): - """Gets the client_secret of this CoreOAuth2Client. # noqa: E501 - - - :return: The client_secret of this CoreOAuth2Client. # noqa: E501 - :rtype: CoreSecret - """ - return self._client_secret - - @client_secret.setter - def client_secret(self, client_secret): - """Sets the client_secret of this CoreOAuth2Client. - - - :param client_secret: The client_secret of this CoreOAuth2Client. # noqa: E501 - :type: CoreSecret - """ - - self._client_secret = client_secret - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreOAuth2Client, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreOAuth2Client): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request.py deleted file mode 100644 index 22ea5676c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request.py +++ /dev/null @@ -1,222 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client # noqa: F401,E501 -from flyteadmin.models.core_o_auth2_token_request_type import CoreOAuth2TokenRequestType # noqa: F401,E501 - - -class CoreOAuth2TokenRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str', - 'type': 'CoreOAuth2TokenRequestType', - 'client': 'CoreOAuth2Client', - 'idp_discovery_endpoint': 'str', - 'token_endpoint': 'str' - } - - attribute_map = { - 'name': 'name', - 'type': 'type', - 'client': 'client', - 'idp_discovery_endpoint': 'idp_discovery_endpoint', - 'token_endpoint': 'token_endpoint' - } - - def __init__(self, name=None, type=None, client=None, idp_discovery_endpoint=None, token_endpoint=None): # noqa: E501 - """CoreOAuth2TokenRequest - a model defined in Swagger""" # noqa: E501 - - self._name = None - self._type = None - self._client = None - self._idp_discovery_endpoint = None - self._token_endpoint = None - self.discriminator = None - - if name is not None: - self.name = name - if type is not None: - self.type = type - if client is not None: - self.client = client - if idp_discovery_endpoint is not None: - self.idp_discovery_endpoint = idp_discovery_endpoint - if token_endpoint is not None: - self.token_endpoint = token_endpoint - - @property - def name(self): - """Gets the name of this CoreOAuth2TokenRequest. # noqa: E501 - - - :return: The name of this CoreOAuth2TokenRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CoreOAuth2TokenRequest. - - - :param name: The name of this CoreOAuth2TokenRequest. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def type(self): - """Gets the type of this CoreOAuth2TokenRequest. # noqa: E501 - - - :return: The type of this CoreOAuth2TokenRequest. # noqa: E501 - :rtype: CoreOAuth2TokenRequestType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreOAuth2TokenRequest. - - - :param type: The type of this CoreOAuth2TokenRequest. # noqa: E501 - :type: CoreOAuth2TokenRequestType - """ - - self._type = type - - @property - def client(self): - """Gets the client of this CoreOAuth2TokenRequest. # noqa: E501 - - - :return: The client of this CoreOAuth2TokenRequest. # noqa: E501 - :rtype: CoreOAuth2Client - """ - return self._client - - @client.setter - def client(self, client): - """Sets the client of this CoreOAuth2TokenRequest. - - - :param client: The client of this CoreOAuth2TokenRequest. # noqa: E501 - :type: CoreOAuth2Client - """ - - self._client = client - - @property - def idp_discovery_endpoint(self): - """Gets the idp_discovery_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 - - - :return: The idp_discovery_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 - :rtype: str - """ - return self._idp_discovery_endpoint - - @idp_discovery_endpoint.setter - def idp_discovery_endpoint(self, idp_discovery_endpoint): - """Sets the idp_discovery_endpoint of this CoreOAuth2TokenRequest. - - - :param idp_discovery_endpoint: The idp_discovery_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 - :type: str - """ - - self._idp_discovery_endpoint = idp_discovery_endpoint - - @property - def token_endpoint(self): - """Gets the token_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 - - - :return: The token_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 - :rtype: str - """ - return self._token_endpoint - - @token_endpoint.setter - def token_endpoint(self, token_endpoint): - """Sets the token_endpoint of this CoreOAuth2TokenRequest. - - - :param token_endpoint: The token_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 - :type: str - """ - - self._token_endpoint = token_endpoint - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreOAuth2TokenRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreOAuth2TokenRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request_type.py deleted file mode 100644 index 39f87fb6f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request_type.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreOAuth2TokenRequestType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - CLIENT_CREDENTIALS = "CLIENT_CREDENTIALS" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreOAuth2TokenRequestType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreOAuth2TokenRequestType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreOAuth2TokenRequestType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_operand.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_operand.py deleted file mode 100644 index fad1d9ea4..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_operand.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_primitive import CorePrimitive # noqa: F401,E501 - - -class CoreOperand(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'primitive': 'CorePrimitive', - 'var': 'str' - } - - attribute_map = { - 'primitive': 'primitive', - 'var': 'var' - } - - def __init__(self, primitive=None, var=None): # noqa: E501 - """CoreOperand - a model defined in Swagger""" # noqa: E501 - - self._primitive = None - self._var = None - self.discriminator = None - - if primitive is not None: - self.primitive = primitive - if var is not None: - self.var = var - - @property - def primitive(self): - """Gets the primitive of this CoreOperand. # noqa: E501 - - - :return: The primitive of this CoreOperand. # noqa: E501 - :rtype: CorePrimitive - """ - return self._primitive - - @primitive.setter - def primitive(self, primitive): - """Sets the primitive of this CoreOperand. - - - :param primitive: The primitive of this CoreOperand. # noqa: E501 - :type: CorePrimitive - """ - - self._primitive = primitive - - @property - def var(self): - """Gets the var of this CoreOperand. # noqa: E501 - - - :return: The var of this CoreOperand. # noqa: E501 - :rtype: str - """ - return self._var - - @var.setter - def var(self, var): - """Sets the var of this CoreOperand. - - - :param var: The var of this CoreOperand. # noqa: E501 - :type: str - """ - - self._var = var - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreOperand, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreOperand): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_output_reference.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_output_reference.py deleted file mode 100644 index 801fd4552..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_output_reference.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreOutputReference(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'node_id': 'str', - 'var': 'str' - } - - attribute_map = { - 'node_id': 'node_id', - 'var': 'var' - } - - def __init__(self, node_id=None, var=None): # noqa: E501 - """CoreOutputReference - a model defined in Swagger""" # noqa: E501 - - self._node_id = None - self._var = None - self.discriminator = None - - if node_id is not None: - self.node_id = node_id - if var is not None: - self.var = var - - @property - def node_id(self): - """Gets the node_id of this CoreOutputReference. # noqa: E501 - - Node id must exist at the graph layer. # noqa: E501 - - :return: The node_id of this CoreOutputReference. # noqa: E501 - :rtype: str - """ - return self._node_id - - @node_id.setter - def node_id(self, node_id): - """Sets the node_id of this CoreOutputReference. - - Node id must exist at the graph layer. # noqa: E501 - - :param node_id: The node_id of this CoreOutputReference. # noqa: E501 - :type: str - """ - - self._node_id = node_id - - @property - def var(self): - """Gets the var of this CoreOutputReference. # noqa: E501 - - Variable name must refer to an output variable for the node. # noqa: E501 - - :return: The var of this CoreOutputReference. # noqa: E501 - :rtype: str - """ - return self._var - - @var.setter - def var(self, var): - """Sets the var of this CoreOutputReference. - - Variable name must refer to an output variable for the node. # noqa: E501 - - :param var: The var of this CoreOutputReference. # noqa: E501 - :type: str - """ - - self._var = var - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreOutputReference, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreOutputReference): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py deleted file mode 100644 index a6e71104f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal import CoreLiteral # noqa: F401,E501 -from flyteadmin.models.core_variable import CoreVariable # noqa: F401,E501 - - -class CoreParameter(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'var': 'CoreVariable', - 'default': 'CoreLiteral', - 'required': 'bool' - } - - attribute_map = { - 'var': 'var', - 'default': 'default', - 'required': 'required' - } - - def __init__(self, var=None, default=None, required=None): # noqa: E501 - """CoreParameter - a model defined in Swagger""" # noqa: E501 - - self._var = None - self._default = None - self._required = None - self.discriminator = None - - if var is not None: - self.var = var - if default is not None: - self.default = default - if required is not None: - self.required = required - - @property - def var(self): - """Gets the var of this CoreParameter. # noqa: E501 - - +required Variable. Defines the type of the variable backing this parameter. # noqa: E501 - - :return: The var of this CoreParameter. # noqa: E501 - :rtype: CoreVariable - """ - return self._var - - @var.setter - def var(self, var): - """Sets the var of this CoreParameter. - - +required Variable. Defines the type of the variable backing this parameter. # noqa: E501 - - :param var: The var of this CoreParameter. # noqa: E501 - :type: CoreVariable - """ - - self._var = var - - @property - def default(self): - """Gets the default of this CoreParameter. # noqa: E501 - - Defines a default value that has to match the variable type defined. # noqa: E501 - - :return: The default of this CoreParameter. # noqa: E501 - :rtype: CoreLiteral - """ - return self._default - - @default.setter - def default(self, default): - """Sets the default of this CoreParameter. - - Defines a default value that has to match the variable type defined. # noqa: E501 - - :param default: The default of this CoreParameter. # noqa: E501 - :type: CoreLiteral - """ - - self._default = default - - @property - def required(self): - """Gets the required of this CoreParameter. # noqa: E501 - - +optional, is this value required to be filled. # noqa: E501 - - :return: The required of this CoreParameter. # noqa: E501 - :rtype: bool - """ - return self._required - - @required.setter - def required(self, required): - """Sets the required of this CoreParameter. - - +optional, is this value required to be filled. # noqa: E501 - - :param required: The required of this CoreParameter. # noqa: E501 - :type: bool - """ - - self._required = required - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreParameter, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreParameter): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter_map.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter_map.py deleted file mode 100644 index f2ca84c2e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter_map.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_parameter import CoreParameter # noqa: F401,E501 - - -class CoreParameterMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'parameters': 'dict(str, CoreParameter)' - } - - attribute_map = { - 'parameters': 'parameters' - } - - def __init__(self, parameters=None): # noqa: E501 - """CoreParameterMap - a model defined in Swagger""" # noqa: E501 - - self._parameters = None - self.discriminator = None - - if parameters is not None: - self.parameters = parameters - - @property - def parameters(self): - """Gets the parameters of this CoreParameterMap. # noqa: E501 - - Defines a map of parameter names to parameters. # noqa: E501 - - :return: The parameters of this CoreParameterMap. # noqa: E501 - :rtype: dict(str, CoreParameter) - """ - return self._parameters - - @parameters.setter - def parameters(self, parameters): - """Sets the parameters of this CoreParameterMap. - - Defines a map of parameter names to parameters. # noqa: E501 - - :param parameters: The parameters of this CoreParameterMap. # noqa: E501 - :type: dict(str, CoreParameter) - """ - - self._parameters = parameters - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreParameterMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreParameterMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_primitive.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_primitive.py deleted file mode 100644 index 8a834e28d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_primitive.py +++ /dev/null @@ -1,245 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CorePrimitive(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'integer': 'str', - 'float_value': 'float', - 'string_value': 'str', - 'boolean': 'bool', - '_datetime': 'datetime', - 'duration': 'str' - } - - attribute_map = { - 'integer': 'integer', - 'float_value': 'float_value', - 'string_value': 'string_value', - 'boolean': 'boolean', - '_datetime': 'datetime', - 'duration': 'duration' - } - - def __init__(self, integer=None, float_value=None, string_value=None, boolean=None, _datetime=None, duration=None): # noqa: E501 - """CorePrimitive - a model defined in Swagger""" # noqa: E501 - - self._integer = None - self._float_value = None - self._string_value = None - self._boolean = None - self.__datetime = None - self._duration = None - self.discriminator = None - - if integer is not None: - self.integer = integer - if float_value is not None: - self.float_value = float_value - if string_value is not None: - self.string_value = string_value - if boolean is not None: - self.boolean = boolean - if _datetime is not None: - self._datetime = _datetime - if duration is not None: - self.duration = duration - - @property - def integer(self): - """Gets the integer of this CorePrimitive. # noqa: E501 - - - :return: The integer of this CorePrimitive. # noqa: E501 - :rtype: str - """ - return self._integer - - @integer.setter - def integer(self, integer): - """Sets the integer of this CorePrimitive. - - - :param integer: The integer of this CorePrimitive. # noqa: E501 - :type: str - """ - - self._integer = integer - - @property - def float_value(self): - """Gets the float_value of this CorePrimitive. # noqa: E501 - - - :return: The float_value of this CorePrimitive. # noqa: E501 - :rtype: float - """ - return self._float_value - - @float_value.setter - def float_value(self, float_value): - """Sets the float_value of this CorePrimitive. - - - :param float_value: The float_value of this CorePrimitive. # noqa: E501 - :type: float - """ - - self._float_value = float_value - - @property - def string_value(self): - """Gets the string_value of this CorePrimitive. # noqa: E501 - - - :return: The string_value of this CorePrimitive. # noqa: E501 - :rtype: str - """ - return self._string_value - - @string_value.setter - def string_value(self, string_value): - """Sets the string_value of this CorePrimitive. - - - :param string_value: The string_value of this CorePrimitive. # noqa: E501 - :type: str - """ - - self._string_value = string_value - - @property - def boolean(self): - """Gets the boolean of this CorePrimitive. # noqa: E501 - - - :return: The boolean of this CorePrimitive. # noqa: E501 - :rtype: bool - """ - return self._boolean - - @boolean.setter - def boolean(self, boolean): - """Sets the boolean of this CorePrimitive. - - - :param boolean: The boolean of this CorePrimitive. # noqa: E501 - :type: bool - """ - - self._boolean = boolean - - @property - def _datetime(self): - """Gets the _datetime of this CorePrimitive. # noqa: E501 - - - :return: The _datetime of this CorePrimitive. # noqa: E501 - :rtype: datetime - """ - return self.__datetime - - @_datetime.setter - def _datetime(self, _datetime): - """Sets the _datetime of this CorePrimitive. - - - :param _datetime: The _datetime of this CorePrimitive. # noqa: E501 - :type: datetime - """ - - self.__datetime = _datetime - - @property - def duration(self): - """Gets the duration of this CorePrimitive. # noqa: E501 - - - :return: The duration of this CorePrimitive. # noqa: E501 - :rtype: str - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this CorePrimitive. - - - :param duration: The duration of this CorePrimitive. # noqa: E501 - :type: str - """ - - self._duration = duration - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CorePrimitive, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CorePrimitive): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service.py deleted file mode 100644 index b9bb2aadb..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_quality_of_service_spec import CoreQualityOfServiceSpec # noqa: F401,E501 -from flyteadmin.models.quality_of_service_tier import QualityOfServiceTier # noqa: F401,E501 - - -class CoreQualityOfService(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'tier': 'QualityOfServiceTier', - 'spec': 'CoreQualityOfServiceSpec' - } - - attribute_map = { - 'tier': 'tier', - 'spec': 'spec' - } - - def __init__(self, tier=None, spec=None): # noqa: E501 - """CoreQualityOfService - a model defined in Swagger""" # noqa: E501 - - self._tier = None - self._spec = None - self.discriminator = None - - if tier is not None: - self.tier = tier - if spec is not None: - self.spec = spec - - @property - def tier(self): - """Gets the tier of this CoreQualityOfService. # noqa: E501 - - - :return: The tier of this CoreQualityOfService. # noqa: E501 - :rtype: QualityOfServiceTier - """ - return self._tier - - @tier.setter - def tier(self, tier): - """Sets the tier of this CoreQualityOfService. - - - :param tier: The tier of this CoreQualityOfService. # noqa: E501 - :type: QualityOfServiceTier - """ - - self._tier = tier - - @property - def spec(self): - """Gets the spec of this CoreQualityOfService. # noqa: E501 - - - :return: The spec of this CoreQualityOfService. # noqa: E501 - :rtype: CoreQualityOfServiceSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this CoreQualityOfService. - - - :param spec: The spec of this CoreQualityOfService. # noqa: E501 - :type: CoreQualityOfServiceSpec - """ - - self._spec = spec - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreQualityOfService, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreQualityOfService): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service_spec.py deleted file mode 100644 index 070989b16..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service_spec.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreQualityOfServiceSpec(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'queueing_budget': 'str' - } - - attribute_map = { - 'queueing_budget': 'queueing_budget' - } - - def __init__(self, queueing_budget=None): # noqa: E501 - """CoreQualityOfServiceSpec - a model defined in Swagger""" # noqa: E501 - - self._queueing_budget = None - self.discriminator = None - - if queueing_budget is not None: - self.queueing_budget = queueing_budget - - @property - def queueing_budget(self): - """Gets the queueing_budget of this CoreQualityOfServiceSpec. # noqa: E501 - - Indicates how much queueing delay an execution can tolerate. # noqa: E501 - - :return: The queueing_budget of this CoreQualityOfServiceSpec. # noqa: E501 - :rtype: str - """ - return self._queueing_budget - - @queueing_budget.setter - def queueing_budget(self, queueing_budget): - """Sets the queueing_budget of this CoreQualityOfServiceSpec. - - Indicates how much queueing delay an execution can tolerate. # noqa: E501 - - :param queueing_budget: The queueing_budget of this CoreQualityOfServiceSpec. # noqa: E501 - :type: str - """ - - self._queueing_budget = queueing_budget - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreQualityOfServiceSpec, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreQualityOfServiceSpec): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resource_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resource_type.py deleted file mode 100644 index 4a748c106..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resource_type.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreResourceType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNSPECIFIED = "UNSPECIFIED" - TASK = "TASK" - WORKFLOW = "WORKFLOW" - LAUNCH_PLAN = "LAUNCH_PLAN" - DATASET = "DATASET" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreResourceType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreResourceType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreResourceType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resources.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resources.py deleted file mode 100644 index 0e14879b0..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resources.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.resources_resource_entry import ResourcesResourceEntry # noqa: F401,E501 - - -class CoreResources(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'requests': 'list[ResourcesResourceEntry]', - 'limits': 'list[ResourcesResourceEntry]' - } - - attribute_map = { - 'requests': 'requests', - 'limits': 'limits' - } - - def __init__(self, requests=None, limits=None): # noqa: E501 - """CoreResources - a model defined in Swagger""" # noqa: E501 - - self._requests = None - self._limits = None - self.discriminator = None - - if requests is not None: - self.requests = requests - if limits is not None: - self.limits = limits - - @property - def requests(self): - """Gets the requests of this CoreResources. # noqa: E501 - - The desired set of resources requested. ResourceNames must be unique within the list. # noqa: E501 - - :return: The requests of this CoreResources. # noqa: E501 - :rtype: list[ResourcesResourceEntry] - """ - return self._requests - - @requests.setter - def requests(self, requests): - """Sets the requests of this CoreResources. - - The desired set of resources requested. ResourceNames must be unique within the list. # noqa: E501 - - :param requests: The requests of this CoreResources. # noqa: E501 - :type: list[ResourcesResourceEntry] - """ - - self._requests = requests - - @property - def limits(self): - """Gets the limits of this CoreResources. # noqa: E501 - - Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique within the list. # noqa: E501 - - :return: The limits of this CoreResources. # noqa: E501 - :rtype: list[ResourcesResourceEntry] - """ - return self._limits - - @limits.setter - def limits(self, limits): - """Sets the limits of this CoreResources. - - Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique within the list. # noqa: E501 - - :param limits: The limits of this CoreResources. # noqa: E501 - :type: list[ResourcesResourceEntry] - """ - - self._limits = limits - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreResources, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreResources): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_retry_strategy.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_retry_strategy.py deleted file mode 100644 index 45ba6d22f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_retry_strategy.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreRetryStrategy(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'retries': 'int' - } - - attribute_map = { - 'retries': 'retries' - } - - def __init__(self, retries=None): # noqa: E501 - """CoreRetryStrategy - a model defined in Swagger""" # noqa: E501 - - self._retries = None - self.discriminator = None - - if retries is not None: - self.retries = retries - - @property - def retries(self): - """Gets the retries of this CoreRetryStrategy. # noqa: E501 - - Number of retries. Retries will be consumed when the job fails with a recoverable error. The number of retries must be less than or equals to 10. # noqa: E501 - - :return: The retries of this CoreRetryStrategy. # noqa: E501 - :rtype: int - """ - return self._retries - - @retries.setter - def retries(self, retries): - """Sets the retries of this CoreRetryStrategy. - - Number of retries. Retries will be consumed when the job fails with a recoverable error. The number of retries must be less than or equals to 10. # noqa: E501 - - :param retries: The retries of this CoreRetryStrategy. # noqa: E501 - :type: int - """ - - self._retries = retries - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreRetryStrategy, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreRetryStrategy): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_runtime_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_runtime_metadata.py deleted file mode 100644 index b14a33029..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_runtime_metadata.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.runtime_metadata_runtime_type import RuntimeMetadataRuntimeType # noqa: F401,E501 - - -class CoreRuntimeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'type': 'RuntimeMetadataRuntimeType', - 'version': 'str', - 'flavor': 'str' - } - - attribute_map = { - 'type': 'type', - 'version': 'version', - 'flavor': 'flavor' - } - - def __init__(self, type=None, version=None, flavor=None): # noqa: E501 - """CoreRuntimeMetadata - a model defined in Swagger""" # noqa: E501 - - self._type = None - self._version = None - self._flavor = None - self.discriminator = None - - if type is not None: - self.type = type - if version is not None: - self.version = version - if flavor is not None: - self.flavor = flavor - - @property - def type(self): - """Gets the type of this CoreRuntimeMetadata. # noqa: E501 - - Type of runtime. # noqa: E501 - - :return: The type of this CoreRuntimeMetadata. # noqa: E501 - :rtype: RuntimeMetadataRuntimeType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreRuntimeMetadata. - - Type of runtime. # noqa: E501 - - :param type: The type of this CoreRuntimeMetadata. # noqa: E501 - :type: RuntimeMetadataRuntimeType - """ - - self._type = type - - @property - def version(self): - """Gets the version of this CoreRuntimeMetadata. # noqa: E501 - - Version of the runtime. All versions should be backward compatible. However, certain cases call for version checks to ensure tighter validation or setting expectations. # noqa: E501 - - :return: The version of this CoreRuntimeMetadata. # noqa: E501 - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this CoreRuntimeMetadata. - - Version of the runtime. All versions should be backward compatible. However, certain cases call for version checks to ensure tighter validation or setting expectations. # noqa: E501 - - :param version: The version of this CoreRuntimeMetadata. # noqa: E501 - :type: str - """ - - self._version = version - - @property - def flavor(self): - """Gets the flavor of this CoreRuntimeMetadata. # noqa: E501 - - +optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.). # noqa: E501 - - :return: The flavor of this CoreRuntimeMetadata. # noqa: E501 - :rtype: str - """ - return self._flavor - - @flavor.setter - def flavor(self, flavor): - """Sets the flavor of this CoreRuntimeMetadata. - - +optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.). # noqa: E501 - - :param flavor: The flavor of this CoreRuntimeMetadata. # noqa: E501 - :type: str - """ - - self._flavor = flavor - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreRuntimeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreRuntimeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_scalar.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_scalar.py deleted file mode 100644 index 2de23ef35..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_scalar.py +++ /dev/null @@ -1,333 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_binary import CoreBinary # noqa: F401,E501 -from flyteadmin.models.core_blob import CoreBlob # noqa: F401,E501 -from flyteadmin.models.core_error import CoreError # noqa: F401,E501 -from flyteadmin.models.core_primitive import CorePrimitive # noqa: F401,E501 -from flyteadmin.models.core_structured_dataset import CoreStructuredDataset # noqa: F401,E501 -from flyteadmin.models.core_union import CoreUnion # noqa: F401,E501 -from flyteadmin.models.core_void import CoreVoid # noqa: F401,E501 -from flyteadmin.models.flyteidlcore_schema import FlyteidlcoreSchema # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class CoreScalar(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'primitive': 'CorePrimitive', - 'blob': 'CoreBlob', - 'binary': 'CoreBinary', - 'schema': 'FlyteidlcoreSchema', - 'none_type': 'CoreVoid', - 'error': 'CoreError', - 'generic': 'ProtobufStruct', - 'structured_dataset': 'CoreStructuredDataset', - 'union': 'CoreUnion' - } - - attribute_map = { - 'primitive': 'primitive', - 'blob': 'blob', - 'binary': 'binary', - 'schema': 'schema', - 'none_type': 'none_type', - 'error': 'error', - 'generic': 'generic', - 'structured_dataset': 'structured_dataset', - 'union': 'union' - } - - def __init__(self, primitive=None, blob=None, binary=None, schema=None, none_type=None, error=None, generic=None, structured_dataset=None, union=None): # noqa: E501 - """CoreScalar - a model defined in Swagger""" # noqa: E501 - - self._primitive = None - self._blob = None - self._binary = None - self._schema = None - self._none_type = None - self._error = None - self._generic = None - self._structured_dataset = None - self._union = None - self.discriminator = None - - if primitive is not None: - self.primitive = primitive - if blob is not None: - self.blob = blob - if binary is not None: - self.binary = binary - if schema is not None: - self.schema = schema - if none_type is not None: - self.none_type = none_type - if error is not None: - self.error = error - if generic is not None: - self.generic = generic - if structured_dataset is not None: - self.structured_dataset = structured_dataset - if union is not None: - self.union = union - - @property - def primitive(self): - """Gets the primitive of this CoreScalar. # noqa: E501 - - - :return: The primitive of this CoreScalar. # noqa: E501 - :rtype: CorePrimitive - """ - return self._primitive - - @primitive.setter - def primitive(self, primitive): - """Sets the primitive of this CoreScalar. - - - :param primitive: The primitive of this CoreScalar. # noqa: E501 - :type: CorePrimitive - """ - - self._primitive = primitive - - @property - def blob(self): - """Gets the blob of this CoreScalar. # noqa: E501 - - - :return: The blob of this CoreScalar. # noqa: E501 - :rtype: CoreBlob - """ - return self._blob - - @blob.setter - def blob(self, blob): - """Sets the blob of this CoreScalar. - - - :param blob: The blob of this CoreScalar. # noqa: E501 - :type: CoreBlob - """ - - self._blob = blob - - @property - def binary(self): - """Gets the binary of this CoreScalar. # noqa: E501 - - - :return: The binary of this CoreScalar. # noqa: E501 - :rtype: CoreBinary - """ - return self._binary - - @binary.setter - def binary(self, binary): - """Sets the binary of this CoreScalar. - - - :param binary: The binary of this CoreScalar. # noqa: E501 - :type: CoreBinary - """ - - self._binary = binary - - @property - def schema(self): - """Gets the schema of this CoreScalar. # noqa: E501 - - - :return: The schema of this CoreScalar. # noqa: E501 - :rtype: FlyteidlcoreSchema - """ - return self._schema - - @schema.setter - def schema(self, schema): - """Sets the schema of this CoreScalar. - - - :param schema: The schema of this CoreScalar. # noqa: E501 - :type: FlyteidlcoreSchema - """ - - self._schema = schema - - @property - def none_type(self): - """Gets the none_type of this CoreScalar. # noqa: E501 - - - :return: The none_type of this CoreScalar. # noqa: E501 - :rtype: CoreVoid - """ - return self._none_type - - @none_type.setter - def none_type(self, none_type): - """Sets the none_type of this CoreScalar. - - - :param none_type: The none_type of this CoreScalar. # noqa: E501 - :type: CoreVoid - """ - - self._none_type = none_type - - @property - def error(self): - """Gets the error of this CoreScalar. # noqa: E501 - - - :return: The error of this CoreScalar. # noqa: E501 - :rtype: CoreError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this CoreScalar. - - - :param error: The error of this CoreScalar. # noqa: E501 - :type: CoreError - """ - - self._error = error - - @property - def generic(self): - """Gets the generic of this CoreScalar. # noqa: E501 - - - :return: The generic of this CoreScalar. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._generic - - @generic.setter - def generic(self, generic): - """Sets the generic of this CoreScalar. - - - :param generic: The generic of this CoreScalar. # noqa: E501 - :type: ProtobufStruct - """ - - self._generic = generic - - @property - def structured_dataset(self): - """Gets the structured_dataset of this CoreScalar. # noqa: E501 - - - :return: The structured_dataset of this CoreScalar. # noqa: E501 - :rtype: CoreStructuredDataset - """ - return self._structured_dataset - - @structured_dataset.setter - def structured_dataset(self, structured_dataset): - """Sets the structured_dataset of this CoreScalar. - - - :param structured_dataset: The structured_dataset of this CoreScalar. # noqa: E501 - :type: CoreStructuredDataset - """ - - self._structured_dataset = structured_dataset - - @property - def union(self): - """Gets the union of this CoreScalar. # noqa: E501 - - - :return: The union of this CoreScalar. # noqa: E501 - :rtype: CoreUnion - """ - return self._union - - @union.setter - def union(self, union): - """Sets the union of this CoreScalar. - - - :param union: The union of this CoreScalar. # noqa: E501 - :type: CoreUnion - """ - - self._union = union - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreScalar, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreScalar): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema_type.py deleted file mode 100644 index 679e617a9..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema_type.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.schema_type_schema_column import SchemaTypeSchemaColumn # noqa: F401,E501 - - -class CoreSchemaType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'columns': 'list[SchemaTypeSchemaColumn]' - } - - attribute_map = { - 'columns': 'columns' - } - - def __init__(self, columns=None): # noqa: E501 - """CoreSchemaType - a model defined in Swagger""" # noqa: E501 - - self._columns = None - self.discriminator = None - - if columns is not None: - self.columns = columns - - @property - def columns(self): - """Gets the columns of this CoreSchemaType. # noqa: E501 - - A list of ordered columns this schema comprises of. # noqa: E501 - - :return: The columns of this CoreSchemaType. # noqa: E501 - :rtype: list[SchemaTypeSchemaColumn] - """ - return self._columns - - @columns.setter - def columns(self, columns): - """Sets the columns of this CoreSchemaType. - - A list of ordered columns this schema comprises of. # noqa: E501 - - :param columns: The columns of this CoreSchemaType. # noqa: E501 - :type: list[SchemaTypeSchemaColumn] - """ - - self._columns = columns - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSchemaType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSchemaType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_secret.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_secret.py deleted file mode 100644 index 378c51c4b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_secret.py +++ /dev/null @@ -1,195 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.secret_mount_type import SecretMountType # noqa: F401,E501 - - -class CoreSecret(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'group': 'str', - 'group_version': 'str', - 'key': 'str', - 'mount_requirement': 'SecretMountType' - } - - attribute_map = { - 'group': 'group', - 'group_version': 'group_version', - 'key': 'key', - 'mount_requirement': 'mount_requirement' - } - - def __init__(self, group=None, group_version=None, key=None, mount_requirement=None): # noqa: E501 - """CoreSecret - a model defined in Swagger""" # noqa: E501 - - self._group = None - self._group_version = None - self._key = None - self._mount_requirement = None - self.discriminator = None - - if group is not None: - self.group = group - if group_version is not None: - self.group_version = group_version - if key is not None: - self.key = key - if mount_requirement is not None: - self.mount_requirement = mount_requirement - - @property - def group(self): - """Gets the group of this CoreSecret. # noqa: E501 - - - :return: The group of this CoreSecret. # noqa: E501 - :rtype: str - """ - return self._group - - @group.setter - def group(self, group): - """Sets the group of this CoreSecret. - - - :param group: The group of this CoreSecret. # noqa: E501 - :type: str - """ - - self._group = group - - @property - def group_version(self): - """Gets the group_version of this CoreSecret. # noqa: E501 - - - :return: The group_version of this CoreSecret. # noqa: E501 - :rtype: str - """ - return self._group_version - - @group_version.setter - def group_version(self, group_version): - """Sets the group_version of this CoreSecret. - - - :param group_version: The group_version of this CoreSecret. # noqa: E501 - :type: str - """ - - self._group_version = group_version - - @property - def key(self): - """Gets the key of this CoreSecret. # noqa: E501 - - - :return: The key of this CoreSecret. # noqa: E501 - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - """Sets the key of this CoreSecret. - - - :param key: The key of this CoreSecret. # noqa: E501 - :type: str - """ - - self._key = key - - @property - def mount_requirement(self): - """Gets the mount_requirement of this CoreSecret. # noqa: E501 - - - :return: The mount_requirement of this CoreSecret. # noqa: E501 - :rtype: SecretMountType - """ - return self._mount_requirement - - @mount_requirement.setter - def mount_requirement(self, mount_requirement): - """Sets the mount_requirement of this CoreSecret. - - - :param mount_requirement: The mount_requirement of this CoreSecret. # noqa: E501 - :type: SecretMountType - """ - - self._mount_requirement = mount_requirement - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSecret, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSecret): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_security_context.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_security_context.py deleted file mode 100644 index c6df3b44f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_security_context.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_identity import CoreIdentity # noqa: F401,E501 -from flyteadmin.models.core_o_auth2_token_request import CoreOAuth2TokenRequest # noqa: F401,E501 -from flyteadmin.models.core_secret import CoreSecret # noqa: F401,E501 - - -class CoreSecurityContext(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'run_as': 'CoreIdentity', - 'secrets': 'list[CoreSecret]', - 'tokens': 'list[CoreOAuth2TokenRequest]' - } - - attribute_map = { - 'run_as': 'run_as', - 'secrets': 'secrets', - 'tokens': 'tokens' - } - - def __init__(self, run_as=None, secrets=None, tokens=None): # noqa: E501 - """CoreSecurityContext - a model defined in Swagger""" # noqa: E501 - - self._run_as = None - self._secrets = None - self._tokens = None - self.discriminator = None - - if run_as is not None: - self.run_as = run_as - if secrets is not None: - self.secrets = secrets - if tokens is not None: - self.tokens = tokens - - @property - def run_as(self): - """Gets the run_as of this CoreSecurityContext. # noqa: E501 - - run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on. # noqa: E501 - - :return: The run_as of this CoreSecurityContext. # noqa: E501 - :rtype: CoreIdentity - """ - return self._run_as - - @run_as.setter - def run_as(self, run_as): - """Sets the run_as of this CoreSecurityContext. - - run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on. # noqa: E501 - - :param run_as: The run_as of this CoreSecurityContext. # noqa: E501 - :type: CoreIdentity - """ - - self._run_as = run_as - - @property - def secrets(self): - """Gets the secrets of this CoreSecurityContext. # noqa: E501 - - secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. # noqa: E501 - - :return: The secrets of this CoreSecurityContext. # noqa: E501 - :rtype: list[CoreSecret] - """ - return self._secrets - - @secrets.setter - def secrets(self, secrets): - """Sets the secrets of this CoreSecurityContext. - - secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. # noqa: E501 - - :param secrets: The secrets of this CoreSecurityContext. # noqa: E501 - :type: list[CoreSecret] - """ - - self._secrets = secrets - - @property - def tokens(self): - """Gets the tokens of this CoreSecurityContext. # noqa: E501 - - tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. # noqa: E501 - - :return: The tokens of this CoreSecurityContext. # noqa: E501 - :rtype: list[CoreOAuth2TokenRequest] - """ - return self._tokens - - @tokens.setter - def tokens(self, tokens): - """Sets the tokens of this CoreSecurityContext. - - tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. # noqa: E501 - - :param tokens: The tokens of this CoreSecurityContext. # noqa: E501 - :type: list[CoreOAuth2TokenRequest] - """ - - self._tokens = tokens - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSecurityContext, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSecurityContext): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_simple_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_simple_type.py deleted file mode 100644 index 1a98e893f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_simple_type.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreSimpleType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - NONE = "NONE" - INTEGER = "INTEGER" - FLOAT = "FLOAT" - STRING = "STRING" - BOOLEAN = "BOOLEAN" - DATETIME = "DATETIME" - DURATION = "DURATION" - BINARY = "BINARY" - ERROR = "ERROR" - STRUCT = "STRUCT" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreSimpleType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSimpleType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSimpleType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sql.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sql.py deleted file mode 100644 index e688a0836..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sql.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.sql_dialect import SqlDialect # noqa: F401,E501 - - -class CoreSql(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'statement': 'str', - 'dialect': 'SqlDialect' - } - - attribute_map = { - 'statement': 'statement', - 'dialect': 'dialect' - } - - def __init__(self, statement=None, dialect=None): # noqa: E501 - """CoreSql - a model defined in Swagger""" # noqa: E501 - - self._statement = None - self._dialect = None - self.discriminator = None - - if statement is not None: - self.statement = statement - if dialect is not None: - self.dialect = dialect - - @property - def statement(self): - """Gets the statement of this CoreSql. # noqa: E501 - - - :return: The statement of this CoreSql. # noqa: E501 - :rtype: str - """ - return self._statement - - @statement.setter - def statement(self, statement): - """Sets the statement of this CoreSql. - - - :param statement: The statement of this CoreSql. # noqa: E501 - :type: str - """ - - self._statement = statement - - @property - def dialect(self): - """Gets the dialect of this CoreSql. # noqa: E501 - - - :return: The dialect of this CoreSql. # noqa: E501 - :rtype: SqlDialect - """ - return self._dialect - - @dialect.setter - def dialect(self, dialect): - """Sets the dialect of this CoreSql. - - - :param dialect: The dialect of this CoreSql. # noqa: E501 - :type: SqlDialect - """ - - self._dialect = dialect - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSql, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSql): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset.py deleted file mode 100644 index af3e3c7a0..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata # noqa: F401,E501 - - -class CoreStructuredDataset(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'uri': 'str', - 'metadata': 'CoreStructuredDatasetMetadata' - } - - attribute_map = { - 'uri': 'uri', - 'metadata': 'metadata' - } - - def __init__(self, uri=None, metadata=None): # noqa: E501 - """CoreStructuredDataset - a model defined in Swagger""" # noqa: E501 - - self._uri = None - self._metadata = None - self.discriminator = None - - if uri is not None: - self.uri = uri - if metadata is not None: - self.metadata = metadata - - @property - def uri(self): - """Gets the uri of this CoreStructuredDataset. # noqa: E501 - - - :return: The uri of this CoreStructuredDataset. # noqa: E501 - :rtype: str - """ - return self._uri - - @uri.setter - def uri(self, uri): - """Sets the uri of this CoreStructuredDataset. - - - :param uri: The uri of this CoreStructuredDataset. # noqa: E501 - :type: str - """ - - self._uri = uri - - @property - def metadata(self): - """Gets the metadata of this CoreStructuredDataset. # noqa: E501 - - - :return: The metadata of this CoreStructuredDataset. # noqa: E501 - :rtype: CoreStructuredDatasetMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreStructuredDataset. - - - :param metadata: The metadata of this CoreStructuredDataset. # noqa: E501 - :type: CoreStructuredDatasetMetadata - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreStructuredDataset, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreStructuredDataset): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_metadata.py deleted file mode 100644 index 100da8fd5..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_metadata.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType # noqa: F401,E501 - - -class CoreStructuredDatasetMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'structured_dataset_type': 'CoreStructuredDatasetType' - } - - attribute_map = { - 'structured_dataset_type': 'structured_dataset_type' - } - - def __init__(self, structured_dataset_type=None): # noqa: E501 - """CoreStructuredDatasetMetadata - a model defined in Swagger""" # noqa: E501 - - self._structured_dataset_type = None - self.discriminator = None - - if structured_dataset_type is not None: - self.structured_dataset_type = structured_dataset_type - - @property - def structured_dataset_type(self): - """Gets the structured_dataset_type of this CoreStructuredDatasetMetadata. # noqa: E501 - - Bundle the type information along with the literal. This is here because StructuredDatasets can often be more defined at run time than at compile time. That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset, without any column information, but at run time, you might have that column information. flytekit python will copy this type information into the literal, from the type information, if not provided by the various plugins (encoders). Since this field is run time generated, it's not used for any type checking. # noqa: E501 - - :return: The structured_dataset_type of this CoreStructuredDatasetMetadata. # noqa: E501 - :rtype: CoreStructuredDatasetType - """ - return self._structured_dataset_type - - @structured_dataset_type.setter - def structured_dataset_type(self, structured_dataset_type): - """Sets the structured_dataset_type of this CoreStructuredDatasetMetadata. - - Bundle the type information along with the literal. This is here because StructuredDatasets can often be more defined at run time than at compile time. That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset, without any column information, but at run time, you might have that column information. flytekit python will copy this type information into the literal, from the type information, if not provided by the various plugins (encoders). Since this field is run time generated, it's not used for any type checking. # noqa: E501 - - :param structured_dataset_type: The structured_dataset_type of this CoreStructuredDatasetMetadata. # noqa: E501 - :type: CoreStructuredDatasetType - """ - - self._structured_dataset_type = structured_dataset_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreStructuredDatasetMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreStructuredDatasetMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_type.py deleted file mode 100644 index 86e742794..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_type.py +++ /dev/null @@ -1,205 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.structured_dataset_type_dataset_column import StructuredDatasetTypeDatasetColumn # noqa: F401,E501 - - -class CoreStructuredDatasetType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'columns': 'list[StructuredDatasetTypeDatasetColumn]', - 'format': 'str', - 'external_schema_type': 'str', - 'external_schema_bytes': 'str' - } - - attribute_map = { - 'columns': 'columns', - 'format': 'format', - 'external_schema_type': 'external_schema_type', - 'external_schema_bytes': 'external_schema_bytes' - } - - def __init__(self, columns=None, format=None, external_schema_type=None, external_schema_bytes=None): # noqa: E501 - """CoreStructuredDatasetType - a model defined in Swagger""" # noqa: E501 - - self._columns = None - self._format = None - self._external_schema_type = None - self._external_schema_bytes = None - self.discriminator = None - - if columns is not None: - self.columns = columns - if format is not None: - self.format = format - if external_schema_type is not None: - self.external_schema_type = external_schema_type - if external_schema_bytes is not None: - self.external_schema_bytes = external_schema_bytes - - @property - def columns(self): - """Gets the columns of this CoreStructuredDatasetType. # noqa: E501 - - A list of ordered columns this schema comprises of. # noqa: E501 - - :return: The columns of this CoreStructuredDatasetType. # noqa: E501 - :rtype: list[StructuredDatasetTypeDatasetColumn] - """ - return self._columns - - @columns.setter - def columns(self, columns): - """Sets the columns of this CoreStructuredDatasetType. - - A list of ordered columns this schema comprises of. # noqa: E501 - - :param columns: The columns of this CoreStructuredDatasetType. # noqa: E501 - :type: list[StructuredDatasetTypeDatasetColumn] - """ - - self._columns = columns - - @property - def format(self): - """Gets the format of this CoreStructuredDatasetType. # noqa: E501 - - This is the storage format, the format of the bits at rest parquet, feather, csv, etc. For two types to be compatible, the format will need to be an exact match. # noqa: E501 - - :return: The format of this CoreStructuredDatasetType. # noqa: E501 - :rtype: str - """ - return self._format - - @format.setter - def format(self, format): - """Sets the format of this CoreStructuredDatasetType. - - This is the storage format, the format of the bits at rest parquet, feather, csv, etc. For two types to be compatible, the format will need to be an exact match. # noqa: E501 - - :param format: The format of this CoreStructuredDatasetType. # noqa: E501 - :type: str - """ - - self._format = format - - @property - def external_schema_type(self): - """Gets the external_schema_type of this CoreStructuredDatasetType. # noqa: E501 - - This is a string representing the type that the bytes in external_schema_bytes are formatted in. This is an optional field that will not be used for type checking. # noqa: E501 - - :return: The external_schema_type of this CoreStructuredDatasetType. # noqa: E501 - :rtype: str - """ - return self._external_schema_type - - @external_schema_type.setter - def external_schema_type(self, external_schema_type): - """Sets the external_schema_type of this CoreStructuredDatasetType. - - This is a string representing the type that the bytes in external_schema_bytes are formatted in. This is an optional field that will not be used for type checking. # noqa: E501 - - :param external_schema_type: The external_schema_type of this CoreStructuredDatasetType. # noqa: E501 - :type: str - """ - - self._external_schema_type = external_schema_type - - @property - def external_schema_bytes(self): - """Gets the external_schema_bytes of this CoreStructuredDatasetType. # noqa: E501 - - The serialized bytes of a third-party schema library like Arrow. This is an optional field that will not be used for type checking. # noqa: E501 - - :return: The external_schema_bytes of this CoreStructuredDatasetType. # noqa: E501 - :rtype: str - """ - return self._external_schema_bytes - - @external_schema_bytes.setter - def external_schema_bytes(self, external_schema_bytes): - """Sets the external_schema_bytes of this CoreStructuredDatasetType. - - The serialized bytes of a third-party schema library like Arrow. This is an optional field that will not be used for type checking. # noqa: E501 - - :param external_schema_bytes: The external_schema_bytes of this CoreStructuredDatasetType. # noqa: E501 - :type: str - """ - if external_schema_bytes is not None and not re.search(r'^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', external_schema_bytes): # noqa: E501 - raise ValueError(r"Invalid value for `external_schema_bytes`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") # noqa: E501 - - self._external_schema_bytes = external_schema_bytes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreStructuredDatasetType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreStructuredDatasetType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_identifier.py deleted file mode 100644 index 766ccccee..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_identifier.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 - - -class CoreTaskExecutionIdentifier(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'task_id': 'CoreIdentifier', - 'node_execution_id': 'CoreNodeExecutionIdentifier', - 'retry_attempt': 'int' - } - - attribute_map = { - 'task_id': 'task_id', - 'node_execution_id': 'node_execution_id', - 'retry_attempt': 'retry_attempt' - } - - def __init__(self, task_id=None, node_execution_id=None, retry_attempt=None): # noqa: E501 - """CoreTaskExecutionIdentifier - a model defined in Swagger""" # noqa: E501 - - self._task_id = None - self._node_execution_id = None - self._retry_attempt = None - self.discriminator = None - - if task_id is not None: - self.task_id = task_id - if node_execution_id is not None: - self.node_execution_id = node_execution_id - if retry_attempt is not None: - self.retry_attempt = retry_attempt - - @property - def task_id(self): - """Gets the task_id of this CoreTaskExecutionIdentifier. # noqa: E501 - - - :return: The task_id of this CoreTaskExecutionIdentifier. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._task_id - - @task_id.setter - def task_id(self, task_id): - """Sets the task_id of this CoreTaskExecutionIdentifier. - - - :param task_id: The task_id of this CoreTaskExecutionIdentifier. # noqa: E501 - :type: CoreIdentifier - """ - - self._task_id = task_id - - @property - def node_execution_id(self): - """Gets the node_execution_id of this CoreTaskExecutionIdentifier. # noqa: E501 - - - :return: The node_execution_id of this CoreTaskExecutionIdentifier. # noqa: E501 - :rtype: CoreNodeExecutionIdentifier - """ - return self._node_execution_id - - @node_execution_id.setter - def node_execution_id(self, node_execution_id): - """Sets the node_execution_id of this CoreTaskExecutionIdentifier. - - - :param node_execution_id: The node_execution_id of this CoreTaskExecutionIdentifier. # noqa: E501 - :type: CoreNodeExecutionIdentifier - """ - - self._node_execution_id = node_execution_id - - @property - def retry_attempt(self): - """Gets the retry_attempt of this CoreTaskExecutionIdentifier. # noqa: E501 - - - :return: The retry_attempt of this CoreTaskExecutionIdentifier. # noqa: E501 - :rtype: int - """ - return self._retry_attempt - - @retry_attempt.setter - def retry_attempt(self, retry_attempt): - """Sets the retry_attempt of this CoreTaskExecutionIdentifier. - - - :param retry_attempt: The retry_attempt of this CoreTaskExecutionIdentifier. # noqa: E501 - :type: int - """ - - self._retry_attempt = retry_attempt - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskExecutionIdentifier, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskExecutionIdentifier): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_phase.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_phase.py deleted file mode 100644 index 5a8dbce0d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_phase.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreTaskExecutionPhase(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNDEFINED = "UNDEFINED" - QUEUED = "QUEUED" - RUNNING = "RUNNING" - SUCCEEDED = "SUCCEEDED" - ABORTED = "ABORTED" - FAILED = "FAILED" - INITIALIZING = "INITIALIZING" - WAITING_FOR_RESOURCES = "WAITING_FOR_RESOURCES" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreTaskExecutionPhase - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskExecutionPhase, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskExecutionPhase): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_log.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_log.py deleted file mode 100644 index a219028ae..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_log.py +++ /dev/null @@ -1,195 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.task_log_message_format import TaskLogMessageFormat # noqa: F401,E501 - - -class CoreTaskLog(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'uri': 'str', - 'name': 'str', - 'message_format': 'TaskLogMessageFormat', - 'ttl': 'str' - } - - attribute_map = { - 'uri': 'uri', - 'name': 'name', - 'message_format': 'message_format', - 'ttl': 'ttl' - } - - def __init__(self, uri=None, name=None, message_format=None, ttl=None): # noqa: E501 - """CoreTaskLog - a model defined in Swagger""" # noqa: E501 - - self._uri = None - self._name = None - self._message_format = None - self._ttl = None - self.discriminator = None - - if uri is not None: - self.uri = uri - if name is not None: - self.name = name - if message_format is not None: - self.message_format = message_format - if ttl is not None: - self.ttl = ttl - - @property - def uri(self): - """Gets the uri of this CoreTaskLog. # noqa: E501 - - - :return: The uri of this CoreTaskLog. # noqa: E501 - :rtype: str - """ - return self._uri - - @uri.setter - def uri(self, uri): - """Sets the uri of this CoreTaskLog. - - - :param uri: The uri of this CoreTaskLog. # noqa: E501 - :type: str - """ - - self._uri = uri - - @property - def name(self): - """Gets the name of this CoreTaskLog. # noqa: E501 - - - :return: The name of this CoreTaskLog. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CoreTaskLog. - - - :param name: The name of this CoreTaskLog. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def message_format(self): - """Gets the message_format of this CoreTaskLog. # noqa: E501 - - - :return: The message_format of this CoreTaskLog. # noqa: E501 - :rtype: TaskLogMessageFormat - """ - return self._message_format - - @message_format.setter - def message_format(self, message_format): - """Sets the message_format of this CoreTaskLog. - - - :param message_format: The message_format of this CoreTaskLog. # noqa: E501 - :type: TaskLogMessageFormat - """ - - self._message_format = message_format - - @property - def ttl(self): - """Gets the ttl of this CoreTaskLog. # noqa: E501 - - - :return: The ttl of this CoreTaskLog. # noqa: E501 - :rtype: str - """ - return self._ttl - - @ttl.setter - def ttl(self, ttl): - """Sets the ttl of this CoreTaskLog. - - - :param ttl: The ttl of this CoreTaskLog. # noqa: E501 - :type: str - """ - - self._ttl = ttl - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskLog, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskLog): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_metadata.py deleted file mode 100644 index f270005d6..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_metadata.py +++ /dev/null @@ -1,312 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_retry_strategy import CoreRetryStrategy # noqa: F401,E501 -from flyteadmin.models.core_runtime_metadata import CoreRuntimeMetadata # noqa: F401,E501 - - -class CoreTaskMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'discoverable': 'bool', - 'runtime': 'CoreRuntimeMetadata', - 'timeout': 'str', - 'retries': 'CoreRetryStrategy', - 'discovery_version': 'str', - 'deprecated_error_message': 'str', - 'interruptible': 'bool', - 'cache_serializable': 'bool' - } - - attribute_map = { - 'discoverable': 'discoverable', - 'runtime': 'runtime', - 'timeout': 'timeout', - 'retries': 'retries', - 'discovery_version': 'discovery_version', - 'deprecated_error_message': 'deprecated_error_message', - 'interruptible': 'interruptible', - 'cache_serializable': 'cache_serializable' - } - - def __init__(self, discoverable=None, runtime=None, timeout=None, retries=None, discovery_version=None, deprecated_error_message=None, interruptible=None, cache_serializable=None): # noqa: E501 - """CoreTaskMetadata - a model defined in Swagger""" # noqa: E501 - - self._discoverable = None - self._runtime = None - self._timeout = None - self._retries = None - self._discovery_version = None - self._deprecated_error_message = None - self._interruptible = None - self._cache_serializable = None - self.discriminator = None - - if discoverable is not None: - self.discoverable = discoverable - if runtime is not None: - self.runtime = runtime - if timeout is not None: - self.timeout = timeout - if retries is not None: - self.retries = retries - if discovery_version is not None: - self.discovery_version = discovery_version - if deprecated_error_message is not None: - self.deprecated_error_message = deprecated_error_message - if interruptible is not None: - self.interruptible = interruptible - if cache_serializable is not None: - self.cache_serializable = cache_serializable - - @property - def discoverable(self): - """Gets the discoverable of this CoreTaskMetadata. # noqa: E501 - - Indicates whether the system should attempt to lookup this task's output to avoid duplication of work. # noqa: E501 - - :return: The discoverable of this CoreTaskMetadata. # noqa: E501 - :rtype: bool - """ - return self._discoverable - - @discoverable.setter - def discoverable(self, discoverable): - """Sets the discoverable of this CoreTaskMetadata. - - Indicates whether the system should attempt to lookup this task's output to avoid duplication of work. # noqa: E501 - - :param discoverable: The discoverable of this CoreTaskMetadata. # noqa: E501 - :type: bool - """ - - self._discoverable = discoverable - - @property - def runtime(self): - """Gets the runtime of this CoreTaskMetadata. # noqa: E501 - - Runtime information about the task. # noqa: E501 - - :return: The runtime of this CoreTaskMetadata. # noqa: E501 - :rtype: CoreRuntimeMetadata - """ - return self._runtime - - @runtime.setter - def runtime(self, runtime): - """Sets the runtime of this CoreTaskMetadata. - - Runtime information about the task. # noqa: E501 - - :param runtime: The runtime of this CoreTaskMetadata. # noqa: E501 - :type: CoreRuntimeMetadata - """ - - self._runtime = runtime - - @property - def timeout(self): - """Gets the timeout of this CoreTaskMetadata. # noqa: E501 - - The overall timeout of a task including user-triggered retries. # noqa: E501 - - :return: The timeout of this CoreTaskMetadata. # noqa: E501 - :rtype: str - """ - return self._timeout - - @timeout.setter - def timeout(self, timeout): - """Sets the timeout of this CoreTaskMetadata. - - The overall timeout of a task including user-triggered retries. # noqa: E501 - - :param timeout: The timeout of this CoreTaskMetadata. # noqa: E501 - :type: str - """ - - self._timeout = timeout - - @property - def retries(self): - """Gets the retries of this CoreTaskMetadata. # noqa: E501 - - Number of retries per task. # noqa: E501 - - :return: The retries of this CoreTaskMetadata. # noqa: E501 - :rtype: CoreRetryStrategy - """ - return self._retries - - @retries.setter - def retries(self, retries): - """Sets the retries of this CoreTaskMetadata. - - Number of retries per task. # noqa: E501 - - :param retries: The retries of this CoreTaskMetadata. # noqa: E501 - :type: CoreRetryStrategy - """ - - self._retries = retries - - @property - def discovery_version(self): - """Gets the discovery_version of this CoreTaskMetadata. # noqa: E501 - - Indicates a logical version to apply to this task for the purpose of discovery. # noqa: E501 - - :return: The discovery_version of this CoreTaskMetadata. # noqa: E501 - :rtype: str - """ - return self._discovery_version - - @discovery_version.setter - def discovery_version(self, discovery_version): - """Sets the discovery_version of this CoreTaskMetadata. - - Indicates a logical version to apply to this task for the purpose of discovery. # noqa: E501 - - :param discovery_version: The discovery_version of this CoreTaskMetadata. # noqa: E501 - :type: str - """ - - self._discovery_version = discovery_version - - @property - def deprecated_error_message(self): - """Gets the deprecated_error_message of this CoreTaskMetadata. # noqa: E501 - - If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task. # noqa: E501 - - :return: The deprecated_error_message of this CoreTaskMetadata. # noqa: E501 - :rtype: str - """ - return self._deprecated_error_message - - @deprecated_error_message.setter - def deprecated_error_message(self, deprecated_error_message): - """Sets the deprecated_error_message of this CoreTaskMetadata. - - If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task. # noqa: E501 - - :param deprecated_error_message: The deprecated_error_message of this CoreTaskMetadata. # noqa: E501 - :type: str - """ - - self._deprecated_error_message = deprecated_error_message - - @property - def interruptible(self): - """Gets the interruptible of this CoreTaskMetadata. # noqa: E501 - - - :return: The interruptible of this CoreTaskMetadata. # noqa: E501 - :rtype: bool - """ - return self._interruptible - - @interruptible.setter - def interruptible(self, interruptible): - """Sets the interruptible of this CoreTaskMetadata. - - - :param interruptible: The interruptible of this CoreTaskMetadata. # noqa: E501 - :type: bool - """ - - self._interruptible = interruptible - - @property - def cache_serializable(self): - """Gets the cache_serializable of this CoreTaskMetadata. # noqa: E501 - - - :return: The cache_serializable of this CoreTaskMetadata. # noqa: E501 - :rtype: bool - """ - return self._cache_serializable - - @cache_serializable.setter - def cache_serializable(self, cache_serializable): - """Sets the cache_serializable of this CoreTaskMetadata. - - - :param cache_serializable: The cache_serializable of this CoreTaskMetadata. # noqa: E501 - :type: bool - """ - - self._cache_serializable = cache_serializable - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node.py deleted file mode 100644 index db307f740..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_task_node_overrides import CoreTaskNodeOverrides # noqa: F401,E501 - - -class CoreTaskNode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'reference_id': 'CoreIdentifier', - 'overrides': 'CoreTaskNodeOverrides' - } - - attribute_map = { - 'reference_id': 'reference_id', - 'overrides': 'overrides' - } - - def __init__(self, reference_id=None, overrides=None): # noqa: E501 - """CoreTaskNode - a model defined in Swagger""" # noqa: E501 - - self._reference_id = None - self._overrides = None - self.discriminator = None - - if reference_id is not None: - self.reference_id = reference_id - if overrides is not None: - self.overrides = overrides - - @property - def reference_id(self): - """Gets the reference_id of this CoreTaskNode. # noqa: E501 - - A globally unique identifier for the task. # noqa: E501 - - :return: The reference_id of this CoreTaskNode. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._reference_id - - @reference_id.setter - def reference_id(self, reference_id): - """Sets the reference_id of this CoreTaskNode. - - A globally unique identifier for the task. # noqa: E501 - - :param reference_id: The reference_id of this CoreTaskNode. # noqa: E501 - :type: CoreIdentifier - """ - - self._reference_id = reference_id - - @property - def overrides(self): - """Gets the overrides of this CoreTaskNode. # noqa: E501 - - Optional overrides applied at task execution time. # noqa: E501 - - :return: The overrides of this CoreTaskNode. # noqa: E501 - :rtype: CoreTaskNodeOverrides - """ - return self._overrides - - @overrides.setter - def overrides(self, overrides): - """Sets the overrides of this CoreTaskNode. - - Optional overrides applied at task execution time. # noqa: E501 - - :param overrides: The overrides of this CoreTaskNode. # noqa: E501 - :type: CoreTaskNodeOverrides - """ - - self._overrides = overrides - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskNode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskNode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node_overrides.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node_overrides.py deleted file mode 100644 index 7320a6d6e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node_overrides.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_resources import CoreResources # noqa: F401,E501 - - -class CoreTaskNodeOverrides(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'resources': 'CoreResources' - } - - attribute_map = { - 'resources': 'resources' - } - - def __init__(self, resources=None): # noqa: E501 - """CoreTaskNodeOverrides - a model defined in Swagger""" # noqa: E501 - - self._resources = None - self.discriminator = None - - if resources is not None: - self.resources = resources - - @property - def resources(self): - """Gets the resources of this CoreTaskNodeOverrides. # noqa: E501 - - A customizable interface to convey resources requested for a task container. # noqa: E501 - - :return: The resources of this CoreTaskNodeOverrides. # noqa: E501 - :rtype: CoreResources - """ - return self._resources - - @resources.setter - def resources(self, resources): - """Sets the resources of this CoreTaskNodeOverrides. - - A customizable interface to convey resources requested for a task container. # noqa: E501 - - :param resources: The resources of this CoreTaskNodeOverrides. # noqa: E501 - :type: CoreResources - """ - - self._resources = resources - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskNodeOverrides, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskNodeOverrides): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_template.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_template.py deleted file mode 100644 index 870777f99..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_template.py +++ /dev/null @@ -1,398 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_container import CoreContainer # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_k8s_pod import CoreK8sPod # noqa: F401,E501 -from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: F401,E501 -from flyteadmin.models.core_sql import CoreSql # noqa: F401,E501 -from flyteadmin.models.core_task_metadata import CoreTaskMetadata # noqa: F401,E501 -from flyteadmin.models.core_typed_interface import CoreTypedInterface # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class CoreTaskTemplate(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'type': 'str', - 'metadata': 'CoreTaskMetadata', - 'interface': 'CoreTypedInterface', - 'custom': 'ProtobufStruct', - 'container': 'CoreContainer', - 'k8s_pod': 'CoreK8sPod', - 'sql': 'CoreSql', - 'task_type_version': 'int', - 'security_context': 'CoreSecurityContext', - 'config': 'dict(str, str)' - } - - attribute_map = { - 'id': 'id', - 'type': 'type', - 'metadata': 'metadata', - 'interface': 'interface', - 'custom': 'custom', - 'container': 'container', - 'k8s_pod': 'k8s_pod', - 'sql': 'sql', - 'task_type_version': 'task_type_version', - 'security_context': 'security_context', - 'config': 'config' - } - - def __init__(self, id=None, type=None, metadata=None, interface=None, custom=None, container=None, k8s_pod=None, sql=None, task_type_version=None, security_context=None, config=None): # noqa: E501 - """CoreTaskTemplate - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._type = None - self._metadata = None - self._interface = None - self._custom = None - self._container = None - self._k8s_pod = None - self._sql = None - self._task_type_version = None - self._security_context = None - self._config = None - self.discriminator = None - - if id is not None: - self.id = id - if type is not None: - self.type = type - if metadata is not None: - self.metadata = metadata - if interface is not None: - self.interface = interface - if custom is not None: - self.custom = custom - if container is not None: - self.container = container - if k8s_pod is not None: - self.k8s_pod = k8s_pod - if sql is not None: - self.sql = sql - if task_type_version is not None: - self.task_type_version = task_type_version - if security_context is not None: - self.security_context = security_context - if config is not None: - self.config = config - - @property - def id(self): - """Gets the id of this CoreTaskTemplate. # noqa: E501 - - Auto generated taskId by the system. Task Id uniquely identifies this task globally. # noqa: E501 - - :return: The id of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CoreTaskTemplate. - - Auto generated taskId by the system. Task Id uniquely identifies this task globally. # noqa: E501 - - :param id: The id of this CoreTaskTemplate. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def type(self): - """Gets the type of this CoreTaskTemplate. # noqa: E501 - - A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the implementation registered for the TaskCategory. # noqa: E501 - - :return: The type of this CoreTaskTemplate. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreTaskTemplate. - - A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the implementation registered for the TaskCategory. # noqa: E501 - - :param type: The type of this CoreTaskTemplate. # noqa: E501 - :type: str - """ - - self._type = type - - @property - def metadata(self): - """Gets the metadata of this CoreTaskTemplate. # noqa: E501 - - Extra metadata about the task. # noqa: E501 - - :return: The metadata of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreTaskMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreTaskTemplate. - - Extra metadata about the task. # noqa: E501 - - :param metadata: The metadata of this CoreTaskTemplate. # noqa: E501 - :type: CoreTaskMetadata - """ - - self._metadata = metadata - - @property - def interface(self): - """Gets the interface of this CoreTaskTemplate. # noqa: E501 - - A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures. # noqa: E501 - - :return: The interface of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreTypedInterface - """ - return self._interface - - @interface.setter - def interface(self, interface): - """Sets the interface of this CoreTaskTemplate. - - A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures. # noqa: E501 - - :param interface: The interface of this CoreTaskTemplate. # noqa: E501 - :type: CoreTypedInterface - """ - - self._interface = interface - - @property - def custom(self): - """Gets the custom of this CoreTaskTemplate. # noqa: E501 - - Custom data about the task. This is extensible to allow various plugins in the system. # noqa: E501 - - :return: The custom of this CoreTaskTemplate. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._custom - - @custom.setter - def custom(self, custom): - """Sets the custom of this CoreTaskTemplate. - - Custom data about the task. This is extensible to allow various plugins in the system. # noqa: E501 - - :param custom: The custom of this CoreTaskTemplate. # noqa: E501 - :type: ProtobufStruct - """ - - self._custom = custom - - @property - def container(self): - """Gets the container of this CoreTaskTemplate. # noqa: E501 - - - :return: The container of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreContainer - """ - return self._container - - @container.setter - def container(self, container): - """Sets the container of this CoreTaskTemplate. - - - :param container: The container of this CoreTaskTemplate. # noqa: E501 - :type: CoreContainer - """ - - self._container = container - - @property - def k8s_pod(self): - """Gets the k8s_pod of this CoreTaskTemplate. # noqa: E501 - - - :return: The k8s_pod of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreK8sPod - """ - return self._k8s_pod - - @k8s_pod.setter - def k8s_pod(self, k8s_pod): - """Sets the k8s_pod of this CoreTaskTemplate. - - - :param k8s_pod: The k8s_pod of this CoreTaskTemplate. # noqa: E501 - :type: CoreK8sPod - """ - - self._k8s_pod = k8s_pod - - @property - def sql(self): - """Gets the sql of this CoreTaskTemplate. # noqa: E501 - - - :return: The sql of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreSql - """ - return self._sql - - @sql.setter - def sql(self, sql): - """Sets the sql of this CoreTaskTemplate. - - - :param sql: The sql of this CoreTaskTemplate. # noqa: E501 - :type: CoreSql - """ - - self._sql = sql - - @property - def task_type_version(self): - """Gets the task_type_version of this CoreTaskTemplate. # noqa: E501 - - This can be used to customize task handling at execution time for the same task type. # noqa: E501 - - :return: The task_type_version of this CoreTaskTemplate. # noqa: E501 - :rtype: int - """ - return self._task_type_version - - @task_type_version.setter - def task_type_version(self, task_type_version): - """Sets the task_type_version of this CoreTaskTemplate. - - This can be used to customize task handling at execution time for the same task type. # noqa: E501 - - :param task_type_version: The task_type_version of this CoreTaskTemplate. # noqa: E501 - :type: int - """ - - self._task_type_version = task_type_version - - @property - def security_context(self): - """Gets the security_context of this CoreTaskTemplate. # noqa: E501 - - security_context encapsulates security attributes requested to run this task. # noqa: E501 - - :return: The security_context of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreSecurityContext - """ - return self._security_context - - @security_context.setter - def security_context(self, security_context): - """Sets the security_context of this CoreTaskTemplate. - - security_context encapsulates security attributes requested to run this task. # noqa: E501 - - :param security_context: The security_context of this CoreTaskTemplate. # noqa: E501 - :type: CoreSecurityContext - """ - - self._security_context = security_context - - @property - def config(self): - """Gets the config of this CoreTaskTemplate. # noqa: E501 - - - :return: The config of this CoreTaskTemplate. # noqa: E501 - :rtype: dict(str, str) - """ - return self._config - - @config.setter - def config(self, config): - """Sets the config of this CoreTaskTemplate. - - - :param config: The config of this CoreTaskTemplate. # noqa: E501 - :type: dict(str, str) - """ - - self._config = config - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskTemplate, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskTemplate): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_annotation.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_annotation.py deleted file mode 100644 index 3289feeab..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_annotation.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class CoreTypeAnnotation(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'annotations': 'ProtobufStruct' - } - - attribute_map = { - 'annotations': 'annotations' - } - - def __init__(self, annotations=None): # noqa: E501 - """CoreTypeAnnotation - a model defined in Swagger""" # noqa: E501 - - self._annotations = None - self.discriminator = None - - if annotations is not None: - self.annotations = annotations - - @property - def annotations(self): - """Gets the annotations of this CoreTypeAnnotation. # noqa: E501 - - A arbitrary JSON payload to describe a type. # noqa: E501 - - :return: The annotations of this CoreTypeAnnotation. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._annotations - - @annotations.setter - def annotations(self, annotations): - """Sets the annotations of this CoreTypeAnnotation. - - A arbitrary JSON payload to describe a type. # noqa: E501 - - :param annotations: The annotations of this CoreTypeAnnotation. # noqa: E501 - :type: ProtobufStruct - """ - - self._annotations = annotations - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTypeAnnotation, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTypeAnnotation): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_structure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_structure.py deleted file mode 100644 index 46273f72e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_structure.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreTypeStructure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'tag': 'str' - } - - attribute_map = { - 'tag': 'tag' - } - - def __init__(self, tag=None): # noqa: E501 - """CoreTypeStructure - a model defined in Swagger""" # noqa: E501 - - self._tag = None - self.discriminator = None - - if tag is not None: - self.tag = tag - - @property - def tag(self): - """Gets the tag of this CoreTypeStructure. # noqa: E501 - - - :return: The tag of this CoreTypeStructure. # noqa: E501 - :rtype: str - """ - return self._tag - - @tag.setter - def tag(self, tag): - """Sets the tag of this CoreTypeStructure. - - - :param tag: The tag of this CoreTypeStructure. # noqa: E501 - :type: str - """ - - self._tag = tag - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTypeStructure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTypeStructure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_typed_interface.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_typed_interface.py deleted file mode 100644 index 8864814f4..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_typed_interface.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_variable_map import CoreVariableMap # noqa: F401,E501 - - -class CoreTypedInterface(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'inputs': 'CoreVariableMap', - 'outputs': 'CoreVariableMap' - } - - attribute_map = { - 'inputs': 'inputs', - 'outputs': 'outputs' - } - - def __init__(self, inputs=None, outputs=None): # noqa: E501 - """CoreTypedInterface - a model defined in Swagger""" # noqa: E501 - - self._inputs = None - self._outputs = None - self.discriminator = None - - if inputs is not None: - self.inputs = inputs - if outputs is not None: - self.outputs = outputs - - @property - def inputs(self): - """Gets the inputs of this CoreTypedInterface. # noqa: E501 - - - :return: The inputs of this CoreTypedInterface. # noqa: E501 - :rtype: CoreVariableMap - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this CoreTypedInterface. - - - :param inputs: The inputs of this CoreTypedInterface. # noqa: E501 - :type: CoreVariableMap - """ - - self._inputs = inputs - - @property - def outputs(self): - """Gets the outputs of this CoreTypedInterface. # noqa: E501 - - - :return: The outputs of this CoreTypedInterface. # noqa: E501 - :rtype: CoreVariableMap - """ - return self._outputs - - @outputs.setter - def outputs(self, outputs): - """Sets the outputs of this CoreTypedInterface. - - - :param outputs: The outputs of this CoreTypedInterface. # noqa: E501 - :type: CoreVariableMap - """ - - self._outputs = outputs - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTypedInterface, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTypedInterface): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union.py deleted file mode 100644 index 9b96a71d0..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal import CoreLiteral # noqa: F401,E501 -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 - - -class CoreUnion(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'value': 'CoreLiteral', - 'type': 'CoreLiteralType' - } - - attribute_map = { - 'value': 'value', - 'type': 'type' - } - - def __init__(self, value=None, type=None): # noqa: E501 - """CoreUnion - a model defined in Swagger""" # noqa: E501 - - self._value = None - self._type = None - self.discriminator = None - - if value is not None: - self.value = value - if type is not None: - self.type = type - - @property - def value(self): - """Gets the value of this CoreUnion. # noqa: E501 - - - :return: The value of this CoreUnion. # noqa: E501 - :rtype: CoreLiteral - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this CoreUnion. - - - :param value: The value of this CoreUnion. # noqa: E501 - :type: CoreLiteral - """ - - self._value = value - - @property - def type(self): - """Gets the type of this CoreUnion. # noqa: E501 - - - :return: The type of this CoreUnion. # noqa: E501 - :rtype: CoreLiteralType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreUnion. - - - :param type: The type of this CoreUnion. # noqa: E501 - :type: CoreLiteralType - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreUnion, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreUnion): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_info.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_info.py deleted file mode 100644 index 361c967c3..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_info.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 - - -class CoreUnionInfo(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'target_type': 'CoreLiteralType' - } - - attribute_map = { - 'target_type': 'targetType' - } - - def __init__(self, target_type=None): # noqa: E501 - """CoreUnionInfo - a model defined in Swagger""" # noqa: E501 - - self._target_type = None - self.discriminator = None - - if target_type is not None: - self.target_type = target_type - - @property - def target_type(self): - """Gets the target_type of this CoreUnionInfo. # noqa: E501 - - - :return: The target_type of this CoreUnionInfo. # noqa: E501 - :rtype: CoreLiteralType - """ - return self._target_type - - @target_type.setter - def target_type(self, target_type): - """Sets the target_type of this CoreUnionInfo. - - - :param target_type: The target_type of this CoreUnionInfo. # noqa: E501 - :type: CoreLiteralType - """ - - self._target_type = target_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreUnionInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreUnionInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_type.py deleted file mode 100644 index 3fb360d05..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_type.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 - - -class CoreUnionType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'variants': 'list[CoreLiteralType]' - } - - attribute_map = { - 'variants': 'variants' - } - - def __init__(self, variants=None): # noqa: E501 - """CoreUnionType - a model defined in Swagger""" # noqa: E501 - - self._variants = None - self.discriminator = None - - if variants is not None: - self.variants = variants - - @property - def variants(self): - """Gets the variants of this CoreUnionType. # noqa: E501 - - Predefined set of variants in union. # noqa: E501 - - :return: The variants of this CoreUnionType. # noqa: E501 - :rtype: list[CoreLiteralType] - """ - return self._variants - - @variants.setter - def variants(self, variants): - """Sets the variants of this CoreUnionType. - - Predefined set of variants in union. # noqa: E501 - - :param variants: The variants of this CoreUnionType. # noqa: E501 - :type: list[CoreLiteralType] - """ - - self._variants = variants - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreUnionType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreUnionType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py deleted file mode 100644 index 186179d2c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 - - -class CoreVariable(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'type': 'CoreLiteralType', - 'description': 'str' - } - - attribute_map = { - 'type': 'type', - 'description': 'description' - } - - def __init__(self, type=None, description=None): # noqa: E501 - """CoreVariable - a model defined in Swagger""" # noqa: E501 - - self._type = None - self._description = None - self.discriminator = None - - if type is not None: - self.type = type - if description is not None: - self.description = description - - @property - def type(self): - """Gets the type of this CoreVariable. # noqa: E501 - - Variable literal type. # noqa: E501 - - :return: The type of this CoreVariable. # noqa: E501 - :rtype: CoreLiteralType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreVariable. - - Variable literal type. # noqa: E501 - - :param type: The type of this CoreVariable. # noqa: E501 - :type: CoreLiteralType - """ - - self._type = type - - @property - def description(self): - """Gets the description of this CoreVariable. # noqa: E501 - - - :return: The description of this CoreVariable. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this CoreVariable. - - - :param description: The description of this CoreVariable. # noqa: E501 - :type: str - """ - - self._description = description - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreVariable, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreVariable): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable_map.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable_map.py deleted file mode 100644 index a2a15f83f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable_map.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_variable import CoreVariable # noqa: F401,E501 - - -class CoreVariableMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'variables': 'dict(str, CoreVariable)' - } - - attribute_map = { - 'variables': 'variables' - } - - def __init__(self, variables=None): # noqa: E501 - """CoreVariableMap - a model defined in Swagger""" # noqa: E501 - - self._variables = None - self.discriminator = None - - if variables is not None: - self.variables = variables - - @property - def variables(self): - """Gets the variables of this CoreVariableMap. # noqa: E501 - - Defines a map of variable names to variables. # noqa: E501 - - :return: The variables of this CoreVariableMap. # noqa: E501 - :rtype: dict(str, CoreVariable) - """ - return self._variables - - @variables.setter - def variables(self, variables): - """Sets the variables of this CoreVariableMap. - - Defines a map of variable names to variables. # noqa: E501 - - :param variables: The variables of this CoreVariableMap. # noqa: E501 - :type: dict(str, CoreVariable) - """ - - self._variables = variables - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreVariableMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreVariableMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_void.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_void.py deleted file mode 100644 index 709f5a55e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_void.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreVoid(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreVoid - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreVoid, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreVoid): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_identifier.py deleted file mode 100644 index 09bd015a3..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_identifier.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreWorkflowExecutionIdentifier(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'name': 'str' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'name': 'name' - } - - def __init__(self, project=None, domain=None, name=None): # noqa: E501 - """CoreWorkflowExecutionIdentifier - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._name = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if name is not None: - self.name = name - - @property - def project(self): - """Gets the project of this CoreWorkflowExecutionIdentifier. # noqa: E501 - - Name of the project the resource belongs to. # noqa: E501 - - :return: The project of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this CoreWorkflowExecutionIdentifier. - - Name of the project the resource belongs to. # noqa: E501 - - :param project: The project of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this CoreWorkflowExecutionIdentifier. # noqa: E501 - - Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 - - :return: The domain of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this CoreWorkflowExecutionIdentifier. - - Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 - - :param domain: The domain of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def name(self): - """Gets the name of this CoreWorkflowExecutionIdentifier. # noqa: E501 - - User or system provided value for the resource. # noqa: E501 - - :return: The name of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CoreWorkflowExecutionIdentifier. - - User or system provided value for the resource. # noqa: E501 - - :param name: The name of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreWorkflowExecutionIdentifier, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreWorkflowExecutionIdentifier): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_phase.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_phase.py deleted file mode 100644 index d2cdbd69d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_phase.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreWorkflowExecutionPhase(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNDEFINED = "UNDEFINED" - QUEUED = "QUEUED" - RUNNING = "RUNNING" - SUCCEEDING = "SUCCEEDING" - SUCCEEDED = "SUCCEEDED" - FAILING = "FAILING" - FAILED = "FAILED" - ABORTED = "ABORTED" - TIMED_OUT = "TIMED_OUT" - ABORTING = "ABORTING" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreWorkflowExecutionPhase - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreWorkflowExecutionPhase, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreWorkflowExecutionPhase): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata.py deleted file mode 100644 index 2640cc425..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: F401,E501 -from flyteadmin.models.workflow_metadata_on_failure_policy import WorkflowMetadataOnFailurePolicy # noqa: F401,E501 - - -class CoreWorkflowMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'quality_of_service': 'CoreQualityOfService', - 'on_failure': 'WorkflowMetadataOnFailurePolicy' - } - - attribute_map = { - 'quality_of_service': 'quality_of_service', - 'on_failure': 'on_failure' - } - - def __init__(self, quality_of_service=None, on_failure=None): # noqa: E501 - """CoreWorkflowMetadata - a model defined in Swagger""" # noqa: E501 - - self._quality_of_service = None - self._on_failure = None - self.discriminator = None - - if quality_of_service is not None: - self.quality_of_service = quality_of_service - if on_failure is not None: - self.on_failure = on_failure - - @property - def quality_of_service(self): - """Gets the quality_of_service of this CoreWorkflowMetadata. # noqa: E501 - - Indicates the runtime priority of workflow executions. # noqa: E501 - - :return: The quality_of_service of this CoreWorkflowMetadata. # noqa: E501 - :rtype: CoreQualityOfService - """ - return self._quality_of_service - - @quality_of_service.setter - def quality_of_service(self, quality_of_service): - """Sets the quality_of_service of this CoreWorkflowMetadata. - - Indicates the runtime priority of workflow executions. # noqa: E501 - - :param quality_of_service: The quality_of_service of this CoreWorkflowMetadata. # noqa: E501 - :type: CoreQualityOfService - """ - - self._quality_of_service = quality_of_service - - @property - def on_failure(self): - """Gets the on_failure of this CoreWorkflowMetadata. # noqa: E501 - - Defines how the system should behave when a failure is detected in the workflow execution. # noqa: E501 - - :return: The on_failure of this CoreWorkflowMetadata. # noqa: E501 - :rtype: WorkflowMetadataOnFailurePolicy - """ - return self._on_failure - - @on_failure.setter - def on_failure(self, on_failure): - """Sets the on_failure of this CoreWorkflowMetadata. - - Defines how the system should behave when a failure is detected in the workflow execution. # noqa: E501 - - :param on_failure: The on_failure of this CoreWorkflowMetadata. # noqa: E501 - :type: WorkflowMetadataOnFailurePolicy - """ - - self._on_failure = on_failure - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreWorkflowMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreWorkflowMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata_defaults.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata_defaults.py deleted file mode 100644 index 6f9762be8..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata_defaults.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreWorkflowMetadataDefaults(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'interruptible': 'bool' - } - - attribute_map = { - 'interruptible': 'interruptible' - } - - def __init__(self, interruptible=None): # noqa: E501 - """CoreWorkflowMetadataDefaults - a model defined in Swagger""" # noqa: E501 - - self._interruptible = None - self.discriminator = None - - if interruptible is not None: - self.interruptible = interruptible - - @property - def interruptible(self): - """Gets the interruptible of this CoreWorkflowMetadataDefaults. # noqa: E501 - - Whether child nodes of the workflow are interruptible. # noqa: E501 - - :return: The interruptible of this CoreWorkflowMetadataDefaults. # noqa: E501 - :rtype: bool - """ - return self._interruptible - - @interruptible.setter - def interruptible(self, interruptible): - """Sets the interruptible of this CoreWorkflowMetadataDefaults. - - Whether child nodes of the workflow are interruptible. # noqa: E501 - - :param interruptible: The interruptible of this CoreWorkflowMetadataDefaults. # noqa: E501 - :type: bool - """ - - self._interruptible = interruptible - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreWorkflowMetadataDefaults, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreWorkflowMetadataDefaults): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_node.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_node.py deleted file mode 100644 index 9d3524938..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_node.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class CoreWorkflowNode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'launchplan_ref': 'CoreIdentifier', - 'sub_workflow_ref': 'CoreIdentifier' - } - - attribute_map = { - 'launchplan_ref': 'launchplan_ref', - 'sub_workflow_ref': 'sub_workflow_ref' - } - - def __init__(self, launchplan_ref=None, sub_workflow_ref=None): # noqa: E501 - """CoreWorkflowNode - a model defined in Swagger""" # noqa: E501 - - self._launchplan_ref = None - self._sub_workflow_ref = None - self.discriminator = None - - if launchplan_ref is not None: - self.launchplan_ref = launchplan_ref - if sub_workflow_ref is not None: - self.sub_workflow_ref = sub_workflow_ref - - @property - def launchplan_ref(self): - """Gets the launchplan_ref of this CoreWorkflowNode. # noqa: E501 - - A globally unique identifier for the launch plan. # noqa: E501 - - :return: The launchplan_ref of this CoreWorkflowNode. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._launchplan_ref - - @launchplan_ref.setter - def launchplan_ref(self, launchplan_ref): - """Sets the launchplan_ref of this CoreWorkflowNode. - - A globally unique identifier for the launch plan. # noqa: E501 - - :param launchplan_ref: The launchplan_ref of this CoreWorkflowNode. # noqa: E501 - :type: CoreIdentifier - """ - - self._launchplan_ref = launchplan_ref - - @property - def sub_workflow_ref(self): - """Gets the sub_workflow_ref of this CoreWorkflowNode. # noqa: E501 - - - :return: The sub_workflow_ref of this CoreWorkflowNode. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._sub_workflow_ref - - @sub_workflow_ref.setter - def sub_workflow_ref(self, sub_workflow_ref): - """Sets the sub_workflow_ref of this CoreWorkflowNode. - - - :param sub_workflow_ref: The sub_workflow_ref of this CoreWorkflowNode. # noqa: E501 - :type: CoreIdentifier - """ - - self._sub_workflow_ref = sub_workflow_ref - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreWorkflowNode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreWorkflowNode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_template.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_template.py deleted file mode 100644 index ead72237b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_template.py +++ /dev/null @@ -1,290 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_binding import CoreBinding # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_node import CoreNode # noqa: F401,E501 -from flyteadmin.models.core_typed_interface import CoreTypedInterface # noqa: F401,E501 -from flyteadmin.models.core_workflow_metadata import CoreWorkflowMetadata # noqa: F401,E501 -from flyteadmin.models.core_workflow_metadata_defaults import CoreWorkflowMetadataDefaults # noqa: F401,E501 - - -class CoreWorkflowTemplate(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'metadata': 'CoreWorkflowMetadata', - 'interface': 'CoreTypedInterface', - 'nodes': 'list[CoreNode]', - 'outputs': 'list[CoreBinding]', - 'failure_node': 'CoreNode', - 'metadata_defaults': 'CoreWorkflowMetadataDefaults' - } - - attribute_map = { - 'id': 'id', - 'metadata': 'metadata', - 'interface': 'interface', - 'nodes': 'nodes', - 'outputs': 'outputs', - 'failure_node': 'failure_node', - 'metadata_defaults': 'metadata_defaults' - } - - def __init__(self, id=None, metadata=None, interface=None, nodes=None, outputs=None, failure_node=None, metadata_defaults=None): # noqa: E501 - """CoreWorkflowTemplate - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._metadata = None - self._interface = None - self._nodes = None - self._outputs = None - self._failure_node = None - self._metadata_defaults = None - self.discriminator = None - - if id is not None: - self.id = id - if metadata is not None: - self.metadata = metadata - if interface is not None: - self.interface = interface - if nodes is not None: - self.nodes = nodes - if outputs is not None: - self.outputs = outputs - if failure_node is not None: - self.failure_node = failure_node - if metadata_defaults is not None: - self.metadata_defaults = metadata_defaults - - @property - def id(self): - """Gets the id of this CoreWorkflowTemplate. # noqa: E501 - - A globally unique identifier for the workflow. # noqa: E501 - - :return: The id of this CoreWorkflowTemplate. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CoreWorkflowTemplate. - - A globally unique identifier for the workflow. # noqa: E501 - - :param id: The id of this CoreWorkflowTemplate. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def metadata(self): - """Gets the metadata of this CoreWorkflowTemplate. # noqa: E501 - - Extra metadata about the workflow. # noqa: E501 - - :return: The metadata of this CoreWorkflowTemplate. # noqa: E501 - :rtype: CoreWorkflowMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreWorkflowTemplate. - - Extra metadata about the workflow. # noqa: E501 - - :param metadata: The metadata of this CoreWorkflowTemplate. # noqa: E501 - :type: CoreWorkflowMetadata - """ - - self._metadata = metadata - - @property - def interface(self): - """Gets the interface of this CoreWorkflowTemplate. # noqa: E501 - - Defines a strongly typed interface for the Workflow. This can include some optional parameters. # noqa: E501 - - :return: The interface of this CoreWorkflowTemplate. # noqa: E501 - :rtype: CoreTypedInterface - """ - return self._interface - - @interface.setter - def interface(self, interface): - """Sets the interface of this CoreWorkflowTemplate. - - Defines a strongly typed interface for the Workflow. This can include some optional parameters. # noqa: E501 - - :param interface: The interface of this CoreWorkflowTemplate. # noqa: E501 - :type: CoreTypedInterface - """ - - self._interface = interface - - @property - def nodes(self): - """Gets the nodes of this CoreWorkflowTemplate. # noqa: E501 - - A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs. # noqa: E501 - - :return: The nodes of this CoreWorkflowTemplate. # noqa: E501 - :rtype: list[CoreNode] - """ - return self._nodes - - @nodes.setter - def nodes(self, nodes): - """Sets the nodes of this CoreWorkflowTemplate. - - A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs. # noqa: E501 - - :param nodes: The nodes of this CoreWorkflowTemplate. # noqa: E501 - :type: list[CoreNode] - """ - - self._nodes = nodes - - @property - def outputs(self): - """Gets the outputs of this CoreWorkflowTemplate. # noqa: E501 - - A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task. # noqa: E501 - - :return: The outputs of this CoreWorkflowTemplate. # noqa: E501 - :rtype: list[CoreBinding] - """ - return self._outputs - - @outputs.setter - def outputs(self, outputs): - """Sets the outputs of this CoreWorkflowTemplate. - - A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task. # noqa: E501 - - :param outputs: The outputs of this CoreWorkflowTemplate. # noqa: E501 - :type: list[CoreBinding] - """ - - self._outputs = outputs - - @property - def failure_node(self): - """Gets the failure_node of this CoreWorkflowTemplate. # noqa: E501 - - +optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error. # noqa: E501 - - :return: The failure_node of this CoreWorkflowTemplate. # noqa: E501 - :rtype: CoreNode - """ - return self._failure_node - - @failure_node.setter - def failure_node(self, failure_node): - """Sets the failure_node of this CoreWorkflowTemplate. - - +optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error. # noqa: E501 - - :param failure_node: The failure_node of this CoreWorkflowTemplate. # noqa: E501 - :type: CoreNode - """ - - self._failure_node = failure_node - - @property - def metadata_defaults(self): - """Gets the metadata_defaults of this CoreWorkflowTemplate. # noqa: E501 - - - :return: The metadata_defaults of this CoreWorkflowTemplate. # noqa: E501 - :rtype: CoreWorkflowMetadataDefaults - """ - return self._metadata_defaults - - @metadata_defaults.setter - def metadata_defaults(self, metadata_defaults): - """Sets the metadata_defaults of this CoreWorkflowTemplate. - - - :param metadata_defaults: The metadata_defaults of this CoreWorkflowTemplate. # noqa: E501 - :type: CoreWorkflowMetadataDefaults - """ - - self._metadata_defaults = metadata_defaults - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreWorkflowTemplate, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreWorkflowTemplate): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/data_loading_config_literal_map_format.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/data_loading_config_literal_map_format.py deleted file mode 100644 index 160639100..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/data_loading_config_literal_map_format.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class DataLoadingConfigLiteralMapFormat(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - JSON = "JSON" - YAML = "YAML" - PROTO = "PROTO" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """DataLoadingConfigLiteralMapFormat - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(DataLoadingConfigLiteralMapFormat, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DataLoadingConfigLiteralMapFormat): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_external_resource_info.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_external_resource_info.py deleted file mode 100644 index e170aa4c0..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_external_resource_info.py +++ /dev/null @@ -1,255 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus # noqa: F401,E501 -from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase # noqa: F401,E501 -from flyteadmin.models.core_task_log import CoreTaskLog # noqa: F401,E501 - - -class EventExternalResourceInfo(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'external_id': 'str', - 'index': 'int', - 'retry_attempt': 'int', - 'phase': 'CoreTaskExecutionPhase', - 'cache_status': 'CoreCatalogCacheStatus', - 'logs': 'list[CoreTaskLog]' - } - - attribute_map = { - 'external_id': 'external_id', - 'index': 'index', - 'retry_attempt': 'retry_attempt', - 'phase': 'phase', - 'cache_status': 'cache_status', - 'logs': 'logs' - } - - def __init__(self, external_id=None, index=None, retry_attempt=None, phase=None, cache_status=None, logs=None): # noqa: E501 - """EventExternalResourceInfo - a model defined in Swagger""" # noqa: E501 - - self._external_id = None - self._index = None - self._retry_attempt = None - self._phase = None - self._cache_status = None - self._logs = None - self.discriminator = None - - if external_id is not None: - self.external_id = external_id - if index is not None: - self.index = index - if retry_attempt is not None: - self.retry_attempt = retry_attempt - if phase is not None: - self.phase = phase - if cache_status is not None: - self.cache_status = cache_status - if logs is not None: - self.logs = logs - - @property - def external_id(self): - """Gets the external_id of this EventExternalResourceInfo. # noqa: E501 - - Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids. # noqa: E501 - - :return: The external_id of this EventExternalResourceInfo. # noqa: E501 - :rtype: str - """ - return self._external_id - - @external_id.setter - def external_id(self, external_id): - """Sets the external_id of this EventExternalResourceInfo. - - Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids. # noqa: E501 - - :param external_id: The external_id of this EventExternalResourceInfo. # noqa: E501 - :type: str - """ - - self._external_id = external_id - - @property - def index(self): - """Gets the index of this EventExternalResourceInfo. # noqa: E501 - - A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports. # noqa: E501 - - :return: The index of this EventExternalResourceInfo. # noqa: E501 - :rtype: int - """ - return self._index - - @index.setter - def index(self, index): - """Sets the index of this EventExternalResourceInfo. - - A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports. # noqa: E501 - - :param index: The index of this EventExternalResourceInfo. # noqa: E501 - :type: int - """ - - self._index = index - - @property - def retry_attempt(self): - """Gets the retry_attempt of this EventExternalResourceInfo. # noqa: E501 - - - :return: The retry_attempt of this EventExternalResourceInfo. # noqa: E501 - :rtype: int - """ - return self._retry_attempt - - @retry_attempt.setter - def retry_attempt(self, retry_attempt): - """Sets the retry_attempt of this EventExternalResourceInfo. - - - :param retry_attempt: The retry_attempt of this EventExternalResourceInfo. # noqa: E501 - :type: int - """ - - self._retry_attempt = retry_attempt - - @property - def phase(self): - """Gets the phase of this EventExternalResourceInfo. # noqa: E501 - - - :return: The phase of this EventExternalResourceInfo. # noqa: E501 - :rtype: CoreTaskExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this EventExternalResourceInfo. - - - :param phase: The phase of this EventExternalResourceInfo. # noqa: E501 - :type: CoreTaskExecutionPhase - """ - - self._phase = phase - - @property - def cache_status(self): - """Gets the cache_status of this EventExternalResourceInfo. # noqa: E501 - - Captures the status of caching for this external resource execution. # noqa: E501 - - :return: The cache_status of this EventExternalResourceInfo. # noqa: E501 - :rtype: CoreCatalogCacheStatus - """ - return self._cache_status - - @cache_status.setter - def cache_status(self, cache_status): - """Sets the cache_status of this EventExternalResourceInfo. - - Captures the status of caching for this external resource execution. # noqa: E501 - - :param cache_status: The cache_status of this EventExternalResourceInfo. # noqa: E501 - :type: CoreCatalogCacheStatus - """ - - self._cache_status = cache_status - - @property - def logs(self): - """Gets the logs of this EventExternalResourceInfo. # noqa: E501 - - - :return: The logs of this EventExternalResourceInfo. # noqa: E501 - :rtype: list[CoreTaskLog] - """ - return self._logs - - @logs.setter - def logs(self, logs): - """Sets the logs of this EventExternalResourceInfo. - - - :param logs: The logs of this EventExternalResourceInfo. # noqa: E501 - :type: list[CoreTaskLog] - """ - - self._logs = logs - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventExternalResourceInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventExternalResourceInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py deleted file mode 100644 index 6cc77d90e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py +++ /dev/null @@ -1,606 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 -from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase # noqa: F401,E501 -from flyteadmin.models.event_parent_node_execution_metadata import EventParentNodeExecutionMetadata # noqa: F401,E501 -from flyteadmin.models.event_parent_task_execution_metadata import EventParentTaskExecutionMetadata # noqa: F401,E501 -from flyteadmin.models.flyteidlevent_task_node_metadata import FlyteidleventTaskNodeMetadata # noqa: F401,E501 -from flyteadmin.models.flyteidlevent_workflow_node_metadata import FlyteidleventWorkflowNodeMetadata # noqa: F401,E501 - - -class EventNodeExecutionEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreNodeExecutionIdentifier', - 'producer_id': 'str', - 'phase': 'CoreNodeExecutionPhase', - 'occurred_at': 'datetime', - 'input_uri': 'str', - 'output_uri': 'str', - 'error': 'CoreExecutionError', - 'output_data': 'CoreLiteralMap', - 'workflow_node_metadata': 'FlyteidleventWorkflowNodeMetadata', - 'task_node_metadata': 'FlyteidleventTaskNodeMetadata', - 'parent_task_metadata': 'EventParentTaskExecutionMetadata', - 'parent_node_metadata': 'EventParentNodeExecutionMetadata', - 'retry_group': 'str', - 'spec_node_id': 'str', - 'node_name': 'str', - 'event_version': 'int', - 'is_parent': 'bool', - 'is_dynamic': 'bool', - 'deck_uri': 'str' - } - - attribute_map = { - 'id': 'id', - 'producer_id': 'producer_id', - 'phase': 'phase', - 'occurred_at': 'occurred_at', - 'input_uri': 'input_uri', - 'output_uri': 'output_uri', - 'error': 'error', - 'output_data': 'output_data', - 'workflow_node_metadata': 'workflow_node_metadata', - 'task_node_metadata': 'task_node_metadata', - 'parent_task_metadata': 'parent_task_metadata', - 'parent_node_metadata': 'parent_node_metadata', - 'retry_group': 'retry_group', - 'spec_node_id': 'spec_node_id', - 'node_name': 'node_name', - 'event_version': 'event_version', - 'is_parent': 'is_parent', - 'is_dynamic': 'is_dynamic', - 'deck_uri': 'deck_uri' - } - - def __init__(self, id=None, producer_id=None, phase=None, occurred_at=None, input_uri=None, output_uri=None, error=None, output_data=None, workflow_node_metadata=None, task_node_metadata=None, parent_task_metadata=None, parent_node_metadata=None, retry_group=None, spec_node_id=None, node_name=None, event_version=None, is_parent=None, is_dynamic=None, deck_uri=None): # noqa: E501 - """EventNodeExecutionEvent - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._producer_id = None - self._phase = None - self._occurred_at = None - self._input_uri = None - self._output_uri = None - self._error = None - self._output_data = None - self._workflow_node_metadata = None - self._task_node_metadata = None - self._parent_task_metadata = None - self._parent_node_metadata = None - self._retry_group = None - self._spec_node_id = None - self._node_name = None - self._event_version = None - self._is_parent = None - self._is_dynamic = None - self._deck_uri = None - self.discriminator = None - - if id is not None: - self.id = id - if producer_id is not None: - self.producer_id = producer_id - if phase is not None: - self.phase = phase - if occurred_at is not None: - self.occurred_at = occurred_at - if input_uri is not None: - self.input_uri = input_uri - if output_uri is not None: - self.output_uri = output_uri - if error is not None: - self.error = error - if output_data is not None: - self.output_data = output_data - if workflow_node_metadata is not None: - self.workflow_node_metadata = workflow_node_metadata - if task_node_metadata is not None: - self.task_node_metadata = task_node_metadata - if parent_task_metadata is not None: - self.parent_task_metadata = parent_task_metadata - if parent_node_metadata is not None: - self.parent_node_metadata = parent_node_metadata - if retry_group is not None: - self.retry_group = retry_group - if spec_node_id is not None: - self.spec_node_id = spec_node_id - if node_name is not None: - self.node_name = node_name - if event_version is not None: - self.event_version = event_version - if is_parent is not None: - self.is_parent = is_parent - if is_dynamic is not None: - self.is_dynamic = is_dynamic - if deck_uri is not None: - self.deck_uri = deck_uri - - @property - def id(self): - """Gets the id of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The id of this EventNodeExecutionEvent. # noqa: E501 - :rtype: CoreNodeExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this EventNodeExecutionEvent. - - - :param id: The id of this EventNodeExecutionEvent. # noqa: E501 - :type: CoreNodeExecutionIdentifier - """ - - self._id = id - - @property - def producer_id(self): - """Gets the producer_id of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The producer_id of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._producer_id - - @producer_id.setter - def producer_id(self, producer_id): - """Sets the producer_id of this EventNodeExecutionEvent. - - - :param producer_id: The producer_id of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._producer_id = producer_id - - @property - def phase(self): - """Gets the phase of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The phase of this EventNodeExecutionEvent. # noqa: E501 - :rtype: CoreNodeExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this EventNodeExecutionEvent. - - - :param phase: The phase of this EventNodeExecutionEvent. # noqa: E501 - :type: CoreNodeExecutionPhase - """ - - self._phase = phase - - @property - def occurred_at(self): - """Gets the occurred_at of this EventNodeExecutionEvent. # noqa: E501 - - This timestamp represents when the original event occurred, it is generated by the executor of the node. # noqa: E501 - - :return: The occurred_at of this EventNodeExecutionEvent. # noqa: E501 - :rtype: datetime - """ - return self._occurred_at - - @occurred_at.setter - def occurred_at(self, occurred_at): - """Sets the occurred_at of this EventNodeExecutionEvent. - - This timestamp represents when the original event occurred, it is generated by the executor of the node. # noqa: E501 - - :param occurred_at: The occurred_at of this EventNodeExecutionEvent. # noqa: E501 - :type: datetime - """ - - self._occurred_at = occurred_at - - @property - def input_uri(self): - """Gets the input_uri of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The input_uri of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._input_uri - - @input_uri.setter - def input_uri(self, input_uri): - """Sets the input_uri of this EventNodeExecutionEvent. - - - :param input_uri: The input_uri of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._input_uri = input_uri - - @property - def output_uri(self): - """Gets the output_uri of this EventNodeExecutionEvent. # noqa: E501 - - URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :return: The output_uri of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._output_uri - - @output_uri.setter - def output_uri(self, output_uri): - """Sets the output_uri of this EventNodeExecutionEvent. - - URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :param output_uri: The output_uri of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._output_uri = output_uri - - @property - def error(self): - """Gets the error of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The error of this EventNodeExecutionEvent. # noqa: E501 - :rtype: CoreExecutionError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this EventNodeExecutionEvent. - - - :param error: The error of this EventNodeExecutionEvent. # noqa: E501 - :type: CoreExecutionError - """ - - self._error = error - - @property - def output_data(self): - """Gets the output_data of this EventNodeExecutionEvent. # noqa: E501 - - Raw output data produced by this node execution. # noqa: E501 - - :return: The output_data of this EventNodeExecutionEvent. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._output_data - - @output_data.setter - def output_data(self, output_data): - """Sets the output_data of this EventNodeExecutionEvent. - - Raw output data produced by this node execution. # noqa: E501 - - :param output_data: The output_data of this EventNodeExecutionEvent. # noqa: E501 - :type: CoreLiteralMap - """ - - self._output_data = output_data - - @property - def workflow_node_metadata(self): - """Gets the workflow_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The workflow_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - :rtype: FlyteidleventWorkflowNodeMetadata - """ - return self._workflow_node_metadata - - @workflow_node_metadata.setter - def workflow_node_metadata(self, workflow_node_metadata): - """Sets the workflow_node_metadata of this EventNodeExecutionEvent. - - - :param workflow_node_metadata: The workflow_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - :type: FlyteidleventWorkflowNodeMetadata - """ - - self._workflow_node_metadata = workflow_node_metadata - - @property - def task_node_metadata(self): - """Gets the task_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The task_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - :rtype: FlyteidleventTaskNodeMetadata - """ - return self._task_node_metadata - - @task_node_metadata.setter - def task_node_metadata(self, task_node_metadata): - """Sets the task_node_metadata of this EventNodeExecutionEvent. - - - :param task_node_metadata: The task_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - :type: FlyteidleventTaskNodeMetadata - """ - - self._task_node_metadata = task_node_metadata - - @property - def parent_task_metadata(self): - """Gets the parent_task_metadata of this EventNodeExecutionEvent. # noqa: E501 - - [To be deprecated] Specifies which task (if any) launched this node. # noqa: E501 - - :return: The parent_task_metadata of this EventNodeExecutionEvent. # noqa: E501 - :rtype: EventParentTaskExecutionMetadata - """ - return self._parent_task_metadata - - @parent_task_metadata.setter - def parent_task_metadata(self, parent_task_metadata): - """Sets the parent_task_metadata of this EventNodeExecutionEvent. - - [To be deprecated] Specifies which task (if any) launched this node. # noqa: E501 - - :param parent_task_metadata: The parent_task_metadata of this EventNodeExecutionEvent. # noqa: E501 - :type: EventParentTaskExecutionMetadata - """ - - self._parent_task_metadata = parent_task_metadata - - @property - def parent_node_metadata(self): - """Gets the parent_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - - Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node. # noqa: E501 - - :return: The parent_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - :rtype: EventParentNodeExecutionMetadata - """ - return self._parent_node_metadata - - @parent_node_metadata.setter - def parent_node_metadata(self, parent_node_metadata): - """Sets the parent_node_metadata of this EventNodeExecutionEvent. - - Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node. # noqa: E501 - - :param parent_node_metadata: The parent_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - :type: EventParentNodeExecutionMetadata - """ - - self._parent_node_metadata = parent_node_metadata - - @property - def retry_group(self): - """Gets the retry_group of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The retry_group of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._retry_group - - @retry_group.setter - def retry_group(self, retry_group): - """Sets the retry_group of this EventNodeExecutionEvent. - - - :param retry_group: The retry_group of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._retry_group = retry_group - - @property - def spec_node_id(self): - """Gets the spec_node_id of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The spec_node_id of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._spec_node_id - - @spec_node_id.setter - def spec_node_id(self, spec_node_id): - """Sets the spec_node_id of this EventNodeExecutionEvent. - - - :param spec_node_id: The spec_node_id of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._spec_node_id = spec_node_id - - @property - def node_name(self): - """Gets the node_name of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The node_name of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._node_name - - @node_name.setter - def node_name(self, node_name): - """Sets the node_name of this EventNodeExecutionEvent. - - - :param node_name: The node_name of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._node_name = node_name - - @property - def event_version(self): - """Gets the event_version of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The event_version of this EventNodeExecutionEvent. # noqa: E501 - :rtype: int - """ - return self._event_version - - @event_version.setter - def event_version(self, event_version): - """Sets the event_version of this EventNodeExecutionEvent. - - - :param event_version: The event_version of this EventNodeExecutionEvent. # noqa: E501 - :type: int - """ - - self._event_version = event_version - - @property - def is_parent(self): - """Gets the is_parent of this EventNodeExecutionEvent. # noqa: E501 - - Whether this node launched a subworkflow. # noqa: E501 - - :return: The is_parent of this EventNodeExecutionEvent. # noqa: E501 - :rtype: bool - """ - return self._is_parent - - @is_parent.setter - def is_parent(self, is_parent): - """Sets the is_parent of this EventNodeExecutionEvent. - - Whether this node launched a subworkflow. # noqa: E501 - - :param is_parent: The is_parent of this EventNodeExecutionEvent. # noqa: E501 - :type: bool - """ - - self._is_parent = is_parent - - @property - def is_dynamic(self): - """Gets the is_dynamic of this EventNodeExecutionEvent. # noqa: E501 - - Whether this node yielded a dynamic workflow. # noqa: E501 - - :return: The is_dynamic of this EventNodeExecutionEvent. # noqa: E501 - :rtype: bool - """ - return self._is_dynamic - - @is_dynamic.setter - def is_dynamic(self, is_dynamic): - """Sets the is_dynamic of this EventNodeExecutionEvent. - - Whether this node yielded a dynamic workflow. # noqa: E501 - - :param is_dynamic: The is_dynamic of this EventNodeExecutionEvent. # noqa: E501 - :type: bool - """ - - self._is_dynamic = is_dynamic - - @property - def deck_uri(self): - """Gets the deck_uri of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The deck_uri of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._deck_uri - - @deck_uri.setter - def deck_uri(self, deck_uri): - """Sets the deck_uri of this EventNodeExecutionEvent. - - - :param deck_uri: The deck_uri of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._deck_uri = deck_uri - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventNodeExecutionEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventNodeExecutionEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_node_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_node_execution_metadata.py deleted file mode 100644 index 8ca2ec749..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_node_execution_metadata.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class EventParentNodeExecutionMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'node_id': 'str' - } - - attribute_map = { - 'node_id': 'node_id' - } - - def __init__(self, node_id=None): # noqa: E501 - """EventParentNodeExecutionMetadata - a model defined in Swagger""" # noqa: E501 - - self._node_id = None - self.discriminator = None - - if node_id is not None: - self.node_id = node_id - - @property - def node_id(self): - """Gets the node_id of this EventParentNodeExecutionMetadata. # noqa: E501 - - - :return: The node_id of this EventParentNodeExecutionMetadata. # noqa: E501 - :rtype: str - """ - return self._node_id - - @node_id.setter - def node_id(self, node_id): - """Sets the node_id of this EventParentNodeExecutionMetadata. - - - :param node_id: The node_id of this EventParentNodeExecutionMetadata. # noqa: E501 - :type: str - """ - - self._node_id = node_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventParentNodeExecutionMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventParentNodeExecutionMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_task_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_task_execution_metadata.py deleted file mode 100644 index 9d640fcd1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_task_execution_metadata.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: F401,E501 - - -class EventParentTaskExecutionMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreTaskExecutionIdentifier' - } - - attribute_map = { - 'id': 'id' - } - - def __init__(self, id=None): # noqa: E501 - """EventParentTaskExecutionMetadata - a model defined in Swagger""" # noqa: E501 - - self._id = None - self.discriminator = None - - if id is not None: - self.id = id - - @property - def id(self): - """Gets the id of this EventParentTaskExecutionMetadata. # noqa: E501 - - - :return: The id of this EventParentTaskExecutionMetadata. # noqa: E501 - :rtype: CoreTaskExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this EventParentTaskExecutionMetadata. - - - :param id: The id of this EventParentTaskExecutionMetadata. # noqa: E501 - :type: CoreTaskExecutionIdentifier - """ - - self._id = id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventParentTaskExecutionMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventParentTaskExecutionMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_resource_pool_info.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_resource_pool_info.py deleted file mode 100644 index f15bb90a1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_resource_pool_info.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class EventResourcePoolInfo(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'allocation_token': 'str', - 'namespace': 'str' - } - - attribute_map = { - 'allocation_token': 'allocation_token', - 'namespace': 'namespace' - } - - def __init__(self, allocation_token=None, namespace=None): # noqa: E501 - """EventResourcePoolInfo - a model defined in Swagger""" # noqa: E501 - - self._allocation_token = None - self._namespace = None - self.discriminator = None - - if allocation_token is not None: - self.allocation_token = allocation_token - if namespace is not None: - self.namespace = namespace - - @property - def allocation_token(self): - """Gets the allocation_token of this EventResourcePoolInfo. # noqa: E501 - - Unique resource ID used to identify this execution when allocating a token. # noqa: E501 - - :return: The allocation_token of this EventResourcePoolInfo. # noqa: E501 - :rtype: str - """ - return self._allocation_token - - @allocation_token.setter - def allocation_token(self, allocation_token): - """Sets the allocation_token of this EventResourcePoolInfo. - - Unique resource ID used to identify this execution when allocating a token. # noqa: E501 - - :param allocation_token: The allocation_token of this EventResourcePoolInfo. # noqa: E501 - :type: str - """ - - self._allocation_token = allocation_token - - @property - def namespace(self): - """Gets the namespace of this EventResourcePoolInfo. # noqa: E501 - - Namespace under which this task execution requested an allocation token. # noqa: E501 - - :return: The namespace of this EventResourcePoolInfo. # noqa: E501 - :rtype: str - """ - return self._namespace - - @namespace.setter - def namespace(self, namespace): - """Sets the namespace of this EventResourcePoolInfo. - - Namespace under which this task execution requested an allocation token. # noqa: E501 - - :param namespace: The namespace of this EventResourcePoolInfo. # noqa: E501 - :type: str - """ - - self._namespace = namespace - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventResourcePoolInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventResourcePoolInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py deleted file mode 100644 index 219c9becd..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py +++ /dev/null @@ -1,562 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 -from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase # noqa: F401,E501 -from flyteadmin.models.core_task_log import CoreTaskLog # noqa: F401,E501 -from flyteadmin.models.event_task_execution_metadata import EventTaskExecutionMetadata # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class EventTaskExecutionEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'task_id': 'CoreIdentifier', - 'parent_node_execution_id': 'CoreNodeExecutionIdentifier', - 'retry_attempt': 'int', - 'phase': 'CoreTaskExecutionPhase', - 'producer_id': 'str', - 'logs': 'list[CoreTaskLog]', - 'occurred_at': 'datetime', - 'input_uri': 'str', - 'output_uri': 'str', - 'error': 'CoreExecutionError', - 'output_data': 'CoreLiteralMap', - 'custom_info': 'ProtobufStruct', - 'phase_version': 'int', - 'reason': 'str', - 'task_type': 'str', - 'metadata': 'EventTaskExecutionMetadata', - 'event_version': 'int' - } - - attribute_map = { - 'task_id': 'task_id', - 'parent_node_execution_id': 'parent_node_execution_id', - 'retry_attempt': 'retry_attempt', - 'phase': 'phase', - 'producer_id': 'producer_id', - 'logs': 'logs', - 'occurred_at': 'occurred_at', - 'input_uri': 'input_uri', - 'output_uri': 'output_uri', - 'error': 'error', - 'output_data': 'output_data', - 'custom_info': 'custom_info', - 'phase_version': 'phase_version', - 'reason': 'reason', - 'task_type': 'task_type', - 'metadata': 'metadata', - 'event_version': 'event_version' - } - - def __init__(self, task_id=None, parent_node_execution_id=None, retry_attempt=None, phase=None, producer_id=None, logs=None, occurred_at=None, input_uri=None, output_uri=None, error=None, output_data=None, custom_info=None, phase_version=None, reason=None, task_type=None, metadata=None, event_version=None): # noqa: E501 - """EventTaskExecutionEvent - a model defined in Swagger""" # noqa: E501 - - self._task_id = None - self._parent_node_execution_id = None - self._retry_attempt = None - self._phase = None - self._producer_id = None - self._logs = None - self._occurred_at = None - self._input_uri = None - self._output_uri = None - self._error = None - self._output_data = None - self._custom_info = None - self._phase_version = None - self._reason = None - self._task_type = None - self._metadata = None - self._event_version = None - self.discriminator = None - - if task_id is not None: - self.task_id = task_id - if parent_node_execution_id is not None: - self.parent_node_execution_id = parent_node_execution_id - if retry_attempt is not None: - self.retry_attempt = retry_attempt - if phase is not None: - self.phase = phase - if producer_id is not None: - self.producer_id = producer_id - if logs is not None: - self.logs = logs - if occurred_at is not None: - self.occurred_at = occurred_at - if input_uri is not None: - self.input_uri = input_uri - if output_uri is not None: - self.output_uri = output_uri - if error is not None: - self.error = error - if output_data is not None: - self.output_data = output_data - if custom_info is not None: - self.custom_info = custom_info - if phase_version is not None: - self.phase_version = phase_version - if reason is not None: - self.reason = reason - if task_type is not None: - self.task_type = task_type - if metadata is not None: - self.metadata = metadata - if event_version is not None: - self.event_version = event_version - - @property - def task_id(self): - """Gets the task_id of this EventTaskExecutionEvent. # noqa: E501 - - ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution. # noqa: E501 - - :return: The task_id of this EventTaskExecutionEvent. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._task_id - - @task_id.setter - def task_id(self, task_id): - """Sets the task_id of this EventTaskExecutionEvent. - - ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution. # noqa: E501 - - :param task_id: The task_id of this EventTaskExecutionEvent. # noqa: E501 - :type: CoreIdentifier - """ - - self._task_id = task_id - - @property - def parent_node_execution_id(self): - """Gets the parent_node_execution_id of this EventTaskExecutionEvent. # noqa: E501 - - - :return: The parent_node_execution_id of this EventTaskExecutionEvent. # noqa: E501 - :rtype: CoreNodeExecutionIdentifier - """ - return self._parent_node_execution_id - - @parent_node_execution_id.setter - def parent_node_execution_id(self, parent_node_execution_id): - """Sets the parent_node_execution_id of this EventTaskExecutionEvent. - - - :param parent_node_execution_id: The parent_node_execution_id of this EventTaskExecutionEvent. # noqa: E501 - :type: CoreNodeExecutionIdentifier - """ - - self._parent_node_execution_id = parent_node_execution_id - - @property - def retry_attempt(self): - """Gets the retry_attempt of this EventTaskExecutionEvent. # noqa: E501 - - - :return: The retry_attempt of this EventTaskExecutionEvent. # noqa: E501 - :rtype: int - """ - return self._retry_attempt - - @retry_attempt.setter - def retry_attempt(self, retry_attempt): - """Sets the retry_attempt of this EventTaskExecutionEvent. - - - :param retry_attempt: The retry_attempt of this EventTaskExecutionEvent. # noqa: E501 - :type: int - """ - - self._retry_attempt = retry_attempt - - @property - def phase(self): - """Gets the phase of this EventTaskExecutionEvent. # noqa: E501 - - - :return: The phase of this EventTaskExecutionEvent. # noqa: E501 - :rtype: CoreTaskExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this EventTaskExecutionEvent. - - - :param phase: The phase of this EventTaskExecutionEvent. # noqa: E501 - :type: CoreTaskExecutionPhase - """ - - self._phase = phase - - @property - def producer_id(self): - """Gets the producer_id of this EventTaskExecutionEvent. # noqa: E501 - - - :return: The producer_id of this EventTaskExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._producer_id - - @producer_id.setter - def producer_id(self, producer_id): - """Sets the producer_id of this EventTaskExecutionEvent. - - - :param producer_id: The producer_id of this EventTaskExecutionEvent. # noqa: E501 - :type: str - """ - - self._producer_id = producer_id - - @property - def logs(self): - """Gets the logs of this EventTaskExecutionEvent. # noqa: E501 - - - :return: The logs of this EventTaskExecutionEvent. # noqa: E501 - :rtype: list[CoreTaskLog] - """ - return self._logs - - @logs.setter - def logs(self, logs): - """Sets the logs of this EventTaskExecutionEvent. - - - :param logs: The logs of this EventTaskExecutionEvent. # noqa: E501 - :type: list[CoreTaskLog] - """ - - self._logs = logs - - @property - def occurred_at(self): - """Gets the occurred_at of this EventTaskExecutionEvent. # noqa: E501 - - This timestamp represents when the original event occurred, it is generated by the executor of the task. # noqa: E501 - - :return: The occurred_at of this EventTaskExecutionEvent. # noqa: E501 - :rtype: datetime - """ - return self._occurred_at - - @occurred_at.setter - def occurred_at(self, occurred_at): - """Sets the occurred_at of this EventTaskExecutionEvent. - - This timestamp represents when the original event occurred, it is generated by the executor of the task. # noqa: E501 - - :param occurred_at: The occurred_at of this EventTaskExecutionEvent. # noqa: E501 - :type: datetime - """ - - self._occurred_at = occurred_at - - @property - def input_uri(self): - """Gets the input_uri of this EventTaskExecutionEvent. # noqa: E501 - - URI of the input file, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :return: The input_uri of this EventTaskExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._input_uri - - @input_uri.setter - def input_uri(self, input_uri): - """Sets the input_uri of this EventTaskExecutionEvent. - - URI of the input file, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :param input_uri: The input_uri of this EventTaskExecutionEvent. # noqa: E501 - :type: str - """ - - self._input_uri = input_uri - - @property - def output_uri(self): - """Gets the output_uri of this EventTaskExecutionEvent. # noqa: E501 - - URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :return: The output_uri of this EventTaskExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._output_uri - - @output_uri.setter - def output_uri(self, output_uri): - """Sets the output_uri of this EventTaskExecutionEvent. - - URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :param output_uri: The output_uri of this EventTaskExecutionEvent. # noqa: E501 - :type: str - """ - - self._output_uri = output_uri - - @property - def error(self): - """Gets the error of this EventTaskExecutionEvent. # noqa: E501 - - - :return: The error of this EventTaskExecutionEvent. # noqa: E501 - :rtype: CoreExecutionError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this EventTaskExecutionEvent. - - - :param error: The error of this EventTaskExecutionEvent. # noqa: E501 - :type: CoreExecutionError - """ - - self._error = error - - @property - def output_data(self): - """Gets the output_data of this EventTaskExecutionEvent. # noqa: E501 - - Raw output data produced by this task execution. # noqa: E501 - - :return: The output_data of this EventTaskExecutionEvent. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._output_data - - @output_data.setter - def output_data(self, output_data): - """Sets the output_data of this EventTaskExecutionEvent. - - Raw output data produced by this task execution. # noqa: E501 - - :param output_data: The output_data of this EventTaskExecutionEvent. # noqa: E501 - :type: CoreLiteralMap - """ - - self._output_data = output_data - - @property - def custom_info(self): - """Gets the custom_info of this EventTaskExecutionEvent. # noqa: E501 - - Custom data that the task plugin sends back. This is extensible to allow various plugins in the system. # noqa: E501 - - :return: The custom_info of this EventTaskExecutionEvent. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._custom_info - - @custom_info.setter - def custom_info(self, custom_info): - """Sets the custom_info of this EventTaskExecutionEvent. - - Custom data that the task plugin sends back. This is extensible to allow various plugins in the system. # noqa: E501 - - :param custom_info: The custom_info of this EventTaskExecutionEvent. # noqa: E501 - :type: ProtobufStruct - """ - - self._custom_info = custom_info - - @property - def phase_version(self): - """Gets the phase_version of this EventTaskExecutionEvent. # noqa: E501 - - Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) that should be recorded regardless of the lack of phase change. The version field should be incremented when metadata changes across the duration of an individual phase. # noqa: E501 - - :return: The phase_version of this EventTaskExecutionEvent. # noqa: E501 - :rtype: int - """ - return self._phase_version - - @phase_version.setter - def phase_version(self, phase_version): - """Sets the phase_version of this EventTaskExecutionEvent. - - Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) that should be recorded regardless of the lack of phase change. The version field should be incremented when metadata changes across the duration of an individual phase. # noqa: E501 - - :param phase_version: The phase_version of this EventTaskExecutionEvent. # noqa: E501 - :type: int - """ - - self._phase_version = phase_version - - @property - def reason(self): - """Gets the reason of this EventTaskExecutionEvent. # noqa: E501 - - An optional explanation for the phase transition. # noqa: E501 - - :return: The reason of this EventTaskExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._reason - - @reason.setter - def reason(self, reason): - """Sets the reason of this EventTaskExecutionEvent. - - An optional explanation for the phase transition. # noqa: E501 - - :param reason: The reason of this EventTaskExecutionEvent. # noqa: E501 - :type: str - """ - - self._reason = reason - - @property - def task_type(self): - """Gets the task_type of this EventTaskExecutionEvent. # noqa: E501 - - A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin this type will be identical, but not all task executions necessarily use pre-registered definitions and this type is useful to render the task in the UI, filter task executions, etc. # noqa: E501 - - :return: The task_type of this EventTaskExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._task_type - - @task_type.setter - def task_type(self, task_type): - """Sets the task_type of this EventTaskExecutionEvent. - - A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin this type will be identical, but not all task executions necessarily use pre-registered definitions and this type is useful to render the task in the UI, filter task executions, etc. # noqa: E501 - - :param task_type: The task_type of this EventTaskExecutionEvent. # noqa: E501 - :type: str - """ - - self._task_type = task_type - - @property - def metadata(self): - """Gets the metadata of this EventTaskExecutionEvent. # noqa: E501 - - Metadata around how a task was executed. # noqa: E501 - - :return: The metadata of this EventTaskExecutionEvent. # noqa: E501 - :rtype: EventTaskExecutionMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this EventTaskExecutionEvent. - - Metadata around how a task was executed. # noqa: E501 - - :param metadata: The metadata of this EventTaskExecutionEvent. # noqa: E501 - :type: EventTaskExecutionMetadata - """ - - self._metadata = metadata - - @property - def event_version(self): - """Gets the event_version of this EventTaskExecutionEvent. # noqa: E501 - - The event version is used to indicate versioned changes in how data is reported using this proto message. For example, event_verison > 0 means that maps tasks report logs using the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. # noqa: E501 - - :return: The event_version of this EventTaskExecutionEvent. # noqa: E501 - :rtype: int - """ - return self._event_version - - @event_version.setter - def event_version(self, event_version): - """Sets the event_version of this EventTaskExecutionEvent. - - The event version is used to indicate versioned changes in how data is reported using this proto message. For example, event_verison > 0 means that maps tasks report logs using the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. # noqa: E501 - - :param event_version: The event_version of this EventTaskExecutionEvent. # noqa: E501 - :type: int - """ - - self._event_version = event_version - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventTaskExecutionEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventTaskExecutionEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_metadata.py deleted file mode 100644 index b1ae708b2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_metadata.py +++ /dev/null @@ -1,231 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.event_external_resource_info import EventExternalResourceInfo # noqa: F401,E501 -from flyteadmin.models.event_resource_pool_info import EventResourcePoolInfo # noqa: F401,E501 -from flyteadmin.models.task_execution_metadata_instance_class import TaskExecutionMetadataInstanceClass # noqa: F401,E501 - - -class EventTaskExecutionMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'generated_name': 'str', - 'external_resources': 'list[EventExternalResourceInfo]', - 'resource_pool_info': 'list[EventResourcePoolInfo]', - 'plugin_identifier': 'str', - 'instance_class': 'TaskExecutionMetadataInstanceClass' - } - - attribute_map = { - 'generated_name': 'generated_name', - 'external_resources': 'external_resources', - 'resource_pool_info': 'resource_pool_info', - 'plugin_identifier': 'plugin_identifier', - 'instance_class': 'instance_class' - } - - def __init__(self, generated_name=None, external_resources=None, resource_pool_info=None, plugin_identifier=None, instance_class=None): # noqa: E501 - """EventTaskExecutionMetadata - a model defined in Swagger""" # noqa: E501 - - self._generated_name = None - self._external_resources = None - self._resource_pool_info = None - self._plugin_identifier = None - self._instance_class = None - self.discriminator = None - - if generated_name is not None: - self.generated_name = generated_name - if external_resources is not None: - self.external_resources = external_resources - if resource_pool_info is not None: - self.resource_pool_info = resource_pool_info - if plugin_identifier is not None: - self.plugin_identifier = plugin_identifier - if instance_class is not None: - self.instance_class = instance_class - - @property - def generated_name(self): - """Gets the generated_name of this EventTaskExecutionMetadata. # noqa: E501 - - Unique, generated name for this task execution used by the backend. # noqa: E501 - - :return: The generated_name of this EventTaskExecutionMetadata. # noqa: E501 - :rtype: str - """ - return self._generated_name - - @generated_name.setter - def generated_name(self, generated_name): - """Sets the generated_name of this EventTaskExecutionMetadata. - - Unique, generated name for this task execution used by the backend. # noqa: E501 - - :param generated_name: The generated_name of this EventTaskExecutionMetadata. # noqa: E501 - :type: str - """ - - self._generated_name = generated_name - - @property - def external_resources(self): - """Gets the external_resources of this EventTaskExecutionMetadata. # noqa: E501 - - Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution. # noqa: E501 - - :return: The external_resources of this EventTaskExecutionMetadata. # noqa: E501 - :rtype: list[EventExternalResourceInfo] - """ - return self._external_resources - - @external_resources.setter - def external_resources(self, external_resources): - """Sets the external_resources of this EventTaskExecutionMetadata. - - Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution. # noqa: E501 - - :param external_resources: The external_resources of this EventTaskExecutionMetadata. # noqa: E501 - :type: list[EventExternalResourceInfo] - """ - - self._external_resources = external_resources - - @property - def resource_pool_info(self): - """Gets the resource_pool_info of this EventTaskExecutionMetadata. # noqa: E501 - - Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution. # noqa: E501 - - :return: The resource_pool_info of this EventTaskExecutionMetadata. # noqa: E501 - :rtype: list[EventResourcePoolInfo] - """ - return self._resource_pool_info - - @resource_pool_info.setter - def resource_pool_info(self, resource_pool_info): - """Sets the resource_pool_info of this EventTaskExecutionMetadata. - - Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution. # noqa: E501 - - :param resource_pool_info: The resource_pool_info of this EventTaskExecutionMetadata. # noqa: E501 - :type: list[EventResourcePoolInfo] - """ - - self._resource_pool_info = resource_pool_info - - @property - def plugin_identifier(self): - """Gets the plugin_identifier of this EventTaskExecutionMetadata. # noqa: E501 - - The identifier of the plugin used to execute this task. # noqa: E501 - - :return: The plugin_identifier of this EventTaskExecutionMetadata. # noqa: E501 - :rtype: str - """ - return self._plugin_identifier - - @plugin_identifier.setter - def plugin_identifier(self, plugin_identifier): - """Sets the plugin_identifier of this EventTaskExecutionMetadata. - - The identifier of the plugin used to execute this task. # noqa: E501 - - :param plugin_identifier: The plugin_identifier of this EventTaskExecutionMetadata. # noqa: E501 - :type: str - """ - - self._plugin_identifier = plugin_identifier - - @property - def instance_class(self): - """Gets the instance_class of this EventTaskExecutionMetadata. # noqa: E501 - - - :return: The instance_class of this EventTaskExecutionMetadata. # noqa: E501 - :rtype: TaskExecutionMetadataInstanceClass - """ - return self._instance_class - - @instance_class.setter - def instance_class(self, instance_class): - """Sets the instance_class of this EventTaskExecutionMetadata. - - - :param instance_class: The instance_class of this EventTaskExecutionMetadata. # noqa: E501 - :type: TaskExecutionMetadataInstanceClass - """ - - self._instance_class = instance_class - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventTaskExecutionMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventTaskExecutionMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_workflow_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_workflow_execution_event.py deleted file mode 100644 index 97331dfbb..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_workflow_execution_event.py +++ /dev/null @@ -1,282 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase # noqa: F401,E501 - - -class EventWorkflowExecutionEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'execution_id': 'CoreWorkflowExecutionIdentifier', - 'producer_id': 'str', - 'phase': 'CoreWorkflowExecutionPhase', - 'occurred_at': 'datetime', - 'output_uri': 'str', - 'error': 'CoreExecutionError', - 'output_data': 'CoreLiteralMap' - } - - attribute_map = { - 'execution_id': 'execution_id', - 'producer_id': 'producer_id', - 'phase': 'phase', - 'occurred_at': 'occurred_at', - 'output_uri': 'output_uri', - 'error': 'error', - 'output_data': 'output_data' - } - - def __init__(self, execution_id=None, producer_id=None, phase=None, occurred_at=None, output_uri=None, error=None, output_data=None): # noqa: E501 - """EventWorkflowExecutionEvent - a model defined in Swagger""" # noqa: E501 - - self._execution_id = None - self._producer_id = None - self._phase = None - self._occurred_at = None - self._output_uri = None - self._error = None - self._output_data = None - self.discriminator = None - - if execution_id is not None: - self.execution_id = execution_id - if producer_id is not None: - self.producer_id = producer_id - if phase is not None: - self.phase = phase - if occurred_at is not None: - self.occurred_at = occurred_at - if output_uri is not None: - self.output_uri = output_uri - if error is not None: - self.error = error - if output_data is not None: - self.output_data = output_data - - @property - def execution_id(self): - """Gets the execution_id of this EventWorkflowExecutionEvent. # noqa: E501 - - - :return: The execution_id of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._execution_id - - @execution_id.setter - def execution_id(self, execution_id): - """Sets the execution_id of this EventWorkflowExecutionEvent. - - - :param execution_id: The execution_id of this EventWorkflowExecutionEvent. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._execution_id = execution_id - - @property - def producer_id(self): - """Gets the producer_id of this EventWorkflowExecutionEvent. # noqa: E501 - - - :return: The producer_id of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._producer_id - - @producer_id.setter - def producer_id(self, producer_id): - """Sets the producer_id of this EventWorkflowExecutionEvent. - - - :param producer_id: The producer_id of this EventWorkflowExecutionEvent. # noqa: E501 - :type: str - """ - - self._producer_id = producer_id - - @property - def phase(self): - """Gets the phase of this EventWorkflowExecutionEvent. # noqa: E501 - - - :return: The phase of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: CoreWorkflowExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this EventWorkflowExecutionEvent. - - - :param phase: The phase of this EventWorkflowExecutionEvent. # noqa: E501 - :type: CoreWorkflowExecutionPhase - """ - - self._phase = phase - - @property - def occurred_at(self): - """Gets the occurred_at of this EventWorkflowExecutionEvent. # noqa: E501 - - This timestamp represents when the original event occurred, it is generated by the executor of the workflow. # noqa: E501 - - :return: The occurred_at of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: datetime - """ - return self._occurred_at - - @occurred_at.setter - def occurred_at(self, occurred_at): - """Sets the occurred_at of this EventWorkflowExecutionEvent. - - This timestamp represents when the original event occurred, it is generated by the executor of the workflow. # noqa: E501 - - :param occurred_at: The occurred_at of this EventWorkflowExecutionEvent. # noqa: E501 - :type: datetime - """ - - self._occurred_at = occurred_at - - @property - def output_uri(self): - """Gets the output_uri of this EventWorkflowExecutionEvent. # noqa: E501 - - URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :return: The output_uri of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._output_uri - - @output_uri.setter - def output_uri(self, output_uri): - """Sets the output_uri of this EventWorkflowExecutionEvent. - - URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :param output_uri: The output_uri of this EventWorkflowExecutionEvent. # noqa: E501 - :type: str - """ - - self._output_uri = output_uri - - @property - def error(self): - """Gets the error of this EventWorkflowExecutionEvent. # noqa: E501 - - - :return: The error of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: CoreExecutionError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this EventWorkflowExecutionEvent. - - - :param error: The error of this EventWorkflowExecutionEvent. # noqa: E501 - :type: CoreExecutionError - """ - - self._error = error - - @property - def output_data(self): - """Gets the output_data of this EventWorkflowExecutionEvent. # noqa: E501 - - Raw output data produced by this workflow execution. # noqa: E501 - - :return: The output_data of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._output_data - - @output_data.setter - def output_data(self, output_data): - """Sets the output_data of this EventWorkflowExecutionEvent. - - Raw output data produced by this workflow execution. # noqa: E501 - - :param output_data: The output_data of this EventWorkflowExecutionEvent. # noqa: E501 - :type: CoreLiteralMap - """ - - self._output_data = output_data - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventWorkflowExecutionEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventWorkflowExecutionEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_error_error_kind.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_error_error_kind.py deleted file mode 100644 index 91504474a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_error_error_kind.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ExecutionErrorErrorKind(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNKNOWN = "UNKNOWN" - USER = "USER" - SYSTEM = "SYSTEM" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ExecutionErrorErrorKind - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ExecutionErrorErrorKind, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ExecutionErrorErrorKind): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_metadata_execution_mode.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_metadata_execution_mode.py deleted file mode 100644 index cca95359f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_metadata_execution_mode.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ExecutionMetadataExecutionMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - MANUAL = "MANUAL" - SCHEDULED = "SCHEDULED" - SYSTEM = "SYSTEM" - RELAUNCH = "RELAUNCH" - CHILD_WORKFLOW = "CHILD_WORKFLOW" - RECOVERED = "RECOVERED" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ExecutionMetadataExecutionMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ExecutionMetadataExecutionMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ExecutionMetadataExecutionMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py deleted file mode 100644 index 1f818ec38..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class FlyteidladminDynamicWorkflowNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'compiled_workflow': 'CoreCompiledWorkflowClosure' - } - - attribute_map = { - 'id': 'id', - 'compiled_workflow': 'compiled_workflow' - } - - def __init__(self, id=None, compiled_workflow=None): # noqa: E501 - """FlyteidladminDynamicWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._compiled_workflow = None - self.discriminator = None - - if id is not None: - self.id = id - if compiled_workflow is not None: - self.compiled_workflow = compiled_workflow - - @property - def id(self): - """Gets the id of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - - id represents the unique identifier of the workflow. # noqa: E501 - - :return: The id of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this FlyteidladminDynamicWorkflowNodeMetadata. - - id represents the unique identifier of the workflow. # noqa: E501 - - :param id: The id of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def compiled_workflow(self): - """Gets the compiled_workflow of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - - Represents the compiled representation of the embedded dynamic workflow. # noqa: E501 - - :return: The compiled_workflow of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - :rtype: CoreCompiledWorkflowClosure - """ - return self._compiled_workflow - - @compiled_workflow.setter - def compiled_workflow(self, compiled_workflow): - """Sets the compiled_workflow of this FlyteidladminDynamicWorkflowNodeMetadata. - - Represents the compiled representation of the embedded dynamic workflow. # noqa: E501 - - :param compiled_workflow: The compiled_workflow of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - :type: CoreCompiledWorkflowClosure - """ - - self._compiled_workflow = compiled_workflow - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidladminDynamicWorkflowNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidladminDynamicWorkflowNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_node_execution.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_node_execution.py deleted file mode 100644 index f1c1d0cb7..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_node_execution.py +++ /dev/null @@ -1,203 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_node_execution_closure import AdminNodeExecutionClosure # noqa: F401,E501 -from flyteadmin.models.admin_node_execution_meta_data import AdminNodeExecutionMetaData # noqa: F401,E501 -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 - - -class FlyteidladminNodeExecution(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreNodeExecutionIdentifier', - 'input_uri': 'str', - 'closure': 'AdminNodeExecutionClosure', - 'metadata': 'AdminNodeExecutionMetaData' - } - - attribute_map = { - 'id': 'id', - 'input_uri': 'input_uri', - 'closure': 'closure', - 'metadata': 'metadata' - } - - def __init__(self, id=None, input_uri=None, closure=None, metadata=None): # noqa: E501 - """FlyteidladminNodeExecution - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._input_uri = None - self._closure = None - self._metadata = None - self.discriminator = None - - if id is not None: - self.id = id - if input_uri is not None: - self.input_uri = input_uri - if closure is not None: - self.closure = closure - if metadata is not None: - self.metadata = metadata - - @property - def id(self): - """Gets the id of this FlyteidladminNodeExecution. # noqa: E501 - - Uniquely identifies an individual node execution. # noqa: E501 - - :return: The id of this FlyteidladminNodeExecution. # noqa: E501 - :rtype: CoreNodeExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this FlyteidladminNodeExecution. - - Uniquely identifies an individual node execution. # noqa: E501 - - :param id: The id of this FlyteidladminNodeExecution. # noqa: E501 - :type: CoreNodeExecutionIdentifier - """ - - self._id = id - - @property - def input_uri(self): - """Gets the input_uri of this FlyteidladminNodeExecution. # noqa: E501 - - Path to remote data store where input blob is stored. # noqa: E501 - - :return: The input_uri of this FlyteidladminNodeExecution. # noqa: E501 - :rtype: str - """ - return self._input_uri - - @input_uri.setter - def input_uri(self, input_uri): - """Sets the input_uri of this FlyteidladminNodeExecution. - - Path to remote data store where input blob is stored. # noqa: E501 - - :param input_uri: The input_uri of this FlyteidladminNodeExecution. # noqa: E501 - :type: str - """ - - self._input_uri = input_uri - - @property - def closure(self): - """Gets the closure of this FlyteidladminNodeExecution. # noqa: E501 - - Computed results associated with this node execution. # noqa: E501 - - :return: The closure of this FlyteidladminNodeExecution. # noqa: E501 - :rtype: AdminNodeExecutionClosure - """ - return self._closure - - @closure.setter - def closure(self, closure): - """Sets the closure of this FlyteidladminNodeExecution. - - Computed results associated with this node execution. # noqa: E501 - - :param closure: The closure of this FlyteidladminNodeExecution. # noqa: E501 - :type: AdminNodeExecutionClosure - """ - - self._closure = closure - - @property - def metadata(self): - """Gets the metadata of this FlyteidladminNodeExecution. # noqa: E501 - - - :return: The metadata of this FlyteidladminNodeExecution. # noqa: E501 - :rtype: AdminNodeExecutionMetaData - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this FlyteidladminNodeExecution. - - - :param metadata: The metadata of this FlyteidladminNodeExecution. # noqa: E501 - :type: AdminNodeExecutionMetaData - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidladminNodeExecution, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidladminNodeExecution): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_execution.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_execution.py deleted file mode 100644 index bbb30485c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_execution.py +++ /dev/null @@ -1,204 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure # noqa: F401,E501 -from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: F401,E501 - - -class FlyteidladminTaskExecution(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreTaskExecutionIdentifier', - 'input_uri': 'str', - 'closure': 'AdminTaskExecutionClosure', - 'is_parent': 'bool' - } - - attribute_map = { - 'id': 'id', - 'input_uri': 'input_uri', - 'closure': 'closure', - 'is_parent': 'is_parent' - } - - def __init__(self, id=None, input_uri=None, closure=None, is_parent=None): # noqa: E501 - """FlyteidladminTaskExecution - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._input_uri = None - self._closure = None - self._is_parent = None - self.discriminator = None - - if id is not None: - self.id = id - if input_uri is not None: - self.input_uri = input_uri - if closure is not None: - self.closure = closure - if is_parent is not None: - self.is_parent = is_parent - - @property - def id(self): - """Gets the id of this FlyteidladminTaskExecution. # noqa: E501 - - Unique identifier for the task execution. # noqa: E501 - - :return: The id of this FlyteidladminTaskExecution. # noqa: E501 - :rtype: CoreTaskExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this FlyteidladminTaskExecution. - - Unique identifier for the task execution. # noqa: E501 - - :param id: The id of this FlyteidladminTaskExecution. # noqa: E501 - :type: CoreTaskExecutionIdentifier - """ - - self._id = id - - @property - def input_uri(self): - """Gets the input_uri of this FlyteidladminTaskExecution. # noqa: E501 - - Path to remote data store where input blob is stored. # noqa: E501 - - :return: The input_uri of this FlyteidladminTaskExecution. # noqa: E501 - :rtype: str - """ - return self._input_uri - - @input_uri.setter - def input_uri(self, input_uri): - """Sets the input_uri of this FlyteidladminTaskExecution. - - Path to remote data store where input blob is stored. # noqa: E501 - - :param input_uri: The input_uri of this FlyteidladminTaskExecution. # noqa: E501 - :type: str - """ - - self._input_uri = input_uri - - @property - def closure(self): - """Gets the closure of this FlyteidladminTaskExecution. # noqa: E501 - - Task execution details and results. # noqa: E501 - - :return: The closure of this FlyteidladminTaskExecution. # noqa: E501 - :rtype: AdminTaskExecutionClosure - """ - return self._closure - - @closure.setter - def closure(self, closure): - """Sets the closure of this FlyteidladminTaskExecution. - - Task execution details and results. # noqa: E501 - - :param closure: The closure of this FlyteidladminTaskExecution. # noqa: E501 - :type: AdminTaskExecutionClosure - """ - - self._closure = closure - - @property - def is_parent(self): - """Gets the is_parent of this FlyteidladminTaskExecution. # noqa: E501 - - Whether this task spawned nodes. # noqa: E501 - - :return: The is_parent of this FlyteidladminTaskExecution. # noqa: E501 - :rtype: bool - """ - return self._is_parent - - @is_parent.setter - def is_parent(self, is_parent): - """Sets the is_parent of this FlyteidladminTaskExecution. - - Whether this task spawned nodes. # noqa: E501 - - :param is_parent: The is_parent of this FlyteidladminTaskExecution. # noqa: E501 - :type: bool - """ - - self._is_parent = is_parent - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidladminTaskExecution, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidladminTaskExecution): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_node_metadata.py deleted file mode 100644 index 6741b8a03..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_node_metadata.py +++ /dev/null @@ -1,146 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus # noqa: F401,E501 -from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata # noqa: F401,E501 - - -class FlyteidladminTaskNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cache_status': 'CoreCatalogCacheStatus', - 'catalog_key': 'CoreCatalogMetadata' - } - - attribute_map = { - 'cache_status': 'cache_status', - 'catalog_key': 'catalog_key' - } - - def __init__(self, cache_status=None, catalog_key=None): # noqa: E501 - """FlyteidladminTaskNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._cache_status = None - self._catalog_key = None - self.discriminator = None - - if cache_status is not None: - self.cache_status = cache_status - if catalog_key is not None: - self.catalog_key = catalog_key - - @property - def cache_status(self): - """Gets the cache_status of this FlyteidladminTaskNodeMetadata. # noqa: E501 - - Captures the status of caching for this execution. # noqa: E501 - - :return: The cache_status of this FlyteidladminTaskNodeMetadata. # noqa: E501 - :rtype: CoreCatalogCacheStatus - """ - return self._cache_status - - @cache_status.setter - def cache_status(self, cache_status): - """Sets the cache_status of this FlyteidladminTaskNodeMetadata. - - Captures the status of caching for this execution. # noqa: E501 - - :param cache_status: The cache_status of this FlyteidladminTaskNodeMetadata. # noqa: E501 - :type: CoreCatalogCacheStatus - """ - - self._cache_status = cache_status - - @property - def catalog_key(self): - """Gets the catalog_key of this FlyteidladminTaskNodeMetadata. # noqa: E501 - - - :return: The catalog_key of this FlyteidladminTaskNodeMetadata. # noqa: E501 - :rtype: CoreCatalogMetadata - """ - return self._catalog_key - - @catalog_key.setter - def catalog_key(self, catalog_key): - """Sets the catalog_key of this FlyteidladminTaskNodeMetadata. - - - :param catalog_key: The catalog_key of this FlyteidladminTaskNodeMetadata. # noqa: E501 - :type: CoreCatalogMetadata - """ - - self._catalog_key = catalog_key - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidladminTaskNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidladminTaskNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_workflow_node_metadata.py deleted file mode 100644 index fccdeee5b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_workflow_node_metadata.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class FlyteidladminWorkflowNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'execution_id': 'CoreWorkflowExecutionIdentifier' - } - - attribute_map = { - 'execution_id': 'executionId' - } - - def __init__(self, execution_id=None): # noqa: E501 - """FlyteidladminWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._execution_id = None - self.discriminator = None - - if execution_id is not None: - self.execution_id = execution_id - - @property - def execution_id(self): - """Gets the execution_id of this FlyteidladminWorkflowNodeMetadata. # noqa: E501 - - The identifier for a workflow execution launched by a node. # noqa: E501 - - :return: The execution_id of this FlyteidladminWorkflowNodeMetadata. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._execution_id - - @execution_id.setter - def execution_id(self, execution_id): - """Sets the execution_id of this FlyteidladminWorkflowNodeMetadata. - - The identifier for a workflow execution launched by a node. # noqa: E501 - - :param execution_id: The execution_id of this FlyteidladminWorkflowNodeMetadata. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._execution_id = execution_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidladminWorkflowNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidladminWorkflowNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlcore_schema.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlcore_schema.py deleted file mode 100644 index 3d81400bf..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlcore_schema.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_schema_type import CoreSchemaType # noqa: F401,E501 - - -class FlyteidlcoreSchema(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'uri': 'str', - 'type': 'CoreSchemaType' - } - - attribute_map = { - 'uri': 'uri', - 'type': 'type' - } - - def __init__(self, uri=None, type=None): # noqa: E501 - """FlyteidlcoreSchema - a model defined in Swagger""" # noqa: E501 - - self._uri = None - self._type = None - self.discriminator = None - - if uri is not None: - self.uri = uri - if type is not None: - self.type = type - - @property - def uri(self): - """Gets the uri of this FlyteidlcoreSchema. # noqa: E501 - - - :return: The uri of this FlyteidlcoreSchema. # noqa: E501 - :rtype: str - """ - return self._uri - - @uri.setter - def uri(self, uri): - """Sets the uri of this FlyteidlcoreSchema. - - - :param uri: The uri of this FlyteidlcoreSchema. # noqa: E501 - :type: str - """ - - self._uri = uri - - @property - def type(self): - """Gets the type of this FlyteidlcoreSchema. # noqa: E501 - - - :return: The type of this FlyteidlcoreSchema. # noqa: E501 - :rtype: CoreSchemaType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this FlyteidlcoreSchema. - - - :param type: The type of this FlyteidlcoreSchema. # noqa: E501 - :type: CoreSchemaType - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidlcoreSchema, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidlcoreSchema): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py deleted file mode 100644 index 01ecc587d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class FlyteidleventDynamicWorkflowNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'compiled_workflow': 'CoreCompiledWorkflowClosure' - } - - attribute_map = { - 'id': 'id', - 'compiled_workflow': 'compiled_workflow' - } - - def __init__(self, id=None, compiled_workflow=None): # noqa: E501 - """FlyteidleventDynamicWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._compiled_workflow = None - self.discriminator = None - - if id is not None: - self.id = id - if compiled_workflow is not None: - self.compiled_workflow = compiled_workflow - - @property - def id(self): - """Gets the id of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - - id represents the unique identifier of the workflow. # noqa: E501 - - :return: The id of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this FlyteidleventDynamicWorkflowNodeMetadata. - - id represents the unique identifier of the workflow. # noqa: E501 - - :param id: The id of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def compiled_workflow(self): - """Gets the compiled_workflow of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - - Represents the compiled representation of the embedded dynamic workflow. # noqa: E501 - - :return: The compiled_workflow of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - :rtype: CoreCompiledWorkflowClosure - """ - return self._compiled_workflow - - @compiled_workflow.setter - def compiled_workflow(self, compiled_workflow): - """Sets the compiled_workflow of this FlyteidleventDynamicWorkflowNodeMetadata. - - Represents the compiled representation of the embedded dynamic workflow. # noqa: E501 - - :param compiled_workflow: The compiled_workflow of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - :type: CoreCompiledWorkflowClosure - """ - - self._compiled_workflow = compiled_workflow - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidleventDynamicWorkflowNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidleventDynamicWorkflowNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_node_metadata.py deleted file mode 100644 index 85bd28156..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_node_metadata.py +++ /dev/null @@ -1,204 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus # noqa: F401,E501 -from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus # noqa: F401,E501 -from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata # noqa: F401,E501 -from flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata import FlyteidleventDynamicWorkflowNodeMetadata # noqa: F401,E501 - - -class FlyteidleventTaskNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cache_status': 'CoreCatalogCacheStatus', - 'catalog_key': 'CoreCatalogMetadata', - 'reservation_status': 'CatalogReservationStatus', - 'dynamic_workflow': 'FlyteidleventDynamicWorkflowNodeMetadata' - } - - attribute_map = { - 'cache_status': 'cache_status', - 'catalog_key': 'catalog_key', - 'reservation_status': 'reservation_status', - 'dynamic_workflow': 'dynamic_workflow' - } - - def __init__(self, cache_status=None, catalog_key=None, reservation_status=None, dynamic_workflow=None): # noqa: E501 - """FlyteidleventTaskNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._cache_status = None - self._catalog_key = None - self._reservation_status = None - self._dynamic_workflow = None - self.discriminator = None - - if cache_status is not None: - self.cache_status = cache_status - if catalog_key is not None: - self.catalog_key = catalog_key - if reservation_status is not None: - self.reservation_status = reservation_status - if dynamic_workflow is not None: - self.dynamic_workflow = dynamic_workflow - - @property - def cache_status(self): - """Gets the cache_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 - - Captures the status of caching for this execution. # noqa: E501 - - :return: The cache_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :rtype: CoreCatalogCacheStatus - """ - return self._cache_status - - @cache_status.setter - def cache_status(self, cache_status): - """Sets the cache_status of this FlyteidleventTaskNodeMetadata. - - Captures the status of caching for this execution. # noqa: E501 - - :param cache_status: The cache_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :type: CoreCatalogCacheStatus - """ - - self._cache_status = cache_status - - @property - def catalog_key(self): - """Gets the catalog_key of this FlyteidleventTaskNodeMetadata. # noqa: E501 - - - :return: The catalog_key of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :rtype: CoreCatalogMetadata - """ - return self._catalog_key - - @catalog_key.setter - def catalog_key(self, catalog_key): - """Sets the catalog_key of this FlyteidleventTaskNodeMetadata. - - - :param catalog_key: The catalog_key of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :type: CoreCatalogMetadata - """ - - self._catalog_key = catalog_key - - @property - def reservation_status(self): - """Gets the reservation_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 - - Captures the status of cache reservations for this execution. # noqa: E501 - - :return: The reservation_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :rtype: CatalogReservationStatus - """ - return self._reservation_status - - @reservation_status.setter - def reservation_status(self, reservation_status): - """Sets the reservation_status of this FlyteidleventTaskNodeMetadata. - - Captures the status of cache reservations for this execution. # noqa: E501 - - :param reservation_status: The reservation_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :type: CatalogReservationStatus - """ - - self._reservation_status = reservation_status - - @property - def dynamic_workflow(self): - """Gets the dynamic_workflow of this FlyteidleventTaskNodeMetadata. # noqa: E501 - - In the case this task launched a dynamic workflow we capture its structure here. # noqa: E501 - - :return: The dynamic_workflow of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :rtype: FlyteidleventDynamicWorkflowNodeMetadata - """ - return self._dynamic_workflow - - @dynamic_workflow.setter - def dynamic_workflow(self, dynamic_workflow): - """Sets the dynamic_workflow of this FlyteidleventTaskNodeMetadata. - - In the case this task launched a dynamic workflow we capture its structure here. # noqa: E501 - - :param dynamic_workflow: The dynamic_workflow of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :type: FlyteidleventDynamicWorkflowNodeMetadata - """ - - self._dynamic_workflow = dynamic_workflow - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidleventTaskNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidleventTaskNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_workflow_node_metadata.py deleted file mode 100644 index 0492d7c68..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_workflow_node_metadata.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class FlyteidleventWorkflowNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'execution_id': 'CoreWorkflowExecutionIdentifier' - } - - attribute_map = { - 'execution_id': 'execution_id' - } - - def __init__(self, execution_id=None): # noqa: E501 - """FlyteidleventWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._execution_id = None - self.discriminator = None - - if execution_id is not None: - self.execution_id = execution_id - - @property - def execution_id(self): - """Gets the execution_id of this FlyteidleventWorkflowNodeMetadata. # noqa: E501 - - - :return: The execution_id of this FlyteidleventWorkflowNodeMetadata. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._execution_id - - @execution_id.setter - def execution_id(self, execution_id): - """Sets the execution_id of this FlyteidleventWorkflowNodeMetadata. - - - :param execution_id: The execution_id of this FlyteidleventWorkflowNodeMetadata. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._execution_id = execution_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidleventWorkflowNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidleventWorkflowNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_download_mode.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_download_mode.py deleted file mode 100644 index 6210f026e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_download_mode.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class IOStrategyDownloadMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DOWNLOAD_EAGER = "DOWNLOAD_EAGER" - DOWNLOAD_STREAM = "DOWNLOAD_STREAM" - DO_NOT_DOWNLOAD = "DO_NOT_DOWNLOAD" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """IOStrategyDownloadMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(IOStrategyDownloadMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, IOStrategyDownloadMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_upload_mode.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_upload_mode.py deleted file mode 100644 index 95cfe6e35..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_upload_mode.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class IOStrategyUploadMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UPLOAD_ON_EXIT = "UPLOAD_ON_EXIT" - UPLOAD_EAGER = "UPLOAD_EAGER" - DO_NOT_UPLOAD = "DO_NOT_UPLOAD" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """IOStrategyUploadMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(IOStrategyUploadMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, IOStrategyUploadMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/plugin_override_missing_plugin_behavior.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/plugin_override_missing_plugin_behavior.py deleted file mode 100644 index cccdae26b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/plugin_override_missing_plugin_behavior.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class PluginOverrideMissingPluginBehavior(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - FAIL = "FAIL" - USE_DEFAULT = "USE_DEFAULT" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PluginOverrideMissingPluginBehavior - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(PluginOverrideMissingPluginBehavior, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, PluginOverrideMissingPluginBehavior): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/project_project_state.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/project_project_state.py deleted file mode 100644 index e13402598..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/project_project_state.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ProjectProjectState(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ACTIVE = "ACTIVE" - ARCHIVED = "ARCHIVED" - SYSTEM_GENERATED = "SYSTEM_GENERATED" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ProjectProjectState - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ProjectProjectState, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ProjectProjectState): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_list_value.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_list_value.py deleted file mode 100644 index 2d75531ff..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_list_value.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.protobuf_value import ProtobufValue # noqa: F401,E501 - - -class ProtobufListValue(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'values': 'list[ProtobufValue]' - } - - attribute_map = { - 'values': 'values' - } - - def __init__(self, values=None): # noqa: E501 - """ProtobufListValue - a model defined in Swagger""" # noqa: E501 - - self._values = None - self.discriminator = None - - if values is not None: - self.values = values - - @property - def values(self): - """Gets the values of this ProtobufListValue. # noqa: E501 - - Repeated field of dynamically typed values. # noqa: E501 - - :return: The values of this ProtobufListValue. # noqa: E501 - :rtype: list[ProtobufValue] - """ - return self._values - - @values.setter - def values(self, values): - """Sets the values of this ProtobufListValue. - - Repeated field of dynamically typed values. # noqa: E501 - - :param values: The values of this ProtobufListValue. # noqa: E501 - :type: list[ProtobufValue] - """ - - self._values = values - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ProtobufListValue, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ProtobufListValue): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_null_value.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_null_value.py deleted file mode 100644 index 87d63153d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_null_value.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ProtobufNullValue(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - NULL_VALUE = "NULL_VALUE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ProtobufNullValue - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ProtobufNullValue, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ProtobufNullValue): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_struct.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_struct.py deleted file mode 100644 index ff81a5b69..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_struct.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.protobuf_value import ProtobufValue # noqa: F401,E501 - - -class ProtobufStruct(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'fields': 'dict(str, ProtobufValue)' - } - - attribute_map = { - 'fields': 'fields' - } - - def __init__(self, fields=None): # noqa: E501 - """ProtobufStruct - a model defined in Swagger""" # noqa: E501 - - self._fields = None - self.discriminator = None - - if fields is not None: - self.fields = fields - - @property - def fields(self): - """Gets the fields of this ProtobufStruct. # noqa: E501 - - Unordered map of dynamically typed values. # noqa: E501 - - :return: The fields of this ProtobufStruct. # noqa: E501 - :rtype: dict(str, ProtobufValue) - """ - return self._fields - - @fields.setter - def fields(self, fields): - """Sets the fields of this ProtobufStruct. - - Unordered map of dynamically typed values. # noqa: E501 - - :param fields: The fields of this ProtobufStruct. # noqa: E501 - :type: dict(str, ProtobufValue) - """ - - self._fields = fields - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ProtobufStruct, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ProtobufStruct): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_value.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_value.py deleted file mode 100644 index 8e2dc6fda..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_value.py +++ /dev/null @@ -1,261 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.protobuf_list_value import ProtobufListValue # noqa: F401,E501 -from flyteadmin.models.protobuf_null_value import ProtobufNullValue # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class ProtobufValue(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'null_value': 'ProtobufNullValue', - 'number_value': 'float', - 'string_value': 'str', - 'bool_value': 'bool', - 'struct_value': 'ProtobufStruct', - 'list_value': 'ProtobufListValue' - } - - attribute_map = { - 'null_value': 'null_value', - 'number_value': 'number_value', - 'string_value': 'string_value', - 'bool_value': 'bool_value', - 'struct_value': 'struct_value', - 'list_value': 'list_value' - } - - def __init__(self, null_value=None, number_value=None, string_value=None, bool_value=None, struct_value=None, list_value=None): # noqa: E501 - """ProtobufValue - a model defined in Swagger""" # noqa: E501 - - self._null_value = None - self._number_value = None - self._string_value = None - self._bool_value = None - self._struct_value = None - self._list_value = None - self.discriminator = None - - if null_value is not None: - self.null_value = null_value - if number_value is not None: - self.number_value = number_value - if string_value is not None: - self.string_value = string_value - if bool_value is not None: - self.bool_value = bool_value - if struct_value is not None: - self.struct_value = struct_value - if list_value is not None: - self.list_value = list_value - - @property - def null_value(self): - """Gets the null_value of this ProtobufValue. # noqa: E501 - - Represents a null value. # noqa: E501 - - :return: The null_value of this ProtobufValue. # noqa: E501 - :rtype: ProtobufNullValue - """ - return self._null_value - - @null_value.setter - def null_value(self, null_value): - """Sets the null_value of this ProtobufValue. - - Represents a null value. # noqa: E501 - - :param null_value: The null_value of this ProtobufValue. # noqa: E501 - :type: ProtobufNullValue - """ - - self._null_value = null_value - - @property - def number_value(self): - """Gets the number_value of this ProtobufValue. # noqa: E501 - - Represents a double value. # noqa: E501 - - :return: The number_value of this ProtobufValue. # noqa: E501 - :rtype: float - """ - return self._number_value - - @number_value.setter - def number_value(self, number_value): - """Sets the number_value of this ProtobufValue. - - Represents a double value. # noqa: E501 - - :param number_value: The number_value of this ProtobufValue. # noqa: E501 - :type: float - """ - - self._number_value = number_value - - @property - def string_value(self): - """Gets the string_value of this ProtobufValue. # noqa: E501 - - Represents a string value. # noqa: E501 - - :return: The string_value of this ProtobufValue. # noqa: E501 - :rtype: str - """ - return self._string_value - - @string_value.setter - def string_value(self, string_value): - """Sets the string_value of this ProtobufValue. - - Represents a string value. # noqa: E501 - - :param string_value: The string_value of this ProtobufValue. # noqa: E501 - :type: str - """ - - self._string_value = string_value - - @property - def bool_value(self): - """Gets the bool_value of this ProtobufValue. # noqa: E501 - - Represents a boolean value. # noqa: E501 - - :return: The bool_value of this ProtobufValue. # noqa: E501 - :rtype: bool - """ - return self._bool_value - - @bool_value.setter - def bool_value(self, bool_value): - """Sets the bool_value of this ProtobufValue. - - Represents a boolean value. # noqa: E501 - - :param bool_value: The bool_value of this ProtobufValue. # noqa: E501 - :type: bool - """ - - self._bool_value = bool_value - - @property - def struct_value(self): - """Gets the struct_value of this ProtobufValue. # noqa: E501 - - Represents a structured value. # noqa: E501 - - :return: The struct_value of this ProtobufValue. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._struct_value - - @struct_value.setter - def struct_value(self, struct_value): - """Sets the struct_value of this ProtobufValue. - - Represents a structured value. # noqa: E501 - - :param struct_value: The struct_value of this ProtobufValue. # noqa: E501 - :type: ProtobufStruct - """ - - self._struct_value = struct_value - - @property - def list_value(self): - """Gets the list_value of this ProtobufValue. # noqa: E501 - - Represents a repeated `Value`. # noqa: E501 - - :return: The list_value of this ProtobufValue. # noqa: E501 - :rtype: ProtobufListValue - """ - return self._list_value - - @list_value.setter - def list_value(self, list_value): - """Sets the list_value of this ProtobufValue. - - Represents a repeated `Value`. # noqa: E501 - - :param list_value: The list_value of this ProtobufValue. # noqa: E501 - :type: ProtobufListValue - """ - - self._list_value = list_value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ProtobufValue, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ProtobufValue): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/quality_of_service_tier.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/quality_of_service_tier.py deleted file mode 100644 index 9b8a45f84..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/quality_of_service_tier.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class QualityOfServiceTier(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNDEFINED = "UNDEFINED" - HIGH = "HIGH" - MEDIUM = "MEDIUM" - LOW = "LOW" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """QualityOfServiceTier - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(QualityOfServiceTier, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, QualityOfServiceTier): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_entry.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_entry.py deleted file mode 100644 index 481c772ca..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_entry.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.resources_resource_name import ResourcesResourceName # noqa: F401,E501 - - -class ResourcesResourceEntry(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'ResourcesResourceName', - 'value': 'str' - } - - attribute_map = { - 'name': 'name', - 'value': 'value' - } - - def __init__(self, name=None, value=None): # noqa: E501 - """ResourcesResourceEntry - a model defined in Swagger""" # noqa: E501 - - self._name = None - self._value = None - self.discriminator = None - - if name is not None: - self.name = name - if value is not None: - self.value = value - - @property - def name(self): - """Gets the name of this ResourcesResourceEntry. # noqa: E501 - - Resource name. # noqa: E501 - - :return: The name of this ResourcesResourceEntry. # noqa: E501 - :rtype: ResourcesResourceName - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this ResourcesResourceEntry. - - Resource name. # noqa: E501 - - :param name: The name of this ResourcesResourceEntry. # noqa: E501 - :type: ResourcesResourceName - """ - - self._name = name - - @property - def value(self): - """Gets the value of this ResourcesResourceEntry. # noqa: E501 - - - :return: The value of this ResourcesResourceEntry. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this ResourcesResourceEntry. - - - :param value: The value of this ResourcesResourceEntry. # noqa: E501 - :type: str - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ResourcesResourceEntry, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ResourcesResourceEntry): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_name.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_name.py deleted file mode 100644 index eea896d3d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_name.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ResourcesResourceName(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNKNOWN = "UNKNOWN" - CPU = "CPU" - GPU = "GPU" - MEMORY = "MEMORY" - STORAGE = "STORAGE" - EPHEMERAL_STORAGE = "EPHEMERAL_STORAGE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ResourcesResourceName - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ResourcesResourceName, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ResourcesResourceName): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/runtime_metadata_runtime_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/runtime_metadata_runtime_type.py deleted file mode 100644 index f49edcf0e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/runtime_metadata_runtime_type.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class RuntimeMetadataRuntimeType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - OTHER = "OTHER" - FLYTE_SDK = "FLYTE_SDK" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """RuntimeMetadataRuntimeType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(RuntimeMetadataRuntimeType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, RuntimeMetadataRuntimeType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_column_schema_column_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_column_schema_column_type.py deleted file mode 100644 index 895d2439b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_column_schema_column_type.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class SchemaColumnSchemaColumnType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - INTEGER = "INTEGER" - FLOAT = "FLOAT" - STRING = "STRING" - BOOLEAN = "BOOLEAN" - DATETIME = "DATETIME" - DURATION = "DURATION" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SchemaColumnSchemaColumnType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(SchemaColumnSchemaColumnType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SchemaColumnSchemaColumnType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_type_schema_column.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_type_schema_column.py deleted file mode 100644 index b200eef8f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_type_schema_column.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.schema_column_schema_column_type import SchemaColumnSchemaColumnType # noqa: F401,E501 - - -class SchemaTypeSchemaColumn(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str', - 'type': 'SchemaColumnSchemaColumnType' - } - - attribute_map = { - 'name': 'name', - 'type': 'type' - } - - def __init__(self, name=None, type=None): # noqa: E501 - """SchemaTypeSchemaColumn - a model defined in Swagger""" # noqa: E501 - - self._name = None - self._type = None - self.discriminator = None - - if name is not None: - self.name = name - if type is not None: - self.type = type - - @property - def name(self): - """Gets the name of this SchemaTypeSchemaColumn. # noqa: E501 - - - :return: The name of this SchemaTypeSchemaColumn. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this SchemaTypeSchemaColumn. - - - :param name: The name of this SchemaTypeSchemaColumn. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def type(self): - """Gets the type of this SchemaTypeSchemaColumn. # noqa: E501 - - The column type. This allows a limited set of types currently. # noqa: E501 - - :return: The type of this SchemaTypeSchemaColumn. # noqa: E501 - :rtype: SchemaColumnSchemaColumnType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this SchemaTypeSchemaColumn. - - The column type. This allows a limited set of types currently. # noqa: E501 - - :param type: The type of this SchemaTypeSchemaColumn. # noqa: E501 - :type: SchemaColumnSchemaColumnType - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(SchemaTypeSchemaColumn, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SchemaTypeSchemaColumn): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/secret_mount_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/secret_mount_type.py deleted file mode 100644 index 2331d3ba2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/secret_mount_type.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class SecretMountType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ANY = "ANY" - ENV_VAR = "ENV_VAR" - FILE = "FILE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SecretMountType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(SecretMountType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SecretMountType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sort_direction.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sort_direction.py deleted file mode 100644 index f9e955e81..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sort_direction.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class SortDirection(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DESCENDING = "DESCENDING" - ASCENDING = "ASCENDING" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SortDirection - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(SortDirection, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SortDirection): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sql_dialect.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sql_dialect.py deleted file mode 100644 index 00a361f1b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sql_dialect.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class SqlDialect(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNDEFINED = "UNDEFINED" - ANSI = "ANSI" - HIVE = "HIVE" - OTHER = "OTHER" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SqlDialect - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(SqlDialect, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SqlDialect): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/structured_dataset_type_dataset_column.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/structured_dataset_type_dataset_column.py deleted file mode 100644 index 0092cebcb..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/structured_dataset_type_dataset_column.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 - - -class StructuredDatasetTypeDatasetColumn(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str', - 'literal_type': 'CoreLiteralType' - } - - attribute_map = { - 'name': 'name', - 'literal_type': 'literal_type' - } - - def __init__(self, name=None, literal_type=None): # noqa: E501 - """StructuredDatasetTypeDatasetColumn - a model defined in Swagger""" # noqa: E501 - - self._name = None - self._literal_type = None - self.discriminator = None - - if name is not None: - self.name = name - if literal_type is not None: - self.literal_type = literal_type - - @property - def name(self): - """Gets the name of this StructuredDatasetTypeDatasetColumn. # noqa: E501 - - A unique name within the schema type for the column. # noqa: E501 - - :return: The name of this StructuredDatasetTypeDatasetColumn. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this StructuredDatasetTypeDatasetColumn. - - A unique name within the schema type for the column. # noqa: E501 - - :param name: The name of this StructuredDatasetTypeDatasetColumn. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def literal_type(self): - """Gets the literal_type of this StructuredDatasetTypeDatasetColumn. # noqa: E501 - - The column type. # noqa: E501 - - :return: The literal_type of this StructuredDatasetTypeDatasetColumn. # noqa: E501 - :rtype: CoreLiteralType - """ - return self._literal_type - - @literal_type.setter - def literal_type(self, literal_type): - """Sets the literal_type of this StructuredDatasetTypeDatasetColumn. - - The column type. # noqa: E501 - - :param literal_type: The literal_type of this StructuredDatasetTypeDatasetColumn. # noqa: E501 - :type: CoreLiteralType - """ - - self._literal_type = literal_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(StructuredDatasetTypeDatasetColumn, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, StructuredDatasetTypeDatasetColumn): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_execution_metadata_instance_class.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_execution_metadata_instance_class.py deleted file mode 100644 index c0bd3b336..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_execution_metadata_instance_class.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class TaskExecutionMetadataInstanceClass(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DEFAULT = "DEFAULT" - INTERRUPTIBLE = "INTERRUPTIBLE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """TaskExecutionMetadataInstanceClass - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(TaskExecutionMetadataInstanceClass, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, TaskExecutionMetadataInstanceClass): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_log_message_format.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_log_message_format.py deleted file mode 100644 index 258d22742..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_log_message_format.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class TaskLogMessageFormat(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNKNOWN = "UNKNOWN" - CSV = "CSV" - JSON = "JSON" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """TaskLogMessageFormat - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(TaskLogMessageFormat, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, TaskLogMessageFormat): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/workflow_metadata_on_failure_policy.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/workflow_metadata_on_failure_policy.py deleted file mode 100644 index e0cffe7a9..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/workflow_metadata_on_failure_policy.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class WorkflowMetadataOnFailurePolicy(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - IMMEDIATELY = "FAIL_IMMEDIATELY" - AFTER_EXECUTABLE_NODES_COMPLETE = "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """WorkflowMetadataOnFailurePolicy - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(WorkflowMetadataOnFailurePolicy, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, WorkflowMetadataOnFailurePolicy): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/rest.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/rest.py deleted file mode 100644 index 885a2be8a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/rest.py +++ /dev/null @@ -1,323 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import io -import json -import logging -import re -import ssl - -import certifi -# python 2 and python 3 compatibility library -import six -from six.moves.urllib.parse import urlencode - -try: - import urllib3 -except ImportError: - raise ImportError('Swagger python client requires urllib3.') - - -logger = logging.getLogger(__name__) - - -class RESTResponse(io.IOBase): - - def __init__(self, resp): - self.urllib3_response = resp - self.status = resp.status - self.reason = resp.reason - self.data = resp.data - - def getheaders(self): - """Returns a dictionary of the response headers.""" - return self.urllib3_response.getheaders() - - def getheader(self, name, default=None): - """Returns a given response header.""" - return self.urllib3_response.getheader(name, default) - - -class RESTClientObject(object): - - def __init__(self, configuration, pools_size=4, maxsize=None): - # urllib3.PoolManager will pass all kw parameters to connectionpool - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501 - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501 - # maxsize is the number of requests to host that are allowed in parallel # noqa: E501 - # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501 - - # cert_reqs - if configuration.verify_ssl: - cert_reqs = ssl.CERT_REQUIRED - else: - cert_reqs = ssl.CERT_NONE - - # ca_certs - if configuration.ssl_ca_cert: - ca_certs = configuration.ssl_ca_cert - else: - # if not set certificate file, use Mozilla's root certificates. - ca_certs = certifi.where() - - addition_pool_args = {} - if configuration.assert_hostname is not None: - addition_pool_args['assert_hostname'] = configuration.assert_hostname # noqa: E501 - - if maxsize is None: - if configuration.connection_pool_maxsize is not None: - maxsize = configuration.connection_pool_maxsize - else: - maxsize = 4 - - # https pool manager - if configuration.proxy: - self.pool_manager = urllib3.ProxyManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=ca_certs, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - proxy_url=configuration.proxy, - **addition_pool_args - ) - else: - self.pool_manager = urllib3.PoolManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=ca_certs, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - **addition_pool_args - ) - - def request(self, method, url, query_params=None, headers=None, - body=None, post_params=None, _preload_content=True, - _request_timeout=None): - """Perform requests. - - :param method: http request method - :param url: http request url - :param query_params: query parameters in the url - :param headers: http request headers - :param body: request json body, for `application/json` - :param post_params: request post parameters, - `application/x-www-form-urlencoded` - and `multipart/form-data` - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - """ - method = method.upper() - assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT', - 'PATCH', 'OPTIONS'] - - if post_params and body: - raise ValueError( - "body parameter cannot be used with post_params parameter." - ) - - post_params = post_params or {} - headers = headers or {} - - timeout = None - if _request_timeout: - if isinstance(_request_timeout, (int, ) if six.PY3 else (int, long)): # noqa: E501,F821 - timeout = urllib3.Timeout(total=_request_timeout) - elif (isinstance(_request_timeout, tuple) and - len(_request_timeout) == 2): - timeout = urllib3.Timeout( - connect=_request_timeout[0], read=_request_timeout[1]) - - if 'Content-Type' not in headers: - headers['Content-Type'] = 'application/json' - - try: - # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE` - if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']: - if query_params: - url += '?' + urlencode(query_params) - if re.search('json', headers['Content-Type'], re.IGNORECASE): - request_body = None - if body is not None: - request_body = json.dumps(body) - r = self.pool_manager.request( - method, url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501 - r = self.pool_manager.request( - method, url, - fields=post_params, - encode_multipart=False, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - elif headers['Content-Type'] == 'multipart/form-data': - # must del headers['Content-Type'], or the correct - # Content-Type which generated by urllib3 will be - # overwritten. - del headers['Content-Type'] - r = self.pool_manager.request( - method, url, - fields=post_params, - encode_multipart=True, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - # Pass a `string` parameter directly in the body to support - # other content types than Json when `body` argument is - # provided in serialized form - elif isinstance(body, str): - request_body = body - r = self.pool_manager.request( - method, url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - else: - # Cannot generate the request from given parameters - msg = """Cannot prepare a request message for provided - arguments. Please check that your arguments match - declared content type.""" - raise ApiException(status=0, reason=msg) - # For `GET`, `HEAD` - else: - r = self.pool_manager.request(method, url, - fields=query_params, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - except urllib3.exceptions.SSLError as e: - msg = "{0}\n{1}".format(type(e).__name__, str(e)) - raise ApiException(status=0, reason=msg) - - if _preload_content: - r = RESTResponse(r) - - # In the python 3, the response.data is bytes. - # we need to decode it to string. - if six.PY3: - r.data = r.data.decode('utf8') - - # log response body - logger.debug("response body: %s", r.data) - - if not 200 <= r.status <= 299: - raise ApiException(http_resp=r) - - return r - - def GET(self, url, headers=None, query_params=None, _preload_content=True, - _request_timeout=None): - return self.request("GET", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params) - - def HEAD(self, url, headers=None, query_params=None, _preload_content=True, - _request_timeout=None): - return self.request("HEAD", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params) - - def OPTIONS(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("OPTIONS", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def DELETE(self, url, headers=None, query_params=None, body=None, - _preload_content=True, _request_timeout=None): - return self.request("DELETE", url, - headers=headers, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def POST(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("POST", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def PUT(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("PUT", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def PATCH(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("PATCH", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - -class ApiException(Exception): - - def __init__(self, status=None, reason=None, http_resp=None): - if http_resp: - self.status = http_resp.status - self.reason = http_resp.reason - self.body = http_resp.data - self.headers = http_resp.getheaders() - else: - self.status = status - self.reason = reason - self.body = None - self.headers = None - - def __str__(self): - """Custom error messages for exception""" - error_message = "({0})\n"\ - "Reason: {1}\n".format(self.status, self.reason) - if self.headers: - error_message += "HTTP response headers: {0}\n".format( - self.headers) - - if self.body: - error_message += "HTTP response body: {0}\n".format(self.body) - - return error_message diff --git a/gen/pb_python/flyteidl/service/flyteadmin/git_push.sh b/gen/pb_python/flyteidl/service/flyteadmin/git_push.sh deleted file mode 100644 index ae01b182a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/git_push.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=`git remote` -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' - diff --git a/gen/pb_python/flyteidl/service/flyteadmin/requirements.txt b/gen/pb_python/flyteidl/service/flyteadmin/requirements.txt deleted file mode 100644 index bafdc0753..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -certifi >= 14.05.14 -six >= 1.10 -python_dateutil >= 2.5.3 -setuptools >= 21.0.0 -urllib3 >= 1.15.1 diff --git a/gen/pb_python/flyteidl/service/flyteadmin/setup.py b/gen/pb_python/flyteidl/service/flyteadmin/setup.py deleted file mode 100644 index ba03cf529..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/setup.py +++ /dev/null @@ -1,46 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from setuptools import setup, find_packages # noqa: H301 - -NAME = "flyteadmin" -VERSION = "1.0.0" -# To install the library, run the following -# -# python setup.py install -# -# prerequisite: setuptools -# http://pypi.python.org/pypi/setuptools - -REQUIRES = [ - "certifi>=2017.4.17", - "python-dateutil>=2.1", - "six>=1.10", - "urllib3>=1.23" -] - - -setup( - name=NAME, - version=VERSION, - description="flyteidl/service/admin.proto", - author_email="", - url="", - keywords=["Swagger", "flyteidl/service/admin.proto"], - install_requires=REQUIRES, - packages=find_packages(), - include_package_data=True, - long_description="""\ - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - """ -) diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test-requirements.txt b/gen/pb_python/flyteidl/service/flyteadmin/test-requirements.txt deleted file mode 100644 index 2702246c0..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test-requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -coverage>=4.0.3 -nose>=1.3.7 -pluggy>=0.3.1 -py>=1.4.31 -randomize>=0.13 diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/__init__.py b/gen/pb_python/flyteidl/service/flyteadmin/test/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_abort_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_abort_metadata.py deleted file mode 100644 index b617a7b7d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_abort_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminAbortMetadata(unittest.TestCase): - """AdminAbortMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminAbortMetadata(self): - """Test AdminAbortMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_abort_metadata.AdminAbortMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_annotations.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_annotations.py deleted file mode 100644 index 53f87816b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_annotations.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminAnnotations(unittest.TestCase): - """AdminAnnotations unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminAnnotations(self): - """Test AdminAnnotations""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_annotations.AdminAnnotations() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth.py deleted file mode 100644 index 142554708..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_auth import AdminAuth # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminAuth(unittest.TestCase): - """AdminAuth unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminAuth(self): - """Test AdminAuth""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_auth.AdminAuth() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth_role.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth_role.py deleted file mode 100644 index 3b91984c1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth_role.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_auth_role import AdminAuthRole # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminAuthRole(unittest.TestCase): - """AdminAuthRole unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminAuthRole(self): - """Test AdminAuthRole""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_auth_role.AdminAuthRole() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_assignment.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_assignment.py deleted file mode 100644 index 1762f31b7..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_assignment.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminClusterAssignment(unittest.TestCase): - """AdminClusterAssignment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminClusterAssignment(self): - """Test AdminClusterAssignment""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_cluster_assignment.AdminClusterAssignment() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py deleted file mode 100644 index ab1e51e9c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminClusterResourceAttributes(unittest.TestCase): - """AdminClusterResourceAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminClusterResourceAttributes(self): - """Test AdminClusterResourceAttributes""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_cluster_resource_attributes.AdminClusterResourceAttributes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cron_schedule.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cron_schedule.py deleted file mode 100644 index f423f248d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cron_schedule.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_cron_schedule import AdminCronSchedule # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminCronSchedule(unittest.TestCase): - """AdminCronSchedule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminCronSchedule(self): - """Test AdminCronSchedule""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_cron_schedule.AdminCronSchedule() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_domain.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_domain.py deleted file mode 100644 index 8c53f0171..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_domain.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_domain import AdminDomain # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminDomain(unittest.TestCase): - """AdminDomain unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminDomain(self): - """Test AdminDomain""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_domain.AdminDomain() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_email_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_email_notification.py deleted file mode 100644 index f39df1233..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_email_notification.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_email_notification import AdminEmailNotification # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminEmailNotification(unittest.TestCase): - """AdminEmailNotification unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminEmailNotification(self): - """Test AdminEmailNotification""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_email_notification.AdminEmailNotification() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution.py deleted file mode 100644 index 8da444e5e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution import AdminExecution # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecution(unittest.TestCase): - """AdminExecution unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecution(self): - """Test AdminExecution""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution.AdminExecution() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_closure.py deleted file mode 100644 index af1d7119c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_closure import AdminExecutionClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionClosure(unittest.TestCase): - """AdminExecutionClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionClosure(self): - """Test AdminExecutionClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_closure.AdminExecutionClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_cluster_label.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_cluster_label.py deleted file mode 100644 index 325f951e1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_cluster_label.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionClusterLabel(unittest.TestCase): - """AdminExecutionClusterLabel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionClusterLabel(self): - """Test AdminExecutionClusterLabel""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_cluster_label.AdminExecutionClusterLabel() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_request.py deleted file mode 100644 index 45a0026e3..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_create_request import AdminExecutionCreateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionCreateRequest(unittest.TestCase): - """AdminExecutionCreateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionCreateRequest(self): - """Test AdminExecutionCreateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_create_request.AdminExecutionCreateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_response.py deleted file mode 100644 index d3f053704..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_create_response import AdminExecutionCreateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionCreateResponse(unittest.TestCase): - """AdminExecutionCreateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionCreateResponse(self): - """Test AdminExecutionCreateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_create_response.AdminExecutionCreateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_list.py deleted file mode 100644 index 7387280ca..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_list import AdminExecutionList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionList(unittest.TestCase): - """AdminExecutionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionList(self): - """Test AdminExecutionList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_list.AdminExecutionList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_metadata.py deleted file mode 100644 index c4f9c6656..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionMetadata(unittest.TestCase): - """AdminExecutionMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionMetadata(self): - """Test AdminExecutionMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_metadata.AdminExecutionMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py deleted file mode 100644 index f84572c38..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionQueueAttributes(unittest.TestCase): - """AdminExecutionQueueAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionQueueAttributes(self): - """Test AdminExecutionQueueAttributes""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_queue_attributes.AdminExecutionQueueAttributes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_recover_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_recover_request.py deleted file mode 100644 index 8bdff0915..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_recover_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_recover_request import AdminExecutionRecoverRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionRecoverRequest(unittest.TestCase): - """AdminExecutionRecoverRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionRecoverRequest(self): - """Test AdminExecutionRecoverRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_recover_request.AdminExecutionRecoverRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_relaunch_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_relaunch_request.py deleted file mode 100644 index 170c8149c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_relaunch_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_relaunch_request import AdminExecutionRelaunchRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionRelaunchRequest(unittest.TestCase): - """AdminExecutionRelaunchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionRelaunchRequest(self): - """Test AdminExecutionRelaunchRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_relaunch_request.AdminExecutionRelaunchRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_spec.py deleted file mode 100644 index 1a0d62cfe..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_spec.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_spec import AdminExecutionSpec # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionSpec(unittest.TestCase): - """AdminExecutionSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionSpec(self): - """Test AdminExecutionSpec""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_spec.AdminExecutionSpec() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state.py deleted file mode 100644 index 6df975e3c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_state import AdminExecutionState # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionState(unittest.TestCase): - """AdminExecutionState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionState(self): - """Test AdminExecutionState""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_state.AdminExecutionState() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state_change_details.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state_change_details.py deleted file mode 100644 index 1a116ff73..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state_change_details.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_state_change_details import AdminExecutionStateChangeDetails # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionStateChangeDetails(unittest.TestCase): - """AdminExecutionStateChangeDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionStateChangeDetails(self): - """Test AdminExecutionStateChangeDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_state_change_details.AdminExecutionStateChangeDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_request.py deleted file mode 100644 index 5233d9f6d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_terminate_request import AdminExecutionTerminateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionTerminateRequest(unittest.TestCase): - """AdminExecutionTerminateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionTerminateRequest(self): - """Test AdminExecutionTerminateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_terminate_request.AdminExecutionTerminateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_response.py deleted file mode 100644 index 939b551e6..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_terminate_response import AdminExecutionTerminateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionTerminateResponse(unittest.TestCase): - """AdminExecutionTerminateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionTerminateResponse(self): - """Test AdminExecutionTerminateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_terminate_response.AdminExecutionTerminateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_request.py deleted file mode 100644 index 320cba4fe..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_update_request import AdminExecutionUpdateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionUpdateRequest(unittest.TestCase): - """AdminExecutionUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionUpdateRequest(self): - """Test AdminExecutionUpdateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_update_request.AdminExecutionUpdateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_response.py deleted file mode 100644 index 955420f04..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_update_response import AdminExecutionUpdateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionUpdateResponse(unittest.TestCase): - """AdminExecutionUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionUpdateResponse(self): - """Test AdminExecutionUpdateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_update_response.AdminExecutionUpdateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate.py deleted file mode 100644 index 555821236..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_fixed_rate import AdminFixedRate # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminFixedRate(unittest.TestCase): - """AdminFixedRate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminFixedRate(self): - """Test AdminFixedRate""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_fixed_rate.AdminFixedRate() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate_unit.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate_unit.py deleted file mode 100644 index a30eec545..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate_unit.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminFixedRateUnit(unittest.TestCase): - """AdminFixedRateUnit unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminFixedRateUnit(self): - """Test AdminFixedRateUnit""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_fixed_rate_unit.AdminFixedRateUnit() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_get_version_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_get_version_response.py deleted file mode 100644 index 930d65711..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_get_version_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_get_version_response import AdminGetVersionResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminGetVersionResponse(unittest.TestCase): - """AdminGetVersionResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminGetVersionResponse(self): - """Test AdminGetVersionResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_get_version_response.AdminGetVersionResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_labels.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_labels.py deleted file mode 100644 index 32733ca58..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_labels.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_labels import AdminLabels # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLabels(unittest.TestCase): - """AdminLabels unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLabels(self): - """Test AdminLabels""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_labels.AdminLabels() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan.py deleted file mode 100644 index ef28673e2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan import AdminLaunchPlan # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlan(unittest.TestCase): - """AdminLaunchPlan unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlan(self): - """Test AdminLaunchPlan""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan.AdminLaunchPlan() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_closure.py deleted file mode 100644 index e23aadda1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_closure import AdminLaunchPlanClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanClosure(unittest.TestCase): - """AdminLaunchPlanClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanClosure(self): - """Test AdminLaunchPlanClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_closure.AdminLaunchPlanClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_request.py deleted file mode 100644 index 95aa42532..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_create_request import AdminLaunchPlanCreateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanCreateRequest(unittest.TestCase): - """AdminLaunchPlanCreateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanCreateRequest(self): - """Test AdminLaunchPlanCreateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_create_request.AdminLaunchPlanCreateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_response.py deleted file mode 100644 index 2c855a1d6..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_create_response import AdminLaunchPlanCreateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanCreateResponse(unittest.TestCase): - """AdminLaunchPlanCreateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanCreateResponse(self): - """Test AdminLaunchPlanCreateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_create_response.AdminLaunchPlanCreateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_list.py deleted file mode 100644 index 61a9d149f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_list import AdminLaunchPlanList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanList(unittest.TestCase): - """AdminLaunchPlanList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanList(self): - """Test AdminLaunchPlanList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_list.AdminLaunchPlanList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_metadata.py deleted file mode 100644 index 2fa217de1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_metadata import AdminLaunchPlanMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanMetadata(unittest.TestCase): - """AdminLaunchPlanMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanMetadata(self): - """Test AdminLaunchPlanMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_metadata.AdminLaunchPlanMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_spec.py deleted file mode 100644 index 9c18b3d2f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_spec.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanSpec(unittest.TestCase): - """AdminLaunchPlanSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanSpec(self): - """Test AdminLaunchPlanSpec""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_spec.AdminLaunchPlanSpec() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_state.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_state.py deleted file mode 100644 index 565c35330..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_state.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanState(unittest.TestCase): - """AdminLaunchPlanState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanState(self): - """Test AdminLaunchPlanState""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_state.AdminLaunchPlanState() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_request.py deleted file mode 100644 index 4423d250d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_update_request import AdminLaunchPlanUpdateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanUpdateRequest(unittest.TestCase): - """AdminLaunchPlanUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanUpdateRequest(self): - """Test AdminLaunchPlanUpdateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_update_request.AdminLaunchPlanUpdateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_response.py deleted file mode 100644 index 16f59ce1d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_update_response import AdminLaunchPlanUpdateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanUpdateResponse(unittest.TestCase): - """AdminLaunchPlanUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanUpdateResponse(self): - """Test AdminLaunchPlanUpdateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_update_response.AdminLaunchPlanUpdateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_list_matchable_attributes_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_list_matchable_attributes_response.py deleted file mode 100644 index a7f0ded96..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_list_matchable_attributes_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_list_matchable_attributes_response import AdminListMatchableAttributesResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminListMatchableAttributesResponse(unittest.TestCase): - """AdminListMatchableAttributesResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminListMatchableAttributesResponse(self): - """Test AdminListMatchableAttributesResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_list_matchable_attributes_response.AdminListMatchableAttributesResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_literal_map_blob.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_literal_map_blob.py deleted file mode 100644 index e0cb1dd8a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_literal_map_blob.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLiteralMapBlob(unittest.TestCase): - """AdminLiteralMapBlob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLiteralMapBlob(self): - """Test AdminLiteralMapBlob""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_literal_map_blob.AdminLiteralMapBlob() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_attributes_configuration.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_attributes_configuration.py deleted file mode 100644 index 4c26d2103..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_attributes_configuration.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_matchable_attributes_configuration import AdminMatchableAttributesConfiguration # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminMatchableAttributesConfiguration(unittest.TestCase): - """AdminMatchableAttributesConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminMatchableAttributesConfiguration(self): - """Test AdminMatchableAttributesConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_matchable_attributes_configuration.AdminMatchableAttributesConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_resource.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_resource.py deleted file mode 100644 index c20e671fc..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_resource.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_matchable_resource import AdminMatchableResource # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminMatchableResource(unittest.TestCase): - """AdminMatchableResource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminMatchableResource(self): - """Test AdminMatchableResource""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_matchable_resource.AdminMatchableResource() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py deleted file mode 100644 index 1614512f8..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminMatchingAttributes(unittest.TestCase): - """AdminMatchingAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminMatchingAttributes(self): - """Test AdminMatchingAttributes""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_matching_attributes.AdminMatchingAttributes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity.py deleted file mode 100644 index 06702eed0..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity import AdminNamedEntity # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntity(unittest.TestCase): - """AdminNamedEntity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntity(self): - """Test AdminNamedEntity""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity.AdminNamedEntity() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier.py deleted file mode 100644 index 6d376e75e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityIdentifier(unittest.TestCase): - """AdminNamedEntityIdentifier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityIdentifier(self): - """Test AdminNamedEntityIdentifier""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_identifier.AdminNamedEntityIdentifier() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier_list.py deleted file mode 100644 index b93b1d432..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_identifier_list import AdminNamedEntityIdentifierList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityIdentifierList(unittest.TestCase): - """AdminNamedEntityIdentifierList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityIdentifierList(self): - """Test AdminNamedEntityIdentifierList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_identifier_list.AdminNamedEntityIdentifierList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_list.py deleted file mode 100644 index 977750e8b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_list import AdminNamedEntityList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityList(unittest.TestCase): - """AdminNamedEntityList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityList(self): - """Test AdminNamedEntityList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_list.AdminNamedEntityList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_metadata.py deleted file mode 100644 index 07d29106a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityMetadata(unittest.TestCase): - """AdminNamedEntityMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityMetadata(self): - """Test AdminNamedEntityMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_metadata.AdminNamedEntityMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_state.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_state.py deleted file mode 100644 index 1bdc21796..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_state.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_state import AdminNamedEntityState # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityState(unittest.TestCase): - """AdminNamedEntityState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityState(self): - """Test AdminNamedEntityState""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_state.AdminNamedEntityState() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_request.py deleted file mode 100644 index 140bea29e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_update_request import AdminNamedEntityUpdateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityUpdateRequest(unittest.TestCase): - """AdminNamedEntityUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityUpdateRequest(self): - """Test AdminNamedEntityUpdateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_update_request.AdminNamedEntityUpdateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_response.py deleted file mode 100644 index 48fec8e19..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_update_response import AdminNamedEntityUpdateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityUpdateResponse(unittest.TestCase): - """AdminNamedEntityUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityUpdateResponse(self): - """Test AdminNamedEntityUpdateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_update_response.AdminNamedEntityUpdateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_closure.py deleted file mode 100644 index 1cb387243..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_node_execution_closure import AdminNodeExecutionClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNodeExecutionClosure(unittest.TestCase): - """AdminNodeExecutionClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNodeExecutionClosure(self): - """Test AdminNodeExecutionClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_node_execution_closure.AdminNodeExecutionClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_request.py deleted file mode 100644 index f9932fede..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_node_execution_event_request import AdminNodeExecutionEventRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNodeExecutionEventRequest(unittest.TestCase): - """AdminNodeExecutionEventRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNodeExecutionEventRequest(self): - """Test AdminNodeExecutionEventRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_node_execution_event_request.AdminNodeExecutionEventRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_response.py deleted file mode 100644 index 09e9f9460..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_node_execution_event_response import AdminNodeExecutionEventResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNodeExecutionEventResponse(unittest.TestCase): - """AdminNodeExecutionEventResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNodeExecutionEventResponse(self): - """Test AdminNodeExecutionEventResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_node_execution_event_response.AdminNodeExecutionEventResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_get_data_response.py deleted file mode 100644 index d84069a2c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_get_data_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_node_execution_get_data_response import AdminNodeExecutionGetDataResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNodeExecutionGetDataResponse(unittest.TestCase): - """AdminNodeExecutionGetDataResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNodeExecutionGetDataResponse(self): - """Test AdminNodeExecutionGetDataResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_node_execution_get_data_response.AdminNodeExecutionGetDataResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_list.py deleted file mode 100644 index ce996eb9a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_node_execution_list import AdminNodeExecutionList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNodeExecutionList(unittest.TestCase): - """AdminNodeExecutionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNodeExecutionList(self): - """Test AdminNodeExecutionList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_node_execution_list.AdminNodeExecutionList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_meta_data.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_meta_data.py deleted file mode 100644 index 94e08096e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_meta_data.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_node_execution_meta_data import AdminNodeExecutionMetaData # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNodeExecutionMetaData(unittest.TestCase): - """AdminNodeExecutionMetaData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNodeExecutionMetaData(self): - """Test AdminNodeExecutionMetaData""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_node_execution_meta_data.AdminNodeExecutionMetaData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification.py deleted file mode 100644 index 50123dee6..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_notification import AdminNotification # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNotification(unittest.TestCase): - """AdminNotification unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNotification(self): - """Test AdminNotification""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_notification.AdminNotification() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification_list.py deleted file mode 100644 index b80edebf4..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_notification_list import AdminNotificationList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNotificationList(unittest.TestCase): - """AdminNotificationList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNotificationList(self): - """Test AdminNotificationList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_notification_list.AdminNotificationList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_pager_duty_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_pager_duty_notification.py deleted file mode 100644 index 79062cc22..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_pager_duty_notification.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminPagerDutyNotification(unittest.TestCase): - """AdminPagerDutyNotification unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminPagerDutyNotification(self): - """Test AdminPagerDutyNotification""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_pager_duty_notification.AdminPagerDutyNotification() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_override.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_override.py deleted file mode 100644 index 8e0232a5e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_override.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_plugin_override import AdminPluginOverride # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminPluginOverride(unittest.TestCase): - """AdminPluginOverride unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminPluginOverride(self): - """Test AdminPluginOverride""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_plugin_override.AdminPluginOverride() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_overrides.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_overrides.py deleted file mode 100644 index f6b33d0d0..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_overrides.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_plugin_overrides import AdminPluginOverrides # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminPluginOverrides(unittest.TestCase): - """AdminPluginOverrides unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminPluginOverrides(self): - """Test AdminPluginOverrides""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_plugin_overrides.AdminPluginOverrides() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project.py deleted file mode 100644 index 94ec8dbda..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project import AdminProject # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProject(unittest.TestCase): - """AdminProject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProject(self): - """Test AdminProject""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project.AdminProject() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes.py deleted file mode 100644 index fe261ca67..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectDomainAttributes(unittest.TestCase): - """AdminProjectDomainAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectDomainAttributes(self): - """Test AdminProjectDomainAttributes""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_domain_attributes.AdminProjectDomainAttributes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_request.py deleted file mode 100644 index 2e87c3220..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_domain_attributes_delete_request import AdminProjectDomainAttributesDeleteRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectDomainAttributesDeleteRequest(unittest.TestCase): - """AdminProjectDomainAttributesDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectDomainAttributesDeleteRequest(self): - """Test AdminProjectDomainAttributesDeleteRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_domain_attributes_delete_request.AdminProjectDomainAttributesDeleteRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_response.py deleted file mode 100644 index dceb0a410..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_domain_attributes_delete_response import AdminProjectDomainAttributesDeleteResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectDomainAttributesDeleteResponse(unittest.TestCase): - """AdminProjectDomainAttributesDeleteResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectDomainAttributesDeleteResponse(self): - """Test AdminProjectDomainAttributesDeleteResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_domain_attributes_delete_response.AdminProjectDomainAttributesDeleteResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_get_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_get_response.py deleted file mode 100644 index c17b959a7..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_get_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_domain_attributes_get_response import AdminProjectDomainAttributesGetResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectDomainAttributesGetResponse(unittest.TestCase): - """AdminProjectDomainAttributesGetResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectDomainAttributesGetResponse(self): - """Test AdminProjectDomainAttributesGetResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_domain_attributes_get_response.AdminProjectDomainAttributesGetResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_request.py deleted file mode 100644 index 1d13f4505..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_domain_attributes_update_request import AdminProjectDomainAttributesUpdateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectDomainAttributesUpdateRequest(unittest.TestCase): - """AdminProjectDomainAttributesUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectDomainAttributesUpdateRequest(self): - """Test AdminProjectDomainAttributesUpdateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_domain_attributes_update_request.AdminProjectDomainAttributesUpdateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_response.py deleted file mode 100644 index 1381af95a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_domain_attributes_update_response import AdminProjectDomainAttributesUpdateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectDomainAttributesUpdateResponse(unittest.TestCase): - """AdminProjectDomainAttributesUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectDomainAttributesUpdateResponse(self): - """Test AdminProjectDomainAttributesUpdateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_domain_attributes_update_response.AdminProjectDomainAttributesUpdateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_request.py deleted file mode 100644 index 21a49c3f3..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_register_request import AdminProjectRegisterRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectRegisterRequest(unittest.TestCase): - """AdminProjectRegisterRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectRegisterRequest(self): - """Test AdminProjectRegisterRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_register_request.AdminProjectRegisterRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_response.py deleted file mode 100644 index 773ec50ef..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_register_response import AdminProjectRegisterResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectRegisterResponse(unittest.TestCase): - """AdminProjectRegisterResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectRegisterResponse(self): - """Test AdminProjectRegisterResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_register_response.AdminProjectRegisterResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_update_response.py deleted file mode 100644 index d3d3a31dc..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_update_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_update_response import AdminProjectUpdateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectUpdateResponse(unittest.TestCase): - """AdminProjectUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectUpdateResponse(self): - """Test AdminProjectUpdateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_update_response.AdminProjectUpdateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_projects.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_projects.py deleted file mode 100644 index 195a493cb..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_projects.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_projects import AdminProjects # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjects(unittest.TestCase): - """AdminProjects unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjects(self): - """Test AdminProjects""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_projects.AdminProjects() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_raw_output_data_config.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_raw_output_data_config.py deleted file mode 100644 index 1fc1b9a3b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_raw_output_data_config.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminRawOutputDataConfig(unittest.TestCase): - """AdminRawOutputDataConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminRawOutputDataConfig(self): - """Test AdminRawOutputDataConfig""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_raw_output_data_config.AdminRawOutputDataConfig() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_schedule.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_schedule.py deleted file mode 100644 index 78bd6c3fb..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_schedule.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_schedule import AdminSchedule # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminSchedule(unittest.TestCase): - """AdminSchedule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminSchedule(self): - """Test AdminSchedule""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_schedule.AdminSchedule() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py deleted file mode 100644 index 501d620a0..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py +++ /dev/null @@ -1,383 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.api.admin_service_api import AdminServiceApi # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminServiceApi(unittest.TestCase): - """AdminServiceApi unit test stubs""" - - def setUp(self): - self.api = flyteadmin.api.admin_service_api.AdminServiceApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_execution(self): - """Test case for create_execution - - Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - """ - pass - - def test_create_launch_plan(self): - """Test case for create_launch_plan - - Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition # noqa: E501 - """ - pass - - def test_create_node_event(self): - """Test case for create_node_event - - Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. # noqa: E501 - """ - pass - - def test_create_task(self): - """Test case for create_task - - Create and upload a :ref:`ref_flyteidl.admin.Task` definition # noqa: E501 - """ - pass - - def test_create_task_event(self): - """Test case for create_task_event - - Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. # noqa: E501 - """ - pass - - def test_create_workflow(self): - """Test case for create_workflow - - Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition # noqa: E501 - """ - pass - - def test_create_workflow_event(self): - """Test case for create_workflow_event - - Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. # noqa: E501 - """ - pass - - def test_delete_project_domain_attributes(self): - """Test case for delete_project_domain_attributes - - Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - """ - pass - - def test_delete_workflow_attributes(self): - """Test case for delete_workflow_attributes - - Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - """ - pass - - def test_get_active_launch_plan(self): - """Test case for get_active_launch_plan - - Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - """ - pass - - def test_get_execution(self): - """Test case for get_execution - - Fetches a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_get_execution_data(self): - """Test case for get_execution_data - - Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_get_launch_plan(self): - """Test case for get_launch_plan - - Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. # noqa: E501 - """ - pass - - def test_get_named_entity(self): - """Test case for get_named_entity - - Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - """ - pass - - def test_get_node_execution(self): - """Test case for get_node_execution - - Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - """ - pass - - def test_get_node_execution_data(self): - """Test case for get_node_execution_data - - Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - """ - pass - - def test_get_project_domain_attributes(self): - """Test case for get_project_domain_attributes - - Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - """ - pass - - def test_get_task(self): - """Test case for get_task - - Fetch a :ref:`ref_flyteidl.admin.Task` definition. # noqa: E501 - """ - pass - - def test_get_task_execution(self): - """Test case for get_task_execution - - Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - """ - pass - - def test_get_task_execution_data(self): - """Test case for get_task_execution_data - - Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - """ - pass - - def test_get_version(self): - """Test case for get_version - - """ - pass - - def test_get_workflow(self): - """Test case for get_workflow - - Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. # noqa: E501 - """ - pass - - def test_get_workflow_attributes(self): - """Test case for get_workflow_attributes - - Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - """ - pass - - def test_list_active_launch_plans(self): - """Test case for list_active_launch_plans - - List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - """ - pass - - def test_list_executions(self): - """Test case for list_executions - - Fetch a list of :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_list_launch_plan_ids(self): - """Test case for list_launch_plan_ids - - Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. # noqa: E501 - """ - pass - - def test_list_launch_plans(self): - """Test case for list_launch_plans - - Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - """ - pass - - def test_list_launch_plans2(self): - """Test case for list_launch_plans2 - - Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - """ - pass - - def test_list_matchable_attributes(self): - """Test case for list_matchable_attributes - - Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. # noqa: E501 - """ - pass - - def test_list_named_entities(self): - """Test case for list_named_entities - - Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. # noqa: E501 - """ - pass - - def test_list_node_executions(self): - """Test case for list_node_executions - - Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - """ - pass - - def test_list_node_executions_for_task(self): - """Test case for list_node_executions_for_task - - Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - """ - pass - - def test_list_projects(self): - """Test case for list_projects - - Fetches a list of :ref:`ref_flyteidl.admin.Project` # noqa: E501 - """ - pass - - def test_list_task_executions(self): - """Test case for list_task_executions - - Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - """ - pass - - def test_list_task_ids(self): - """Test case for list_task_ids - - Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. # noqa: E501 - """ - pass - - def test_list_tasks(self): - """Test case for list_tasks - - Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - """ - pass - - def test_list_tasks2(self): - """Test case for list_tasks2 - - Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - """ - pass - - def test_list_workflow_ids(self): - """Test case for list_workflow_ids - - Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. # noqa: E501 - """ - pass - - def test_list_workflows(self): - """Test case for list_workflows - - Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - """ - pass - - def test_list_workflows2(self): - """Test case for list_workflows2 - - Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - """ - pass - - def test_recover_execution(self): - """Test case for recover_execution - - Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. # noqa: E501 - """ - pass - - def test_register_project(self): - """Test case for register_project - - Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. # noqa: E501 - """ - pass - - def test_relaunch_execution(self): - """Test case for relaunch_execution - - Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - """ - pass - - def test_terminate_execution(self): - """Test case for terminate_execution - - Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_update_execution(self): - """Test case for update_execution - - Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_update_launch_plan(self): - """Test case for update_launch_plan - - Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - """ - pass - - def test_update_named_entity(self): - """Test case for update_named_entity - - Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - """ - pass - - def test_update_project(self): - """Test case for update_project - - Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. # noqa: E501 - """ - pass - - def test_update_project_domain_attributes(self): - """Test case for update_project_domain_attributes - - Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - """ - pass - - def test_update_workflow_attributes(self): - """Test case for update_workflow_attributes - - Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_slack_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_slack_notification.py deleted file mode 100644 index 606a20758..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_slack_notification.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_slack_notification import AdminSlackNotification # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminSlackNotification(unittest.TestCase): - """AdminSlackNotification unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminSlackNotification(self): - """Test AdminSlackNotification""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_slack_notification.AdminSlackNotification() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_sort.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_sort.py deleted file mode 100644 index e92f5cf94..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_sort.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_sort import AdminSort # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminSort(unittest.TestCase): - """AdminSort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminSort(self): - """Test AdminSort""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_sort.AdminSort() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_system_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_system_metadata.py deleted file mode 100644 index 0f81cd491..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_system_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_system_metadata import AdminSystemMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminSystemMetadata(unittest.TestCase): - """AdminSystemMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminSystemMetadata(self): - """Test AdminSystemMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_system_metadata.AdminSystemMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task.py deleted file mode 100644 index 6d7db7646..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task import AdminTask # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTask(unittest.TestCase): - """AdminTask unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTask(self): - """Test AdminTask""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task.AdminTask() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_closure.py deleted file mode 100644 index f9ea4c263..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_closure import AdminTaskClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskClosure(unittest.TestCase): - """AdminTaskClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskClosure(self): - """Test AdminTaskClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_closure.AdminTaskClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_request.py deleted file mode 100644 index e951b0247..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_create_request import AdminTaskCreateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskCreateRequest(unittest.TestCase): - """AdminTaskCreateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskCreateRequest(self): - """Test AdminTaskCreateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_create_request.AdminTaskCreateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_response.py deleted file mode 100644 index 63330c529..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_create_response import AdminTaskCreateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskCreateResponse(unittest.TestCase): - """AdminTaskCreateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskCreateResponse(self): - """Test AdminTaskCreateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_create_response.AdminTaskCreateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_closure.py deleted file mode 100644 index 182a6e9c3..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskExecutionClosure(unittest.TestCase): - """AdminTaskExecutionClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskExecutionClosure(self): - """Test AdminTaskExecutionClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_execution_closure.AdminTaskExecutionClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_request.py deleted file mode 100644 index 0c4208e35..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_execution_event_request import AdminTaskExecutionEventRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskExecutionEventRequest(unittest.TestCase): - """AdminTaskExecutionEventRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskExecutionEventRequest(self): - """Test AdminTaskExecutionEventRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_execution_event_request.AdminTaskExecutionEventRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_response.py deleted file mode 100644 index 8d0ed7621..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_execution_event_response import AdminTaskExecutionEventResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskExecutionEventResponse(unittest.TestCase): - """AdminTaskExecutionEventResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskExecutionEventResponse(self): - """Test AdminTaskExecutionEventResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_execution_event_response.AdminTaskExecutionEventResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_get_data_response.py deleted file mode 100644 index d8f7588c7..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_get_data_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_execution_get_data_response import AdminTaskExecutionGetDataResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskExecutionGetDataResponse(unittest.TestCase): - """AdminTaskExecutionGetDataResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskExecutionGetDataResponse(self): - """Test AdminTaskExecutionGetDataResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_execution_get_data_response.AdminTaskExecutionGetDataResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_list.py deleted file mode 100644 index d331a05ee..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_execution_list import AdminTaskExecutionList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskExecutionList(unittest.TestCase): - """AdminTaskExecutionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskExecutionList(self): - """Test AdminTaskExecutionList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_execution_list.AdminTaskExecutionList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_list.py deleted file mode 100644 index 8cc379d20..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_list import AdminTaskList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskList(unittest.TestCase): - """AdminTaskList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskList(self): - """Test AdminTaskList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_list.AdminTaskList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py deleted file mode 100644 index 718c67e3f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskResourceAttributes(unittest.TestCase): - """AdminTaskResourceAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskResourceAttributes(self): - """Test AdminTaskResourceAttributes""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_resource_attributes.AdminTaskResourceAttributes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py deleted file mode 100644 index 3f02df671..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskResourceSpec(unittest.TestCase): - """AdminTaskResourceSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskResourceSpec(self): - """Test AdminTaskResourceSpec""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_resource_spec.AdminTaskResourceSpec() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_spec.py deleted file mode 100644 index 1103ee928..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_spec.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_spec import AdminTaskSpec # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskSpec(unittest.TestCase): - """AdminTaskSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskSpec(self): - """Test AdminTaskSpec""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_spec.AdminTaskSpec() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_url_blob.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_url_blob.py deleted file mode 100644 index a990bf14d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_url_blob.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminUrlBlob(unittest.TestCase): - """AdminUrlBlob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminUrlBlob(self): - """Test AdminUrlBlob""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_url_blob.AdminUrlBlob() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_version.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_version.py deleted file mode 100644 index d89f6acf1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_version.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_version import AdminVersion # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminVersion(unittest.TestCase): - """AdminVersion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminVersion(self): - """Test AdminVersion""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_version.AdminVersion() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow.py deleted file mode 100644 index c6f05d6f6..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow import AdminWorkflow # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflow(unittest.TestCase): - """AdminWorkflow unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflow(self): - """Test AdminWorkflow""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow.AdminWorkflow() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py deleted file mode 100644 index 14d1a1708..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowAttributes(unittest.TestCase): - """AdminWorkflowAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowAttributes(self): - """Test AdminWorkflowAttributes""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_attributes.AdminWorkflowAttributes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_request.py deleted file mode 100644 index 1371760db..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_attributes_delete_request import AdminWorkflowAttributesDeleteRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowAttributesDeleteRequest(unittest.TestCase): - """AdminWorkflowAttributesDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowAttributesDeleteRequest(self): - """Test AdminWorkflowAttributesDeleteRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_attributes_delete_request.AdminWorkflowAttributesDeleteRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_response.py deleted file mode 100644 index 2fd486101..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_attributes_delete_response import AdminWorkflowAttributesDeleteResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowAttributesDeleteResponse(unittest.TestCase): - """AdminWorkflowAttributesDeleteResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowAttributesDeleteResponse(self): - """Test AdminWorkflowAttributesDeleteResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_attributes_delete_response.AdminWorkflowAttributesDeleteResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_get_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_get_response.py deleted file mode 100644 index 14eb77de4..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_get_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_attributes_get_response import AdminWorkflowAttributesGetResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowAttributesGetResponse(unittest.TestCase): - """AdminWorkflowAttributesGetResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowAttributesGetResponse(self): - """Test AdminWorkflowAttributesGetResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_attributes_get_response.AdminWorkflowAttributesGetResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py deleted file mode 100644 index ce0e546c2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_attributes_update_request import AdminWorkflowAttributesUpdateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowAttributesUpdateRequest(unittest.TestCase): - """AdminWorkflowAttributesUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowAttributesUpdateRequest(self): - """Test AdminWorkflowAttributesUpdateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_attributes_update_request.AdminWorkflowAttributesUpdateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py deleted file mode 100644 index 6e299cfeb..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_attributes_update_response import AdminWorkflowAttributesUpdateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowAttributesUpdateResponse(unittest.TestCase): - """AdminWorkflowAttributesUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowAttributesUpdateResponse(self): - """Test AdminWorkflowAttributesUpdateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_attributes_update_response.AdminWorkflowAttributesUpdateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_closure.py deleted file mode 100644 index 21e36219f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowClosure(unittest.TestCase): - """AdminWorkflowClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowClosure(self): - """Test AdminWorkflowClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_closure.AdminWorkflowClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_request.py deleted file mode 100644 index 891580dcb..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_create_request import AdminWorkflowCreateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowCreateRequest(unittest.TestCase): - """AdminWorkflowCreateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowCreateRequest(self): - """Test AdminWorkflowCreateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_create_request.AdminWorkflowCreateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_response.py deleted file mode 100644 index 0c0225f05..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_create_response import AdminWorkflowCreateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowCreateResponse(unittest.TestCase): - """AdminWorkflowCreateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowCreateResponse(self): - """Test AdminWorkflowCreateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_create_response.AdminWorkflowCreateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_config.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_config.py deleted file mode 100644 index 02ebdcb45..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_config.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_execution_config import AdminWorkflowExecutionConfig # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowExecutionConfig(unittest.TestCase): - """AdminWorkflowExecutionConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowExecutionConfig(self): - """Test AdminWorkflowExecutionConfig""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_execution_config.AdminWorkflowExecutionConfig() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_request.py deleted file mode 100644 index c7d3b3833..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_execution_event_request import AdminWorkflowExecutionEventRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowExecutionEventRequest(unittest.TestCase): - """AdminWorkflowExecutionEventRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowExecutionEventRequest(self): - """Test AdminWorkflowExecutionEventRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_execution_event_request.AdminWorkflowExecutionEventRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_response.py deleted file mode 100644 index 7341cc1a6..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_execution_event_response import AdminWorkflowExecutionEventResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowExecutionEventResponse(unittest.TestCase): - """AdminWorkflowExecutionEventResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowExecutionEventResponse(self): - """Test AdminWorkflowExecutionEventResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_execution_event_response.AdminWorkflowExecutionEventResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_data_response.py deleted file mode 100644 index 8223916f6..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_data_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_execution_get_data_response import AdminWorkflowExecutionGetDataResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowExecutionGetDataResponse(unittest.TestCase): - """AdminWorkflowExecutionGetDataResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowExecutionGetDataResponse(self): - """Test AdminWorkflowExecutionGetDataResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_execution_get_data_response.AdminWorkflowExecutionGetDataResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_list.py deleted file mode 100644 index 83162478f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_list import AdminWorkflowList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowList(unittest.TestCase): - """AdminWorkflowList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowList(self): - """Test AdminWorkflowList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_list.AdminWorkflowList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_spec.py deleted file mode 100644 index 1734a4f99..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_spec.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowSpec(unittest.TestCase): - """AdminWorkflowSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowSpec(self): - """Test AdminWorkflowSpec""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_spec.AdminWorkflowSpec() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_blob_type_blob_dimensionality.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_blob_type_blob_dimensionality.py deleted file mode 100644 index d20ddcca9..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_blob_type_blob_dimensionality.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestBlobTypeBlobDimensionality(unittest.TestCase): - """BlobTypeBlobDimensionality unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBlobTypeBlobDimensionality(self): - """Test BlobTypeBlobDimensionality""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.blob_type_blob_dimensionality.BlobTypeBlobDimensionality() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_catalog_reservation_status.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_catalog_reservation_status.py deleted file mode 100644 index 1e797b8aa..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_catalog_reservation_status.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCatalogReservationStatus(unittest.TestCase): - """CatalogReservationStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCatalogReservationStatus(self): - """Test CatalogReservationStatus""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.catalog_reservation_status.CatalogReservationStatus() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py deleted file mode 100644 index 577750bcb..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestComparisonExpressionOperator(unittest.TestCase): - """ComparisonExpressionOperator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testComparisonExpressionOperator(self): - """Test ComparisonExpressionOperator""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.comparison_expression_operator.ComparisonExpressionOperator() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_conjunction_expression_logical_operator.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_conjunction_expression_logical_operator.py deleted file mode 100644 index cb10dbf8a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_conjunction_expression_logical_operator.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestConjunctionExpressionLogicalOperator(unittest.TestCase): - """ConjunctionExpressionLogicalOperator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testConjunctionExpressionLogicalOperator(self): - """Test ConjunctionExpressionLogicalOperator""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.conjunction_expression_logical_operator.ConjunctionExpressionLogicalOperator() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_connection_set_id_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_connection_set_id_list.py deleted file mode 100644 index 8b32f6860..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_connection_set_id_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.connection_set_id_list import ConnectionSetIdList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestConnectionSetIdList(unittest.TestCase): - """ConnectionSetIdList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testConnectionSetIdList(self): - """Test ConnectionSetIdList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.connection_set_id_list.ConnectionSetIdList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_container_architecture.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_container_architecture.py deleted file mode 100644 index ab878f405..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_container_architecture.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.container_architecture import ContainerArchitecture # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestContainerArchitecture(unittest.TestCase): - """ContainerArchitecture unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testContainerArchitecture(self): - """Test ContainerArchitecture""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.container_architecture.ContainerArchitecture() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_alias.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_alias.py deleted file mode 100644 index e08d977e7..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_alias.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_alias import CoreAlias # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreAlias(unittest.TestCase): - """CoreAlias unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreAlias(self): - """Test CoreAlias""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_alias.CoreAlias() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binary.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binary.py deleted file mode 100644 index 939b79064..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binary.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_binary import CoreBinary # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBinary(unittest.TestCase): - """CoreBinary unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBinary(self): - """Test CoreBinary""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_binary.CoreBinary() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding.py deleted file mode 100644 index 3219ef538..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_binding import CoreBinding # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBinding(unittest.TestCase): - """CoreBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBinding(self): - """Test CoreBinding""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_binding.CoreBinding() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data.py deleted file mode 100644 index 77b747420..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_binding_data import CoreBindingData # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBindingData(unittest.TestCase): - """CoreBindingData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBindingData(self): - """Test CoreBindingData""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_binding_data.CoreBindingData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_collection.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_collection.py deleted file mode 100644 index 70d9c49bf..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_collection.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_binding_data_collection import CoreBindingDataCollection # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBindingDataCollection(unittest.TestCase): - """CoreBindingDataCollection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBindingDataCollection(self): - """Test CoreBindingDataCollection""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_binding_data_collection.CoreBindingDataCollection() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_map.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_map.py deleted file mode 100644 index 51ce1d0f1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_map.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_binding_data_map import CoreBindingDataMap # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBindingDataMap(unittest.TestCase): - """CoreBindingDataMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBindingDataMap(self): - """Test CoreBindingDataMap""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_binding_data_map.CoreBindingDataMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob.py deleted file mode 100644 index eccd729f9..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_blob import CoreBlob # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBlob(unittest.TestCase): - """CoreBlob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBlob(self): - """Test CoreBlob""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_blob.CoreBlob() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_metadata.py deleted file mode 100644 index c71578301..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_blob_metadata import CoreBlobMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBlobMetadata(unittest.TestCase): - """CoreBlobMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBlobMetadata(self): - """Test CoreBlobMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_blob_metadata.CoreBlobMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_type.py deleted file mode 100644 index fbfd0e531..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_blob_type import CoreBlobType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBlobType(unittest.TestCase): - """CoreBlobType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBlobType(self): - """Test CoreBlobType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_blob_type.CoreBlobType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_boolean_expression.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_boolean_expression.py deleted file mode 100644 index 8cc7da37b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_boolean_expression.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_boolean_expression import CoreBooleanExpression # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBooleanExpression(unittest.TestCase): - """CoreBooleanExpression unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBooleanExpression(self): - """Test CoreBooleanExpression""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_boolean_expression.CoreBooleanExpression() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_branch_node.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_branch_node.py deleted file mode 100644 index 229ef6e41..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_branch_node.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_branch_node import CoreBranchNode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBranchNode(unittest.TestCase): - """CoreBranchNode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBranchNode(self): - """Test CoreBranchNode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_branch_node.CoreBranchNode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_artifact_tag.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_artifact_tag.py deleted file mode 100644 index c97c55bbf..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_artifact_tag.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_catalog_artifact_tag import CoreCatalogArtifactTag # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreCatalogArtifactTag(unittest.TestCase): - """CoreCatalogArtifactTag unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreCatalogArtifactTag(self): - """Test CoreCatalogArtifactTag""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_catalog_artifact_tag.CoreCatalogArtifactTag() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_cache_status.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_cache_status.py deleted file mode 100644 index e478da889..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_cache_status.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreCatalogCacheStatus(unittest.TestCase): - """CoreCatalogCacheStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreCatalogCacheStatus(self): - """Test CoreCatalogCacheStatus""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_catalog_cache_status.CoreCatalogCacheStatus() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_metadata.py deleted file mode 100644 index 9bc47d8d6..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreCatalogMetadata(unittest.TestCase): - """CoreCatalogMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreCatalogMetadata(self): - """Test CoreCatalogMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_catalog_metadata.CoreCatalogMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression.py deleted file mode 100644 index 15bdc2da3..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_comparison_expression import CoreComparisonExpression # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreComparisonExpression(unittest.TestCase): - """CoreComparisonExpression unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreComparisonExpression(self): - """Test CoreComparisonExpression""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_comparison_expression.CoreComparisonExpression() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_task.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_task.py deleted file mode 100644 index 8823c3e14..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_task.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_compiled_task import CoreCompiledTask # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreCompiledTask(unittest.TestCase): - """CoreCompiledTask unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreCompiledTask(self): - """Test CoreCompiledTask""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_compiled_task.CoreCompiledTask() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow.py deleted file mode 100644 index f19d9cdab..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreCompiledWorkflow(unittest.TestCase): - """CoreCompiledWorkflow unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreCompiledWorkflow(self): - """Test CoreCompiledWorkflow""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_compiled_workflow.CoreCompiledWorkflow() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow_closure.py deleted file mode 100644 index 86de9922b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreCompiledWorkflowClosure(unittest.TestCase): - """CoreCompiledWorkflowClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreCompiledWorkflowClosure(self): - """Test CoreCompiledWorkflowClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_compiled_workflow_closure.CoreCompiledWorkflowClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_conjunction_expression.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_conjunction_expression.py deleted file mode 100644 index 1aa1a0d3b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_conjunction_expression.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_conjunction_expression import CoreConjunctionExpression # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreConjunctionExpression(unittest.TestCase): - """CoreConjunctionExpression unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreConjunctionExpression(self): - """Test CoreConjunctionExpression""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_conjunction_expression.CoreConjunctionExpression() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_connection_set.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_connection_set.py deleted file mode 100644 index 55039a322..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_connection_set.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_connection_set import CoreConnectionSet # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreConnectionSet(unittest.TestCase): - """CoreConnectionSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreConnectionSet(self): - """Test CoreConnectionSet""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_connection_set.CoreConnectionSet() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container.py deleted file mode 100644 index 0d067c6c4..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_container import CoreContainer # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreContainer(unittest.TestCase): - """CoreContainer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreContainer(self): - """Test CoreContainer""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_container.CoreContainer() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container_port.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container_port.py deleted file mode 100644 index df6d682e2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container_port.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_container_port import CoreContainerPort # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreContainerPort(unittest.TestCase): - """CoreContainerPort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreContainerPort(self): - """Test CoreContainerPort""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_container_port.CoreContainerPort() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_data_loading_config.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_data_loading_config.py deleted file mode 100644 index 3e66fb838..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_data_loading_config.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreDataLoadingConfig(unittest.TestCase): - """CoreDataLoadingConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreDataLoadingConfig(self): - """Test CoreDataLoadingConfig""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_data_loading_config.CoreDataLoadingConfig() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_enum_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_enum_type.py deleted file mode 100644 index f13f76b41..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_enum_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_enum_type import CoreEnumType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreEnumType(unittest.TestCase): - """CoreEnumType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreEnumType(self): - """Test CoreEnumType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_enum_type.CoreEnumType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_error.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_error.py deleted file mode 100644 index bf094e656..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_error.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_error import CoreError # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreError(unittest.TestCase): - """CoreError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreError(self): - """Test CoreError""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_error.CoreError() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_execution_error.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_execution_error.py deleted file mode 100644 index b802fdfc5..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_execution_error.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreExecutionError(unittest.TestCase): - """CoreExecutionError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreExecutionError(self): - """Test CoreExecutionError""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_execution_error.CoreExecutionError() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identifier.py deleted file mode 100644 index 67d59d762..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identifier.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreIdentifier(unittest.TestCase): - """CoreIdentifier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreIdentifier(self): - """Test CoreIdentifier""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_identifier.CoreIdentifier() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identity.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identity.py deleted file mode 100644 index cfcfa86b9..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identity.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_identity import CoreIdentity # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreIdentity(unittest.TestCase): - """CoreIdentity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreIdentity(self): - """Test CoreIdentity""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_identity.CoreIdentity() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_block.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_block.py deleted file mode 100644 index de10f6131..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_block.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_if_block import CoreIfBlock # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreIfBlock(unittest.TestCase): - """CoreIfBlock unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreIfBlock(self): - """Test CoreIfBlock""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_if_block.CoreIfBlock() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_else_block.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_else_block.py deleted file mode 100644 index c0807d2e5..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_else_block.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_if_else_block import CoreIfElseBlock # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreIfElseBlock(unittest.TestCase): - """CoreIfElseBlock unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreIfElseBlock(self): - """Test CoreIfElseBlock""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_if_else_block.CoreIfElseBlock() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_io_strategy.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_io_strategy.py deleted file mode 100644 index ce24dadfd..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_io_strategy.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_io_strategy import CoreIOStrategy # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreIOStrategy(unittest.TestCase): - """CoreIOStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreIOStrategy(self): - """Test CoreIOStrategy""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_io_strategy.CoreIOStrategy() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_object_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_object_metadata.py deleted file mode 100644 index 8659bc560..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_object_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreK8sObjectMetadata(unittest.TestCase): - """CoreK8sObjectMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreK8sObjectMetadata(self): - """Test CoreK8sObjectMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_k8s_object_metadata.CoreK8sObjectMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_pod.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_pod.py deleted file mode 100644 index d46253026..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_pod.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_k8s_pod import CoreK8sPod # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreK8sPod(unittest.TestCase): - """CoreK8sPod unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreK8sPod(self): - """Test CoreK8sPod""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_k8s_pod.CoreK8sPod() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_key_value_pair.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_key_value_pair.py deleted file mode 100644 index 9d8101b24..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_key_value_pair.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_key_value_pair import CoreKeyValuePair # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreKeyValuePair(unittest.TestCase): - """CoreKeyValuePair unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreKeyValuePair(self): - """Test CoreKeyValuePair""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_key_value_pair.CoreKeyValuePair() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal.py deleted file mode 100644 index 4340c97ec..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_literal import CoreLiteral # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreLiteral(unittest.TestCase): - """CoreLiteral unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreLiteral(self): - """Test CoreLiteral""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_literal.CoreLiteral() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_collection.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_collection.py deleted file mode 100644 index d365b0ae7..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_collection.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_literal_collection import CoreLiteralCollection # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreLiteralCollection(unittest.TestCase): - """CoreLiteralCollection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreLiteralCollection(self): - """Test CoreLiteralCollection""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_literal_collection.CoreLiteralCollection() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_map.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_map.py deleted file mode 100644 index d9e8d764e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_map.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreLiteralMap(unittest.TestCase): - """CoreLiteralMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreLiteralMap(self): - """Test CoreLiteralMap""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_literal_map.CoreLiteralMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_type.py deleted file mode 100644 index 82c222dfa..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreLiteralType(unittest.TestCase): - """CoreLiteralType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreLiteralType(self): - """Test CoreLiteralType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_literal_type.CoreLiteralType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node.py deleted file mode 100644 index 735b1e75e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_node import CoreNode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreNode(unittest.TestCase): - """CoreNode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreNode(self): - """Test CoreNode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_node.CoreNode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_identifier.py deleted file mode 100644 index 995b4a879..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_identifier.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreNodeExecutionIdentifier(unittest.TestCase): - """CoreNodeExecutionIdentifier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreNodeExecutionIdentifier(self): - """Test CoreNodeExecutionIdentifier""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_node_execution_identifier.CoreNodeExecutionIdentifier() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_phase.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_phase.py deleted file mode 100644 index b07efd43c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_phase.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreNodeExecutionPhase(unittest.TestCase): - """CoreNodeExecutionPhase unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreNodeExecutionPhase(self): - """Test CoreNodeExecutionPhase""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_node_execution_phase.CoreNodeExecutionPhase() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_metadata.py deleted file mode 100644 index 21511eeb1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_node_metadata import CoreNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreNodeMetadata(unittest.TestCase): - """CoreNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreNodeMetadata(self): - """Test CoreNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_node_metadata.CoreNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_client.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_client.py deleted file mode 100644 index dc0001bbd..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_client.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreOAuth2Client(unittest.TestCase): - """CoreOAuth2Client unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreOAuth2Client(self): - """Test CoreOAuth2Client""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_o_auth2_client.CoreOAuth2Client() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request.py deleted file mode 100644 index 492200f7f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_o_auth2_token_request import CoreOAuth2TokenRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreOAuth2TokenRequest(unittest.TestCase): - """CoreOAuth2TokenRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreOAuth2TokenRequest(self): - """Test CoreOAuth2TokenRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_o_auth2_token_request.CoreOAuth2TokenRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request_type.py deleted file mode 100644 index 87c81de60..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_o_auth2_token_request_type import CoreOAuth2TokenRequestType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreOAuth2TokenRequestType(unittest.TestCase): - """CoreOAuth2TokenRequestType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreOAuth2TokenRequestType(self): - """Test CoreOAuth2TokenRequestType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_o_auth2_token_request_type.CoreOAuth2TokenRequestType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_operand.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_operand.py deleted file mode 100644 index f160e48f3..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_operand.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_operand import CoreOperand # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreOperand(unittest.TestCase): - """CoreOperand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreOperand(self): - """Test CoreOperand""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_operand.CoreOperand() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_output_reference.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_output_reference.py deleted file mode 100644 index 8860a35b2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_output_reference.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_output_reference import CoreOutputReference # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreOutputReference(unittest.TestCase): - """CoreOutputReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreOutputReference(self): - """Test CoreOutputReference""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_output_reference.CoreOutputReference() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter.py deleted file mode 100644 index 6821a3978..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_parameter import CoreParameter # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreParameter(unittest.TestCase): - """CoreParameter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreParameter(self): - """Test CoreParameter""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_parameter.CoreParameter() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter_map.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter_map.py deleted file mode 100644 index 901cadf69..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter_map.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_parameter_map import CoreParameterMap # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreParameterMap(unittest.TestCase): - """CoreParameterMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreParameterMap(self): - """Test CoreParameterMap""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_parameter_map.CoreParameterMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_primitive.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_primitive.py deleted file mode 100644 index 3162d6897..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_primitive.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_primitive import CorePrimitive # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCorePrimitive(unittest.TestCase): - """CorePrimitive unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCorePrimitive(self): - """Test CorePrimitive""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_primitive.CorePrimitive() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service.py deleted file mode 100644 index 127aa3f11..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreQualityOfService(unittest.TestCase): - """CoreQualityOfService unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreQualityOfService(self): - """Test CoreQualityOfService""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_quality_of_service.CoreQualityOfService() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service_spec.py deleted file mode 100644 index 0a4234ebd..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service_spec.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_quality_of_service_spec import CoreQualityOfServiceSpec # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreQualityOfServiceSpec(unittest.TestCase): - """CoreQualityOfServiceSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreQualityOfServiceSpec(self): - """Test CoreQualityOfServiceSpec""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_quality_of_service_spec.CoreQualityOfServiceSpec() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resource_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resource_type.py deleted file mode 100644 index f69fbff10..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resource_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_resource_type import CoreResourceType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreResourceType(unittest.TestCase): - """CoreResourceType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreResourceType(self): - """Test CoreResourceType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_resource_type.CoreResourceType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resources.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resources.py deleted file mode 100644 index 144c2a03f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resources.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_resources import CoreResources # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreResources(unittest.TestCase): - """CoreResources unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreResources(self): - """Test CoreResources""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_resources.CoreResources() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_retry_strategy.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_retry_strategy.py deleted file mode 100644 index c64f4b370..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_retry_strategy.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_retry_strategy import CoreRetryStrategy # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreRetryStrategy(unittest.TestCase): - """CoreRetryStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreRetryStrategy(self): - """Test CoreRetryStrategy""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_retry_strategy.CoreRetryStrategy() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_runtime_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_runtime_metadata.py deleted file mode 100644 index 1db01a110..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_runtime_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_runtime_metadata import CoreRuntimeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreRuntimeMetadata(unittest.TestCase): - """CoreRuntimeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreRuntimeMetadata(self): - """Test CoreRuntimeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_runtime_metadata.CoreRuntimeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_scalar.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_scalar.py deleted file mode 100644 index 3eda847bc..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_scalar.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_scalar import CoreScalar # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreScalar(unittest.TestCase): - """CoreScalar unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreScalar(self): - """Test CoreScalar""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_scalar.CoreScalar() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema_type.py deleted file mode 100644 index b74b18668..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_schema_type import CoreSchemaType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSchemaType(unittest.TestCase): - """CoreSchemaType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSchemaType(self): - """Test CoreSchemaType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_schema_type.CoreSchemaType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_secret.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_secret.py deleted file mode 100644 index 891702bef..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_secret.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_secret import CoreSecret # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSecret(unittest.TestCase): - """CoreSecret unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSecret(self): - """Test CoreSecret""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_secret.CoreSecret() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_security_context.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_security_context.py deleted file mode 100644 index 1ee669ba5..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_security_context.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSecurityContext(unittest.TestCase): - """CoreSecurityContext unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSecurityContext(self): - """Test CoreSecurityContext""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_security_context.CoreSecurityContext() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_simple_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_simple_type.py deleted file mode 100644 index 49c7d3229..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_simple_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_simple_type import CoreSimpleType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSimpleType(unittest.TestCase): - """CoreSimpleType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSimpleType(self): - """Test CoreSimpleType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_simple_type.CoreSimpleType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sql.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sql.py deleted file mode 100644 index 458b1172c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sql.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_sql import CoreSql # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSql(unittest.TestCase): - """CoreSql unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSql(self): - """Test CoreSql""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_sql.CoreSql() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset.py deleted file mode 100644 index c9de25a4d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_structured_dataset import CoreStructuredDataset # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreStructuredDataset(unittest.TestCase): - """CoreStructuredDataset unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreStructuredDataset(self): - """Test CoreStructuredDataset""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_structured_dataset.CoreStructuredDataset() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_metadata.py deleted file mode 100644 index 49fc7f96a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreStructuredDatasetMetadata(unittest.TestCase): - """CoreStructuredDatasetMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreStructuredDatasetMetadata(self): - """Test CoreStructuredDatasetMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_structured_dataset_metadata.CoreStructuredDatasetMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_type.py deleted file mode 100644 index 98b5cd71c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreStructuredDatasetType(unittest.TestCase): - """CoreStructuredDatasetType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreStructuredDatasetType(self): - """Test CoreStructuredDatasetType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_structured_dataset_type.CoreStructuredDatasetType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_identifier.py deleted file mode 100644 index f1054997e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_identifier.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskExecutionIdentifier(unittest.TestCase): - """CoreTaskExecutionIdentifier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskExecutionIdentifier(self): - """Test CoreTaskExecutionIdentifier""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_execution_identifier.CoreTaskExecutionIdentifier() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_phase.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_phase.py deleted file mode 100644 index 72103d0d2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_phase.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskExecutionPhase(unittest.TestCase): - """CoreTaskExecutionPhase unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskExecutionPhase(self): - """Test CoreTaskExecutionPhase""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_execution_phase.CoreTaskExecutionPhase() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_log.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_log.py deleted file mode 100644 index 16af90f74..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_log.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_log import CoreTaskLog # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskLog(unittest.TestCase): - """CoreTaskLog unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskLog(self): - """Test CoreTaskLog""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_log.CoreTaskLog() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_metadata.py deleted file mode 100644 index 0c837f31f..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_metadata import CoreTaskMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskMetadata(unittest.TestCase): - """CoreTaskMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskMetadata(self): - """Test CoreTaskMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_metadata.CoreTaskMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node.py deleted file mode 100644 index c333213d2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_node import CoreTaskNode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskNode(unittest.TestCase): - """CoreTaskNode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskNode(self): - """Test CoreTaskNode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_node.CoreTaskNode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node_overrides.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node_overrides.py deleted file mode 100644 index 0124d5fe3..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node_overrides.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_node_overrides import CoreTaskNodeOverrides # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskNodeOverrides(unittest.TestCase): - """CoreTaskNodeOverrides unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskNodeOverrides(self): - """Test CoreTaskNodeOverrides""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_node_overrides.CoreTaskNodeOverrides() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_template.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_template.py deleted file mode 100644 index 0d91a59cd..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_template.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_template import CoreTaskTemplate # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskTemplate(unittest.TestCase): - """CoreTaskTemplate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskTemplate(self): - """Test CoreTaskTemplate""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_template.CoreTaskTemplate() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_annotation.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_annotation.py deleted file mode 100644 index 91b76ec7a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_annotation.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_type_annotation import CoreTypeAnnotation # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTypeAnnotation(unittest.TestCase): - """CoreTypeAnnotation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTypeAnnotation(self): - """Test CoreTypeAnnotation""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_type_annotation.CoreTypeAnnotation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_structure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_structure.py deleted file mode 100644 index 853bc0836..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_structure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_type_structure import CoreTypeStructure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTypeStructure(unittest.TestCase): - """CoreTypeStructure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTypeStructure(self): - """Test CoreTypeStructure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_type_structure.CoreTypeStructure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_typed_interface.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_typed_interface.py deleted file mode 100644 index 62d303ae9..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_typed_interface.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_typed_interface import CoreTypedInterface # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTypedInterface(unittest.TestCase): - """CoreTypedInterface unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTypedInterface(self): - """Test CoreTypedInterface""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_typed_interface.CoreTypedInterface() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union.py deleted file mode 100644 index c36c63b00..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_union import CoreUnion # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreUnion(unittest.TestCase): - """CoreUnion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreUnion(self): - """Test CoreUnion""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_union.CoreUnion() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_info.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_info.py deleted file mode 100644 index 8cf030acc..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_info.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_union_info import CoreUnionInfo # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreUnionInfo(unittest.TestCase): - """CoreUnionInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreUnionInfo(self): - """Test CoreUnionInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_union_info.CoreUnionInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_type.py deleted file mode 100644 index 4de1e428e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_union_type import CoreUnionType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreUnionType(unittest.TestCase): - """CoreUnionType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreUnionType(self): - """Test CoreUnionType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_union_type.CoreUnionType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable.py deleted file mode 100644 index 38a04b008..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_variable import CoreVariable # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreVariable(unittest.TestCase): - """CoreVariable unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreVariable(self): - """Test CoreVariable""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_variable.CoreVariable() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable_map.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable_map.py deleted file mode 100644 index 0d190536e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable_map.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_variable_map import CoreVariableMap # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreVariableMap(unittest.TestCase): - """CoreVariableMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreVariableMap(self): - """Test CoreVariableMap""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_variable_map.CoreVariableMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_void.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_void.py deleted file mode 100644 index ff951ae6e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_void.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_void import CoreVoid # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreVoid(unittest.TestCase): - """CoreVoid unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreVoid(self): - """Test CoreVoid""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_void.CoreVoid() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_identifier.py deleted file mode 100644 index 16e58b654..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_identifier.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreWorkflowExecutionIdentifier(unittest.TestCase): - """CoreWorkflowExecutionIdentifier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreWorkflowExecutionIdentifier(self): - """Test CoreWorkflowExecutionIdentifier""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_workflow_execution_identifier.CoreWorkflowExecutionIdentifier() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_phase.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_phase.py deleted file mode 100644 index 7926ebcde..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_phase.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreWorkflowExecutionPhase(unittest.TestCase): - """CoreWorkflowExecutionPhase unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreWorkflowExecutionPhase(self): - """Test CoreWorkflowExecutionPhase""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_workflow_execution_phase.CoreWorkflowExecutionPhase() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata.py deleted file mode 100644 index 8c3c210d8..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_workflow_metadata import CoreWorkflowMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreWorkflowMetadata(unittest.TestCase): - """CoreWorkflowMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreWorkflowMetadata(self): - """Test CoreWorkflowMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_workflow_metadata.CoreWorkflowMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata_defaults.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata_defaults.py deleted file mode 100644 index d738a2ca5..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata_defaults.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_workflow_metadata_defaults import CoreWorkflowMetadataDefaults # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreWorkflowMetadataDefaults(unittest.TestCase): - """CoreWorkflowMetadataDefaults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreWorkflowMetadataDefaults(self): - """Test CoreWorkflowMetadataDefaults""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_workflow_metadata_defaults.CoreWorkflowMetadataDefaults() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_node.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_node.py deleted file mode 100644 index 4500cf70c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_node.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_workflow_node import CoreWorkflowNode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreWorkflowNode(unittest.TestCase): - """CoreWorkflowNode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreWorkflowNode(self): - """Test CoreWorkflowNode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_workflow_node.CoreWorkflowNode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_template.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_template.py deleted file mode 100644 index 847fd2ae7..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_template.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreWorkflowTemplate(unittest.TestCase): - """CoreWorkflowTemplate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreWorkflowTemplate(self): - """Test CoreWorkflowTemplate""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_workflow_template.CoreWorkflowTemplate() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_data_loading_config_literal_map_format.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_data_loading_config_literal_map_format.py deleted file mode 100644 index 1f96ce5d9..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_data_loading_config_literal_map_format.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.data_loading_config_literal_map_format import DataLoadingConfigLiteralMapFormat # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestDataLoadingConfigLiteralMapFormat(unittest.TestCase): - """DataLoadingConfigLiteralMapFormat unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDataLoadingConfigLiteralMapFormat(self): - """Test DataLoadingConfigLiteralMapFormat""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.data_loading_config_literal_map_format.DataLoadingConfigLiteralMapFormat() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_external_resource_info.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_external_resource_info.py deleted file mode 100644 index bcfedce65..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_external_resource_info.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_external_resource_info import EventExternalResourceInfo # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventExternalResourceInfo(unittest.TestCase): - """EventExternalResourceInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventExternalResourceInfo(self): - """Test EventExternalResourceInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_external_resource_info.EventExternalResourceInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_node_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_node_execution_event.py deleted file mode 100644 index 2eebbd100..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_node_execution_event.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_node_execution_event import EventNodeExecutionEvent # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventNodeExecutionEvent(unittest.TestCase): - """EventNodeExecutionEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventNodeExecutionEvent(self): - """Test EventNodeExecutionEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_node_execution_event.EventNodeExecutionEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_node_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_node_execution_metadata.py deleted file mode 100644 index 3e91fb9a1..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_node_execution_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_parent_node_execution_metadata import EventParentNodeExecutionMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventParentNodeExecutionMetadata(unittest.TestCase): - """EventParentNodeExecutionMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventParentNodeExecutionMetadata(self): - """Test EventParentNodeExecutionMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_parent_node_execution_metadata.EventParentNodeExecutionMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_task_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_task_execution_metadata.py deleted file mode 100644 index bbeae4714..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_task_execution_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_parent_task_execution_metadata import EventParentTaskExecutionMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventParentTaskExecutionMetadata(unittest.TestCase): - """EventParentTaskExecutionMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventParentTaskExecutionMetadata(self): - """Test EventParentTaskExecutionMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_parent_task_execution_metadata.EventParentTaskExecutionMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_resource_pool_info.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_resource_pool_info.py deleted file mode 100644 index 78d216943..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_resource_pool_info.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_resource_pool_info import EventResourcePoolInfo # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventResourcePoolInfo(unittest.TestCase): - """EventResourcePoolInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventResourcePoolInfo(self): - """Test EventResourcePoolInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_resource_pool_info.EventResourcePoolInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_event.py deleted file mode 100644 index ba834223b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_event.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_task_execution_event import EventTaskExecutionEvent # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventTaskExecutionEvent(unittest.TestCase): - """EventTaskExecutionEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventTaskExecutionEvent(self): - """Test EventTaskExecutionEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_task_execution_event.EventTaskExecutionEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_metadata.py deleted file mode 100644 index 18bf03ed0..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_task_execution_metadata import EventTaskExecutionMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventTaskExecutionMetadata(unittest.TestCase): - """EventTaskExecutionMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventTaskExecutionMetadata(self): - """Test EventTaskExecutionMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_task_execution_metadata.EventTaskExecutionMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_workflow_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_workflow_execution_event.py deleted file mode 100644 index e2a33aa7b..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_workflow_execution_event.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_workflow_execution_event import EventWorkflowExecutionEvent # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventWorkflowExecutionEvent(unittest.TestCase): - """EventWorkflowExecutionEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventWorkflowExecutionEvent(self): - """Test EventWorkflowExecutionEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_workflow_execution_event.EventWorkflowExecutionEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_error_error_kind.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_error_error_kind.py deleted file mode 100644 index b3f036bed..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_error_error_kind.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.execution_error_error_kind import ExecutionErrorErrorKind # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestExecutionErrorErrorKind(unittest.TestCase): - """ExecutionErrorErrorKind unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExecutionErrorErrorKind(self): - """Test ExecutionErrorErrorKind""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.execution_error_error_kind.ExecutionErrorErrorKind() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_metadata_execution_mode.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_metadata_execution_mode.py deleted file mode 100644 index 02ebaea8e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_metadata_execution_mode.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestExecutionMetadataExecutionMode(unittest.TestCase): - """ExecutionMetadataExecutionMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExecutionMetadataExecutionMode(self): - """Test ExecutionMetadataExecutionMode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.execution_metadata_execution_mode.ExecutionMetadataExecutionMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_dynamic_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_dynamic_workflow_node_metadata.py deleted file mode 100644 index e423e0c99..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_dynamic_workflow_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidladminDynamicWorkflowNodeMetadata(unittest.TestCase): - """FlyteidladminDynamicWorkflowNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidladminDynamicWorkflowNodeMetadata(self): - """Test FlyteidladminDynamicWorkflowNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata.FlyteidladminDynamicWorkflowNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_node_execution.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_node_execution.py deleted file mode 100644 index f841bad23..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_node_execution.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidladminNodeExecution(unittest.TestCase): - """FlyteidladminNodeExecution unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidladminNodeExecution(self): - """Test FlyteidladminNodeExecution""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidladmin_node_execution.FlyteidladminNodeExecution() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_execution.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_execution.py deleted file mode 100644 index a354b9fa0..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_execution.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidladminTaskExecution(unittest.TestCase): - """FlyteidladminTaskExecution unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidladminTaskExecution(self): - """Test FlyteidladminTaskExecution""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidladmin_task_execution.FlyteidladminTaskExecution() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_node_metadata.py deleted file mode 100644 index fc2d570e2..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidladminTaskNodeMetadata(unittest.TestCase): - """FlyteidladminTaskNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidladminTaskNodeMetadata(self): - """Test FlyteidladminTaskNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidladmin_task_node_metadata.FlyteidladminTaskNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_workflow_node_metadata.py deleted file mode 100644 index 7bea00e6e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_workflow_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidladminWorkflowNodeMetadata(unittest.TestCase): - """FlyteidladminWorkflowNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidladminWorkflowNodeMetadata(self): - """Test FlyteidladminWorkflowNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidladmin_workflow_node_metadata.FlyteidladminWorkflowNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlcore_schema.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlcore_schema.py deleted file mode 100644 index 44a0df3ee..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlcore_schema.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidlcore_schema import FlyteidlcoreSchema # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidlcoreSchema(unittest.TestCase): - """FlyteidlcoreSchema unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidlcoreSchema(self): - """Test FlyteidlcoreSchema""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidlcore_schema.FlyteidlcoreSchema() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_dynamic_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_dynamic_workflow_node_metadata.py deleted file mode 100644 index 6ed67696e..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_dynamic_workflow_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata import FlyteidleventDynamicWorkflowNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidleventDynamicWorkflowNodeMetadata(unittest.TestCase): - """FlyteidleventDynamicWorkflowNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidleventDynamicWorkflowNodeMetadata(self): - """Test FlyteidleventDynamicWorkflowNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata.FlyteidleventDynamicWorkflowNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_node_metadata.py deleted file mode 100644 index 53d81ca99..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidlevent_task_node_metadata import FlyteidleventTaskNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidleventTaskNodeMetadata(unittest.TestCase): - """FlyteidleventTaskNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidleventTaskNodeMetadata(self): - """Test FlyteidleventTaskNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidlevent_task_node_metadata.FlyteidleventTaskNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_workflow_node_metadata.py deleted file mode 100644 index b61456ade..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_workflow_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidlevent_workflow_node_metadata import FlyteidleventWorkflowNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidleventWorkflowNodeMetadata(unittest.TestCase): - """FlyteidleventWorkflowNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidleventWorkflowNodeMetadata(self): - """Test FlyteidleventWorkflowNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidlevent_workflow_node_metadata.FlyteidleventWorkflowNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_download_mode.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_download_mode.py deleted file mode 100644 index 12192e496..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_download_mode.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.io_strategy_download_mode import IOStrategyDownloadMode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestIOStrategyDownloadMode(unittest.TestCase): - """IOStrategyDownloadMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testIOStrategyDownloadMode(self): - """Test IOStrategyDownloadMode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.io_strategy_download_mode.IOStrategyDownloadMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_upload_mode.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_upload_mode.py deleted file mode 100644 index 25e3179cd..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_upload_mode.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestIOStrategyUploadMode(unittest.TestCase): - """IOStrategyUploadMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testIOStrategyUploadMode(self): - """Test IOStrategyUploadMode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.io_strategy_upload_mode.IOStrategyUploadMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_plugin_override_missing_plugin_behavior.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_plugin_override_missing_plugin_behavior.py deleted file mode 100644 index 664029dc9..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_plugin_override_missing_plugin_behavior.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestPluginOverrideMissingPluginBehavior(unittest.TestCase): - """PluginOverrideMissingPluginBehavior unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPluginOverrideMissingPluginBehavior(self): - """Test PluginOverrideMissingPluginBehavior""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.plugin_override_missing_plugin_behavior.PluginOverrideMissingPluginBehavior() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_project_project_state.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_project_project_state.py deleted file mode 100644 index fa711af55..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_project_project_state.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.project_project_state import ProjectProjectState # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestProjectProjectState(unittest.TestCase): - """ProjectProjectState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProjectProjectState(self): - """Test ProjectProjectState""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.project_project_state.ProjectProjectState() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_list_value.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_list_value.py deleted file mode 100644 index 0f37fce30..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_list_value.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.protobuf_list_value import ProtobufListValue # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestProtobufListValue(unittest.TestCase): - """ProtobufListValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtobufListValue(self): - """Test ProtobufListValue""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.protobuf_list_value.ProtobufListValue() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_null_value.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_null_value.py deleted file mode 100644 index 876b115cc..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_null_value.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.protobuf_null_value import ProtobufNullValue # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestProtobufNullValue(unittest.TestCase): - """ProtobufNullValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtobufNullValue(self): - """Test ProtobufNullValue""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.protobuf_null_value.ProtobufNullValue() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_struct.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_struct.py deleted file mode 100644 index 8edcc3214..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_struct.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestProtobufStruct(unittest.TestCase): - """ProtobufStruct unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtobufStruct(self): - """Test ProtobufStruct""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.protobuf_struct.ProtobufStruct() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_value.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_value.py deleted file mode 100644 index 6cbae9d15..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_value.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.protobuf_value import ProtobufValue # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestProtobufValue(unittest.TestCase): - """ProtobufValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtobufValue(self): - """Test ProtobufValue""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.protobuf_value.ProtobufValue() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_quality_of_service_tier.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_quality_of_service_tier.py deleted file mode 100644 index d655c725a..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_quality_of_service_tier.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.quality_of_service_tier import QualityOfServiceTier # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestQualityOfServiceTier(unittest.TestCase): - """QualityOfServiceTier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testQualityOfServiceTier(self): - """Test QualityOfServiceTier""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.quality_of_service_tier.QualityOfServiceTier() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_entry.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_entry.py deleted file mode 100644 index 8b141bd69..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_entry.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.resources_resource_entry import ResourcesResourceEntry # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestResourcesResourceEntry(unittest.TestCase): - """ResourcesResourceEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResourcesResourceEntry(self): - """Test ResourcesResourceEntry""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.resources_resource_entry.ResourcesResourceEntry() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_name.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_name.py deleted file mode 100644 index 0ce5f04e5..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_name.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.resources_resource_name import ResourcesResourceName # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestResourcesResourceName(unittest.TestCase): - """ResourcesResourceName unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResourcesResourceName(self): - """Test ResourcesResourceName""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.resources_resource_name.ResourcesResourceName() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_runtime_metadata_runtime_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_runtime_metadata_runtime_type.py deleted file mode 100644 index 695ff97ea..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_runtime_metadata_runtime_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.runtime_metadata_runtime_type import RuntimeMetadataRuntimeType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestRuntimeMetadataRuntimeType(unittest.TestCase): - """RuntimeMetadataRuntimeType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRuntimeMetadataRuntimeType(self): - """Test RuntimeMetadataRuntimeType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.runtime_metadata_runtime_type.RuntimeMetadataRuntimeType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_column_schema_column_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_column_schema_column_type.py deleted file mode 100644 index 9faafc840..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_column_schema_column_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.schema_column_schema_column_type import SchemaColumnSchemaColumnType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestSchemaColumnSchemaColumnType(unittest.TestCase): - """SchemaColumnSchemaColumnType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSchemaColumnSchemaColumnType(self): - """Test SchemaColumnSchemaColumnType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.schema_column_schema_column_type.SchemaColumnSchemaColumnType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_type_schema_column.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_type_schema_column.py deleted file mode 100644 index e503ceb52..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_type_schema_column.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.schema_type_schema_column import SchemaTypeSchemaColumn # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestSchemaTypeSchemaColumn(unittest.TestCase): - """SchemaTypeSchemaColumn unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSchemaTypeSchemaColumn(self): - """Test SchemaTypeSchemaColumn""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.schema_type_schema_column.SchemaTypeSchemaColumn() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_secret_mount_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_secret_mount_type.py deleted file mode 100644 index 8e0b686f6..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_secret_mount_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.secret_mount_type import SecretMountType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestSecretMountType(unittest.TestCase): - """SecretMountType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSecretMountType(self): - """Test SecretMountType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.secret_mount_type.SecretMountType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_sort_direction.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_sort_direction.py deleted file mode 100644 index 74b27825d..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_sort_direction.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.sort_direction import SortDirection # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestSortDirection(unittest.TestCase): - """SortDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortDirection(self): - """Test SortDirection""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.sort_direction.SortDirection() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_sql_dialect.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_sql_dialect.py deleted file mode 100644 index 943c2b8c9..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_sql_dialect.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.sql_dialect import SqlDialect # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestSqlDialect(unittest.TestCase): - """SqlDialect unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSqlDialect(self): - """Test SqlDialect""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.sql_dialect.SqlDialect() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_structured_dataset_type_dataset_column.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_structured_dataset_type_dataset_column.py deleted file mode 100644 index d801f1fd8..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_structured_dataset_type_dataset_column.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.structured_dataset_type_dataset_column import StructuredDatasetTypeDatasetColumn # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestStructuredDatasetTypeDatasetColumn(unittest.TestCase): - """StructuredDatasetTypeDatasetColumn unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStructuredDatasetTypeDatasetColumn(self): - """Test StructuredDatasetTypeDatasetColumn""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.structured_dataset_type_dataset_column.StructuredDatasetTypeDatasetColumn() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_execution_metadata_instance_class.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_execution_metadata_instance_class.py deleted file mode 100644 index 9129b45d9..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_execution_metadata_instance_class.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.task_execution_metadata_instance_class import TaskExecutionMetadataInstanceClass # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestTaskExecutionMetadataInstanceClass(unittest.TestCase): - """TaskExecutionMetadataInstanceClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTaskExecutionMetadataInstanceClass(self): - """Test TaskExecutionMetadataInstanceClass""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.task_execution_metadata_instance_class.TaskExecutionMetadataInstanceClass() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_log_message_format.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_log_message_format.py deleted file mode 100644 index 4adfba3c5..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_log_message_format.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.task_log_message_format import TaskLogMessageFormat # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestTaskLogMessageFormat(unittest.TestCase): - """TaskLogMessageFormat unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTaskLogMessageFormat(self): - """Test TaskLogMessageFormat""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.task_log_message_format.TaskLogMessageFormat() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_workflow_metadata_on_failure_policy.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_workflow_metadata_on_failure_policy.py deleted file mode 100644 index e0e403763..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_workflow_metadata_on_failure_policy.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.workflow_metadata_on_failure_policy import WorkflowMetadataOnFailurePolicy # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestWorkflowMetadataOnFailurePolicy(unittest.TestCase): - """WorkflowMetadataOnFailurePolicy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWorkflowMetadataOnFailurePolicy(self): - """Test WorkflowMetadataOnFailurePolicy""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.workflow_metadata_on_failure_policy.WorkflowMetadataOnFailurePolicy() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/tox.ini b/gen/pb_python/flyteidl/service/flyteadmin/tox.ini deleted file mode 100644 index 3d0be613c..000000000 --- a/gen/pb_python/flyteidl/service/flyteadmin/tox.ini +++ /dev/null @@ -1,10 +0,0 @@ -[tox] -envlist = py27, py3 - -[testenv] -deps=-r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt - -commands= - nosetests \ - [] diff --git a/generate_protos.sh b/generate_protos.sh index c74216312..dbfc2fd0f 100755 --- a/generate_protos.sh +++ b/generate_protos.sh @@ -3,7 +3,7 @@ DIR=`pwd` rm -rf $DIR/gen LYFT_IMAGE="lyft/protocgenerator:8167e11d3b3439373c2f033080a4b550078884a2" -SWAGGER_CLI_IMAGE="docker.io/lyft/swagger-codegen-cli:dc5ce6ec6d7d4d980fa882d6bd13a83cba3be3c3" +SWAGGER_CLI_IMAGE="ghcr.io/flyteorg/swagger-codegen-cli:latest" PROTOC_GEN_DOC_IMAGE="pseudomuto/protoc-gen-doc:1.4.1" # Override system locale during protos/docs generation to ensure consistent sorting (differences in system locale could e.g. lead to differently ordered docs) From 8d3df1a219b3b750403a809b5d79e2374dd9a57c Mon Sep 17 00:00:00 2001 From: Iaroslav Ciupin Date: Tue, 20 Sep 2022 18:53:23 +0300 Subject: [PATCH 05/10] make generate again Signed-off-by: Iaroslav Ciupin --- .../flyteidl/service/flyteadmin/.gitignore | 24 + .../flyteadmin/.swagger-codegen-ignore | 23 + .../flyteadmin/.swagger-codegen/VERSION | 1 + .../flyteidl/service/flyteadmin/.travis.yml | 8 + .../flyteidl/service/flyteadmin/README.md | 332 + .../service/flyteadmin/api/swagger.yaml | 60497 ++++++++++++++++ .../service/flyteadmin/api_admin_service.go | 5335 ++ .../flyteidl/service/flyteadmin/client.go | 464 + .../service/flyteadmin/configuration.go | 72 + .../flyteidl/service/flyteadmin/git_push.sh | 52 + .../flyteadmin/model_admin_abort_metadata.go | 17 + .../flyteadmin/model_admin_annotations.go | 16 + .../service/flyteadmin/model_admin_auth.go | 18 + .../flyteadmin/model_admin_auth_role.go | 18 + .../model_admin_cluster_assignment.go | 15 + ...model_admin_cluster_resource_attributes.go | 15 + .../flyteadmin/model_admin_cron_schedule.go | 16 + .../service/flyteadmin/model_admin_domain.go | 18 + .../model_admin_email_notification.go | 15 + .../flyteadmin/model_admin_execution.go | 20 + .../model_admin_execution_closure.go | 43 + .../model_admin_execution_cluster_label.go | 14 + .../model_admin_execution_create_request.go | 19 + .../model_admin_execution_create_response.go | 15 + .../flyteadmin/model_admin_execution_list.go | 16 + .../model_admin_execution_metadata.go | 30 + .../model_admin_execution_queue_attributes.go | 15 + .../model_admin_execution_recover_request.go | 19 + .../model_admin_execution_relaunch_request.go | 16 + .../flyteadmin/model_admin_execution_spec.go | 38 + .../flyteadmin/model_admin_execution_state.go | 19 + ...el_admin_execution_state_change_details.go | 22 + ...model_admin_execution_terminate_request.go | 18 + ...odel_admin_execution_terminate_response.go | 13 + .../model_admin_execution_update_request.go | 15 + .../model_admin_execution_update_response.go | 13 + .../flyteadmin/model_admin_fixed_rate.go | 16 + .../flyteadmin/model_admin_fixed_rate_unit.go | 20 + .../model_admin_get_version_response.go | 14 + .../service/flyteadmin/model_admin_labels.go | 16 + .../flyteadmin/model_admin_launch_plan.go | 20 + .../model_admin_launch_plan_closure.go | 26 + .../model_admin_launch_plan_create_request.go | 18 + ...model_admin_launch_plan_create_response.go | 13 + .../model_admin_launch_plan_list.go | 16 + .../model_admin_launch_plan_metadata.go | 16 + .../model_admin_launch_plan_spec.go | 37 + .../model_admin_launch_plan_state.go | 19 + .../model_admin_launch_plan_update_request.go | 17 + ...model_admin_launch_plan_update_response.go | 14 + ...dmin_list_matchable_attributes_response.go | 14 + .../model_admin_literal_map_blob.go | 15 + ...dmin_matchable_attributes_configuration.go | 19 + .../model_admin_matchable_resource.go | 25 + .../model_admin_matching_attributes.go | 22 + .../flyteadmin/model_admin_named_entity.go | 19 + .../model_admin_named_entity_identifier.go | 19 + ...odel_admin_named_entity_identifier_list.go | 18 + .../model_admin_named_entity_list.go | 17 + .../model_admin_named_entity_metadata.go | 17 + .../model_admin_named_entity_state.go | 20 + ...model_admin_named_entity_update_request.go | 17 + ...odel_admin_named_entity_update_response.go | 14 + .../model_admin_node_execution_closure.go | 36 + ...odel_admin_node_execution_event_request.go | 17 + ...del_admin_node_execution_event_response.go | 13 + ..._admin_node_execution_get_data_response.go | 24 + .../model_admin_node_execution_list.go | 16 + .../model_admin_node_execution_meta_data.go | 20 + .../flyteadmin/model_admin_notification.go | 18 + .../model_admin_notification_list.go | 14 + .../model_admin_pager_duty_notification.go | 15 + .../flyteadmin/model_admin_plugin_override.go | 20 + .../model_admin_plugin_overrides.go | 14 + .../service/flyteadmin/model_admin_project.go | 23 + .../model_admin_project_domain_attributes.go | 18 + ...roject_domain_attributes_delete_request.go | 16 + ...oject_domain_attributes_delete_response.go | 14 + ..._project_domain_attributes_get_response.go | 14 + ...roject_domain_attributes_update_request.go | 14 + ...oject_domain_attributes_update_response.go | 14 + .../model_admin_project_register_request.go | 14 + .../model_admin_project_register_response.go | 14 + .../model_admin_project_update_response.go | 14 + .../flyteadmin/model_admin_projects.go | 16 + .../model_admin_raw_output_data_config.go | 15 + .../flyteadmin/model_admin_schedule.go | 19 + .../model_admin_slack_notification.go | 15 + .../service/flyteadmin/model_admin_sort.go | 16 + .../flyteadmin/model_admin_system_metadata.go | 16 + .../service/flyteadmin/model_admin_task.go | 18 + .../flyteadmin/model_admin_task_closure.go | 22 + .../model_admin_task_create_request.go | 15 + .../model_admin_task_create_response.go | 14 + .../model_admin_task_execution_closure.go | 46 + ...odel_admin_task_execution_event_request.go | 17 + ...del_admin_task_execution_event_response.go | 13 + ..._admin_task_execution_get_data_response.go | 22 + .../model_admin_task_execution_list.go | 16 + .../flyteadmin/model_admin_task_list.go | 17 + .../model_admin_task_resource_attributes.go | 16 + .../model_admin_task_resource_spec.go | 19 + .../flyteadmin/model_admin_task_spec.go | 16 + .../flyteadmin/model_admin_url_blob.go | 18 + .../service/flyteadmin/model_admin_version.go | 16 + .../flyteadmin/model_admin_workflow.go | 18 + .../model_admin_workflow_attributes.go | 20 + ...dmin_workflow_attributes_delete_request.go | 17 + ...min_workflow_attributes_delete_response.go | 14 + ..._admin_workflow_attributes_get_response.go | 15 + ...dmin_workflow_attributes_update_request.go | 14 + ...min_workflow_attributes_update_response.go | 14 + .../model_admin_workflow_closure.go | 22 + .../model_admin_workflow_create_request.go | 15 + .../model_admin_workflow_create_response.go | 13 + .../model_admin_workflow_execution_config.go | 26 + ..._admin_workflow_execution_event_request.go | 17 + ...admin_workflow_execution_event_response.go | 13 + ...in_workflow_execution_get_data_response.go | 22 + .../flyteadmin/model_admin_workflow_list.go | 17 + .../flyteadmin/model_admin_workflow_spec.go | 18 + .../model_blob_type_blob_dimensionality.go | 18 + .../model_catalog_reservation_status.go | 22 + .../model_comparison_expression_operator.go | 23 + ...conjunction_expression_logical_operator.go | 19 + .../model_connection_set_id_list.go | 14 + .../model_container_architecture.go | 22 + .../service/flyteadmin/model_core_alias.go | 18 + .../service/flyteadmin/model_core_binary.go | 16 + .../service/flyteadmin/model_core_binding.go | 18 + .../flyteadmin/model_core_binding_data.go | 23 + .../model_core_binding_data_collection.go | 15 + .../flyteadmin/model_core_binding_data_map.go | 15 + .../service/flyteadmin/model_core_blob.go | 16 + .../flyteadmin/model_core_blob_metadata.go | 14 + .../flyteadmin/model_core_blob_type.go | 15 + .../model_core_boolean_expression.go | 16 + .../flyteadmin/model_core_branch_node.go | 15 + .../model_core_catalog_artifact_tag.go | 15 + .../model_core_catalog_cache_status.go | 23 + .../flyteadmin/model_core_catalog_metadata.go | 16 + .../model_core_comparison_expression.go | 17 + .../flyteadmin/model_core_compiled_task.go | 14 + .../model_core_compiled_workflow.go | 16 + .../model_core_compiled_workflow_closure.go | 17 + .../model_core_conjunction_expression.go | 17 + .../flyteadmin/model_core_connection_set.go | 15 + .../flyteadmin/model_core_container.go | 27 + .../flyteadmin/model_core_container_port.go | 16 + .../model_core_data_loading_config.go | 19 + .../flyteadmin/model_core_enum_type.go | 16 + .../service/flyteadmin/model_core_error.go | 18 + .../flyteadmin/model_core_execution_error.go | 19 + .../flyteadmin/model_core_identifier.go | 24 + .../service/flyteadmin/model_core_identity.go | 20 + .../service/flyteadmin/model_core_if_block.go | 16 + .../flyteadmin/model_core_if_else_block.go | 22 + .../flyteadmin/model_core_io_strategy.go | 15 + .../model_core_k8s_object_metadata.go | 18 + .../service/flyteadmin/model_core_k8s_pod.go | 17 + .../flyteadmin/model_core_key_value_pair.go | 18 + .../service/flyteadmin/model_core_literal.go | 21 + .../model_core_literal_collection.go | 15 + .../flyteadmin/model_core_literal_map.go | 15 + .../flyteadmin/model_core_literal_type.go | 35 + .../service/flyteadmin/model_core_node.go | 30 + .../model_core_node_execution_identifier.go | 16 + .../model_core_node_execution_phase.go | 27 + .../flyteadmin/model_core_node_metadata.go | 20 + .../flyteadmin/model_core_o_auth2_client.go | 16 + .../model_core_o_auth2_token_request.go | 19 + .../model_core_o_auth2_token_request_type.go | 18 + .../service/flyteadmin/model_core_operand.go | 16 + .../flyteadmin/model_core_output_reference.go | 18 + .../flyteadmin/model_core_parameter.go | 20 + .../flyteadmin/model_core_parameter_map.go | 16 + .../flyteadmin/model_core_primitive.go | 23 + .../model_core_quality_of_service.go | 16 + .../model_core_quality_of_service_spec.go | 16 + .../flyteadmin/model_core_resource_type.go | 22 + .../flyteadmin/model_core_resources.go | 18 + .../flyteadmin/model_core_retry_strategy.go | 16 + .../flyteadmin/model_core_runtime_metadata.go | 20 + .../service/flyteadmin/model_core_scalar.go | 22 + .../flyteadmin/model_core_schema_type.go | 16 + .../service/flyteadmin/model_core_secret.go | 18 + .../flyteadmin/model_core_security_context.go | 20 + .../flyteadmin/model_core_simple_type.go | 27 + .../service/flyteadmin/model_core_sql.go | 16 + .../model_core_structured_dataset.go | 15 + .../model_core_structured_dataset_metadata.go | 15 + .../model_core_structured_dataset_type.go | 21 + .../model_core_task_execution_identifier.go | 17 + .../model_core_task_execution_phase.go | 24 + .../service/flyteadmin/model_core_task_log.go | 17 + .../flyteadmin/model_core_task_metadata.go | 27 + .../flyteadmin/model_core_task_node.go | 18 + .../model_core_task_node_overrides.go | 16 + .../flyteadmin/model_core_task_template.go | 32 + .../flyteadmin/model_core_type_annotation.go | 16 + .../flyteadmin/model_core_type_structure.go | 15 + .../flyteadmin/model_core_typed_interface.go | 16 + .../service/flyteadmin/model_core_union.go | 16 + .../flyteadmin/model_core_union_info.go | 14 + .../flyteadmin/model_core_union_type.go | 16 + .../service/flyteadmin/model_core_variable.go | 17 + .../flyteadmin/model_core_variable_map.go | 15 + .../service/flyteadmin/model_core_void.go | 14 + ...odel_core_workflow_execution_identifier.go | 19 + .../model_core_workflow_execution_phase.go | 26 + .../model_core_workflow_metadata.go | 18 + .../model_core_workflow_metadata_defaults.go | 16 + .../flyteadmin/model_core_workflow_node.go | 17 + .../model_core_workflow_template.go | 27 + ..._data_loading_config_literal_map_format.go | 20 + .../model_event_external_resource_info.go | 23 + .../model_event_node_execution_event.go | 43 + ...el_event_parent_node_execution_metadata.go | 14 + ...el_event_parent_task_execution_metadata.go | 14 + .../model_event_resource_pool_info.go | 18 + .../model_event_task_execution_event.go | 46 + .../model_event_task_execution_metadata.go | 23 + .../model_event_workflow_execution_event.go | 27 + .../model_execution_error_error_kind.go | 19 + ...model_execution_metadata_execution_mode.go | 23 + ...idladmin_dynamic_workflow_node_metadata.go | 18 + .../model_flyteidladmin_node_execution.go | 21 + .../model_flyteidladmin_task_execution.go | 22 + .../model_flyteidladmin_task_node_metadata.go | 16 + ...el_flyteidladmin_workflow_node_metadata.go | 15 + .../flyteadmin/model_flyteidlcore_schema.go | 16 + ...idlevent_dynamic_workflow_node_metadata.go | 18 + .../model_flyteidlevent_task_node_metadata.go | 20 + ...el_flyteidlevent_workflow_node_metadata.go | 14 + .../model_io_strategy_download_mode.go | 20 + .../model_io_strategy_upload_mode.go | 20 + ...plugin_override_missing_plugin_behavior.go | 19 + .../flyteadmin/model_project_project_state.go | 20 + .../flyteadmin/model_protobuf_list_value.go | 16 + .../flyteadmin/model_protobuf_null_value.go | 18 + .../flyteadmin/model_protobuf_struct.go | 16 + .../flyteadmin/model_protobuf_value.go | 26 + .../model_quality_of_service_tier.go | 21 + .../model_resources_resource_entry.go | 17 + .../model_resources_resource_name.go | 23 + .../model_runtime_metadata_runtime_type.go | 18 + .../model_schema_column_schema_column_type.go | 22 + .../model_schema_type_schema_column.go | 16 + .../flyteadmin/model_secret_mount_type.go | 20 + .../flyteadmin/model_sort_direction.go | 19 + .../service/flyteadmin/model_sql_dialect.go | 21 + ..._structured_dataset_type_dataset_column.go | 17 + ..._task_execution_metadata_instance_class.go | 19 + .../model_task_log_message_format.go | 19 + ...del_workflow_metadata_on_failure_policy.go | 19 + .../flyteidl/service/flyteadmin/response.go | 43 + .../flyteidl/service/flyteadmin/.gitignore | 64 + .../flyteadmin/.swagger-codegen-ignore | 23 + .../flyteadmin/.swagger-codegen/VERSION | 1 + .../flyteidl/service/flyteadmin/.travis.yml | 14 + .../flyteidl/service/flyteadmin/README.md | 382 + .../service/flyteadmin/flyteadmin/__init__.py | 269 + .../flyteadmin/flyteadmin/api/__init__.py | 6 + .../flyteadmin/api/admin_service_api.py | 6108 ++ .../flyteadmin/flyteadmin/api_client.py | 638 + .../flyteadmin/flyteadmin/configuration.py | 237 + .../flyteadmin/flyteadmin/models/__init__.py | 262 + .../flyteadmin/models/admin_abort_metadata.py | 143 + .../flyteadmin/models/admin_annotations.py | 117 + .../flyteadmin/models/admin_auth.py | 145 + .../flyteadmin/models/admin_auth_role.py | 145 + .../models/admin_cluster_assignment.py | 115 + .../admin_cluster_resource_attributes.py | 117 + .../flyteadmin/models/admin_cron_schedule.py | 141 + .../flyteadmin/models/admin_domain.py | 145 + .../models/admin_email_notification.py | 115 + .../flyteadmin/models/admin_execution.py | 177 + .../models/admin_execution_closure.py | 486 + .../models/admin_execution_cluster_label.py | 115 + .../models/admin_execution_create_request.py | 222 + .../models/admin_execution_create_response.py | 117 + .../flyteadmin/models/admin_execution_list.py | 145 + .../models/admin_execution_metadata.py | 286 + .../admin_execution_queue_attributes.py | 117 + .../models/admin_execution_recover_request.py | 174 + .../admin_execution_relaunch_request.py | 143 + .../flyteadmin/models/admin_execution_spec.py | 485 + .../models/admin_execution_state.py | 93 + .../admin_execution_state_change_details.py | 173 + .../admin_execution_terminate_request.py | 147 + .../admin_execution_terminate_response.py | 87 + .../models/admin_execution_update_request.py | 144 + .../models/admin_execution_update_response.py | 87 + .../flyteadmin/models/admin_fixed_rate.py | 143 + .../models/admin_fixed_rate_unit.py | 94 + .../models/admin_get_version_response.py | 117 + .../flyteadmin/models/admin_labels.py | 117 + .../flyteadmin/models/admin_launch_plan.py | 177 + .../models/admin_launch_plan_closure.py | 229 + .../admin_launch_plan_create_request.py | 148 + .../admin_launch_plan_create_response.py | 87 + .../models/admin_launch_plan_list.py | 145 + .../models/admin_launch_plan_metadata.py | 144 + .../models/admin_launch_plan_spec.py | 483 + .../models/admin_launch_plan_state.py | 93 + .../admin_launch_plan_update_request.py | 148 + .../admin_launch_plan_update_response.py | 87 + ...dmin_list_matchable_attributes_response.py | 117 + .../models/admin_literal_map_blob.py | 143 + ...dmin_matchable_attributes_configuration.py | 221 + .../models/admin_matchable_resource.py | 99 + .../models/admin_matching_attributes.py | 306 + .../flyteadmin/models/admin_named_entity.py | 175 + .../models/admin_named_entity_identifier.py | 171 + .../admin_named_entity_identifier_list.py | 147 + .../models/admin_named_entity_list.py | 145 + .../models/admin_named_entity_metadata.py | 145 + .../models/admin_named_entity_state.py | 94 + .../admin_named_entity_update_request.py | 171 + .../admin_named_entity_update_response.py | 87 + .../models/admin_node_execution_closure.py | 395 + .../admin_node_execution_event_request.py | 145 + .../admin_node_execution_event_response.py | 87 + .../admin_node_execution_get_data_response.py | 233 + .../models/admin_node_execution_list.py | 145 + .../models/admin_node_execution_meta_data.py | 199 + .../flyteadmin/models/admin_notification.py | 198 + .../models/admin_notification_list.py | 117 + .../models/admin_pager_duty_notification.py | 115 + .../models/admin_plugin_override.py | 175 + .../models/admin_plugin_overrides.py | 117 + .../flyteadmin/models/admin_project.py | 255 + .../models/admin_project_domain_attributes.py | 173 + ...roject_domain_attributes_delete_request.py | 169 + ...oject_domain_attributes_delete_response.py | 87 + ..._project_domain_attributes_get_response.py | 117 + ...roject_domain_attributes_update_request.py | 117 + ...oject_domain_attributes_update_response.py | 87 + .../models/admin_project_register_request.py | 117 + .../models/admin_project_register_response.py | 87 + .../models/admin_project_update_response.py | 87 + .../flyteadmin/models/admin_projects.py | 145 + .../models/admin_raw_output_data_config.py | 115 + .../flyteadmin/models/admin_schedule.py | 198 + .../models/admin_slack_notification.py | 115 + .../flyteadmin/models/admin_sort.py | 143 + .../models/admin_system_metadata.py | 117 + .../flyteadmin/models/admin_task.py | 148 + .../flyteadmin/models/admin_task_closure.py | 147 + .../models/admin_task_create_request.py | 144 + .../models/admin_task_create_response.py | 87 + .../models/admin_task_execution_closure.py | 488 + .../admin_task_execution_event_request.py | 145 + .../admin_task_execution_event_response.py | 87 + .../admin_task_execution_get_data_response.py | 204 + .../models/admin_task_execution_list.py | 145 + .../flyteadmin/models/admin_task_list.py | 147 + .../models/admin_task_resource_attributes.py | 143 + .../models/admin_task_resource_spec.py | 219 + .../flyteadmin/models/admin_task_spec.py | 119 + .../flyteadmin/models/admin_url_blob.py | 145 + .../flyteadmin/models/admin_version.py | 167 + .../flyteadmin/models/admin_workflow.py | 148 + .../models/admin_workflow_attributes.py | 201 + ...dmin_workflow_attributes_delete_request.py | 195 + ...min_workflow_attributes_delete_response.py | 87 + .../admin_workflow_attributes_get_response.py | 117 + ...dmin_workflow_attributes_update_request.py | 117 + ...min_workflow_attributes_update_response.py | 87 + .../models/admin_workflow_closure.py | 147 + .../models/admin_workflow_create_request.py | 144 + .../models/admin_workflow_create_response.py | 87 + .../models/admin_workflow_execution_config.py | 262 + .../admin_workflow_execution_event_request.py | 145 + ...admin_workflow_execution_event_response.py | 87 + ...in_workflow_execution_get_data_response.py | 204 + .../flyteadmin/models/admin_workflow_list.py | 147 + .../flyteadmin/models/admin_workflow_spec.py | 147 + .../models/blob_type_blob_dimensionality.py | 93 + .../models/catalog_reservation_status.py | 96 + .../models/comparison_expression_operator.py | 97 + ...conjunction_expression_logical_operator.py | 93 + .../models/connection_set_id_list.py | 115 + .../models/container_architecture.py | 96 + .../flyteadmin/models/core_alias.py | 145 + .../flyteadmin/models/core_binary.py | 143 + .../flyteadmin/models/core_binding.py | 147 + .../flyteadmin/models/core_binding_data.py | 233 + .../models/core_binding_data_collection.py | 117 + .../models/core_binding_data_map.py | 117 + .../flyteadmin/flyteadmin/models/core_blob.py | 143 + .../flyteadmin/models/core_blob_metadata.py | 117 + .../flyteadmin/models/core_blob_type.py | 143 + .../models/core_boolean_expression.py | 144 + .../flyteadmin/models/core_branch_node.py | 117 + .../models/core_catalog_artifact_tag.py | 141 + .../models/core_catalog_cache_status.py | 97 + .../models/core_catalog_metadata.py | 171 + .../models/core_comparison_expression.py | 170 + .../flyteadmin/models/core_compiled_task.py | 117 + .../models/core_compiled_workflow.py | 146 + .../models/core_compiled_workflow_closure.py | 170 + .../models/core_conjunction_expression.py | 170 + .../flyteadmin/models/core_connection_set.py | 143 + .../flyteadmin/models/core_container.py | 339 + .../flyteadmin/models/core_container_port.py | 117 + .../models/core_data_loading_config.py | 222 + .../flyteadmin/models/core_enum_type.py | 117 + .../flyteadmin/models/core_error.py | 145 + .../flyteadmin/models/core_execution_error.py | 197 + .../flyteadmin/models/core_identifier.py | 231 + .../flyteadmin/models/core_identity.py | 175 + .../flyteadmin/models/core_if_block.py | 144 + .../flyteadmin/models/core_if_else_block.py | 205 + .../flyteadmin/models/core_io_strategy.py | 144 + .../models/core_k8s_object_metadata.py | 145 + .../flyteadmin/models/core_k8s_pod.py | 146 + .../flyteadmin/models/core_key_value_pair.py | 145 + .../flyteadmin/models/core_literal.py | 203 + .../models/core_literal_collection.py | 117 + .../flyteadmin/models/core_literal_map.py | 117 + .../flyteadmin/models/core_literal_type.py | 406 + .../flyteadmin/flyteadmin/models/core_node.py | 320 + .../models/core_node_execution_identifier.py | 143 + .../models/core_node_execution_phase.py | 102 + .../flyteadmin/models/core_node_metadata.py | 199 + .../flyteadmin/models/core_o_auth2_client.py | 143 + .../models/core_o_auth2_token_request.py | 222 + .../models/core_o_auth2_token_request_type.py | 92 + .../flyteadmin/models/core_operand.py | 143 + .../models/core_output_reference.py | 145 + .../flyteadmin/models/core_parameter.py | 176 + .../flyteadmin/models/core_parameter_map.py | 119 + .../flyteadmin/models/core_primitive.py | 245 + .../models/core_quality_of_service.py | 144 + .../models/core_quality_of_service_spec.py | 117 + .../flyteadmin/models/core_resource_type.py | 96 + .../flyteadmin/models/core_resources.py | 147 + .../flyteadmin/models/core_retry_strategy.py | 117 + .../models/core_runtime_metadata.py | 175 + .../flyteadmin/models/core_scalar.py | 333 + .../flyteadmin/models/core_schema_type.py | 119 + .../flyteadmin/models/core_secret.py | 195 + .../models/core_security_context.py | 177 + .../flyteadmin/models/core_simple_type.py | 101 + .../flyteadmin/flyteadmin/models/core_sql.py | 143 + .../models/core_structured_dataset.py | 143 + .../core_structured_dataset_metadata.py | 119 + .../models/core_structured_dataset_type.py | 205 + .../models/core_task_execution_identifier.py | 170 + .../models/core_task_execution_phase.py | 99 + .../flyteadmin/models/core_task_log.py | 195 + .../flyteadmin/models/core_task_metadata.py | 312 + .../flyteadmin/models/core_task_node.py | 148 + .../models/core_task_node_overrides.py | 119 + .../flyteadmin/models/core_task_template.py | 398 + .../flyteadmin/models/core_type_annotation.py | 119 + .../flyteadmin/models/core_type_structure.py | 115 + .../flyteadmin/models/core_typed_interface.py | 143 + .../flyteadmin/models/core_union.py | 144 + .../flyteadmin/models/core_union_info.py | 117 + .../flyteadmin/models/core_union_type.py | 119 + .../flyteadmin/models/core_variable.py | 145 + .../flyteadmin/models/core_variable_map.py | 119 + .../flyteadmin/flyteadmin/models/core_void.py | 87 + .../core_workflow_execution_identifier.py | 173 + .../models/core_workflow_execution_phase.py | 101 + .../models/core_workflow_metadata.py | 148 + .../models/core_workflow_metadata_defaults.py | 117 + .../flyteadmin/models/core_workflow_node.py | 145 + .../models/core_workflow_template.py | 290 + .../data_loading_config_literal_map_format.py | 94 + .../models/event_external_resource_info.py | 255 + .../models/event_node_execution_event.py | 606 + .../event_parent_node_execution_metadata.py | 115 + .../event_parent_task_execution_metadata.py | 117 + .../models/event_resource_pool_info.py | 145 + .../models/event_task_execution_event.py | 562 + .../models/event_task_execution_metadata.py | 231 + .../models/event_workflow_execution_event.py | 282 + .../models/execution_error_error_kind.py | 94 + .../execution_metadata_execution_mode.py | 97 + ...idladmin_dynamic_workflow_node_metadata.py | 148 + .../models/flyteidladmin_node_execution.py | 203 + .../models/flyteidladmin_task_execution.py | 204 + .../flyteidladmin_task_node_metadata.py | 146 + .../flyteidladmin_workflow_node_metadata.py | 119 + .../flyteadmin/models/flyteidlcore_schema.py | 143 + ...idlevent_dynamic_workflow_node_metadata.py | 148 + .../flyteidlevent_task_node_metadata.py | 204 + .../flyteidlevent_workflow_node_metadata.py | 117 + .../models/io_strategy_download_mode.py | 94 + .../models/io_strategy_upload_mode.py | 94 + ...plugin_override_missing_plugin_behavior.py | 93 + .../models/project_project_state.py | 94 + .../flyteadmin/models/protobuf_list_value.py | 119 + .../flyteadmin/models/protobuf_null_value.py | 92 + .../flyteadmin/models/protobuf_struct.py | 119 + .../flyteadmin/models/protobuf_value.py | 261 + .../models/quality_of_service_tier.py | 95 + .../models/resources_resource_entry.py | 145 + .../models/resources_resource_name.py | 97 + .../models/runtime_metadata_runtime_type.py | 93 + .../schema_column_schema_column_type.py | 97 + .../models/schema_type_schema_column.py | 145 + .../flyteadmin/models/secret_mount_type.py | 94 + .../flyteadmin/models/sort_direction.py | 93 + .../flyteadmin/models/sql_dialect.py | 95 + .../structured_dataset_type_dataset_column.py | 147 + .../task_execution_metadata_instance_class.py | 93 + .../models/task_log_message_format.py | 94 + .../workflow_metadata_on_failure_policy.py | 93 + .../service/flyteadmin/flyteadmin/rest.py | 323 + .../flyteidl/service/flyteadmin/git_push.sh | 52 + .../service/flyteadmin/requirements.txt | 5 + .../flyteidl/service/flyteadmin/setup.py | 46 + .../service/flyteadmin/test-requirements.txt | 5 + .../service/flyteadmin/test/__init__.py | 0 .../test/test_admin_abort_metadata.py | 40 + .../flyteadmin/test/test_admin_annotations.py | 40 + .../flyteadmin/test/test_admin_auth.py | 40 + .../flyteadmin/test/test_admin_auth_role.py | 40 + .../test/test_admin_cluster_assignment.py | 40 + .../test_admin_cluster_resource_attributes.py | 40 + .../test/test_admin_cron_schedule.py | 40 + .../flyteadmin/test/test_admin_domain.py | 40 + .../test/test_admin_email_notification.py | 40 + .../flyteadmin/test/test_admin_execution.py | 40 + .../test/test_admin_execution_closure.py | 40 + .../test_admin_execution_cluster_label.py | 40 + .../test_admin_execution_create_request.py | 40 + .../test_admin_execution_create_response.py | 40 + .../test/test_admin_execution_list.py | 40 + .../test/test_admin_execution_metadata.py | 40 + .../test_admin_execution_queue_attributes.py | 40 + .../test_admin_execution_recover_request.py | 40 + .../test_admin_execution_relaunch_request.py | 40 + .../test/test_admin_execution_spec.py | 40 + .../test/test_admin_execution_state.py | 40 + ...st_admin_execution_state_change_details.py | 40 + .../test_admin_execution_terminate_request.py | 40 + ...test_admin_execution_terminate_response.py | 40 + .../test_admin_execution_update_request.py | 40 + .../test_admin_execution_update_response.py | 40 + .../flyteadmin/test/test_admin_fixed_rate.py | 40 + .../test/test_admin_fixed_rate_unit.py | 40 + .../test/test_admin_get_version_response.py | 40 + .../flyteadmin/test/test_admin_labels.py | 40 + .../flyteadmin/test/test_admin_launch_plan.py | 40 + .../test/test_admin_launch_plan_closure.py | 40 + .../test_admin_launch_plan_create_request.py | 40 + .../test_admin_launch_plan_create_response.py | 40 + .../test/test_admin_launch_plan_list.py | 40 + .../test/test_admin_launch_plan_metadata.py | 40 + .../test/test_admin_launch_plan_spec.py | 40 + .../test/test_admin_launch_plan_state.py | 40 + .../test_admin_launch_plan_update_request.py | 40 + .../test_admin_launch_plan_update_response.py | 40 + ...dmin_list_matchable_attributes_response.py | 40 + .../test/test_admin_literal_map_blob.py | 40 + ...dmin_matchable_attributes_configuration.py | 40 + .../test/test_admin_matchable_resource.py | 40 + .../test/test_admin_matching_attributes.py | 40 + .../test/test_admin_named_entity.py | 40 + .../test_admin_named_entity_identifier.py | 40 + ...test_admin_named_entity_identifier_list.py | 40 + .../test/test_admin_named_entity_list.py | 40 + .../test/test_admin_named_entity_metadata.py | 40 + .../test/test_admin_named_entity_state.py | 40 + .../test_admin_named_entity_update_request.py | 40 + ...test_admin_named_entity_update_response.py | 40 + .../test/test_admin_node_execution_closure.py | 40 + ...test_admin_node_execution_event_request.py | 40 + ...est_admin_node_execution_event_response.py | 40 + ..._admin_node_execution_get_data_response.py | 40 + .../test/test_admin_node_execution_list.py | 40 + .../test_admin_node_execution_meta_data.py | 40 + .../test/test_admin_notification.py | 40 + .../test/test_admin_notification_list.py | 40 + .../test_admin_pager_duty_notification.py | 40 + .../test/test_admin_plugin_override.py | 40 + .../test/test_admin_plugin_overrides.py | 40 + .../flyteadmin/test/test_admin_project.py | 40 + .../test_admin_project_domain_attributes.py | 40 + ...roject_domain_attributes_delete_request.py | 40 + ...oject_domain_attributes_delete_response.py | 40 + ..._project_domain_attributes_get_response.py | 40 + ...roject_domain_attributes_update_request.py | 40 + ...oject_domain_attributes_update_response.py | 40 + .../test_admin_project_register_request.py | 40 + .../test_admin_project_register_response.py | 40 + .../test_admin_project_update_response.py | 40 + .../flyteadmin/test/test_admin_projects.py | 40 + .../test/test_admin_raw_output_data_config.py | 40 + .../flyteadmin/test/test_admin_schedule.py | 40 + .../flyteadmin/test/test_admin_service_api.py | 383 + .../test/test_admin_slack_notification.py | 40 + .../flyteadmin/test/test_admin_sort.py | 40 + .../test/test_admin_system_metadata.py | 40 + .../flyteadmin/test/test_admin_task.py | 40 + .../test/test_admin_task_closure.py | 40 + .../test/test_admin_task_create_request.py | 40 + .../test/test_admin_task_create_response.py | 40 + .../test/test_admin_task_execution_closure.py | 40 + ...test_admin_task_execution_event_request.py | 40 + ...est_admin_task_execution_event_response.py | 40 + ..._admin_task_execution_get_data_response.py | 40 + .../test/test_admin_task_execution_list.py | 40 + .../flyteadmin/test/test_admin_task_list.py | 40 + .../test_admin_task_resource_attributes.py | 40 + .../test/test_admin_task_resource_spec.py | 40 + .../flyteadmin/test/test_admin_task_spec.py | 40 + .../flyteadmin/test/test_admin_url_blob.py | 40 + .../flyteadmin/test/test_admin_version.py | 40 + .../flyteadmin/test/test_admin_workflow.py | 40 + .../test/test_admin_workflow_attributes.py | 40 + ...dmin_workflow_attributes_delete_request.py | 40 + ...min_workflow_attributes_delete_response.py | 40 + ..._admin_workflow_attributes_get_response.py | 40 + ...dmin_workflow_attributes_update_request.py | 40 + ...min_workflow_attributes_update_response.py | 40 + .../test/test_admin_workflow_closure.py | 40 + .../test_admin_workflow_create_request.py | 40 + .../test_admin_workflow_create_response.py | 40 + .../test_admin_workflow_execution_config.py | 40 + ..._admin_workflow_execution_event_request.py | 40 + ...admin_workflow_execution_event_response.py | 40 + ...in_workflow_execution_get_data_response.py | 40 + .../test/test_admin_workflow_list.py | 40 + .../test/test_admin_workflow_spec.py | 40 + .../test_blob_type_blob_dimensionality.py | 40 + .../test/test_catalog_reservation_status.py | 40 + .../test_comparison_expression_operator.py | 40 + ...conjunction_expression_logical_operator.py | 40 + .../test/test_connection_set_id_list.py | 40 + .../test/test_container_architecture.py | 40 + .../flyteadmin/test/test_core_alias.py | 40 + .../flyteadmin/test/test_core_binary.py | 40 + .../flyteadmin/test/test_core_binding.py | 40 + .../flyteadmin/test/test_core_binding_data.py | 40 + .../test/test_core_binding_data_collection.py | 40 + .../test/test_core_binding_data_map.py | 40 + .../service/flyteadmin/test/test_core_blob.py | 40 + .../test/test_core_blob_metadata.py | 40 + .../flyteadmin/test/test_core_blob_type.py | 40 + .../test/test_core_boolean_expression.py | 40 + .../flyteadmin/test/test_core_branch_node.py | 40 + .../test/test_core_catalog_artifact_tag.py | 40 + .../test/test_core_catalog_cache_status.py | 40 + .../test/test_core_catalog_metadata.py | 40 + .../test/test_core_comparison_expression.py | 40 + .../test/test_core_compiled_task.py | 40 + .../test/test_core_compiled_workflow.py | 40 + .../test_core_compiled_workflow_closure.py | 40 + .../test/test_core_conjunction_expression.py | 40 + .../test/test_core_connection_set.py | 40 + .../flyteadmin/test/test_core_container.py | 40 + .../test/test_core_container_port.py | 40 + .../test/test_core_data_loading_config.py | 40 + .../flyteadmin/test/test_core_enum_type.py | 40 + .../flyteadmin/test/test_core_error.py | 40 + .../test/test_core_execution_error.py | 40 + .../flyteadmin/test/test_core_identifier.py | 40 + .../flyteadmin/test/test_core_identity.py | 40 + .../flyteadmin/test/test_core_if_block.py | 40 + .../test/test_core_if_else_block.py | 40 + .../flyteadmin/test/test_core_io_strategy.py | 40 + .../test/test_core_k8s_object_metadata.py | 40 + .../flyteadmin/test/test_core_k8s_pod.py | 40 + .../test/test_core_key_value_pair.py | 40 + .../flyteadmin/test/test_core_literal.py | 40 + .../test/test_core_literal_collection.py | 40 + .../flyteadmin/test/test_core_literal_map.py | 40 + .../flyteadmin/test/test_core_literal_type.py | 40 + .../service/flyteadmin/test/test_core_node.py | 40 + .../test_core_node_execution_identifier.py | 40 + .../test/test_core_node_execution_phase.py | 40 + .../test/test_core_node_metadata.py | 40 + .../test/test_core_o_auth2_client.py | 40 + .../test/test_core_o_auth2_token_request.py | 40 + .../test_core_o_auth2_token_request_type.py | 40 + .../flyteadmin/test/test_core_operand.py | 40 + .../test/test_core_output_reference.py | 40 + .../flyteadmin/test/test_core_parameter.py | 40 + .../test/test_core_parameter_map.py | 40 + .../flyteadmin/test/test_core_primitive.py | 40 + .../test/test_core_quality_of_service.py | 40 + .../test/test_core_quality_of_service_spec.py | 40 + .../test/test_core_resource_type.py | 40 + .../flyteadmin/test/test_core_resources.py | 40 + .../test/test_core_retry_strategy.py | 40 + .../test/test_core_runtime_metadata.py | 40 + .../flyteadmin/test/test_core_scalar.py | 40 + .../flyteadmin/test/test_core_schema_type.py | 40 + .../flyteadmin/test/test_core_secret.py | 40 + .../test/test_core_security_context.py | 40 + .../flyteadmin/test/test_core_simple_type.py | 40 + .../service/flyteadmin/test/test_core_sql.py | 40 + .../test/test_core_structured_dataset.py | 40 + .../test_core_structured_dataset_metadata.py | 40 + .../test/test_core_structured_dataset_type.py | 40 + .../test_core_task_execution_identifier.py | 40 + .../test/test_core_task_execution_phase.py | 40 + .../flyteadmin/test/test_core_task_log.py | 40 + .../test/test_core_task_metadata.py | 40 + .../flyteadmin/test/test_core_task_node.py | 40 + .../test/test_core_task_node_overrides.py | 40 + .../test/test_core_task_template.py | 40 + .../test/test_core_type_annotation.py | 40 + .../test/test_core_type_structure.py | 40 + .../test/test_core_typed_interface.py | 40 + .../flyteadmin/test/test_core_union.py | 40 + .../flyteadmin/test/test_core_union_info.py | 40 + .../flyteadmin/test/test_core_union_type.py | 40 + .../flyteadmin/test/test_core_variable.py | 40 + .../flyteadmin/test/test_core_variable_map.py | 40 + .../service/flyteadmin/test/test_core_void.py | 40 + ...test_core_workflow_execution_identifier.py | 40 + .../test_core_workflow_execution_phase.py | 40 + .../test/test_core_workflow_metadata.py | 40 + .../test_core_workflow_metadata_defaults.py | 40 + .../test/test_core_workflow_node.py | 40 + .../test/test_core_workflow_template.py | 40 + ..._data_loading_config_literal_map_format.py | 40 + .../test/test_event_external_resource_info.py | 40 + .../test/test_event_node_execution_event.py | 40 + ...st_event_parent_node_execution_metadata.py | 40 + ...st_event_parent_task_execution_metadata.py | 40 + .../test/test_event_resource_pool_info.py | 40 + .../test/test_event_task_execution_event.py | 40 + .../test_event_task_execution_metadata.py | 40 + .../test_event_workflow_execution_event.py | 40 + .../test/test_execution_error_error_kind.py | 40 + .../test_execution_metadata_execution_mode.py | 40 + ...idladmin_dynamic_workflow_node_metadata.py | 40 + .../test/test_flyteidladmin_node_execution.py | 40 + .../test/test_flyteidladmin_task_execution.py | 40 + .../test_flyteidladmin_task_node_metadata.py | 40 + ...st_flyteidladmin_workflow_node_metadata.py | 40 + .../test/test_flyteidlcore_schema.py | 40 + ...idlevent_dynamic_workflow_node_metadata.py | 40 + .../test_flyteidlevent_task_node_metadata.py | 40 + ...st_flyteidlevent_workflow_node_metadata.py | 40 + .../test/test_io_strategy_download_mode.py | 40 + .../test/test_io_strategy_upload_mode.py | 40 + ...plugin_override_missing_plugin_behavior.py | 40 + .../test/test_project_project_state.py | 40 + .../test/test_protobuf_list_value.py | 40 + .../test/test_protobuf_null_value.py | 40 + .../flyteadmin/test/test_protobuf_struct.py | 40 + .../flyteadmin/test/test_protobuf_value.py | 40 + .../test/test_quality_of_service_tier.py | 40 + .../test/test_resources_resource_entry.py | 40 + .../test/test_resources_resource_name.py | 40 + .../test_runtime_metadata_runtime_type.py | 40 + .../test_schema_column_schema_column_type.py | 40 + .../test/test_schema_type_schema_column.py | 40 + .../flyteadmin/test/test_secret_mount_type.py | 40 + .../flyteadmin/test/test_sort_direction.py | 40 + .../flyteadmin/test/test_sql_dialect.py | 40 + ..._structured_dataset_type_dataset_column.py | 40 + ..._task_execution_metadata_instance_class.py | 40 + .../test/test_task_log_message_format.py | 40 + ...est_workflow_metadata_on_failure_policy.py | 40 + .../flyteidl/service/flyteadmin/tox.ini | 10 + 765 files changed, 128657 insertions(+) create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/.gitignore create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen-ignore create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen/VERSION create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/.travis.yml create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/README.md create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/client.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/configuration.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/git_push.sh create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_annotations.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth_role.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_domain.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_email_notification.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_cluster_label.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_list.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_get_version_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_labels.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_list.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_list_matchable_attributes_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier_list.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_list.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_list.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification_list.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_pager_duty_notification.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_override.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_overrides.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_get_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_update_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_projects.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_raw_output_data_config.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_slack_notification.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_system_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_closure.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_list.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_list.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_spec.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_url_blob.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_get_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_closure.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_data_response.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_list.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_spec.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_connection_set_id_list.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_alias.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_binding.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_collection.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_map.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_branch_node.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_task.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_container_port.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_enum_type.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_error.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_identifier.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_if_else_block.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_object_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_key_value_pair.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_collection.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_map.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_node.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter_map.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service_spec.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_resources.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_retry_strategy.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_runtime_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_schema_type.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_security_context.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_type.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node_overrides.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_type_annotation.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_type_structure.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_union_info.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_union_type.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_variable_map.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_void.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_identifier.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata_defaults.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_node_execution_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_task_execution_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_resource_pool_info.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_execution.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_workflow_node_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlcore_schema.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_workflow_node_metadata.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_list_value.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_struct.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_value.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_schema_type_schema_column.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_structured_dataset_type_dataset_column.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go create mode 100644 gen/pb-go/flyteidl/service/flyteadmin/response.go create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/.gitignore create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen-ignore create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen/VERSION create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/.travis.yml create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/README.md create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/__init__.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api_client.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/configuration.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_abort_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_annotations.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth_role.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cron_schedule.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_domain.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_email_notification.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_cluster_label.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_recover_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_relaunch_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state_change_details.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate_unit.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_get_version_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_labels.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_state.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_list_matchable_attributes_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_literal_map_blob.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_attributes_configuration.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_resource.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_state.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_meta_data.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_pager_duty_notification.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_override.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_overrides.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_get_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_update_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_projects.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_raw_output_data_config.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_schedule.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_slack_notification.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_sort.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_system_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_spec.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_url_blob.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_version.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_get_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_data_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_spec.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/blob_type_blob_dimensionality.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/catalog_reservation_status.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/conjunction_expression_logical_operator.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/connection_set_id_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/container_architecture.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_alias.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binary.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_collection.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_map.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_boolean_expression.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_branch_node.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_artifact_tag.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_cache_status.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_task.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_conjunction_expression.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_connection_set.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container_port.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_data_loading_config.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_enum_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_error.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_execution_error.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identifier.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_block.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_else_block.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_io_strategy.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_object_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_key_value_pair.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_collection.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_map.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_identifier.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_phase.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_client.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_operand.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_output_reference.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter_map.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_primitive.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service_spec.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resource_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resources.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_retry_strategy.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_runtime_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_scalar.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_secret.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_security_context.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_simple_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sql.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_identifier.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_phase.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_log.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node_overrides.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_template.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_annotation.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_structure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_typed_interface.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_info.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable_map.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_void.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_identifier.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_phase.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata_defaults.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_node.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_template.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/data_loading_config_literal_map_format.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_external_resource_info.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_node_execution_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_task_execution_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_resource_pool_info.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_workflow_execution_event.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_error_error_kind.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_metadata_execution_mode.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_node_execution.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_execution.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_workflow_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlcore_schema.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_workflow_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_download_mode.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_upload_mode.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/plugin_override_missing_plugin_behavior.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/project_project_state.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_list_value.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_null_value.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_struct.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_value.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/quality_of_service_tier.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_entry.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_name.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/runtime_metadata_runtime_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_column_schema_column_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_type_schema_column.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/secret_mount_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sort_direction.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sql_dialect.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/structured_dataset_type_dataset_column.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_execution_metadata_instance_class.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_log_message_format.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/workflow_metadata_on_failure_policy.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/rest.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/git_push.sh create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/requirements.txt create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/setup.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test-requirements.txt create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/__init__.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_abort_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_annotations.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth_role.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_assignment.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cron_schedule.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_domain.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_email_notification.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_cluster_label.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_recover_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_relaunch_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_spec.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state_change_details.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate_unit.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_get_version_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_labels.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_spec.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_state.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_list_matchable_attributes_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_literal_map_blob.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_attributes_configuration.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_resource.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_state.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_get_data_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_meta_data.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_pager_duty_notification.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_override.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_overrides.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_get_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_update_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_projects.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_raw_output_data_config.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_schedule.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_slack_notification.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_sort.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_system_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_get_data_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_spec.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_url_blob.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_version.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_get_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_config.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_data_response.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_spec.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_blob_type_blob_dimensionality.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_catalog_reservation_status.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_conjunction_expression_logical_operator.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_connection_set_id_list.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_container_architecture.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_alias.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binary.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_collection.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_map.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_boolean_expression.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_branch_node.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_artifact_tag.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_cache_status.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_task.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow_closure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_conjunction_expression.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_connection_set.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container_port.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_data_loading_config.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_enum_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_error.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_execution_error.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identifier.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identity.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_block.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_else_block.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_io_strategy.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_object_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_pod.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_key_value_pair.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_collection.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_map.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_identifier.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_phase.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_client.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_operand.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_output_reference.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter_map.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_primitive.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service_spec.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resource_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resources.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_retry_strategy.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_runtime_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_scalar.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_secret.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_security_context.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_simple_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sql.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_identifier.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_phase.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_log.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node_overrides.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_template.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_annotation.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_structure.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_typed_interface.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_info.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable_map.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_void.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_identifier.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_phase.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata_defaults.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_node.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_template.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_data_loading_config_literal_map_format.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_external_resource_info.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_node_execution_event.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_node_execution_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_task_execution_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_resource_pool_info.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_event.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_event_workflow_execution_event.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_error_error_kind.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_metadata_execution_mode.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_dynamic_workflow_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_node_execution.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_execution.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_workflow_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlcore_schema.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_dynamic_workflow_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_workflow_node_metadata.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_download_mode.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_upload_mode.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_plugin_override_missing_plugin_behavior.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_project_project_state.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_list_value.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_null_value.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_struct.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_value.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_quality_of_service_tier.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_entry.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_name.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_runtime_metadata_runtime_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_column_schema_column_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_type_schema_column.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_secret_mount_type.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_sort_direction.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_sql_dialect.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_structured_dataset_type_dataset_column.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_task_execution_metadata_instance_class.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_task_log_message_format.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/test/test_workflow_metadata_on_failure_policy.py create mode 100644 gen/pb_python/flyteidl/service/flyteadmin/tox.ini diff --git a/gen/pb-go/flyteidl/service/flyteadmin/.gitignore b/gen/pb-go/flyteidl/service/flyteadmin/.gitignore new file mode 100644 index 000000000..daf913b1b --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/.gitignore @@ -0,0 +1,24 @@ +# Compiled Object files, Static and Dynamic libs (Shared Objects) +*.o +*.a +*.so + +# Folders +_obj +_test + +# Architecture specific extensions/prefixes +*.[568vq] +[568vq].out + +*.cgo1.go +*.cgo2.c +_cgo_defun.c +_cgo_gotypes.go +_cgo_export.* + +_testmain.go + +*.exe +*.test +*.prof diff --git a/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen-ignore b/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen-ignore new file mode 100644 index 000000000..c5fa491b4 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen-ignore @@ -0,0 +1,23 @@ +# Swagger Codegen Ignore +# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen/VERSION b/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen/VERSION new file mode 100644 index 000000000..6cecc1a68 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen/VERSION @@ -0,0 +1 @@ +2.4.6-SNAPSHOT \ No newline at end of file diff --git a/gen/pb-go/flyteidl/service/flyteadmin/.travis.yml b/gen/pb-go/flyteidl/service/flyteadmin/.travis.yml new file mode 100644 index 000000000..f5cb2ce9a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/gen/pb-go/flyteidl/service/flyteadmin/README.md b/gen/pb-go/flyteidl/service/flyteadmin/README.md new file mode 100644 index 000000000..53dad0bee --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/README.md @@ -0,0 +1,332 @@ +# Go API client for flyteadmin + +No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +## Overview +This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. + +- API version: version not set +- Package version: 1.0.0 +- Build package: io.swagger.codegen.languages.GoClientCodegen + +## Installation +Put the package under your project folder and add the following in import: +```golang +import "./flyteadmin" +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*AdminServiceApi* | [**CreateExecution**](docs/AdminServiceApi.md#createexecution) | **Post** /api/v1/executions | Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` +*AdminServiceApi* | [**CreateLaunchPlan**](docs/AdminServiceApi.md#createlaunchplan) | **Post** /api/v1/launch_plans | Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition +*AdminServiceApi* | [**CreateNodeEvent**](docs/AdminServiceApi.md#createnodeevent) | **Post** /api/v1/events/nodes | Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. +*AdminServiceApi* | [**CreateTask**](docs/AdminServiceApi.md#createtask) | **Post** /api/v1/tasks | Create and upload a :ref:`ref_flyteidl.admin.Task` definition +*AdminServiceApi* | [**CreateTaskEvent**](docs/AdminServiceApi.md#createtaskevent) | **Post** /api/v1/events/tasks | Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. +*AdminServiceApi* | [**CreateWorkflow**](docs/AdminServiceApi.md#createworkflow) | **Post** /api/v1/workflows | Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition +*AdminServiceApi* | [**CreateWorkflowEvent**](docs/AdminServiceApi.md#createworkflowevent) | **Post** /api/v1/events/workflows | Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. +*AdminServiceApi* | [**DeleteProjectDomainAttributes**](docs/AdminServiceApi.md#deleteprojectdomainattributes) | **Delete** /api/v1/project_domain_attributes/{project}/{domain} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. +*AdminServiceApi* | [**DeleteWorkflowAttributes**](docs/AdminServiceApi.md#deleteworkflowattributes) | **Delete** /api/v1/workflow_attributes/{project}/{domain}/{workflow} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. +*AdminServiceApi* | [**GetActiveLaunchPlan**](docs/AdminServiceApi.md#getactivelaunchplan) | **Get** /api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name} | Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. +*AdminServiceApi* | [**GetExecution**](docs/AdminServiceApi.md#getexecution) | **Get** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Fetches a :ref:`ref_flyteidl.admin.Execution`. +*AdminServiceApi* | [**GetExecutionData**](docs/AdminServiceApi.md#getexecutiondata) | **Get** /api/v1/data/executions/{id.project}/{id.domain}/{id.name} | Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. +*AdminServiceApi* | [**GetLaunchPlan**](docs/AdminServiceApi.md#getlaunchplan) | **Get** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. +*AdminServiceApi* | [**GetNamedEntity**](docs/AdminServiceApi.md#getnamedentity) | **Get** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. +*AdminServiceApi* | [**GetNodeExecution**](docs/AdminServiceApi.md#getnodeexecution) | **Get** /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. +*AdminServiceApi* | [**GetNodeExecutionData**](docs/AdminServiceApi.md#getnodeexecutiondata) | **Get** /api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. +*AdminServiceApi* | [**GetProjectDomainAttributes**](docs/AdminServiceApi.md#getprojectdomainattributes) | **Get** /api/v1/project_domain_attributes/{project}/{domain} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. +*AdminServiceApi* | [**GetTask**](docs/AdminServiceApi.md#gettask) | **Get** /api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Task` definition. +*AdminServiceApi* | [**GetTaskExecution**](docs/AdminServiceApi.md#gettaskexecution) | **Get** /api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt} | Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. +*AdminServiceApi* | [**GetTaskExecutionData**](docs/AdminServiceApi.md#gettaskexecutiondata) | **Get** /api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt} | Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. +*AdminServiceApi* | [**GetVersion**](docs/AdminServiceApi.md#getversion) | **Get** /api/v1/version | +*AdminServiceApi* | [**GetWorkflow**](docs/AdminServiceApi.md#getworkflow) | **Get** /api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. +*AdminServiceApi* | [**GetWorkflowAttributes**](docs/AdminServiceApi.md#getworkflowattributes) | **Get** /api/v1/workflow_attributes/{project}/{domain}/{workflow} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. +*AdminServiceApi* | [**ListActiveLaunchPlans**](docs/AdminServiceApi.md#listactivelaunchplans) | **Get** /api/v1/active_launch_plans/{project}/{domain} | List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. +*AdminServiceApi* | [**ListExecutions**](docs/AdminServiceApi.md#listexecutions) | **Get** /api/v1/executions/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Execution`. +*AdminServiceApi* | [**ListLaunchPlanIds**](docs/AdminServiceApi.md#listlaunchplanids) | **Get** /api/v1/launch_plan_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. +*AdminServiceApi* | [**ListLaunchPlans**](docs/AdminServiceApi.md#listlaunchplans) | **Get** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. +*AdminServiceApi* | [**ListLaunchPlans2**](docs/AdminServiceApi.md#listlaunchplans2) | **Get** /api/v1/launch_plans/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. +*AdminServiceApi* | [**ListMatchableAttributes**](docs/AdminServiceApi.md#listmatchableattributes) | **Get** /api/v1/matchable_attributes | Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. +*AdminServiceApi* | [**ListNamedEntities**](docs/AdminServiceApi.md#listnamedentities) | **Get** /api/v1/named_entities/{resource_type}/{project}/{domain} | Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. +*AdminServiceApi* | [**ListNodeExecutions**](docs/AdminServiceApi.md#listnodeexecutions) | **Get** /api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. +*AdminServiceApi* | [**ListNodeExecutionsForTask**](docs/AdminServiceApi.md#listnodeexecutionsfortask) | **Get** /api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. +*AdminServiceApi* | [**ListProjects**](docs/AdminServiceApi.md#listprojects) | **Get** /api/v1/projects | Fetches a list of :ref:`ref_flyteidl.admin.Project` +*AdminServiceApi* | [**ListTaskExecutions**](docs/AdminServiceApi.md#listtaskexecutions) | **Get** /api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id} | Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. +*AdminServiceApi* | [**ListTaskIds**](docs/AdminServiceApi.md#listtaskids) | **Get** /api/v1/task_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. +*AdminServiceApi* | [**ListTasks**](docs/AdminServiceApi.md#listtasks) | **Get** /api/v1/tasks/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. +*AdminServiceApi* | [**ListTasks2**](docs/AdminServiceApi.md#listtasks2) | **Get** /api/v1/tasks/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. +*AdminServiceApi* | [**ListWorkflowIds**](docs/AdminServiceApi.md#listworkflowids) | **Get** /api/v1/workflow_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. +*AdminServiceApi* | [**ListWorkflows**](docs/AdminServiceApi.md#listworkflows) | **Get** /api/v1/workflows/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. +*AdminServiceApi* | [**ListWorkflows2**](docs/AdminServiceApi.md#listworkflows2) | **Get** /api/v1/workflows/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. +*AdminServiceApi* | [**RecoverExecution**](docs/AdminServiceApi.md#recoverexecution) | **Post** /api/v1/executions/recover | Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. +*AdminServiceApi* | [**RegisterProject**](docs/AdminServiceApi.md#registerproject) | **Post** /api/v1/projects | Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. +*AdminServiceApi* | [**RelaunchExecution**](docs/AdminServiceApi.md#relaunchexecution) | **Post** /api/v1/executions/relaunch | Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` +*AdminServiceApi* | [**TerminateExecution**](docs/AdminServiceApi.md#terminateexecution) | **Delete** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. +*AdminServiceApi* | [**UpdateExecution**](docs/AdminServiceApi.md#updateexecution) | **Put** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. +*AdminServiceApi* | [**UpdateLaunchPlan**](docs/AdminServiceApi.md#updatelaunchplan) | **Put** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. +*AdminServiceApi* | [**UpdateNamedEntity**](docs/AdminServiceApi.md#updatenamedentity) | **Put** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. +*AdminServiceApi* | [**UpdateProject**](docs/AdminServiceApi.md#updateproject) | **Put** /api/v1/projects/{id} | Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. +*AdminServiceApi* | [**UpdateProjectDomainAttributes**](docs/AdminServiceApi.md#updateprojectdomainattributes) | **Put** /api/v1/project_domain_attributes/{attributes.project}/{attributes.domain} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. +*AdminServiceApi* | [**UpdateWorkflowAttributes**](docs/AdminServiceApi.md#updateworkflowattributes) | **Put** /api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. + + +## Documentation For Models + + - [AdminAbortMetadata](docs/AdminAbortMetadata.md) + - [AdminAnnotations](docs/AdminAnnotations.md) + - [AdminAuth](docs/AdminAuth.md) + - [AdminAuthRole](docs/AdminAuthRole.md) + - [AdminClusterAssignment](docs/AdminClusterAssignment.md) + - [AdminClusterResourceAttributes](docs/AdminClusterResourceAttributes.md) + - [AdminCronSchedule](docs/AdminCronSchedule.md) + - [AdminDomain](docs/AdminDomain.md) + - [AdminEmailNotification](docs/AdminEmailNotification.md) + - [AdminExecution](docs/AdminExecution.md) + - [AdminExecutionClosure](docs/AdminExecutionClosure.md) + - [AdminExecutionClusterLabel](docs/AdminExecutionClusterLabel.md) + - [AdminExecutionCreateRequest](docs/AdminExecutionCreateRequest.md) + - [AdminExecutionCreateResponse](docs/AdminExecutionCreateResponse.md) + - [AdminExecutionList](docs/AdminExecutionList.md) + - [AdminExecutionMetadata](docs/AdminExecutionMetadata.md) + - [AdminExecutionQueueAttributes](docs/AdminExecutionQueueAttributes.md) + - [AdminExecutionRecoverRequest](docs/AdminExecutionRecoverRequest.md) + - [AdminExecutionRelaunchRequest](docs/AdminExecutionRelaunchRequest.md) + - [AdminExecutionSpec](docs/AdminExecutionSpec.md) + - [AdminExecutionState](docs/AdminExecutionState.md) + - [AdminExecutionStateChangeDetails](docs/AdminExecutionStateChangeDetails.md) + - [AdminExecutionTerminateRequest](docs/AdminExecutionTerminateRequest.md) + - [AdminExecutionTerminateResponse](docs/AdminExecutionTerminateResponse.md) + - [AdminExecutionUpdateRequest](docs/AdminExecutionUpdateRequest.md) + - [AdminExecutionUpdateResponse](docs/AdminExecutionUpdateResponse.md) + - [AdminFixedRate](docs/AdminFixedRate.md) + - [AdminFixedRateUnit](docs/AdminFixedRateUnit.md) + - [AdminGetVersionResponse](docs/AdminGetVersionResponse.md) + - [AdminLabels](docs/AdminLabels.md) + - [AdminLaunchPlan](docs/AdminLaunchPlan.md) + - [AdminLaunchPlanClosure](docs/AdminLaunchPlanClosure.md) + - [AdminLaunchPlanCreateRequest](docs/AdminLaunchPlanCreateRequest.md) + - [AdminLaunchPlanCreateResponse](docs/AdminLaunchPlanCreateResponse.md) + - [AdminLaunchPlanList](docs/AdminLaunchPlanList.md) + - [AdminLaunchPlanMetadata](docs/AdminLaunchPlanMetadata.md) + - [AdminLaunchPlanSpec](docs/AdminLaunchPlanSpec.md) + - [AdminLaunchPlanState](docs/AdminLaunchPlanState.md) + - [AdminLaunchPlanUpdateRequest](docs/AdminLaunchPlanUpdateRequest.md) + - [AdminLaunchPlanUpdateResponse](docs/AdminLaunchPlanUpdateResponse.md) + - [AdminListMatchableAttributesResponse](docs/AdminListMatchableAttributesResponse.md) + - [AdminLiteralMapBlob](docs/AdminLiteralMapBlob.md) + - [AdminMatchableAttributesConfiguration](docs/AdminMatchableAttributesConfiguration.md) + - [AdminMatchableResource](docs/AdminMatchableResource.md) + - [AdminMatchingAttributes](docs/AdminMatchingAttributes.md) + - [AdminNamedEntity](docs/AdminNamedEntity.md) + - [AdminNamedEntityIdentifier](docs/AdminNamedEntityIdentifier.md) + - [AdminNamedEntityIdentifierList](docs/AdminNamedEntityIdentifierList.md) + - [AdminNamedEntityList](docs/AdminNamedEntityList.md) + - [AdminNamedEntityMetadata](docs/AdminNamedEntityMetadata.md) + - [AdminNamedEntityState](docs/AdminNamedEntityState.md) + - [AdminNamedEntityUpdateRequest](docs/AdminNamedEntityUpdateRequest.md) + - [AdminNamedEntityUpdateResponse](docs/AdminNamedEntityUpdateResponse.md) + - [AdminNodeExecutionClosure](docs/AdminNodeExecutionClosure.md) + - [AdminNodeExecutionEventRequest](docs/AdminNodeExecutionEventRequest.md) + - [AdminNodeExecutionEventResponse](docs/AdminNodeExecutionEventResponse.md) + - [AdminNodeExecutionGetDataResponse](docs/AdminNodeExecutionGetDataResponse.md) + - [AdminNodeExecutionList](docs/AdminNodeExecutionList.md) + - [AdminNodeExecutionMetaData](docs/AdminNodeExecutionMetaData.md) + - [AdminNotification](docs/AdminNotification.md) + - [AdminNotificationList](docs/AdminNotificationList.md) + - [AdminPagerDutyNotification](docs/AdminPagerDutyNotification.md) + - [AdminPluginOverride](docs/AdminPluginOverride.md) + - [AdminPluginOverrides](docs/AdminPluginOverrides.md) + - [AdminProject](docs/AdminProject.md) + - [AdminProjectDomainAttributes](docs/AdminProjectDomainAttributes.md) + - [AdminProjectDomainAttributesDeleteRequest](docs/AdminProjectDomainAttributesDeleteRequest.md) + - [AdminProjectDomainAttributesDeleteResponse](docs/AdminProjectDomainAttributesDeleteResponse.md) + - [AdminProjectDomainAttributesGetResponse](docs/AdminProjectDomainAttributesGetResponse.md) + - [AdminProjectDomainAttributesUpdateRequest](docs/AdminProjectDomainAttributesUpdateRequest.md) + - [AdminProjectDomainAttributesUpdateResponse](docs/AdminProjectDomainAttributesUpdateResponse.md) + - [AdminProjectRegisterRequest](docs/AdminProjectRegisterRequest.md) + - [AdminProjectRegisterResponse](docs/AdminProjectRegisterResponse.md) + - [AdminProjectUpdateResponse](docs/AdminProjectUpdateResponse.md) + - [AdminProjects](docs/AdminProjects.md) + - [AdminRawOutputDataConfig](docs/AdminRawOutputDataConfig.md) + - [AdminSchedule](docs/AdminSchedule.md) + - [AdminSlackNotification](docs/AdminSlackNotification.md) + - [AdminSort](docs/AdminSort.md) + - [AdminSystemMetadata](docs/AdminSystemMetadata.md) + - [AdminTask](docs/AdminTask.md) + - [AdminTaskClosure](docs/AdminTaskClosure.md) + - [AdminTaskCreateRequest](docs/AdminTaskCreateRequest.md) + - [AdminTaskCreateResponse](docs/AdminTaskCreateResponse.md) + - [AdminTaskExecutionClosure](docs/AdminTaskExecutionClosure.md) + - [AdminTaskExecutionEventRequest](docs/AdminTaskExecutionEventRequest.md) + - [AdminTaskExecutionEventResponse](docs/AdminTaskExecutionEventResponse.md) + - [AdminTaskExecutionGetDataResponse](docs/AdminTaskExecutionGetDataResponse.md) + - [AdminTaskExecutionList](docs/AdminTaskExecutionList.md) + - [AdminTaskList](docs/AdminTaskList.md) + - [AdminTaskResourceAttributes](docs/AdminTaskResourceAttributes.md) + - [AdminTaskResourceSpec](docs/AdminTaskResourceSpec.md) + - [AdminTaskSpec](docs/AdminTaskSpec.md) + - [AdminUrlBlob](docs/AdminUrlBlob.md) + - [AdminVersion](docs/AdminVersion.md) + - [AdminWorkflow](docs/AdminWorkflow.md) + - [AdminWorkflowAttributes](docs/AdminWorkflowAttributes.md) + - [AdminWorkflowAttributesDeleteRequest](docs/AdminWorkflowAttributesDeleteRequest.md) + - [AdminWorkflowAttributesDeleteResponse](docs/AdminWorkflowAttributesDeleteResponse.md) + - [AdminWorkflowAttributesGetResponse](docs/AdminWorkflowAttributesGetResponse.md) + - [AdminWorkflowAttributesUpdateRequest](docs/AdminWorkflowAttributesUpdateRequest.md) + - [AdminWorkflowAttributesUpdateResponse](docs/AdminWorkflowAttributesUpdateResponse.md) + - [AdminWorkflowClosure](docs/AdminWorkflowClosure.md) + - [AdminWorkflowCreateRequest](docs/AdminWorkflowCreateRequest.md) + - [AdminWorkflowCreateResponse](docs/AdminWorkflowCreateResponse.md) + - [AdminWorkflowExecutionConfig](docs/AdminWorkflowExecutionConfig.md) + - [AdminWorkflowExecutionEventRequest](docs/AdminWorkflowExecutionEventRequest.md) + - [AdminWorkflowExecutionEventResponse](docs/AdminWorkflowExecutionEventResponse.md) + - [AdminWorkflowExecutionGetDataResponse](docs/AdminWorkflowExecutionGetDataResponse.md) + - [AdminWorkflowList](docs/AdminWorkflowList.md) + - [AdminWorkflowSpec](docs/AdminWorkflowSpec.md) + - [BlobTypeBlobDimensionality](docs/BlobTypeBlobDimensionality.md) + - [CatalogReservationStatus](docs/CatalogReservationStatus.md) + - [ComparisonExpressionOperator](docs/ComparisonExpressionOperator.md) + - [ConjunctionExpressionLogicalOperator](docs/ConjunctionExpressionLogicalOperator.md) + - [ConnectionSetIdList](docs/ConnectionSetIdList.md) + - [ContainerArchitecture](docs/ContainerArchitecture.md) + - [CoreAlias](docs/CoreAlias.md) + - [CoreBinary](docs/CoreBinary.md) + - [CoreBinding](docs/CoreBinding.md) + - [CoreBindingData](docs/CoreBindingData.md) + - [CoreBindingDataCollection](docs/CoreBindingDataCollection.md) + - [CoreBindingDataMap](docs/CoreBindingDataMap.md) + - [CoreBlob](docs/CoreBlob.md) + - [CoreBlobMetadata](docs/CoreBlobMetadata.md) + - [CoreBlobType](docs/CoreBlobType.md) + - [CoreBooleanExpression](docs/CoreBooleanExpression.md) + - [CoreBranchNode](docs/CoreBranchNode.md) + - [CoreCatalogArtifactTag](docs/CoreCatalogArtifactTag.md) + - [CoreCatalogCacheStatus](docs/CoreCatalogCacheStatus.md) + - [CoreCatalogMetadata](docs/CoreCatalogMetadata.md) + - [CoreComparisonExpression](docs/CoreComparisonExpression.md) + - [CoreCompiledTask](docs/CoreCompiledTask.md) + - [CoreCompiledWorkflow](docs/CoreCompiledWorkflow.md) + - [CoreCompiledWorkflowClosure](docs/CoreCompiledWorkflowClosure.md) + - [CoreConjunctionExpression](docs/CoreConjunctionExpression.md) + - [CoreConnectionSet](docs/CoreConnectionSet.md) + - [CoreContainer](docs/CoreContainer.md) + - [CoreContainerPort](docs/CoreContainerPort.md) + - [CoreDataLoadingConfig](docs/CoreDataLoadingConfig.md) + - [CoreEnumType](docs/CoreEnumType.md) + - [CoreError](docs/CoreError.md) + - [CoreExecutionError](docs/CoreExecutionError.md) + - [CoreIdentifier](docs/CoreIdentifier.md) + - [CoreIdentity](docs/CoreIdentity.md) + - [CoreIfBlock](docs/CoreIfBlock.md) + - [CoreIfElseBlock](docs/CoreIfElseBlock.md) + - [CoreIoStrategy](docs/CoreIoStrategy.md) + - [CoreK8sObjectMetadata](docs/CoreK8sObjectMetadata.md) + - [CoreK8sPod](docs/CoreK8sPod.md) + - [CoreKeyValuePair](docs/CoreKeyValuePair.md) + - [CoreLiteral](docs/CoreLiteral.md) + - [CoreLiteralCollection](docs/CoreLiteralCollection.md) + - [CoreLiteralMap](docs/CoreLiteralMap.md) + - [CoreLiteralType](docs/CoreLiteralType.md) + - [CoreNode](docs/CoreNode.md) + - [CoreNodeExecutionIdentifier](docs/CoreNodeExecutionIdentifier.md) + - [CoreNodeExecutionPhase](docs/CoreNodeExecutionPhase.md) + - [CoreNodeMetadata](docs/CoreNodeMetadata.md) + - [CoreOAuth2Client](docs/CoreOAuth2Client.md) + - [CoreOAuth2TokenRequest](docs/CoreOAuth2TokenRequest.md) + - [CoreOAuth2TokenRequestType](docs/CoreOAuth2TokenRequestType.md) + - [CoreOperand](docs/CoreOperand.md) + - [CoreOutputReference](docs/CoreOutputReference.md) + - [CoreParameter](docs/CoreParameter.md) + - [CoreParameterMap](docs/CoreParameterMap.md) + - [CorePrimitive](docs/CorePrimitive.md) + - [CoreQualityOfService](docs/CoreQualityOfService.md) + - [CoreQualityOfServiceSpec](docs/CoreQualityOfServiceSpec.md) + - [CoreResourceType](docs/CoreResourceType.md) + - [CoreResources](docs/CoreResources.md) + - [CoreRetryStrategy](docs/CoreRetryStrategy.md) + - [CoreRuntimeMetadata](docs/CoreRuntimeMetadata.md) + - [CoreScalar](docs/CoreScalar.md) + - [CoreSchemaType](docs/CoreSchemaType.md) + - [CoreSecret](docs/CoreSecret.md) + - [CoreSecurityContext](docs/CoreSecurityContext.md) + - [CoreSimpleType](docs/CoreSimpleType.md) + - [CoreSql](docs/CoreSql.md) + - [CoreStructuredDataset](docs/CoreStructuredDataset.md) + - [CoreStructuredDatasetMetadata](docs/CoreStructuredDatasetMetadata.md) + - [CoreStructuredDatasetType](docs/CoreStructuredDatasetType.md) + - [CoreTaskExecutionIdentifier](docs/CoreTaskExecutionIdentifier.md) + - [CoreTaskExecutionPhase](docs/CoreTaskExecutionPhase.md) + - [CoreTaskLog](docs/CoreTaskLog.md) + - [CoreTaskMetadata](docs/CoreTaskMetadata.md) + - [CoreTaskNode](docs/CoreTaskNode.md) + - [CoreTaskNodeOverrides](docs/CoreTaskNodeOverrides.md) + - [CoreTaskTemplate](docs/CoreTaskTemplate.md) + - [CoreTypeAnnotation](docs/CoreTypeAnnotation.md) + - [CoreTypeStructure](docs/CoreTypeStructure.md) + - [CoreTypedInterface](docs/CoreTypedInterface.md) + - [CoreUnion](docs/CoreUnion.md) + - [CoreUnionInfo](docs/CoreUnionInfo.md) + - [CoreUnionType](docs/CoreUnionType.md) + - [CoreVariable](docs/CoreVariable.md) + - [CoreVariableMap](docs/CoreVariableMap.md) + - [CoreVoid](docs/CoreVoid.md) + - [CoreWorkflowExecutionIdentifier](docs/CoreWorkflowExecutionIdentifier.md) + - [CoreWorkflowExecutionPhase](docs/CoreWorkflowExecutionPhase.md) + - [CoreWorkflowMetadata](docs/CoreWorkflowMetadata.md) + - [CoreWorkflowMetadataDefaults](docs/CoreWorkflowMetadataDefaults.md) + - [CoreWorkflowNode](docs/CoreWorkflowNode.md) + - [CoreWorkflowTemplate](docs/CoreWorkflowTemplate.md) + - [DataLoadingConfigLiteralMapFormat](docs/DataLoadingConfigLiteralMapFormat.md) + - [EventExternalResourceInfo](docs/EventExternalResourceInfo.md) + - [EventNodeExecutionEvent](docs/EventNodeExecutionEvent.md) + - [EventParentNodeExecutionMetadata](docs/EventParentNodeExecutionMetadata.md) + - [EventParentTaskExecutionMetadata](docs/EventParentTaskExecutionMetadata.md) + - [EventResourcePoolInfo](docs/EventResourcePoolInfo.md) + - [EventTaskExecutionEvent](docs/EventTaskExecutionEvent.md) + - [EventTaskExecutionMetadata](docs/EventTaskExecutionMetadata.md) + - [EventWorkflowExecutionEvent](docs/EventWorkflowExecutionEvent.md) + - [ExecutionErrorErrorKind](docs/ExecutionErrorErrorKind.md) + - [ExecutionMetadataExecutionMode](docs/ExecutionMetadataExecutionMode.md) + - [FlyteidladminDynamicWorkflowNodeMetadata](docs/FlyteidladminDynamicWorkflowNodeMetadata.md) + - [FlyteidladminNodeExecution](docs/FlyteidladminNodeExecution.md) + - [FlyteidladminTaskExecution](docs/FlyteidladminTaskExecution.md) + - [FlyteidladminTaskNodeMetadata](docs/FlyteidladminTaskNodeMetadata.md) + - [FlyteidladminWorkflowNodeMetadata](docs/FlyteidladminWorkflowNodeMetadata.md) + - [FlyteidlcoreSchema](docs/FlyteidlcoreSchema.md) + - [FlyteidleventDynamicWorkflowNodeMetadata](docs/FlyteidleventDynamicWorkflowNodeMetadata.md) + - [FlyteidleventTaskNodeMetadata](docs/FlyteidleventTaskNodeMetadata.md) + - [FlyteidleventWorkflowNodeMetadata](docs/FlyteidleventWorkflowNodeMetadata.md) + - [IoStrategyDownloadMode](docs/IoStrategyDownloadMode.md) + - [IoStrategyUploadMode](docs/IoStrategyUploadMode.md) + - [PluginOverrideMissingPluginBehavior](docs/PluginOverrideMissingPluginBehavior.md) + - [ProjectProjectState](docs/ProjectProjectState.md) + - [ProtobufListValue](docs/ProtobufListValue.md) + - [ProtobufNullValue](docs/ProtobufNullValue.md) + - [ProtobufStruct](docs/ProtobufStruct.md) + - [ProtobufValue](docs/ProtobufValue.md) + - [QualityOfServiceTier](docs/QualityOfServiceTier.md) + - [ResourcesResourceEntry](docs/ResourcesResourceEntry.md) + - [ResourcesResourceName](docs/ResourcesResourceName.md) + - [RuntimeMetadataRuntimeType](docs/RuntimeMetadataRuntimeType.md) + - [SchemaColumnSchemaColumnType](docs/SchemaColumnSchemaColumnType.md) + - [SchemaTypeSchemaColumn](docs/SchemaTypeSchemaColumn.md) + - [SecretMountType](docs/SecretMountType.md) + - [SortDirection](docs/SortDirection.md) + - [SqlDialect](docs/SqlDialect.md) + - [StructuredDatasetTypeDatasetColumn](docs/StructuredDatasetTypeDatasetColumn.md) + - [TaskExecutionMetadataInstanceClass](docs/TaskExecutionMetadataInstanceClass.md) + - [TaskLogMessageFormat](docs/TaskLogMessageFormat.md) + - [WorkflowMetadataOnFailurePolicy](docs/WorkflowMetadataOnFailurePolicy.md) + + +## Documentation For Authorization + Endpoints do not require authorization. + + +## Author + + + diff --git a/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml b/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml new file mode 100644 index 000000000..0c61d5f19 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml @@ -0,0 +1,60497 @@ +--- +swagger: "2.0" +info: + version: "version not set" + title: "flyteidl/service/admin.proto" +schemes: +- "http" +- "https" +consumes: +- "application/json" +produces: +- "application/json" +paths: + /api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}: + get: + tags: + - "AdminService" + summary: "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`." + description: "Retrieve the active launch plan version specified by input request\ + \ filters." + operationId: "GetActiveLaunchPlan" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User provided value for the resource.\nThe combination of project\ + \ + domain + name uniquely identifies the resource.\n+optional - in certain\ + \ contexts - like 'List API', 'Launch plans'" + required: true + type: "string" + x-exportParamName: "IdName" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminLaunchPlan" + /api/v1/active_launch_plans/{project}/{domain}: + get: + tags: + - "AdminService" + summary: "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`." + description: "Fetch the active launch plan versions specified by input request\ + \ filters." + operationId: "ListActiveLaunchPlans" + parameters: + - name: "project" + in: "path" + description: "Name of the project that contains the identifiers.\n+required." + required: true + type: "string" + x-exportParamName: "Project" + - name: "domain" + in: "path" + description: "Name of the domain the identifiers belongs to within the project.\n\ + +required." + required: true + type: "string" + x-exportParamName: "Domain" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminLaunchPlanList" + ? /api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt} + : get: + tags: + - "AdminService" + summary: "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by\ + \ the reference :ref:`ref_flyteidl.admin.TaskExecution`." + description: "Fetch child node executions launched by the specified task execution." + operationId: "ListNodeExecutionsForTask" + parameters: + - name: "task_execution_id.node_execution_id.execution_id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdProject" + - name: "task_execution_id.node_execution_id.execution_id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdDomain" + - name: "task_execution_id.node_execution_id.execution_id.name" + in: "path" + description: "User or system provided value for the resource." + required: true + type: "string" + x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdName" + - name: "task_execution_id.node_execution_id.node_id" + in: "path" + required: true + type: "string" + x-exportParamName: "TaskExecutionIdNodeExecutionIdNodeId" + - name: "task_execution_id.task_id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "TaskExecutionIdTaskIdProject" + - name: "task_execution_id.task_id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "TaskExecutionIdTaskIdDomain" + - name: "task_execution_id.task_id.name" + in: "path" + description: "User provided value for the resource." + required: true + type: "string" + x-exportParamName: "TaskExecutionIdTaskIdName" + - name: "task_execution_id.task_id.version" + in: "path" + description: "Specific version of the resource." + required: true + type: "string" + x-exportParamName: "TaskExecutionIdTaskIdVersion" + - name: "task_execution_id.retry_attempt" + in: "path" + required: true + type: "integer" + format: "int64" + x-exportParamName: "TaskExecutionIdRetryAttempt" + - name: "task_execution_id.task_id.resource_type" + in: "query" + description: "Identifies the specific type of resource that this identifier\ + \ corresponds to.\n\n - DATASET: A dataset represents an entity modeled\ + \ in Flyte DataCatalog. A Dataset is also a versioned entity and can be\ + \ a compilation of multiple individual objects.\nEventually all Catalog\ + \ objects should be modeled similar to Flyte Objects. The Dataset entities\ + \ makes it possible for the UI and CLI to act on the objects \nin a similar\ + \ manner to other Flyte objects" + required: false + type: "string" + default: "UNSPECIFIED" + enum: + - "UNSPECIFIED" + - "TASK" + - "WORKFLOW" + - "LAUNCH_PLAN" + - "DATASET" + x-exportParamName: "TaskExecutionIdTaskIdResourceType" + x-optionalDataType: "String" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, the, server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\nMore info on\ + \ constructing filters : \n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminNodeExecutionList" + /api/v1/data/executions/{id.project}/{id.domain}/{id.name}: + get: + tags: + - "AdminService" + summary: "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`." + description: "Retrieve input and output data from an existing workflow execution." + operationId: "GetExecutionData" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User or system provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdName" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminWorkflowExecutionGetDataResponse" + /api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}: + get: + tags: + - "AdminService" + summary: "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`." + description: "Retrieve input and output data from an existing node execution." + operationId: "GetNodeExecutionData" + parameters: + - name: "id.execution_id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdExecutionIdProject" + - name: "id.execution_id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdExecutionIdDomain" + - name: "id.execution_id.name" + in: "path" + description: "User or system provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdExecutionIdName" + - name: "id.node_id" + in: "path" + required: true + type: "string" + x-exportParamName: "IdNodeId" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminNodeExecutionGetDataResponse" + ? /api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt} + : get: + tags: + - "AdminService" + summary: "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`." + description: "Retrieve input and output data from an existing task execution." + operationId: "GetTaskExecutionData" + parameters: + - name: "id.node_execution_id.execution_id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdNodeExecutionIdExecutionIdProject" + - name: "id.node_execution_id.execution_id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdNodeExecutionIdExecutionIdDomain" + - name: "id.node_execution_id.execution_id.name" + in: "path" + description: "User or system provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdNodeExecutionIdExecutionIdName" + - name: "id.node_execution_id.node_id" + in: "path" + required: true + type: "string" + x-exportParamName: "IdNodeExecutionIdNodeId" + - name: "id.task_id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdTaskIdProject" + - name: "id.task_id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdTaskIdDomain" + - name: "id.task_id.name" + in: "path" + description: "User provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdTaskIdName" + - name: "id.task_id.version" + in: "path" + description: "Specific version of the resource." + required: true + type: "string" + x-exportParamName: "IdTaskIdVersion" + - name: "id.retry_attempt" + in: "path" + required: true + type: "integer" + format: "int64" + x-exportParamName: "IdRetryAttempt" + - name: "id.task_id.resource_type" + in: "query" + description: "Identifies the specific type of resource that this identifier\ + \ corresponds to.\n\n - DATASET: A dataset represents an entity modeled\ + \ in Flyte DataCatalog. A Dataset is also a versioned entity and can be\ + \ a compilation of multiple individual objects.\nEventually all Catalog\ + \ objects should be modeled similar to Flyte Objects. The Dataset entities\ + \ makes it possible for the UI and CLI to act on the objects \nin a similar\ + \ manner to other Flyte objects" + required: false + type: "string" + default: "UNSPECIFIED" + enum: + - "UNSPECIFIED" + - "TASK" + - "WORKFLOW" + - "LAUNCH_PLAN" + - "DATASET" + x-exportParamName: "IdTaskIdResourceType" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminTaskExecutionGetDataResponse" + /api/v1/events/nodes: + post: + tags: + - "AdminService" + summary: "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred." + description: "Create a node execution event recording a phase transition." + operationId: "CreateNodeEvent" + parameters: + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminNodeExecutionEventRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminNodeExecutionEventResponse" + /api/v1/events/tasks: + post: + tags: + - "AdminService" + summary: "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred." + description: "Create a task execution event recording a phase transition." + operationId: "CreateTaskEvent" + parameters: + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminTaskExecutionEventRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminTaskExecutionEventResponse" + /api/v1/events/workflows: + post: + tags: + - "AdminService" + summary: "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred." + description: "Create a workflow execution event recording a phase transition." + operationId: "CreateWorkflowEvent" + parameters: + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminWorkflowExecutionEventRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminWorkflowExecutionEventResponse" + /api/v1/executions: + post: + tags: + - "AdminService" + summary: "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`" + description: "Create a workflow execution." + operationId: "CreateExecution" + parameters: + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminExecutionCreateRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminExecutionCreateResponse" + /api/v1/executions/recover: + post: + tags: + - "AdminService" + summary: "Recreates a previously-run workflow execution that will only start\ + \ executing from the last known failure point.\nIn Recover mode, users cannot\ + \ change any input parameters or update the version of the execution.\nThis\ + \ is extremely useful to recover from system errors and byzantine faults like\ + \ - Loss of K8s cluster, bugs in platform or instability, machine failures,\n\ + downstream system failures (downstream services), or simply to recover executions\ + \ that failed because of retry exhaustion and should complete if tried again.\n\ + See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details." + description: "Recreates a previously-run workflow execution that will only start\ + \ executing from the last known failure point. In Recover mode, users cannot\ + \ change any input parameters or update the version of the execution. This\ + \ is extremely useful to recover from system errors and byzantine faults like\ + \ - Loss of K8s cluster, bugs in platform or instability, machine failures,\ + \ downstream system failures (downstream services), or simply to recover executions\ + \ that failed because of retry exhaustion and should complete if tried again." + operationId: "RecoverExecution" + parameters: + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminExecutionRecoverRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminExecutionCreateResponse" + /api/v1/executions/relaunch: + post: + tags: + - "AdminService" + summary: "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`" + description: "Relaunch a workflow execution." + operationId: "RelaunchExecution" + parameters: + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminExecutionRelaunchRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminExecutionCreateResponse" + /api/v1/executions/{id.project}/{id.domain}: + get: + tags: + - "AdminService" + summary: "Fetch a list of :ref:`ref_flyteidl.admin.Execution`." + description: "Fetch existing workflow executions matching input filters." + operationId: "ListExecutions" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "query" + description: "User provided value for the resource.\nThe combination of project\ + \ + domain + name uniquely identifies the resource.\n+optional - in certain\ + \ contexts - like 'List API', 'Launch plans'." + required: false + type: "string" + x-exportParamName: "IdName" + x-optionalDataType: "String" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, this server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\nMore info on\ + \ constructing filters : \n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminExecutionList" + /api/v1/executions/{id.project}/{id.domain}/{id.name}: + get: + tags: + - "AdminService" + summary: "Fetches a :ref:`ref_flyteidl.admin.Execution`." + description: "Retrieve an existing workflow execution." + operationId: "GetExecution" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User or system provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdName" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminExecution" + put: + tags: + - "AdminService" + summary: "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`." + description: "Update execution belonging to project domain." + operationId: "UpdateExecution" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User or system provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdName" + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminExecutionUpdateRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminExecutionUpdateResponse" + delete: + tags: + - "AdminService" + summary: "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`." + description: "Terminate the active workflow execution specified in the request." + operationId: "TerminateExecution" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User or system provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdName" + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminExecutionTerminateRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminExecutionTerminateResponse" + /api/v1/launch_plan_ids/{project}/{domain}: + get: + tags: + - "AdminService" + summary: "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of\ + \ launch plan objects." + description: "Fetch existing launch plan definition identifiers matching input\ + \ filters." + operationId: "ListLaunchPlanIds" + parameters: + - name: "project" + in: "path" + description: "Name of the project that contains the identifiers.\n+required" + required: true + type: "string" + x-exportParamName: "Project" + - name: "domain" + in: "path" + description: "Name of the domain the identifiers belongs to within the project.\n\ + +required" + required: true + type: "string" + x-exportParamName: "Domain" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminNamedEntityIdentifierList" + /api/v1/launch_plans: + post: + tags: + - "AdminService" + summary: "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition" + description: "Create and register a launch plan definition." + operationId: "CreateLaunchPlan" + parameters: + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminLaunchPlanCreateRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminLaunchPlanCreateResponse" + 400: + description: "Returned for bad request that may have failed validation." + schema: {} + 409: + description: "Returned for a request that references an identical entity\ + \ that has already been registered." + schema: {} + /api/v1/launch_plans/{id.project}/{id.domain}: + get: + tags: + - "AdminService" + summary: "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions." + description: "Fetch existing launch plan definitions matching input filters." + operationId: "ListLaunchPlans2" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "query" + description: "User provided value for the resource.\nThe combination of project\ + \ + domain + name uniquely identifies the resource.\n+optional - in certain\ + \ contexts - like 'List API', 'Launch plans'." + required: false + type: "string" + x-exportParamName: "IdName" + x-optionalDataType: "String" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, this server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\nMore info on\ + \ constructing filters : \n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminLaunchPlanList" + /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}: + get: + tags: + - "AdminService" + summary: "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions." + description: "Fetch existing launch plan definitions matching input filters." + operationId: "ListLaunchPlans" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User provided value for the resource.\nThe combination of project\ + \ + domain + name uniquely identifies the resource.\n+optional - in certain\ + \ contexts - like 'List API', 'Launch plans'" + required: true + type: "string" + x-exportParamName: "IdName" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, this server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\nMore info on\ + \ constructing filters : \n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminLaunchPlanList" + /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}: + get: + tags: + - "AdminService" + summary: "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition." + description: "Retrieve an existing launch plan definition." + operationId: "GetLaunchPlan" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdName" + - name: "id.version" + in: "path" + description: "Specific version of the resource." + required: true + type: "string" + x-exportParamName: "IdVersion" + - name: "id.resource_type" + in: "query" + description: "Identifies the specific type of resource that this identifier\ + \ corresponds to.\n\n - DATASET: A dataset represents an entity modeled\ + \ in Flyte DataCatalog. A Dataset is also a versioned entity and can be\ + \ a compilation of multiple individual objects.\nEventually all Catalog\ + \ objects should be modeled similar to Flyte Objects. The Dataset entities\ + \ makes it possible for the UI and CLI to act on the objects \nin a similar\ + \ manner to other Flyte objects" + required: false + type: "string" + default: "UNSPECIFIED" + enum: + - "UNSPECIFIED" + - "TASK" + - "WORKFLOW" + - "LAUNCH_PLAN" + - "DATASET" + x-exportParamName: "IdResourceType" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminLaunchPlan" + put: + tags: + - "AdminService" + summary: "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`." + description: "Update the status of an existing launch plan definition. At most\ + \ one launch plan version for a given {project, domain, name} can be active\ + \ at a time. If this call sets a launch plan to active and existing version\ + \ is already active, the result of this call will be that the formerly active\ + \ launch plan will be made inactive and specified launch plan in this request\ + \ will be made active. In the event that the formerly active launch plan had\ + \ a schedule associated it with it, this schedule will be disabled. If the\ + \ reference launch plan in this request is being set to active and has a schedule\ + \ associated with it, the schedule will be enabled." + operationId: "UpdateLaunchPlan" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdName" + - name: "id.version" + in: "path" + description: "Specific version of the resource." + required: true + type: "string" + x-exportParamName: "IdVersion" + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminLaunchPlanUpdateRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminLaunchPlanUpdateResponse" + /api/v1/matchable_attributes: + get: + tags: + - "AdminService" + summary: "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ + \ for a specific resource type." + description: "Retrieve a list of MatchableAttributesConfiguration objects." + operationId: "ListMatchableAttributes" + parameters: + - name: "resource_type" + in: "query" + description: "+required.\n\n - TASK_RESOURCE: Applies to customizable task\ + \ resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring\ + \ templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures\ + \ task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL:\ + \ Configures the K8s cluster label to be used for execution to be run\n\ + \ - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service\ + \ when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable\ + \ plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG:\ + \ Adds defaults for customizable workflow-execution specifications and overrides.\n\ + \ - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which\ + \ this execution should run." + required: false + type: "string" + default: "TASK_RESOURCE" + enum: + - "TASK_RESOURCE" + - "CLUSTER_RESOURCE" + - "EXECUTION_QUEUE" + - "EXECUTION_CLUSTER_LABEL" + - "QUALITY_OF_SERVICE_SPECIFICATION" + - "PLUGIN_OVERRIDE" + - "WORKFLOW_EXECUTION_CONFIG" + - "CLUSTER_ASSIGNMENT" + x-exportParamName: "ResourceType" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminListMatchableAttributesResponse" + /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}: + get: + tags: + - "AdminService" + summary: "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object." + description: "Retrieve a NamedEntity object." + operationId: "GetNamedEntity" + parameters: + - name: "resource_type" + in: "path" + description: "Resource type of the metadata to get. One of Task, Workflow\ + \ or LaunchPlan.\n+required" + required: true + type: "string" + enum: + - "UNSPECIFIED" + - "TASK" + - "WORKFLOW" + - "LAUNCH_PLAN" + - "DATASET" + x-exportParamName: "ResourceType" + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User provided value for the resource.\nThe combination of project\ + \ + domain + name uniquely identifies the resource.\n+optional - in certain\ + \ contexts - like 'List API', 'Launch plans'" + required: true + type: "string" + x-exportParamName: "IdName" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminNamedEntity" + put: + tags: + - "AdminService" + summary: "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object." + description: "Update the fields associated with a NamedEntity" + operationId: "UpdateNamedEntity" + parameters: + - name: "resource_type" + in: "path" + description: "Resource type of the metadata to update\n+required" + required: true + type: "string" + enum: + - "UNSPECIFIED" + - "TASK" + - "WORKFLOW" + - "LAUNCH_PLAN" + - "DATASET" + x-exportParamName: "ResourceType" + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User provided value for the resource.\nThe combination of project\ + \ + domain + name uniquely identifies the resource.\n+optional - in certain\ + \ contexts - like 'List API', 'Launch plans'" + required: true + type: "string" + x-exportParamName: "IdName" + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminNamedEntityUpdateRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminNamedEntityUpdateResponse" + /api/v1/named_entities/{resource_type}/{project}/{domain}: + get: + tags: + - "AdminService" + summary: "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects." + description: "Retrieve a list of NamedEntity objects sharing a common resource\ + \ type, project, and domain." + operationId: "ListNamedEntities" + parameters: + - name: "resource_type" + in: "path" + description: "Resource type of the metadata to query. One of Task, Workflow\ + \ or LaunchPlan.\n+required" + required: true + type: "string" + enum: + - "UNSPECIFIED" + - "TASK" + - "WORKFLOW" + - "LAUNCH_PLAN" + - "DATASET" + x-exportParamName: "ResourceType" + - name: "project" + in: "path" + description: "Name of the project that contains the identifiers.\n+required" + required: true + type: "string" + x-exportParamName: "Project" + - name: "domain" + in: "path" + description: "Name of the domain the identifiers belongs to within the project." + required: true + type: "string" + x-exportParamName: "Domain" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminNamedEntityList" + /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}: + get: + tags: + - "AdminService" + summary: "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`." + description: "Retrieve an existing node execution." + operationId: "GetNodeExecution" + parameters: + - name: "id.execution_id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdExecutionIdProject" + - name: "id.execution_id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdExecutionIdDomain" + - name: "id.execution_id.name" + in: "path" + description: "User or system provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdExecutionIdName" + - name: "id.node_id" + in: "path" + required: true + type: "string" + x-exportParamName: "IdNodeId" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/flyteidladminNodeExecution" + /api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}: + get: + tags: + - "AdminService" + summary: "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`." + description: "Fetch existing node executions matching input filters." + operationId: "ListNodeExecutions" + parameters: + - name: "workflow_execution_id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "WorkflowExecutionIdProject" + - name: "workflow_execution_id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "WorkflowExecutionIdDomain" + - name: "workflow_execution_id.name" + in: "path" + description: "User or system provided value for the resource." + required: true + type: "string" + x-exportParamName: "WorkflowExecutionIdName" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\nMore info on\ + \ constructing filters : \n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + - name: "unique_parent_id" + in: "query" + description: "Unique identifier of the parent node in the execution\n+optional." + required: false + type: "string" + x-exportParamName: "UniqueParentId" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminNodeExecutionList" + /api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}: + put: + tags: + - "AdminService" + summary: "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ + \ for a project and domain." + description: "Update the customized resource attributes associated with a project-domain\ + \ combination" + operationId: "UpdateProjectDomainAttributes" + parameters: + - name: "attributes.project" + in: "path" + description: "Unique project id for which this set of attributes will be applied." + required: true + type: "string" + x-exportParamName: "AttributesProject" + - name: "attributes.domain" + in: "path" + description: "Unique domain id for which this set of attributes will be applied." + required: true + type: "string" + x-exportParamName: "AttributesDomain" + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminProjectDomainAttributesUpdateRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminProjectDomainAttributesUpdateResponse" + /api/v1/project_domain_attributes/{project}/{domain}: + get: + tags: + - "AdminService" + summary: "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ + \ for a project and domain." + description: "Retrieve the customized resource attributes associated with a\ + \ project-domain combination" + operationId: "GetProjectDomainAttributes" + parameters: + - name: "project" + in: "path" + description: "Unique project id which this set of attributes references.\n\ + +required" + required: true + type: "string" + x-exportParamName: "Project" + - name: "domain" + in: "path" + description: "Unique domain id which this set of attributes references.\n\ + +required" + required: true + type: "string" + x-exportParamName: "Domain" + - name: "resource_type" + in: "query" + description: "Which type of matchable attributes to return.\n+required.\n\n\ + \ - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n\ + \ - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster\ + \ resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution\ + \ queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster\ + \ label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION:\ + \ Configures default quality of service when undefined in an execution spec.\n\ + \ - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior\ + \ for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for\ + \ customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT:\ + \ Controls how to select an available cluster on which this execution should\ + \ run." + required: false + type: "string" + default: "TASK_RESOURCE" + enum: + - "TASK_RESOURCE" + - "CLUSTER_RESOURCE" + - "EXECUTION_QUEUE" + - "EXECUTION_CLUSTER_LABEL" + - "QUALITY_OF_SERVICE_SPECIFICATION" + - "PLUGIN_OVERRIDE" + - "WORKFLOW_EXECUTION_CONFIG" + - "CLUSTER_ASSIGNMENT" + x-exportParamName: "ResourceType" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminProjectDomainAttributesGetResponse" + delete: + tags: + - "AdminService" + summary: "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ + \ for a project and domain." + description: "Delete the customized resource attributes associated with a project-domain\ + \ combination" + operationId: "DeleteProjectDomainAttributes" + parameters: + - name: "project" + in: "path" + description: "Unique project id which this set of attributes references.\n\ + +required" + required: true + type: "string" + x-exportParamName: "Project" + - name: "domain" + in: "path" + description: "Unique domain id which this set of attributes references.\n\ + +required" + required: true + type: "string" + x-exportParamName: "Domain" + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminProjectDomainAttributesDeleteRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminProjectDomainAttributesDeleteResponse" + /api/v1/projects: + get: + tags: + - "AdminService" + summary: "Fetches a list of :ref:`ref_flyteidl.admin.Project`" + description: "Fetch registered projects." + operationId: "ListProjects" + parameters: + - name: "limit" + in: "query" + description: "Indicates the number of projects to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, this server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\nMore info on\ + \ constructing filters : \n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminProjects" + post: + tags: + - "AdminService" + summary: "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment." + description: "Register a project." + operationId: "RegisterProject" + parameters: + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminProjectRegisterRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminProjectRegisterResponse" + /api/v1/projects/{id}: + put: + tags: + - "AdminService" + summary: "Updates an existing :ref:`ref_flyteidl.admin.Project` \nflyteidl.admin.Project\ + \ should be passed but the domains property should be empty;\nit will be ignored\ + \ in the handler as domains cannot be updated via this API." + description: "Update a project." + operationId: "UpdateProject" + parameters: + - name: "id" + in: "path" + description: "Globally unique project name." + required: true + type: "string" + x-exportParamName: "Id" + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminProject" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminProjectUpdateResponse" + ? /api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt} + : get: + tags: + - "AdminService" + summary: "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`." + description: "Retrieve an existing task execution." + operationId: "GetTaskExecution" + parameters: + - name: "id.node_execution_id.execution_id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdNodeExecutionIdExecutionIdProject" + - name: "id.node_execution_id.execution_id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdNodeExecutionIdExecutionIdDomain" + - name: "id.node_execution_id.execution_id.name" + in: "path" + description: "User or system provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdNodeExecutionIdExecutionIdName" + - name: "id.node_execution_id.node_id" + in: "path" + required: true + type: "string" + x-exportParamName: "IdNodeExecutionIdNodeId" + - name: "id.task_id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdTaskIdProject" + - name: "id.task_id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdTaskIdDomain" + - name: "id.task_id.name" + in: "path" + description: "User provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdTaskIdName" + - name: "id.task_id.version" + in: "path" + description: "Specific version of the resource." + required: true + type: "string" + x-exportParamName: "IdTaskIdVersion" + - name: "id.retry_attempt" + in: "path" + required: true + type: "integer" + format: "int64" + x-exportParamName: "IdRetryAttempt" + - name: "id.task_id.resource_type" + in: "query" + description: "Identifies the specific type of resource that this identifier\ + \ corresponds to.\n\n - DATASET: A dataset represents an entity modeled\ + \ in Flyte DataCatalog. A Dataset is also a versioned entity and can be\ + \ a compilation of multiple individual objects.\nEventually all Catalog\ + \ objects should be modeled similar to Flyte Objects. The Dataset entities\ + \ makes it possible for the UI and CLI to act on the objects \nin a similar\ + \ manner to other Flyte objects" + required: false + type: "string" + default: "UNSPECIFIED" + enum: + - "UNSPECIFIED" + - "TASK" + - "WORKFLOW" + - "LAUNCH_PLAN" + - "DATASET" + x-exportParamName: "IdTaskIdResourceType" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/flyteidladminTaskExecution" + ? /api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id} + : get: + tags: + - "AdminService" + summary: "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`." + description: "Fetch existing task executions matching input filters." + operationId: "ListTaskExecutions" + parameters: + - name: "node_execution_id.execution_id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "NodeExecutionIdExecutionIdProject" + - name: "node_execution_id.execution_id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "NodeExecutionIdExecutionIdDomain" + - name: "node_execution_id.execution_id.name" + in: "path" + description: "User or system provided value for the resource." + required: true + type: "string" + x-exportParamName: "NodeExecutionIdExecutionIdName" + - name: "node_execution_id.node_id" + in: "path" + required: true + type: "string" + x-exportParamName: "NodeExecutionIdNodeId" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\nMore info on\ + \ constructing filters : \n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminTaskExecutionList" + /api/v1/task_ids/{project}/{domain}: + get: + tags: + - "AdminService" + summary: "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of\ + \ task objects." + description: "Fetch existing task definition identifiers matching input filters." + operationId: "ListTaskIds" + parameters: + - name: "project" + in: "path" + description: "Name of the project that contains the identifiers.\n+required" + required: true + type: "string" + x-exportParamName: "Project" + - name: "domain" + in: "path" + description: "Name of the domain the identifiers belongs to within the project.\n\ + +required" + required: true + type: "string" + x-exportParamName: "Domain" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminNamedEntityIdentifierList" + /api/v1/tasks: + post: + tags: + - "AdminService" + summary: "Create and upload a :ref:`ref_flyteidl.admin.Task` definition" + description: "Create and register a task definition." + operationId: "CreateTask" + parameters: + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminTaskCreateRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminTaskCreateResponse" + 400: + description: "Returned for bad request that may have failed validation." + schema: {} + 409: + description: "Returned for a request that references an identical entity\ + \ that has already been registered." + schema: {} + /api/v1/tasks/{id.project}/{id.domain}: + get: + tags: + - "AdminService" + summary: "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions." + description: "Fetch existing task definitions matching input filters." + operationId: "ListTasks2" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "query" + description: "User provided value for the resource.\nThe combination of project\ + \ + domain + name uniquely identifies the resource.\n+optional - in certain\ + \ contexts - like 'List API', 'Launch plans'." + required: false + type: "string" + x-exportParamName: "IdName" + x-optionalDataType: "String" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, this server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\nMore info on\ + \ constructing filters : \n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminTaskList" + /api/v1/tasks/{id.project}/{id.domain}/{id.name}: + get: + tags: + - "AdminService" + summary: "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions." + description: "Fetch existing task definitions matching input filters." + operationId: "ListTasks" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User provided value for the resource.\nThe combination of project\ + \ + domain + name uniquely identifies the resource.\n+optional - in certain\ + \ contexts - like 'List API', 'Launch plans'" + required: true + type: "string" + x-exportParamName: "IdName" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, this server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\nMore info on\ + \ constructing filters : \n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminTaskList" + /api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}: + get: + tags: + - "AdminService" + summary: "Fetch a :ref:`ref_flyteidl.admin.Task` definition." + description: "Retrieve an existing task definition." + operationId: "GetTask" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdName" + - name: "id.version" + in: "path" + description: "Specific version of the resource." + required: true + type: "string" + x-exportParamName: "IdVersion" + - name: "id.resource_type" + in: "query" + description: "Identifies the specific type of resource that this identifier\ + \ corresponds to.\n\n - DATASET: A dataset represents an entity modeled\ + \ in Flyte DataCatalog. A Dataset is also a versioned entity and can be\ + \ a compilation of multiple individual objects.\nEventually all Catalog\ + \ objects should be modeled similar to Flyte Objects. The Dataset entities\ + \ makes it possible for the UI and CLI to act on the objects \nin a similar\ + \ manner to other Flyte objects" + required: false + type: "string" + default: "UNSPECIFIED" + enum: + - "UNSPECIFIED" + - "TASK" + - "WORKFLOW" + - "LAUNCH_PLAN" + - "DATASET" + x-exportParamName: "IdResourceType" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminTask" + /api/v1/version: + get: + tags: + - "AdminService" + description: "Retrieve the Version (including the Build information) for FlyteAdmin\ + \ service" + operationId: "GetVersion" + parameters: [] + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminGetVersionResponse" + /api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}: + put: + tags: + - "AdminService" + summary: "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ + \ for a project, domain and workflow." + description: "Update the customized resource attributes associated with a project,\ + \ domain and workflow combination" + operationId: "UpdateWorkflowAttributes" + parameters: + - name: "attributes.project" + in: "path" + description: "Unique project id for which this set of attributes will be applied." + required: true + type: "string" + x-exportParamName: "AttributesProject" + - name: "attributes.domain" + in: "path" + description: "Unique domain id for which this set of attributes will be applied." + required: true + type: "string" + x-exportParamName: "AttributesDomain" + - name: "attributes.workflow" + in: "path" + description: "Workflow name for which this set of attributes will be applied." + required: true + type: "string" + x-exportParamName: "AttributesWorkflow" + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminWorkflowAttributesUpdateRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminWorkflowAttributesUpdateResponse" + /api/v1/workflow_attributes/{project}/{domain}/{workflow}: + get: + tags: + - "AdminService" + summary: "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ + \ for a project, domain and workflow." + description: "Retrieve the customized resource attributes associated with a\ + \ project, domain and workflow combination" + operationId: "GetWorkflowAttributes" + parameters: + - name: "project" + in: "path" + description: "Unique project id which this set of attributes references.\n\ + +required" + required: true + type: "string" + x-exportParamName: "Project" + - name: "domain" + in: "path" + description: "Unique domain id which this set of attributes references.\n\ + +required" + required: true + type: "string" + x-exportParamName: "Domain" + - name: "workflow" + in: "path" + description: "Workflow name which this set of attributes references.\n+required" + required: true + type: "string" + x-exportParamName: "Workflow" + - name: "resource_type" + in: "query" + description: "Which type of matchable attributes to return.\n+required.\n\n\ + \ - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n\ + \ - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster\ + \ resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution\ + \ queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster\ + \ label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION:\ + \ Configures default quality of service when undefined in an execution spec.\n\ + \ - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior\ + \ for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for\ + \ customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT:\ + \ Controls how to select an available cluster on which this execution should\ + \ run." + required: false + type: "string" + default: "TASK_RESOURCE" + enum: + - "TASK_RESOURCE" + - "CLUSTER_RESOURCE" + - "EXECUTION_QUEUE" + - "EXECUTION_CLUSTER_LABEL" + - "QUALITY_OF_SERVICE_SPECIFICATION" + - "PLUGIN_OVERRIDE" + - "WORKFLOW_EXECUTION_CONFIG" + - "CLUSTER_ASSIGNMENT" + x-exportParamName: "ResourceType" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminWorkflowAttributesGetResponse" + delete: + tags: + - "AdminService" + summary: "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ + \ for a project, domain and workflow." + description: "Delete the customized resource attributes associated with a project,\ + \ domain and workflow combination" + operationId: "DeleteWorkflowAttributes" + parameters: + - name: "project" + in: "path" + description: "Unique project id which this set of attributes references.\n\ + +required" + required: true + type: "string" + x-exportParamName: "Project" + - name: "domain" + in: "path" + description: "Unique domain id which this set of attributes references.\n\ + +required" + required: true + type: "string" + x-exportParamName: "Domain" + - name: "workflow" + in: "path" + description: "Workflow name which this set of attributes references.\n+required" + required: true + type: "string" + x-exportParamName: "Workflow" + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminWorkflowAttributesDeleteRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminWorkflowAttributesDeleteResponse" + /api/v1/workflow_ids/{project}/{domain}: + get: + tags: + - "AdminService" + summary: "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of\ + \ workflow objects." + description: "Fetch an existing workflow definition identifiers matching input\ + \ filters." + operationId: "ListWorkflowIds" + parameters: + - name: "project" + in: "path" + description: "Name of the project that contains the identifiers.\n+required" + required: true + type: "string" + x-exportParamName: "Project" + - name: "domain" + in: "path" + description: "Name of the domain the identifiers belongs to within the project.\n\ + +required" + required: true + type: "string" + x-exportParamName: "Domain" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminNamedEntityIdentifierList" + /api/v1/workflows: + post: + tags: + - "AdminService" + summary: "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition" + description: "Create and register a workflow definition." + operationId: "CreateWorkflow" + parameters: + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminWorkflowCreateRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminWorkflowCreateResponse" + 400: + description: "Returned for bad request that may have failed validation." + schema: {} + 409: + description: "Returned for a request that references an identical entity\ + \ that has already been registered." + schema: {} + /api/v1/workflows/{id.project}/{id.domain}: + get: + tags: + - "AdminService" + summary: "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions." + description: "Fetch existing workflow definitions matching input filters." + operationId: "ListWorkflows2" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "query" + description: "User provided value for the resource.\nThe combination of project\ + \ + domain + name uniquely identifies the resource.\n+optional - in certain\ + \ contexts - like 'List API', 'Launch plans'." + required: false + type: "string" + x-exportParamName: "IdName" + x-optionalDataType: "String" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, this server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\nMore info on\ + \ constructing filters : \n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminWorkflowList" + /api/v1/workflows/{id.project}/{id.domain}/{id.name}: + get: + tags: + - "AdminService" + summary: "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions." + description: "Fetch existing workflow definitions matching input filters." + operationId: "ListWorkflows" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User provided value for the resource.\nThe combination of project\ + \ + domain + name uniquely identifies the resource.\n+optional - in certain\ + \ contexts - like 'List API', 'Launch plans'" + required: true + type: "string" + x-exportParamName: "IdName" + - name: "limit" + in: "query" + description: "Indicates the number of resources to be returned.\n+required." + required: false + type: "integer" + format: "int64" + x-exportParamName: "Limit" + x-optionalDataType: "Int64" + - name: "token" + in: "query" + description: "In the case of multiple pages of results, this server-provided\ + \ token can be used to fetch the next page\nin a query.\n+optional." + required: false + type: "string" + x-exportParamName: "Token" + x-optionalDataType: "String" + - name: "filters" + in: "query" + description: "Indicates a list of filters passed as string.\nMore info on\ + \ constructing filters : \n+optional." + required: false + type: "string" + x-exportParamName: "Filters" + x-optionalDataType: "String" + - name: "sort_by.key" + in: "query" + description: "Indicates an attribute to sort the response values.\n+required." + required: false + type: "string" + x-exportParamName: "SortByKey" + x-optionalDataType: "String" + - name: "sort_by.direction" + in: "query" + description: "Indicates the direction to apply sort key for response values.\n\ + +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ + \ order." + required: false + type: "string" + default: "DESCENDING" + enum: + - "DESCENDING" + - "ASCENDING" + x-exportParamName: "SortByDirection" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminWorkflowList" + /api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}: + get: + tags: + - "AdminService" + summary: "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition." + description: "Retrieve an existing workflow definition." + operationId: "GetWorkflow" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdName" + - name: "id.version" + in: "path" + description: "Specific version of the resource." + required: true + type: "string" + x-exportParamName: "IdVersion" + - name: "id.resource_type" + in: "query" + description: "Identifies the specific type of resource that this identifier\ + \ corresponds to.\n\n - DATASET: A dataset represents an entity modeled\ + \ in Flyte DataCatalog. A Dataset is also a versioned entity and can be\ + \ a compilation of multiple individual objects.\nEventually all Catalog\ + \ objects should be modeled similar to Flyte Objects. The Dataset entities\ + \ makes it possible for the UI and CLI to act on the objects \nin a similar\ + \ manner to other Flyte objects" + required: false + type: "string" + default: "UNSPECIFIED" + enum: + - "UNSPECIFIED" + - "TASK" + - "WORKFLOW" + - "LAUNCH_PLAN" + - "DATASET" + x-exportParamName: "IdResourceType" + x-optionalDataType: "String" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminWorkflow" +definitions: + BlobTypeBlobDimensionality: + type: "string" + enum: + - "SINGLE" + - "MULTIPART" + default: "SINGLE" + CatalogReservationStatus: + type: "string" + description: "Indicates the status of a catalog reservation operation.\n\n - RESERVATION_DISABLED:\ + \ Used to indicate that reservations are disabled\n - RESERVATION_ACQUIRED:\ + \ Used to indicate that a reservation was successfully acquired or extended\n\ + \ - RESERVATION_EXISTS: Used to indicate that an active reservation currently\ + \ exists\n - RESERVATION_RELEASED: Used to indicate that the reservation has\ + \ been successfully released\n - RESERVATION_FAILURE: Used to indicate that\ + \ a reservation operation resulted in failure" + enum: + - "RESERVATION_DISABLED" + - "RESERVATION_ACQUIRED" + - "RESERVATION_EXISTS" + - "RESERVATION_RELEASED" + - "RESERVATION_FAILURE" + default: "RESERVATION_DISABLED" + ComparisonExpressionOperator: + type: "string" + title: "Binary Operator for each expression" + description: "- GT: Greater Than\n - LT: Less Than" + enum: + - "EQ" + - "NEQ" + - "GT" + - "GTE" + - "LT" + - "LTE" + default: "EQ" + ConjunctionExpressionLogicalOperator: + type: "string" + title: "Nested conditions. They can be conjoined using AND / OR\nOrder of evaluation\ + \ is not important as the operators are Commutative" + description: "- AND: Conjunction" + enum: + - "AND" + - "OR" + default: "AND" + ConnectionSetIdList: + type: "object" + properties: + ids: + type: "array" + items: + type: "string" + example: + ids: + - "ids" + - "ids" + ContainerArchitecture: + type: "string" + description: "Architecture-type the container image supports." + enum: + - "UNKNOWN" + - "AMD64" + - "ARM64" + - "ARM_V6" + - "ARM_V7" + default: "UNKNOWN" + DataLoadingConfigLiteralMapFormat: + type: "string" + title: "LiteralMapFormat decides the encoding format in which the input metadata\ + \ should be made available to the containers.\nIf the user has access to the\ + \ protocol buffer definitions, it is recommended to use the PROTO format.\n\ + JSON and YAML do not need any protobuf definitions to read it\nAll remote references\ + \ in core.LiteralMap are replaced with local filesystem references (the data\ + \ is downloaded to local filesystem)" + description: "- JSON: JSON / YAML for the metadata (which contains inlined primitive\ + \ values). The representation is inline with the standard json specification\ + \ as specified - https://www.json.org/json-en.html\n - PROTO: Proto is a serialized\ + \ binary of `core.LiteralMap` defined in flyteidl/core" + enum: + - "JSON" + - "YAML" + - "PROTO" + default: "JSON" + ExecutionErrorErrorKind: + type: "string" + title: "Error type: System or User" + enum: + - "UNKNOWN" + - "USER" + - "SYSTEM" + default: "UNKNOWN" + ExecutionMetadataExecutionMode: + type: "string" + description: "The method by which this execution was launched.\n\n - MANUAL: The\ + \ default execution mode, MANUAL implies that an execution was launched by an\ + \ individual.\n - SCHEDULED: A schedule triggered this execution launch.\n -\ + \ SYSTEM: A system process was responsible for launching this execution rather\ + \ an individual.\n - RELAUNCH: This execution was launched with identical inputs\ + \ as a previous execution.\n - CHILD_WORKFLOW: This execution was triggered\ + \ by another execution.\n - RECOVERED: This execution was recovered from another\ + \ execution." + enum: + - "MANUAL" + - "SCHEDULED" + - "SYSTEM" + - "RELAUNCH" + - "CHILD_WORKFLOW" + - "RECOVERED" + default: "MANUAL" + IOStrategyDownloadMode: + type: "string" + title: "Mode to use for downloading" + description: "- DOWNLOAD_EAGER: All data will be downloaded before the main container\ + \ is executed\n - DOWNLOAD_STREAM: Data will be downloaded as a stream and an\ + \ End-Of-Stream marker will be written to indicate all data has been downloaded.\ + \ Refer to protocol for details\n - DO_NOT_DOWNLOAD: Large objects (offloaded)\ + \ will not be downloaded" + enum: + - "DOWNLOAD_EAGER" + - "DOWNLOAD_STREAM" + - "DO_NOT_DOWNLOAD" + default: "DOWNLOAD_EAGER" + IOStrategyUploadMode: + type: "string" + title: "Mode to use for uploading" + description: "- UPLOAD_ON_EXIT: All data will be uploaded after the main container\ + \ exits\n - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol\ + \ specification for details\n - DO_NOT_UPLOAD: Data will not be uploaded, only\ + \ references will be written" + enum: + - "UPLOAD_ON_EXIT" + - "UPLOAD_EAGER" + - "DO_NOT_UPLOAD" + default: "UPLOAD_ON_EXIT" + PluginOverrideMissingPluginBehavior: + type: "string" + description: " - FAIL: By default, if this plugin is not enabled for a Flyte deployment\ + \ then execution will fail.\n - USE_DEFAULT: Uses the system-configured default\ + \ implementation." + enum: + - "FAIL" + - "USE_DEFAULT" + default: "FAIL" + ProjectProjectState: + type: "string" + description: "The state of the project is used to control its visibility in the\ + \ UI and validity.\n\n - ACTIVE: By default, all projects are considered active.\n\ + \ - ARCHIVED: Archived projects are no longer visible in the UI and no longer\ + \ valid.\n - SYSTEM_GENERATED: System generated projects that aren't explicitly\ + \ created or managed by a user." + enum: + - "ACTIVE" + - "ARCHIVED" + - "SYSTEM_GENERATED" + default: "ACTIVE" + QualityOfServiceTier: + type: "string" + description: " - UNDEFINED: Default: no quality of service specified." + enum: + - "UNDEFINED" + - "HIGH" + - "MEDIUM" + - "LOW" + default: "UNDEFINED" + ResourcesResourceEntry: + type: "object" + properties: + name: + description: "Resource name." + $ref: "#/definitions/ResourcesResourceName" + value: + type: "string" + title: "Value must be a valid k8s quantity. See\nhttps://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80" + description: "Encapsulates a resource name and value." + example: + name: {} + value: "value" + ResourcesResourceName: + type: "string" + description: "Known resource names.\n\n - EPHEMERAL_STORAGE: For Kubernetes-based\ + \ deployments, pods use ephemeral local storage for scratch space, caching,\ + \ and for logs." + enum: + - "UNKNOWN" + - "CPU" + - "GPU" + - "MEMORY" + - "STORAGE" + - "EPHEMERAL_STORAGE" + default: "UNKNOWN" + RuntimeMetadataRuntimeType: + type: "string" + enum: + - "OTHER" + - "FLYTE_SDK" + default: "OTHER" + SchemaColumnSchemaColumnType: + type: "string" + enum: + - "INTEGER" + - "FLOAT" + - "STRING" + - "BOOLEAN" + - "DATETIME" + - "DURATION" + default: "INTEGER" + SchemaTypeSchemaColumn: + type: "object" + properties: + name: + type: "string" + title: "A unique name -within the schema type- for the column" + type: + description: "The column type. This allows a limited set of types currently." + $ref: "#/definitions/SchemaColumnSchemaColumnType" + example: + name: "name" + type: {} + SecretMountType: + type: "string" + description: " - ANY: Default case, indicates the client can tolerate either mounting\ + \ options.\n - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as\ + \ an environment variable.\n - FILE: FILE indicates the secret needs to be mounted\ + \ as a file." + enum: + - "ANY" + - "ENV_VAR" + - "FILE" + default: "ANY" + SortDirection: + type: "string" + description: " - DESCENDING: By default, fields are sorted in descending order." + enum: + - "DESCENDING" + - "ASCENDING" + default: "DESCENDING" + SqlDialect: + type: "string" + description: "The dialect of the SQL statement. This is used to validate and parse\ + \ SQL statements at compilation time to avoid\nexpensive runtime operations.\ + \ If set to an unsupported dialect, no validation will be done on the statement.\n\ + We support the following dialect: ansi, hive." + enum: + - "UNDEFINED" + - "ANSI" + - "HIVE" + - "OTHER" + default: "UNDEFINED" + StructuredDatasetTypeDatasetColumn: + type: "object" + properties: + name: + type: "string" + description: "A unique name within the schema type for the column." + literal_type: + description: "The column type." + $ref: "#/definitions/coreLiteralType" + example: + name: "name" + TaskExecutionMetadataInstanceClass: + type: "string" + description: "Includes the broad category of machine used for this specific task\ + \ execution.\n\n - DEFAULT: The default instance class configured for the flyte\ + \ application platform.\n - INTERRUPTIBLE: The instance class configured for\ + \ interruptible tasks." + enum: + - "DEFAULT" + - "INTERRUPTIBLE" + default: "DEFAULT" + TaskLogMessageFormat: + type: "string" + enum: + - "UNKNOWN" + - "CSV" + - "JSON" + default: "UNKNOWN" + WorkflowMetadataOnFailurePolicy: + type: "string" + title: "Failure Handling Strategy" + description: "- FAIL_IMMEDIATELY: FAIL_IMMEDIATELY instructs the system to fail\ + \ as soon as a node fails in the workflow. It'll automatically\nabort all currently\ + \ running nodes and clean up resources before finally marking the workflow executions\ + \ as\nfailed.\n - FAIL_AFTER_EXECUTABLE_NODES_COMPLETE: FAIL_AFTER_EXECUTABLE_NODES_COMPLETE\ + \ instructs the system to make as much progress as it can. The system will\n\ + not alter the dependencies of the execution graph so any node that depend on\ + \ the failed node will not be run.\nOther nodes that will be executed to completion\ + \ before cleaning up resources and marking the workflow\nexecution as failed." + enum: + - "FAIL_IMMEDIATELY" + - "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" + default: "FAIL_IMMEDIATELY" + adminAbortMetadata: + type: "object" + properties: + cause: + type: "string" + description: "In the case of a user-specified abort, this will pass along\ + \ the user-supplied cause." + principal: + type: "string" + title: "Identifies the entity (if any) responsible for terminating the execution" + description: "Specifies metadata around an aborted workflow execution." + example: + principal: "principal" + cause: "cause" + adminAnnotations: + type: "object" + properties: + values: + type: "object" + description: "Map of custom annotations to be applied to the execution resource." + additionalProperties: + type: "string" + description: "Annotation values to be applied to an execution resource.\nIn the\ + \ future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how\ + \ to merge annotations defined at registration and execution time." + example: + values: + key: "values" + adminAuth: + type: "object" + properties: + assumable_iam_role: + type: "string" + description: "Defines an optional iam role which will be used for tasks run\ + \ in executions created with this launch plan." + kubernetes_service_account: + type: "string" + description: "Defines an optional kubernetes service account which will be\ + \ used for tasks run in executions created with this launch plan." + description: "Defines permissions associated with executions created by this launch\ + \ plan spec.\nUse either of these roles when they have permissions required\ + \ by your workflow execution.\nDeprecated." + example: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + adminAuthRole: + type: "object" + properties: + assumable_iam_role: + type: "string" + description: "Defines an optional iam role which will be used for tasks run\ + \ in executions created with this launch plan." + kubernetes_service_account: + type: "string" + description: "Defines an optional kubernetes service account which will be\ + \ used for tasks run in executions created with this launch plan." + description: "Defines permissions associated with executions created by this launch\ + \ plan spec.\nUse either of these roles when they have permissions required\ + \ by your workflow execution.\nDeprecated." + example: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + adminClusterAssignment: + type: "object" + properties: + cluster_pool_name: + type: "string" + description: "Encapsulates specifications for routing an execution onto a specific\ + \ cluster." + example: + cluster_pool_name: "cluster_pool_name" + adminClusterResourceAttributes: + type: "object" + properties: + attributes: + type: "object" + description: "Custom resource attributes which will be applied in cluster\ + \ resource creation (e.g. quotas).\nMap keys are the *case-sensitive* names\ + \ of variables in templatized resource files.\nMap values should be the\ + \ custom values which get substituted during resource creation." + additionalProperties: + type: "string" + example: + attributes: + key: "attributes" + adminCronSchedule: + type: "object" + properties: + schedule: + type: "string" + title: "Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;\n\ + Also supports nonstandard predefined scheduling definitions\nas described\ + \ by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions\n\ + except @reboot" + offset: + type: "string" + title: "ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations" + description: "Options for schedules to run according to a cron expression." + example: + schedule: "schedule" + offset: "offset" + adminDomain: + type: "object" + properties: + id: + type: "string" + description: "Globally unique domain name." + name: + type: "string" + description: "Display name." + description: "Namespace within a project commonly used to differentiate between\ + \ different service instances.\ne.g. \"production\", \"development\", etc." + example: + name: "name" + id: "id" + adminEmailNotification: + type: "object" + properties: + recipients_email: + type: "array" + title: "The list of email addresses recipients for this notification.\n+required" + items: + type: "string" + description: "Defines an email notification specification." + example: + recipients_email: + - "recipients_email" + - "recipients_email" + adminExecution: + type: "object" + properties: + id: + description: "Unique identifier of the workflow execution." + $ref: "#/definitions/coreWorkflowExecutionIdentifier" + spec: + description: "User-provided configuration and inputs for launching the execution." + $ref: "#/definitions/adminExecutionSpec" + closure: + description: "Execution results." + $ref: "#/definitions/adminExecutionClosure" + description: "A workflow execution represents an instantiated workflow, including\ + \ all inputs and additional\nmetadata as well as computed results included state,\ + \ outputs, and duration-based attributes.\nUsed as a response object used in\ + \ Get and List execution requests." + example: + id: + domain: "domain" + name: "name" + project: "project" + closure: + outputs: + values: + literals: {} + uri: "uri" + phase: {} + workflow_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + created_at: "2000-01-23T04:56:07.000+00:00" + state_change_details: + occurred_at: "2000-01-23T04:56:07.000+00:00" + principal: "principal" + state: {} + error: + code: "code" + kind: {} + message: "message" + error_uri: "error_uri" + duration: "duration" + computed_inputs: + literals: {} + abort_metadata: + principal: "principal" + cause: "cause" + updated_at: "2000-01-23T04:56:07.000+00:00" + started_at: "2000-01-23T04:56:07.000+00:00" + abort_cause: "abort_cause" + output_data: + literals: {} + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + spec: + metadata: + mode: {} + principal: "principal" + parent_node_execution: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + reference_execution: + domain: "domain" + name: "name" + project: "project" + scheduled_at: "2000-01-23T04:56:07.000+00:00" + nesting: 0 + system_metadata: + execution_cluster: "execution_cluster" + disable_all: true + inputs: + literals: {} + annotations: + values: + key: "values" + max_parallelism: 6 + interruptible: true + labels: + values: + key: "values" + launch_plan: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + raw_output_data_config: + output_location_prefix: "output_location_prefix" + cluster_assignment: + cluster_pool_name: "cluster_pool_name" + notifications: + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + auth_role: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + adminExecutionClosure: + type: "object" + properties: + outputs: + description: "Output URI in the case of a successful execution.\nDEPRECATED.\ + \ Use GetExecutionData to fetch output data instead." + $ref: "#/definitions/adminLiteralMapBlob" + error: + description: "Error information in the case of a failed execution." + $ref: "#/definitions/coreExecutionError" + abort_cause: + type: "string" + description: "In the case of a user-specified abort, this will pass along\ + \ the user-supplied cause." + abort_metadata: + description: "In the case of a user-specified abort, this will pass along\ + \ the user and their supplied cause." + $ref: "#/definitions/adminAbortMetadata" + output_data: + description: "Raw output data produced by this execution.\nDEPRECATED. Use\ + \ GetExecutionData to fetch output data instead." + $ref: "#/definitions/coreLiteralMap" + computed_inputs: + title: "Inputs computed and passed for execution.\ncomputed_inputs depends\ + \ on inputs in ExecutionSpec, fixed and default inputs in launch plan" + $ref: "#/definitions/coreLiteralMap" + phase: + description: "Most recent recorded phase for the execution." + $ref: "#/definitions/coreWorkflowExecutionPhase" + started_at: + type: "string" + format: "date-time" + description: "Reported time at which the execution began running." + duration: + type: "string" + description: "The amount of time the execution spent running." + created_at: + type: "string" + format: "date-time" + description: "Reported time at which the execution was created." + updated_at: + type: "string" + format: "date-time" + description: "Reported time at which the execution was last updated." + notifications: + type: "array" + description: "The notification settings to use after merging the CreateExecutionRequest\ + \ and the launch plan\nnotification settings. An execution launched with\ + \ notifications will always prefer that definition\nto notifications defined\ + \ statically in a launch plan." + items: + $ref: "#/definitions/adminNotification" + workflow_id: + description: "Identifies the workflow definition for this execution." + $ref: "#/definitions/coreIdentifier" + state_change_details: + title: "Provides the details of the last stage change" + $ref: "#/definitions/adminExecutionStateChangeDetails" + title: "Encapsulates the results of the Execution" + example: + outputs: + values: + literals: {} + uri: "uri" + phase: {} + workflow_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + created_at: "2000-01-23T04:56:07.000+00:00" + state_change_details: + occurred_at: "2000-01-23T04:56:07.000+00:00" + principal: "principal" + state: {} + error: + code: "code" + kind: {} + message: "message" + error_uri: "error_uri" + duration: "duration" + computed_inputs: + literals: {} + abort_metadata: + principal: "principal" + cause: "cause" + updated_at: "2000-01-23T04:56:07.000+00:00" + started_at: "2000-01-23T04:56:07.000+00:00" + abort_cause: "abort_cause" + output_data: + literals: {} + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + adminExecutionClusterLabel: + type: "object" + properties: + value: + type: "string" + title: "Label value to determine where the execution will be run" + example: + value: "value" + adminExecutionCreateRequest: + type: "object" + properties: + project: + type: "string" + title: "Name of the project the execution belongs to.\n+required" + domain: + type: "string" + title: "Name of the domain the execution belongs to.\nA domain can be considered\ + \ as a subset within a specific project.\n+required" + name: + type: "string" + title: "User provided value for the resource.\nIf none is provided the system\ + \ will generate a unique string.\n+optional" + spec: + title: "Additional fields necessary to launch the execution.\n+optional" + $ref: "#/definitions/adminExecutionSpec" + inputs: + title: "The inputs required to start the execution. All required inputs must\ + \ be\nincluded in this map. If not required and not provided, defaults apply.\n\ + +optional" + $ref: "#/definitions/coreLiteralMap" + description: "Request to launch an execution with the given project, domain and\ + \ optionally-assigned name." + adminExecutionCreateResponse: + type: "object" + properties: + id: + $ref: "#/definitions/coreWorkflowExecutionIdentifier" + description: "The unique identifier for a successfully created execution.\nIf\ + \ the name was *not* specified in the create request, this identifier will include\ + \ a generated name." + example: + id: + domain: "domain" + name: "name" + project: "project" + adminExecutionList: + type: "object" + properties: + executions: + type: "array" + items: + $ref: "#/definitions/adminExecution" + token: + type: "string" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query. If there are no\ + \ more results, this value will be empty." + title: "Used as a response for request to list executions.\nSee :ref:`ref_flyteidl.admin.Execution`\ + \ for more details" + example: + executions: + - id: + domain: "domain" + name: "name" + project: "project" + closure: + outputs: + values: + literals: {} + uri: "uri" + phase: {} + workflow_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + created_at: "2000-01-23T04:56:07.000+00:00" + state_change_details: + occurred_at: "2000-01-23T04:56:07.000+00:00" + principal: "principal" + state: {} + error: + code: "code" + kind: {} + message: "message" + error_uri: "error_uri" + duration: "duration" + computed_inputs: + literals: {} + abort_metadata: + principal: "principal" + cause: "cause" + updated_at: "2000-01-23T04:56:07.000+00:00" + started_at: "2000-01-23T04:56:07.000+00:00" + abort_cause: "abort_cause" + output_data: + literals: {} + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + spec: + metadata: + mode: {} + principal: "principal" + parent_node_execution: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + reference_execution: + domain: "domain" + name: "name" + project: "project" + scheduled_at: "2000-01-23T04:56:07.000+00:00" + nesting: 0 + system_metadata: + execution_cluster: "execution_cluster" + disable_all: true + inputs: + literals: {} + annotations: + values: + key: "values" + max_parallelism: 6 + interruptible: true + labels: + values: + key: "values" + launch_plan: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + raw_output_data_config: + output_location_prefix: "output_location_prefix" + cluster_assignment: + cluster_pool_name: "cluster_pool_name" + notifications: + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + auth_role: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + - id: + domain: "domain" + name: "name" + project: "project" + closure: + outputs: + values: + literals: {} + uri: "uri" + phase: {} + workflow_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + created_at: "2000-01-23T04:56:07.000+00:00" + state_change_details: + occurred_at: "2000-01-23T04:56:07.000+00:00" + principal: "principal" + state: {} + error: + code: "code" + kind: {} + message: "message" + error_uri: "error_uri" + duration: "duration" + computed_inputs: + literals: {} + abort_metadata: + principal: "principal" + cause: "cause" + updated_at: "2000-01-23T04:56:07.000+00:00" + started_at: "2000-01-23T04:56:07.000+00:00" + abort_cause: "abort_cause" + output_data: + literals: {} + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + spec: + metadata: + mode: {} + principal: "principal" + parent_node_execution: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + reference_execution: + domain: "domain" + name: "name" + project: "project" + scheduled_at: "2000-01-23T04:56:07.000+00:00" + nesting: 0 + system_metadata: + execution_cluster: "execution_cluster" + disable_all: true + inputs: + literals: {} + annotations: + values: + key: "values" + max_parallelism: 6 + interruptible: true + labels: + values: + key: "values" + launch_plan: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + raw_output_data_config: + output_location_prefix: "output_location_prefix" + cluster_assignment: + cluster_pool_name: "cluster_pool_name" + notifications: + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + auth_role: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + token: "token" + adminExecutionMetadata: + type: "object" + properties: + mode: + $ref: "#/definitions/ExecutionMetadataExecutionMode" + principal: + type: "string" + description: "Identifier of the entity that triggered this execution.\nFor\ + \ systems using back-end authentication any value set here will be discarded\ + \ in favor of the\nauthenticated user context." + nesting: + type: "integer" + format: "int64" + description: "Indicates the nestedness of this execution.\nIf a user launches\ + \ a workflow execution, the default nesting is 0.\nIf this execution further\ + \ launches a workflow (child workflow), the nesting level is incremented\ + \ by 0 => 1\nGenerally, if workflow at nesting level k launches a workflow\ + \ then the child workflow will have\nnesting = k + 1." + scheduled_at: + type: "string" + format: "date-time" + description: "For scheduled executions, the requested time for execution for\ + \ this specific schedule invocation." + parent_node_execution: + title: "Which subworkflow node (if any) launched this execution" + $ref: "#/definitions/coreNodeExecutionIdentifier" + reference_execution: + description: "Optional, a reference workflow execution related to this execution.\n\ + In the case of a relaunch, this references the original workflow execution." + $ref: "#/definitions/coreWorkflowExecutionIdentifier" + system_metadata: + description: "Optional, platform-specific metadata about the execution.\n\ + In this the future this may be gated behind an ACL or some sort of authorization." + $ref: "#/definitions/adminSystemMetadata" + description: "Represents attributes about an execution which are not required\ + \ to launch the execution but are useful to record.\nThese attributes are assigned\ + \ at launch time and do not change." + example: + mode: {} + principal: "principal" + parent_node_execution: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + reference_execution: + domain: "domain" + name: "name" + project: "project" + scheduled_at: "2000-01-23T04:56:07.000+00:00" + nesting: 0 + system_metadata: + execution_cluster: "execution_cluster" + adminExecutionQueueAttributes: + type: "object" + properties: + tags: + type: "array" + description: "Tags used for assigning execution queues for tasks defined within\ + \ this project." + items: + type: "string" + example: + tags: + - "tags" + - "tags" + adminExecutionRecoverRequest: + type: "object" + properties: + id: + description: "Identifier of the workflow execution to recover." + $ref: "#/definitions/coreWorkflowExecutionIdentifier" + name: + type: "string" + title: "User provided value for the recovered execution.\nIf none is provided\ + \ the system will generate a unique string.\n+optional" + metadata: + description: "Additional metadata which will be used to overwrite any metadata\ + \ in the reference execution when triggering a recovery execution." + $ref: "#/definitions/adminExecutionMetadata" + description: "Request to recover the referenced execution." + adminExecutionRelaunchRequest: + type: "object" + properties: + id: + title: "Identifier of the workflow execution to relaunch.\n+required" + $ref: "#/definitions/coreWorkflowExecutionIdentifier" + name: + type: "string" + title: "User provided value for the relaunched execution.\nIf none is provided\ + \ the system will generate a unique string.\n+optional" + description: "Request to relaunch the referenced execution." + adminExecutionSpec: + type: "object" + properties: + launch_plan: + title: "Launch plan to be executed" + $ref: "#/definitions/coreIdentifier" + inputs: + title: "Input values to be passed for the execution" + $ref: "#/definitions/coreLiteralMap" + metadata: + title: "Metadata for the execution" + $ref: "#/definitions/adminExecutionMetadata" + notifications: + description: "List of notifications based on Execution status transitions\n\ + When this list is not empty it is used rather than any notifications defined\ + \ in the referenced launch plan.\nWhen this list is empty, the notifications\ + \ defined for the launch plan will be applied." + $ref: "#/definitions/adminNotificationList" + disable_all: + type: "boolean" + format: "boolean" + description: "This should be set to true if all notifications are intended\ + \ to be disabled for this execution." + labels: + description: "Labels to apply to the execution resource." + $ref: "#/definitions/adminLabels" + annotations: + description: "Annotations to apply to the execution resource." + $ref: "#/definitions/adminAnnotations" + security_context: + description: "Optional: security context override to apply this execution." + $ref: "#/definitions/coreSecurityContext" + auth_role: + description: "Optional: auth override to apply this execution." + $ref: "#/definitions/adminAuthRole" + quality_of_service: + description: "Indicates the runtime priority of the execution." + $ref: "#/definitions/coreQualityOfService" + max_parallelism: + type: "integer" + format: "int32" + description: "Controls the maximum number of task nodes that can be run in\ + \ parallel for the entire workflow.\nThis is useful to achieve fairness.\ + \ Note: MapTasks are regarded as one unit,\nand parallelism/concurrency\ + \ of MapTasks is independent from this." + raw_output_data_config: + title: "User setting to configure where to store offloaded data (i.e. Blobs,\ + \ structured datasets, query data, etc.).\nThis should be a prefix like\ + \ s3://my-bucket/my-data" + $ref: "#/definitions/adminRawOutputDataConfig" + cluster_assignment: + description: "Controls how to select an available cluster on which this execution\ + \ should run." + $ref: "#/definitions/adminClusterAssignment" + interruptible: + type: "boolean" + format: "boolean" + description: "Allows for the interruptible flag of a workflow to be overwritten\ + \ for a single execution.\nOmitting this field uses the workflow's value\ + \ as a default.\nAs we need to distinguish between the field not being provided\ + \ and its default value false, we have to use a wrapper\naround the bool\ + \ field." + description: "An ExecutionSpec encompasses all data used to launch this execution.\ + \ The Spec does not change over the lifetime\nof an execution as it progresses\ + \ across phase changes." + example: + metadata: + mode: {} + principal: "principal" + parent_node_execution: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + reference_execution: + domain: "domain" + name: "name" + project: "project" + scheduled_at: "2000-01-23T04:56:07.000+00:00" + nesting: 0 + system_metadata: + execution_cluster: "execution_cluster" + disable_all: true + inputs: + literals: {} + annotations: + values: + key: "values" + max_parallelism: 6 + interruptible: true + labels: + values: + key: "values" + launch_plan: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + raw_output_data_config: + output_location_prefix: "output_location_prefix" + cluster_assignment: + cluster_pool_name: "cluster_pool_name" + notifications: + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + auth_role: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + adminExecutionState: + type: "string" + description: "The state of the execution is used to control its visibility in\ + \ the UI/CLI.\n\n - EXECUTION_ACTIVE: By default, all executions are considered\ + \ active.\n - EXECUTION_ARCHIVED: Archived executions are no longer visible\ + \ in the UI." + enum: + - "EXECUTION_ACTIVE" + - "EXECUTION_ARCHIVED" + default: "EXECUTION_ACTIVE" + adminExecutionStateChangeDetails: + type: "object" + properties: + state: + description: "The state of the execution is used to control its visibility\ + \ in the UI/CLI." + $ref: "#/definitions/adminExecutionState" + occurred_at: + type: "string" + format: "date-time" + description: "This timestamp represents when the state changed." + principal: + type: "string" + title: "Identifies the entity (if any) responsible for causing the state change\ + \ of the execution" + example: + occurred_at: "2000-01-23T04:56:07.000+00:00" + principal: "principal" + state: {} + adminExecutionTerminateRequest: + type: "object" + properties: + id: + description: "Uniquely identifies the individual workflow execution to be\ + \ terminated." + $ref: "#/definitions/coreWorkflowExecutionIdentifier" + cause: + type: "string" + description: "Optional reason for aborting." + description: "Request to terminate an in-progress execution. This action is irreversible.\n\ + If an execution is already terminated, this request will simply be a no-op.\n\ + This request will fail if it references a non-existent execution.\nIf the request\ + \ succeeds the phase \"ABORTED\" will be recorded for the termination\nwith\ + \ the optional cause added to the output_result." + adminExecutionTerminateResponse: + type: "object" + adminExecutionUpdateRequest: + type: "object" + properties: + id: + title: "Identifier of the execution to update" + $ref: "#/definitions/coreWorkflowExecutionIdentifier" + state: + title: "State to set as the new value active/archive" + $ref: "#/definitions/adminExecutionState" + adminExecutionUpdateResponse: + type: "object" + adminFixedRate: + type: "object" + properties: + value: + type: "integer" + format: "int64" + unit: + $ref: "#/definitions/adminFixedRateUnit" + description: "Option for schedules run at a certain frequency e.g. every 2 minutes." + example: + unit: {} + value: 0 + adminFixedRateUnit: + type: "string" + description: "Represents a frequency at which to run a schedule." + enum: + - "MINUTE" + - "HOUR" + - "DAY" + default: "MINUTE" + adminGetVersionResponse: + type: "object" + properties: + control_plane_version: + title: "The control plane version information. FlyteAdmin and related components\n\ + form the control plane of Flyte" + $ref: "#/definitions/adminVersion" + title: "Response for the GetVersion API" + example: + control_plane_version: + Version: "Version" + Build: "Build" + BuildTime: "BuildTime" + adminLabels: + type: "object" + properties: + values: + type: "object" + description: "Map of custom labels to be applied to the execution resource." + additionalProperties: + type: "string" + description: "Label values to be applied to an execution resource.\nIn the future\ + \ a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge\ + \ labels defined at registration and execution time." + example: + values: + key: "values" + adminLaunchPlan: + type: "object" + properties: + id: + description: "Uniquely identifies a launch plan entity." + $ref: "#/definitions/coreIdentifier" + spec: + description: "User-provided launch plan details, including reference workflow,\ + \ inputs and other metadata." + $ref: "#/definitions/adminLaunchPlanSpec" + closure: + description: "Values computed by the flyte platform after launch plan registration." + $ref: "#/definitions/adminLaunchPlanClosure" + description: "A LaunchPlan provides the capability to templatize workflow executions.\n\ + Launch plans simplify associating one or more schedules, inputs and notifications\ + \ with your workflows.\nLaunch plans can be shared and used to trigger executions\ + \ with predefined inputs even when a workflow\ndefinition doesn't necessarily\ + \ have a default value for said input." + example: + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + closure: + expected_outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + updated_at: "2000-01-23T04:56:07.000+00:00" + created_at: "2000-01-23T04:56:07.000+00:00" + state: {} + expected_inputs: + parameters: + key: + default: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + collection: + literals: + - null + - null + map: + literals: {} + hash: "hash" + var: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + required: true + spec: + workflow_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + fixed_inputs: + literals: {} + role: "role" + auth: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + entity_metadata: + schedule: + kickoff_time_input_arg: "kickoff_time_input_arg" + cron_schedule: + schedule: "schedule" + offset: "offset" + cron_expression: "cron_expression" + rate: + unit: {} + value: 0 + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + annotations: + values: + key: "values" + max_parallelism: 5 + interruptible: true + labels: + values: + key: "values" + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + raw_output_data_config: + output_location_prefix: "output_location_prefix" + default_inputs: + parameters: + key: + default: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + collection: + literals: + - null + - null + map: + literals: {} + hash: "hash" + var: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + required: true + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + auth_role: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + adminLaunchPlanClosure: + type: "object" + properties: + state: + description: "Indicate the Launch plan state." + $ref: "#/definitions/adminLaunchPlanState" + expected_inputs: + title: "Indicates the set of inputs expected when creating an execution with\ + \ the Launch plan" + $ref: "#/definitions/coreParameterMap" + expected_outputs: + title: "Indicates the set of outputs expected to be produced by creating an\ + \ execution with the Launch plan" + $ref: "#/definitions/coreVariableMap" + created_at: + type: "string" + format: "date-time" + description: "Time at which the launch plan was created." + updated_at: + type: "string" + format: "date-time" + description: "Time at which the launch plan was last updated." + description: "Values computed by the flyte platform after launch plan registration.\n\ + These include expected_inputs required to be present in a CreateExecutionRequest\n\ + to launch the reference workflow as well timestamp values associated with the\ + \ launch plan." + example: + expected_outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + updated_at: "2000-01-23T04:56:07.000+00:00" + created_at: "2000-01-23T04:56:07.000+00:00" + state: {} + expected_inputs: + parameters: + key: + default: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + collection: + literals: + - null + - null + map: + literals: {} + hash: "hash" + var: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + required: true + adminLaunchPlanCreateRequest: + type: "object" + properties: + id: + description: "Uniquely identifies a launch plan entity." + $ref: "#/definitions/coreIdentifier" + spec: + description: "User-provided launch plan details, including reference workflow,\ + \ inputs and other metadata." + $ref: "#/definitions/adminLaunchPlanSpec" + description: "Request to register a launch plan. The included LaunchPlanSpec may\ + \ have a complete or incomplete set of inputs required\nto launch a workflow\ + \ execution. By default all launch plans are registered in state INACTIVE. If\ + \ you wish to\nset the state to ACTIVE, you must submit a LaunchPlanUpdateRequest,\ + \ after you have successfully created a launch plan." + adminLaunchPlanCreateResponse: + type: "object" + adminLaunchPlanList: + type: "object" + properties: + launch_plans: + type: "array" + items: + $ref: "#/definitions/adminLaunchPlan" + token: + type: "string" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query. If there are no\ + \ more results, this value will be empty." + title: "Response object for list launch plan requests.\nSee :ref:`ref_flyteidl.admin.LaunchPlan`\ + \ for more details" + example: + launch_plans: + - id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + closure: + expected_outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + updated_at: "2000-01-23T04:56:07.000+00:00" + created_at: "2000-01-23T04:56:07.000+00:00" + state: {} + expected_inputs: + parameters: + key: + default: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + collection: + literals: + - null + - null + map: + literals: {} + hash: "hash" + var: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + required: true + spec: + workflow_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + fixed_inputs: + literals: {} + role: "role" + auth: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + entity_metadata: + schedule: + kickoff_time_input_arg: "kickoff_time_input_arg" + cron_schedule: + schedule: "schedule" + offset: "offset" + cron_expression: "cron_expression" + rate: + unit: {} + value: 0 + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + annotations: + values: + key: "values" + max_parallelism: 5 + interruptible: true + labels: + values: + key: "values" + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + raw_output_data_config: + output_location_prefix: "output_location_prefix" + default_inputs: + parameters: + key: + default: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + collection: + literals: + - null + - null + map: + literals: {} + hash: "hash" + var: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + required: true + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + auth_role: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + - id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + closure: + expected_outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + updated_at: "2000-01-23T04:56:07.000+00:00" + created_at: "2000-01-23T04:56:07.000+00:00" + state: {} + expected_inputs: + parameters: + key: + default: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + collection: + literals: + - null + - null + map: + literals: {} + hash: "hash" + var: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + required: true + spec: + workflow_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + fixed_inputs: + literals: {} + role: "role" + auth: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + entity_metadata: + schedule: + kickoff_time_input_arg: "kickoff_time_input_arg" + cron_schedule: + schedule: "schedule" + offset: "offset" + cron_expression: "cron_expression" + rate: + unit: {} + value: 0 + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + annotations: + values: + key: "values" + max_parallelism: 5 + interruptible: true + labels: + values: + key: "values" + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + raw_output_data_config: + output_location_prefix: "output_location_prefix" + default_inputs: + parameters: + key: + default: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + collection: + literals: + - null + - null + map: + literals: {} + hash: "hash" + var: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + required: true + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + auth_role: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + token: "token" + adminLaunchPlanMetadata: + type: "object" + properties: + schedule: + title: "Schedule to execute the Launch Plan" + $ref: "#/definitions/adminSchedule" + notifications: + type: "array" + title: "List of notifications based on Execution status transitions" + items: + $ref: "#/definitions/adminNotification" + description: "Additional launch plan attributes included in the LaunchPlanSpec\ + \ not strictly required to launch\nthe reference workflow." + example: + schedule: + kickoff_time_input_arg: "kickoff_time_input_arg" + cron_schedule: + schedule: "schedule" + offset: "offset" + cron_expression: "cron_expression" + rate: + unit: {} + value: 0 + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + adminLaunchPlanSpec: + type: "object" + properties: + workflow_id: + title: "Reference to the Workflow template that the launch plan references" + $ref: "#/definitions/coreIdentifier" + entity_metadata: + title: "Metadata for the Launch Plan" + $ref: "#/definitions/adminLaunchPlanMetadata" + default_inputs: + description: "Input values to be passed for the execution.\nThese can be overriden\ + \ when an execution is created with this launch plan." + $ref: "#/definitions/coreParameterMap" + fixed_inputs: + description: "Fixed, non-overridable inputs for the Launch Plan.\nThese can\ + \ not be overriden when an execution is created with this launch plan." + $ref: "#/definitions/coreLiteralMap" + role: + type: "string" + title: "String to indicate the role to use to execute the workflow underneath" + labels: + description: "Custom labels to be applied to the execution resource." + $ref: "#/definitions/adminLabels" + annotations: + description: "Custom annotations to be applied to the execution resource." + $ref: "#/definitions/adminAnnotations" + auth: + description: "Indicates the permission associated with workflow executions\ + \ triggered with this launch plan." + $ref: "#/definitions/adminAuth" + auth_role: + $ref: "#/definitions/adminAuthRole" + security_context: + title: "Indicates security context for permissions triggered with this launch\ + \ plan" + $ref: "#/definitions/coreSecurityContext" + quality_of_service: + description: "Indicates the runtime priority of the execution." + $ref: "#/definitions/coreQualityOfService" + raw_output_data_config: + description: "Encapsulates user settings pertaining to offloaded data (i.e.\ + \ Blobs, Schema, query data, etc.)." + $ref: "#/definitions/adminRawOutputDataConfig" + max_parallelism: + type: "integer" + format: "int32" + description: "Controls the maximum number of tasknodes that can be run in\ + \ parallel for the entire workflow.\nThis is useful to achieve fairness.\ + \ Note: MapTasks are regarded as one unit,\nand parallelism/concurrency\ + \ of MapTasks is independent from this." + interruptible: + type: "boolean" + format: "boolean" + description: "Allows for the interruptible flag of a workflow to be overwritten\ + \ for a single execution.\nOmitting this field uses the workflow's value\ + \ as a default.\nAs we need to distinguish between the field not being provided\ + \ and its default value false, we have to use a wrapper\naround the bool\ + \ field." + description: "User-provided launch plan definition and configuration values." + example: + workflow_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + fixed_inputs: + literals: {} + role: "role" + auth: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + entity_metadata: + schedule: + kickoff_time_input_arg: "kickoff_time_input_arg" + cron_schedule: + schedule: "schedule" + offset: "offset" + cron_expression: "cron_expression" + rate: + unit: {} + value: 0 + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + annotations: + values: + key: "values" + max_parallelism: 5 + interruptible: true + labels: + values: + key: "values" + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + raw_output_data_config: + output_location_prefix: "output_location_prefix" + default_inputs: + parameters: + key: + default: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + collection: + literals: + - null + - null + map: + literals: {} + hash: "hash" + var: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + required: true + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + auth_role: + kubernetes_service_account: "kubernetes_service_account" + assumable_iam_role: "assumable_iam_role" + adminLaunchPlanState: + type: "string" + description: "By default any launch plan regardless of state can be used to launch\ + \ a workflow execution.\nHowever, at most one version of a launch plan\n(e.g.\ + \ a NamedEntityIdentifier set of shared project, domain and name values) can\ + \ be\nactive at a time in regards to *schedules*. That is, at most one schedule\ + \ in a NamedEntityIdentifier\ngroup will be observed and trigger executions\ + \ at a defined cadence." + enum: + - "INACTIVE" + - "ACTIVE" + default: "INACTIVE" + adminLaunchPlanUpdateRequest: + type: "object" + properties: + id: + description: "Identifier of launch plan for which to change state.\n+required." + $ref: "#/definitions/coreIdentifier" + state: + description: "Desired state to apply to the launch plan.\n+required." + $ref: "#/definitions/adminLaunchPlanState" + title: "Request to set the referenced launch plan state to the configured value.\n\ + See :ref:`ref_flyteidl.admin.LaunchPlan` for more details" + adminLaunchPlanUpdateResponse: + type: "object" + description: "Purposefully empty, may be populated in the future." + adminListMatchableAttributesResponse: + type: "object" + properties: + configurations: + type: "array" + items: + $ref: "#/definitions/adminMatchableAttributesConfiguration" + title: "Response for a request for all matching resource attributes for a resource\ + \ type.\nSee :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for\ + \ more details" + example: + configurations: + - launch_plan: "launch_plan" + workflow: "workflow" + domain: "domain" + project: "project" + attributes: + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + workflow_execution_config: + raw_output_data_config: + output_location_prefix: "output_location_prefix" + max_parallelism: 0 + annotations: + values: + key: "values" + interruptible: true + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + labels: + values: + key: "values" + cluster_assignment: + cluster_pool_name: "cluster_pool_name" + cluster_resource_attributes: + attributes: + key: "attributes" + execution_queue_attributes: + tags: + - "tags" + - "tags" + task_resource_attributes: + defaults: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + limits: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + execution_cluster_label: + value: "value" + plugin_overrides: + overrides: + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + - launch_plan: "launch_plan" + workflow: "workflow" + domain: "domain" + project: "project" + attributes: + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + workflow_execution_config: + raw_output_data_config: + output_location_prefix: "output_location_prefix" + max_parallelism: 0 + annotations: + values: + key: "values" + interruptible: true + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + labels: + values: + key: "values" + cluster_assignment: + cluster_pool_name: "cluster_pool_name" + cluster_resource_attributes: + attributes: + key: "attributes" + execution_queue_attributes: + tags: + - "tags" + - "tags" + task_resource_attributes: + defaults: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + limits: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + execution_cluster_label: + value: "value" + plugin_overrides: + overrides: + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + adminLiteralMapBlob: + type: "object" + properties: + values: + title: "Data in LiteralMap format" + $ref: "#/definitions/coreLiteralMap" + uri: + type: "string" + title: "In the event that the map is too large, we return a uri to the data" + title: "Input/output data can represented by actual values or a link to where\ + \ values are stored" + example: + values: + literals: {} + uri: "uri" + adminMatchableAttributesConfiguration: + type: "object" + properties: + attributes: + $ref: "#/definitions/adminMatchingAttributes" + domain: + type: "string" + project: + type: "string" + workflow: + type: "string" + launch_plan: + type: "string" + description: "Represents a custom set of attributes applied for either a domain;\ + \ a domain and project; or\ndomain, project and workflow name.\nThese are used\ + \ to override system level defaults for kubernetes cluster resource management,\n\ + default execution values, and more all across different levels of specificity." + example: + launch_plan: "launch_plan" + workflow: "workflow" + domain: "domain" + project: "project" + attributes: + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + workflow_execution_config: + raw_output_data_config: + output_location_prefix: "output_location_prefix" + max_parallelism: 0 + annotations: + values: + key: "values" + interruptible: true + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + labels: + values: + key: "values" + cluster_assignment: + cluster_pool_name: "cluster_pool_name" + cluster_resource_attributes: + attributes: + key: "attributes" + execution_queue_attributes: + tags: + - "tags" + - "tags" + task_resource_attributes: + defaults: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + limits: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + execution_cluster_label: + value: "value" + plugin_overrides: + overrides: + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + adminMatchableResource: + type: "string" + description: "Defines a resource that can be configured by customizable Project-,\ + \ ProjectDomain- or WorkflowAttributes\nbased on matching tags.\n\n - TASK_RESOURCE:\ + \ Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE:\ + \ Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE:\ + \ Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL:\ + \ Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION:\ + \ Configures default quality of service when undefined in an execution spec.\n\ + \ - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for\ + \ a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable\ + \ workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls\ + \ how to select an available cluster on which this execution should run." + enum: + - "TASK_RESOURCE" + - "CLUSTER_RESOURCE" + - "EXECUTION_QUEUE" + - "EXECUTION_CLUSTER_LABEL" + - "QUALITY_OF_SERVICE_SPECIFICATION" + - "PLUGIN_OVERRIDE" + - "WORKFLOW_EXECUTION_CONFIG" + - "CLUSTER_ASSIGNMENT" + default: "TASK_RESOURCE" + adminMatchingAttributes: + type: "object" + properties: + task_resource_attributes: + $ref: "#/definitions/adminTaskResourceAttributes" + cluster_resource_attributes: + $ref: "#/definitions/adminClusterResourceAttributes" + execution_queue_attributes: + $ref: "#/definitions/adminExecutionQueueAttributes" + execution_cluster_label: + $ref: "#/definitions/adminExecutionClusterLabel" + quality_of_service: + $ref: "#/definitions/coreQualityOfService" + plugin_overrides: + $ref: "#/definitions/adminPluginOverrides" + workflow_execution_config: + $ref: "#/definitions/adminWorkflowExecutionConfig" + cluster_assignment: + $ref: "#/definitions/adminClusterAssignment" + description: "Generic container for encapsulating all types of the above attributes\ + \ messages." + example: + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + workflow_execution_config: + raw_output_data_config: + output_location_prefix: "output_location_prefix" + max_parallelism: 0 + annotations: + values: + key: "values" + interruptible: true + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + labels: + values: + key: "values" + cluster_assignment: + cluster_pool_name: "cluster_pool_name" + cluster_resource_attributes: + attributes: + key: "attributes" + execution_queue_attributes: + tags: + - "tags" + - "tags" + task_resource_attributes: + defaults: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + limits: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + execution_cluster_label: + value: "value" + plugin_overrides: + overrides: + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + adminNamedEntity: + type: "object" + properties: + resource_type: + description: "Resource type of the named entity. One of Task, Workflow or\ + \ LaunchPlan." + $ref: "#/definitions/coreResourceType" + id: + $ref: "#/definitions/adminNamedEntityIdentifier" + metadata: + description: "Additional metadata around a named entity." + $ref: "#/definitions/adminNamedEntityMetadata" + description: "Encapsulates information common to a NamedEntity, a Flyte resource\ + \ such as a task,\nworkflow or launch plan. A NamedEntity is exclusively identified\ + \ by its resource type\nand identifier." + example: + metadata: + description: "description" + state: {} + resource_type: {} + id: + domain: "domain" + name: "name" + project: "project" + adminNamedEntityIdentifier: + type: "object" + properties: + project: + type: "string" + description: "Name of the project the resource belongs to." + domain: + type: "string" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + name: + type: "string" + title: "User provided value for the resource.\nThe combination of project\ + \ + domain + name uniquely identifies the resource.\n+optional - in certain\ + \ contexts - like 'List API', 'Launch plans'" + description: "Encapsulation of fields that identifies a Flyte resource.\nA Flyte\ + \ resource can be a task, workflow or launch plan.\nA resource can internally\ + \ have multiple versions and is uniquely identified\nby project, domain, and\ + \ name." + example: + domain: "domain" + name: "name" + project: "project" + adminNamedEntityIdentifierList: + type: "object" + properties: + entities: + type: "array" + description: "A list of identifiers." + items: + $ref: "#/definitions/adminNamedEntityIdentifier" + token: + type: "string" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query. If there are no\ + \ more results, this value will be empty." + description: "Represents a list of NamedEntityIdentifiers." + example: + entities: + - domain: "domain" + name: "name" + project: "project" + - domain: "domain" + name: "name" + project: "project" + token: "token" + adminNamedEntityList: + type: "object" + properties: + entities: + type: "array" + title: "A list of NamedEntity objects" + items: + $ref: "#/definitions/adminNamedEntity" + token: + type: "string" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query. If there are no\ + \ more results, this value will be empty." + description: "Represents a list of NamedEntityIdentifiers." + example: + entities: + - metadata: + description: "description" + state: {} + resource_type: {} + id: + domain: "domain" + name: "name" + project: "project" + - metadata: + description: "description" + state: {} + resource_type: {} + id: + domain: "domain" + name: "name" + project: "project" + token: "token" + adminNamedEntityMetadata: + type: "object" + properties: + description: + type: "string" + title: "Common description across all versions of the entity\n+optional" + state: + description: "Shared state across all version of the entity\nAt this point\ + \ in time, only workflow entities can have their state archived." + $ref: "#/definitions/adminNamedEntityState" + description: "Additional metadata around a named entity." + example: + description: "description" + state: {} + adminNamedEntityState: + type: "string" + description: "The status of the named entity is used to control its visibility\ + \ in the UI.\n\n - NAMED_ENTITY_ACTIVE: By default, all named entities are considered\ + \ active and under development.\n - NAMED_ENTITY_ARCHIVED: Archived named entities\ + \ are no longer visible in the UI.\n - SYSTEM_GENERATED: System generated entities\ + \ that aren't explicitly created or managed by a user." + enum: + - "NAMED_ENTITY_ACTIVE" + - "NAMED_ENTITY_ARCHIVED" + - "SYSTEM_GENERATED" + default: "NAMED_ENTITY_ACTIVE" + adminNamedEntityUpdateRequest: + type: "object" + properties: + resource_type: + title: "Resource type of the metadata to update\n+required" + $ref: "#/definitions/coreResourceType" + id: + title: "Identifier of the metadata to update\n+required" + $ref: "#/definitions/adminNamedEntityIdentifier" + metadata: + title: "Metadata object to set as the new value\n+required" + $ref: "#/definitions/adminNamedEntityMetadata" + description: "Request to set the referenced named entity state to the configured\ + \ value." + adminNamedEntityUpdateResponse: + type: "object" + description: "Purposefully empty, may be populated in the future." + adminNodeExecutionClosure: + type: "object" + properties: + output_uri: + type: "string" + description: "Links to a remotely stored, serialized core.LiteralMap of node\ + \ execution outputs.\nDEPRECATED. Use GetNodeExecutionData to fetch output\ + \ data instead." + error: + title: "Error information for the Node" + $ref: "#/definitions/coreExecutionError" + output_data: + description: "Raw output data produced by this node execution.\nDEPRECATED.\ + \ Use GetNodeExecutionData to fetch output data instead." + $ref: "#/definitions/coreLiteralMap" + phase: + description: "The last recorded phase for this node execution." + $ref: "#/definitions/coreNodeExecutionPhase" + started_at: + type: "string" + format: "date-time" + description: "Time at which the node execution began running." + duration: + type: "string" + description: "The amount of time the node execution spent running." + created_at: + type: "string" + format: "date-time" + description: "Time at which the node execution was created." + updated_at: + type: "string" + format: "date-time" + description: "Time at which the node execution was last updated." + workflow_node_metadata: + $ref: "#/definitions/flyteidladminWorkflowNodeMetadata" + task_node_metadata: + $ref: "#/definitions/flyteidladminTaskNodeMetadata" + deck_uri: + type: "string" + title: "String location uniquely identifying where the deck HTML file is.\n\ + NativeUrl specifies the url in the format of the configured storage provider\ + \ (e.g. s3://my-bucket/randomstring/suffix.tar)" + description: "Container for node execution details and results." + example: + phase: {} + duration: "duration" + workflow_node_metadata: + executionId: + domain: "domain" + name: "name" + project: "project" + updated_at: "2000-01-23T04:56:07.000+00:00" + task_node_metadata: + catalog_key: + source_task_execution: + task_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + node_execution_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + retry_attempt: 0 + dataset_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + artifact_tag: + name: "name" + artifact_id: "artifact_id" + cache_status: {} + output_uri: "output_uri" + started_at: "2000-01-23T04:56:07.000+00:00" + created_at: "2000-01-23T04:56:07.000+00:00" + error: + code: "code" + kind: {} + message: "message" + error_uri: "error_uri" + output_data: + literals: {} + deck_uri: "deck_uri" + adminNodeExecutionEventRequest: + type: "object" + properties: + request_id: + type: "string" + title: "Unique ID for this request that can be traced between services" + event: + description: "Details about the event that occurred." + $ref: "#/definitions/eventNodeExecutionEvent" + description: "Request to send a notification that a node execution event has occurred." + adminNodeExecutionEventResponse: + type: "object" + adminNodeExecutionGetDataResponse: + type: "object" + properties: + inputs: + description: "Signed url to fetch a core.LiteralMap of node execution inputs.\n\ + Deprecated: Please use full_inputs instead." + $ref: "#/definitions/adminUrlBlob" + outputs: + description: "Signed url to fetch a core.LiteralMap of node execution outputs.\n\ + Deprecated: Please use full_outputs instead." + $ref: "#/definitions/adminUrlBlob" + full_inputs: + description: "Full_inputs will only be populated if they are under a configured\ + \ size threshold." + $ref: "#/definitions/coreLiteralMap" + full_outputs: + description: "Full_outputs will only be populated if they are under a configured\ + \ size threshold." + $ref: "#/definitions/coreLiteralMap" + dynamic_workflow: + description: "Optional Workflow closure for a dynamically generated workflow,\ + \ in the case this node yields a dynamic workflow we return its structure\ + \ here." + $ref: "#/definitions/flyteidladminDynamicWorkflowNodeMetadata" + description: "Response structure for NodeExecutionGetDataRequest which contains\ + \ inputs and outputs for a node execution." + example: + outputs: + bytes: "bytes" + url: "url" + full_inputs: + literals: {} + dynamic_workflow: + compiled_workflow: + sub_workflows: + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + tasks: + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + primary: + template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + inputs: + bytes: "bytes" + url: "url" + full_outputs: + literals: {} + adminNodeExecutionList: + type: "object" + properties: + node_executions: + type: "array" + items: + $ref: "#/definitions/flyteidladminNodeExecution" + token: + type: "string" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query. If there are no\ + \ more results, this value will be empty." + title: "Request structure to retrieve a list of node execution entities.\nSee\ + \ :ref:`ref_flyteidl.admin.NodeExecution` for more details" + example: + node_executions: + - metadata: + retry_group: "retry_group" + is_parent_node: true + spec_node_id: "spec_node_id" + is_dynamic: true + input_uri: "input_uri" + id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + closure: + phase: {} + duration: "duration" + workflow_node_metadata: + executionId: + domain: "domain" + name: "name" + project: "project" + updated_at: "2000-01-23T04:56:07.000+00:00" + task_node_metadata: + catalog_key: + source_task_execution: + task_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + node_execution_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + retry_attempt: 0 + dataset_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + artifact_tag: + name: "name" + artifact_id: "artifact_id" + cache_status: {} + output_uri: "output_uri" + started_at: "2000-01-23T04:56:07.000+00:00" + created_at: "2000-01-23T04:56:07.000+00:00" + error: + code: "code" + kind: {} + message: "message" + error_uri: "error_uri" + output_data: + literals: {} + deck_uri: "deck_uri" + - metadata: + retry_group: "retry_group" + is_parent_node: true + spec_node_id: "spec_node_id" + is_dynamic: true + input_uri: "input_uri" + id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + closure: + phase: {} + duration: "duration" + workflow_node_metadata: + executionId: + domain: "domain" + name: "name" + project: "project" + updated_at: "2000-01-23T04:56:07.000+00:00" + task_node_metadata: + catalog_key: + source_task_execution: + task_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + node_execution_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + retry_attempt: 0 + dataset_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + artifact_tag: + name: "name" + artifact_id: "artifact_id" + cache_status: {} + output_uri: "output_uri" + started_at: "2000-01-23T04:56:07.000+00:00" + created_at: "2000-01-23T04:56:07.000+00:00" + error: + code: "code" + kind: {} + message: "message" + error_uri: "error_uri" + output_data: + literals: {} + deck_uri: "deck_uri" + token: "token" + adminNodeExecutionMetaData: + type: "object" + properties: + retry_group: + type: "string" + description: "Node executions are grouped depending on retries of the parent\n\ + Retry group is unique within the context of a parent node." + is_parent_node: + type: "boolean" + format: "boolean" + description: "Boolean flag indicating if the node has child nodes under it\n\ + This can be true when a node contains a dynamic workflow which then produces\n\ + child nodes." + spec_node_id: + type: "string" + title: "Node id of the node in the original workflow\nThis maps to value of\ + \ WorkflowTemplate.nodes[X].id" + is_dynamic: + type: "boolean" + format: "boolean" + description: "Boolean flag indicating if the node has contains a dynamic workflow\ + \ which then produces child nodes.\nThis is to distinguish between subworkflows\ + \ and dynamic workflows which can both have is_parent_node as true." + title: "Represents additional attributes related to a Node Execution" + example: + retry_group: "retry_group" + is_parent_node: true + spec_node_id: "spec_node_id" + is_dynamic: true + adminNotification: + type: "object" + properties: + phases: + type: "array" + title: "A list of phases to which users can associate the notifications to.\n\ + +required" + items: + $ref: "#/definitions/coreWorkflowExecutionPhase" + email: + $ref: "#/definitions/adminEmailNotification" + pager_duty: + $ref: "#/definitions/adminPagerDutyNotification" + slack: + $ref: "#/definitions/adminSlackNotification" + description: "Represents a structure for notifications based on execution status.\n\ + The notification content is configured within flyte admin but can be templatized.\n\ + Future iterations could expose configuring notifications with custom content." + example: + pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + adminNotificationList: + type: "object" + properties: + notifications: + type: "array" + items: + $ref: "#/definitions/adminNotification" + example: + notifications: + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + - pager_duty: + recipients_email: + - "recipients_email" + - "recipients_email" + slack: + recipients_email: + - "recipients_email" + - "recipients_email" + phases: + - {} + - {} + email: + recipients_email: + - "recipients_email" + - "recipients_email" + adminPagerDutyNotification: + type: "object" + properties: + recipients_email: + type: "array" + title: "Currently, PagerDuty notifications leverage email to trigger a notification.\n\ + +required" + items: + type: "string" + description: "Defines a pager duty notification specification." + example: + recipients_email: + - "recipients_email" + - "recipients_email" + adminPluginOverride: + type: "object" + properties: + task_type: + type: "string" + description: "A predefined yet extensible Task type identifier." + plugin_id: + type: "array" + description: "A set of plugin ids which should handle tasks of this type instead\ + \ of the default registered plugin. The list will be tried in order until\ + \ a plugin is found with that id." + items: + type: "string" + missing_plugin_behavior: + description: "Defines the behavior when no plugin from the plugin_id list\ + \ is not found." + $ref: "#/definitions/PluginOverrideMissingPluginBehavior" + description: "This MatchableAttribute configures selecting alternate plugin implementations\ + \ for a given task type.\nIn addition to an override implementation a selection\ + \ of fallbacks can be provided or other modes\nfor handling cases where the\ + \ desired plugin override is not enabled in a given Flyte deployment." + example: + plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + adminPluginOverrides: + type: "object" + properties: + overrides: + type: "array" + items: + $ref: "#/definitions/adminPluginOverride" + example: + overrides: + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + adminProject: + type: "object" + properties: + id: + type: "string" + description: "Globally unique project name." + name: + type: "string" + description: "Display name." + domains: + type: "array" + items: + $ref: "#/definitions/adminDomain" + description: + type: "string" + labels: + description: "Leverage Labels from flyteidel.admin.common.proto to\ntag projects\ + \ with ownership information." + $ref: "#/definitions/adminLabels" + state: + $ref: "#/definitions/ProjectProjectState" + description: "Top-level namespace used to classify different entities like workflows\ + \ and executions." + example: + name: "name" + domains: + - name: "name" + id: "id" + - name: "name" + id: "id" + description: "description" + id: "id" + state: {} + labels: + values: + key: "values" + adminProjectDomainAttributes: + type: "object" + properties: + project: + type: "string" + description: "Unique project id for which this set of attributes will be applied." + domain: + type: "string" + description: "Unique domain id for which this set of attributes will be applied." + matching_attributes: + $ref: "#/definitions/adminMatchingAttributes" + title: "Defines a set of custom matching attributes which defines resource defaults\ + \ for a project and domain.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + example: + domain: "domain" + project: "project" + matching_attributes: + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + workflow_execution_config: + raw_output_data_config: + output_location_prefix: "output_location_prefix" + max_parallelism: 0 + annotations: + values: + key: "values" + interruptible: true + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + labels: + values: + key: "values" + cluster_assignment: + cluster_pool_name: "cluster_pool_name" + cluster_resource_attributes: + attributes: + key: "attributes" + execution_queue_attributes: + tags: + - "tags" + - "tags" + task_resource_attributes: + defaults: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + limits: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + execution_cluster_label: + value: "value" + plugin_overrides: + overrides: + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + adminProjectDomainAttributesDeleteRequest: + type: "object" + properties: + project: + type: "string" + title: "Unique project id which this set of attributes references.\n+required" + domain: + type: "string" + title: "Unique domain id which this set of attributes references.\n+required" + resource_type: + title: "Which type of matchable attributes to delete.\n+required" + $ref: "#/definitions/adminMatchableResource" + title: "Request to delete a set matchable project domain attribute override.\n\ + For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + adminProjectDomainAttributesDeleteResponse: + type: "object" + description: "Purposefully empty, may be populated in the future." + adminProjectDomainAttributesGetResponse: + type: "object" + properties: + attributes: + $ref: "#/definitions/adminProjectDomainAttributes" + title: "Response to get an individual project domain attribute override.\nFor\ + \ more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + example: + attributes: + domain: "domain" + project: "project" + matching_attributes: + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + workflow_execution_config: + raw_output_data_config: + output_location_prefix: "output_location_prefix" + max_parallelism: 0 + annotations: + values: + key: "values" + interruptible: true + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + labels: + values: + key: "values" + cluster_assignment: + cluster_pool_name: "cluster_pool_name" + cluster_resource_attributes: + attributes: + key: "attributes" + execution_queue_attributes: + tags: + - "tags" + - "tags" + task_resource_attributes: + defaults: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + limits: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + execution_cluster_label: + value: "value" + plugin_overrides: + overrides: + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + adminProjectDomainAttributesUpdateRequest: + type: "object" + properties: + attributes: + title: "+required" + $ref: "#/definitions/adminProjectDomainAttributes" + title: "Sets custom attributes for a project-domain combination.\nFor more info\ + \ on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + adminProjectDomainAttributesUpdateResponse: + type: "object" + description: "Purposefully empty, may be populated in the future." + adminProjectRegisterRequest: + type: "object" + properties: + project: + title: "+required" + $ref: "#/definitions/adminProject" + title: "Adds a new user-project within the Flyte deployment.\nSee :ref:`ref_flyteidl.admin.Project`\ + \ for more details" + adminProjectRegisterResponse: + type: "object" + description: "Purposefully empty, may be updated in the future." + adminProjectUpdateResponse: + type: "object" + description: "Purposefully empty, may be updated in the future." + adminProjects: + type: "object" + properties: + projects: + type: "array" + items: + $ref: "#/definitions/adminProject" + token: + type: "string" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query. If there are no\ + \ more results, this value will be empty." + title: "Represents a list of projects.\nSee :ref:`ref_flyteidl.admin.Project`\ + \ for more details" + example: + projects: + - name: "name" + domains: + - name: "name" + id: "id" + - name: "name" + id: "id" + description: "description" + id: "id" + state: {} + labels: + values: + key: "values" + - name: "name" + domains: + - name: "name" + id: "id" + - name: "name" + id: "id" + description: "description" + id: "id" + state: {} + labels: + values: + key: "values" + token: "token" + adminRawOutputDataConfig: + type: "object" + properties: + output_location_prefix: + type: "string" + title: "Prefix for where offloaded data from user workflows will be written\n\ + e.g. s3://bucket/key or s3://bucket/" + description: "Encapsulates user settings pertaining to offloaded data (i.e. Blobs,\ + \ Schema, query data, etc.).\nSee https://github.com/flyteorg/flyte/issues/211\ + \ for more background information." + example: + output_location_prefix: "output_location_prefix" + adminSchedule: + type: "object" + properties: + cron_expression: + type: "string" + title: "Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year\n\ + e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *" + rate: + $ref: "#/definitions/adminFixedRate" + cron_schedule: + $ref: "#/definitions/adminCronSchedule" + kickoff_time_input_arg: + type: "string" + description: "Name of the input variable that the kickoff time will be supplied\ + \ to when the workflow is kicked off." + description: "Defines complete set of information required to trigger an execution\ + \ on a schedule." + example: + kickoff_time_input_arg: "kickoff_time_input_arg" + cron_schedule: + schedule: "schedule" + offset: "offset" + cron_expression: "cron_expression" + rate: + unit: {} + value: 0 + adminSlackNotification: + type: "object" + properties: + recipients_email: + type: "array" + title: "Currently, Slack notifications leverage email to trigger a notification.\n\ + +required" + items: + type: "string" + description: "Defines a slack notification specification." + example: + recipients_email: + - "recipients_email" + - "recipients_email" + adminSort: + type: "object" + properties: + key: + type: "string" + title: "Indicates an attribute to sort the response values.\n+required" + direction: + title: "Indicates the direction to apply sort key for response values.\n+optional" + $ref: "#/definitions/SortDirection" + description: "Specifies sort ordering in a list request." + adminSystemMetadata: + type: "object" + properties: + execution_cluster: + type: "string" + description: "Which execution cluster this execution ran on." + description: "Represents system, rather than user-facing, metadata about an execution." + example: + execution_cluster: "execution_cluster" + adminTask: + type: "object" + properties: + id: + description: "id represents the unique identifier of the task." + $ref: "#/definitions/coreIdentifier" + closure: + description: "closure encapsulates all the fields that maps to a compiled\ + \ version of the task." + $ref: "#/definitions/adminTaskClosure" + description: "Flyte workflows are composed of many ordered tasks. That is small,\ + \ reusable, self-contained logical blocks\narranged to process workflow inputs\ + \ and produce a deterministic set of outputs.\nTasks can come in many varieties\ + \ tuned for specialized behavior." + example: + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + closure: + created_at: "2000-01-23T04:56:07.000+00:00" + compiled_task: + template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + adminTaskClosure: + type: "object" + properties: + compiled_task: + description: "Represents the compiled representation of the task from the\ + \ specification provided." + $ref: "#/definitions/coreCompiledTask" + created_at: + type: "string" + format: "date-time" + description: "Time at which the task was created." + description: "Compute task attributes which include values derived from the TaskSpec,\ + \ as well as plugin-specific data\nand task metadata." + example: + created_at: "2000-01-23T04:56:07.000+00:00" + compiled_task: + template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + adminTaskCreateRequest: + type: "object" + properties: + id: + title: "id represents the unique identifier of the task.\n+required" + $ref: "#/definitions/coreIdentifier" + spec: + title: "Represents the specification for task.\n+required" + $ref: "#/definitions/adminTaskSpec" + title: "Represents a request structure to create a revision of a task.\nSee :ref:`ref_flyteidl.admin.Task`\ + \ for more details" + adminTaskCreateResponse: + type: "object" + description: "Represents a response structure if task creation succeeds." + adminTaskExecutionClosure: + type: "object" + properties: + output_uri: + type: "string" + description: "Path to remote data store where output blob is stored if the\ + \ execution succeeded (and produced outputs).\nDEPRECATED. Use GetTaskExecutionData\ + \ to fetch output data instead." + error: + description: "Error information for the task execution. Populated if the execution\ + \ failed." + $ref: "#/definitions/coreExecutionError" + output_data: + description: "Raw output data produced by this task execution.\nDEPRECATED.\ + \ Use GetTaskExecutionData to fetch output data instead." + $ref: "#/definitions/coreLiteralMap" + phase: + description: "The last recorded phase for this task execution." + $ref: "#/definitions/coreTaskExecutionPhase" + logs: + type: "array" + description: "Detailed log information output by the task execution." + items: + $ref: "#/definitions/coreTaskLog" + started_at: + type: "string" + format: "date-time" + description: "Time at which the task execution began running." + duration: + type: "string" + description: "The amount of time the task execution spent running." + created_at: + type: "string" + format: "date-time" + description: "Time at which the task execution was created." + updated_at: + type: "string" + format: "date-time" + description: "Time at which the task execution was last updated." + custom_info: + description: "Custom data specific to the task plugin." + $ref: "#/definitions/protobufStruct" + reason: + type: "string" + description: "If there is an explanation for the most recent phase transition,\ + \ the reason will capture it." + task_type: + type: "string" + description: "A predefined yet extensible Task type identifier." + metadata: + description: "Metadata around how a task was executed." + $ref: "#/definitions/eventTaskExecutionMetadata" + event_version: + type: "integer" + format: "int32" + description: "The event version is used to indicate versioned changes in how\ + \ data is maintained using this\nproto message. For example, event_verison\ + \ > 0 means that maps tasks logs use the\nTaskExecutionMetadata ExternalResourceInfo\ + \ fields for each subtask rather than the TaskLog\nin this message." + description: "Container for task execution details and results." + example: + phase: {} + reason: "reason" + metadata: + external_resources: + - index: 0 + external_id: "external_id" + retry_attempt: 6 + cache_status: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - index: 0 + external_id: "external_id" + retry_attempt: 6 + cache_status: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + instance_class: {} + resource_pool_info: + - allocation_token: "allocation_token" + namespace: "namespace" + - allocation_token: "allocation_token" + namespace: "namespace" + generated_name: "generated_name" + plugin_identifier: "plugin_identifier" + created_at: "2000-01-23T04:56:07.000+00:00" + error: + code: "code" + kind: {} + message: "message" + error_uri: "error_uri" + duration: "duration" + event_version: 1 + updated_at: "2000-01-23T04:56:07.000+00:00" + custom_info: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + output_uri: "output_uri" + started_at: "2000-01-23T04:56:07.000+00:00" + task_type: "task_type" + output_data: + literals: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + adminTaskExecutionEventRequest: + type: "object" + properties: + request_id: + type: "string" + title: "Unique ID for this request that can be traced between services" + event: + description: "Details about the event that occurred." + $ref: "#/definitions/eventTaskExecutionEvent" + description: "Request to send a notification that a task execution event has occurred." + adminTaskExecutionEventResponse: + type: "object" + adminTaskExecutionGetDataResponse: + type: "object" + properties: + inputs: + description: "Signed url to fetch a core.LiteralMap of task execution inputs.\n\ + Deprecated: Please use full_inputs instead." + $ref: "#/definitions/adminUrlBlob" + outputs: + description: "Signed url to fetch a core.LiteralMap of task execution outputs.\n\ + Deprecated: Please use full_outputs instead." + $ref: "#/definitions/adminUrlBlob" + full_inputs: + description: "Full_inputs will only be populated if they are under a configured\ + \ size threshold." + $ref: "#/definitions/coreLiteralMap" + full_outputs: + description: "Full_outputs will only be populated if they are under a configured\ + \ size threshold." + $ref: "#/definitions/coreLiteralMap" + description: "Response structure for TaskExecutionGetDataRequest which contains\ + \ inputs and outputs for a task execution." + example: + outputs: + bytes: "bytes" + url: "url" + full_inputs: + literals: {} + inputs: + bytes: "bytes" + url: "url" + full_outputs: + literals: {} + adminTaskExecutionList: + type: "object" + properties: + task_executions: + type: "array" + items: + $ref: "#/definitions/flyteidladminTaskExecution" + token: + type: "string" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query. If there are no\ + \ more results, this value will be empty." + title: "Response structure for a query to list of task execution entities.\nSee\ + \ :ref:`ref_flyteidl.admin.TaskExecution` for more details" + example: + task_executions: + - input_uri: "input_uri" + id: + task_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + node_execution_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + retry_attempt: 0 + is_parent: true + closure: + phase: {} + reason: "reason" + metadata: + external_resources: + - index: 0 + external_id: "external_id" + retry_attempt: 6 + cache_status: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - index: 0 + external_id: "external_id" + retry_attempt: 6 + cache_status: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + instance_class: {} + resource_pool_info: + - allocation_token: "allocation_token" + namespace: "namespace" + - allocation_token: "allocation_token" + namespace: "namespace" + generated_name: "generated_name" + plugin_identifier: "plugin_identifier" + created_at: "2000-01-23T04:56:07.000+00:00" + error: + code: "code" + kind: {} + message: "message" + error_uri: "error_uri" + duration: "duration" + event_version: 1 + updated_at: "2000-01-23T04:56:07.000+00:00" + custom_info: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + output_uri: "output_uri" + started_at: "2000-01-23T04:56:07.000+00:00" + task_type: "task_type" + output_data: + literals: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - input_uri: "input_uri" + id: + task_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + node_execution_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + retry_attempt: 0 + is_parent: true + closure: + phase: {} + reason: "reason" + metadata: + external_resources: + - index: 0 + external_id: "external_id" + retry_attempt: 6 + cache_status: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - index: 0 + external_id: "external_id" + retry_attempt: 6 + cache_status: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + instance_class: {} + resource_pool_info: + - allocation_token: "allocation_token" + namespace: "namespace" + - allocation_token: "allocation_token" + namespace: "namespace" + generated_name: "generated_name" + plugin_identifier: "plugin_identifier" + created_at: "2000-01-23T04:56:07.000+00:00" + error: + code: "code" + kind: {} + message: "message" + error_uri: "error_uri" + duration: "duration" + event_version: 1 + updated_at: "2000-01-23T04:56:07.000+00:00" + custom_info: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + output_uri: "output_uri" + started_at: "2000-01-23T04:56:07.000+00:00" + task_type: "task_type" + output_data: + literals: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + token: "token" + adminTaskList: + type: "object" + properties: + tasks: + type: "array" + description: "A list of tasks returned based on the request." + items: + $ref: "#/definitions/adminTask" + token: + type: "string" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query. If there are no\ + \ more results, this value will be empty." + title: "Represents a list of tasks returned from the admin.\nSee :ref:`ref_flyteidl.admin.Task`\ + \ for more details" + example: + tasks: + - id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + closure: + created_at: "2000-01-23T04:56:07.000+00:00" + compiled_task: + template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + - id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + closure: + created_at: "2000-01-23T04:56:07.000+00:00" + compiled_task: + template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + token: "token" + adminTaskResourceAttributes: + type: "object" + properties: + defaults: + $ref: "#/definitions/adminTaskResourceSpec" + limits: + $ref: "#/definitions/adminTaskResourceSpec" + description: "Defines task resource defaults and limits that will be applied at\ + \ task registration." + example: + defaults: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + limits: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + adminTaskResourceSpec: + type: "object" + properties: + cpu: + type: "string" + gpu: + type: "string" + memory: + type: "string" + storage: + type: "string" + ephemeral_storage: + type: "string" + description: "Defines a set of overridable task resource attributes set during\ + \ task registration." + example: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + adminTaskSpec: + type: "object" + properties: + template: + description: "Template of the task that encapsulates all the metadata of the\ + \ task." + $ref: "#/definitions/coreTaskTemplate" + description: "Represents a structure that encapsulates the user-configured specification\ + \ of the task." + adminUrlBlob: + type: "object" + properties: + url: + type: "string" + description: "Actual url value." + bytes: + type: "string" + format: "int64" + description: "Represents the size of the file accessible at the above url." + description: "Represents a string url and associated metadata used throughout\ + \ the platform." + example: + bytes: "bytes" + url: "url" + adminVersion: + type: "object" + properties: + Build: + type: "string" + title: "Specifies the GIT sha of the build" + Version: + type: "string" + title: "Version for the build, should follow a semver" + BuildTime: + type: "string" + title: "Build timestamp" + title: "Provides Version information for a component" + example: + Version: "Version" + Build: "Build" + BuildTime: "BuildTime" + adminWorkflow: + type: "object" + properties: + id: + description: "id represents the unique identifier of the workflow." + $ref: "#/definitions/coreIdentifier" + closure: + description: "closure encapsulates all the fields that maps to a compiled\ + \ version of the workflow." + $ref: "#/definitions/adminWorkflowClosure" + description: "Represents the workflow structure stored in the Admin\nA workflow\ + \ is created by ordering tasks and associating outputs to inputs\nin order to\ + \ produce a directed-acyclic execution graph." + example: + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + closure: + compiled_workflow: + sub_workflows: + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + tasks: + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + primary: + template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + created_at: "2000-01-23T04:56:07.000+00:00" + adminWorkflowAttributes: + type: "object" + properties: + project: + type: "string" + description: "Unique project id for which this set of attributes will be applied." + domain: + type: "string" + description: "Unique domain id for which this set of attributes will be applied." + workflow: + type: "string" + description: "Workflow name for which this set of attributes will be applied." + matching_attributes: + $ref: "#/definitions/adminMatchingAttributes" + title: "Defines a set of custom matching attributes which defines resource defaults\ + \ for a project, domain and workflow.\nFor more info on matchable attributes,\ + \ see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + example: + workflow: "workflow" + domain: "domain" + project: "project" + matching_attributes: + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + workflow_execution_config: + raw_output_data_config: + output_location_prefix: "output_location_prefix" + max_parallelism: 0 + annotations: + values: + key: "values" + interruptible: true + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + labels: + values: + key: "values" + cluster_assignment: + cluster_pool_name: "cluster_pool_name" + cluster_resource_attributes: + attributes: + key: "attributes" + execution_queue_attributes: + tags: + - "tags" + - "tags" + task_resource_attributes: + defaults: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + limits: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + execution_cluster_label: + value: "value" + plugin_overrides: + overrides: + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + adminWorkflowAttributesDeleteRequest: + type: "object" + properties: + project: + type: "string" + title: "Unique project id which this set of attributes references.\n+required" + domain: + type: "string" + title: "Unique domain id which this set of attributes references.\n+required" + workflow: + type: "string" + title: "Workflow name which this set of attributes references.\n+required" + resource_type: + title: "Which type of matchable attributes to delete.\n+required" + $ref: "#/definitions/adminMatchableResource" + title: "Request to delete a set matchable workflow attribute override.\nFor more\ + \ info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + adminWorkflowAttributesDeleteResponse: + type: "object" + description: "Purposefully empty, may be populated in the future." + adminWorkflowAttributesGetResponse: + type: "object" + properties: + attributes: + $ref: "#/definitions/adminWorkflowAttributes" + description: "Response to get an individual workflow attribute override." + example: + attributes: + workflow: "workflow" + domain: "domain" + project: "project" + matching_attributes: + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + workflow_execution_config: + raw_output_data_config: + output_location_prefix: "output_location_prefix" + max_parallelism: 0 + annotations: + values: + key: "values" + interruptible: true + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + labels: + values: + key: "values" + cluster_assignment: + cluster_pool_name: "cluster_pool_name" + cluster_resource_attributes: + attributes: + key: "attributes" + execution_queue_attributes: + tags: + - "tags" + - "tags" + task_resource_attributes: + defaults: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + limits: + memory: "memory" + cpu: "cpu" + ephemeral_storage: "ephemeral_storage" + storage: "storage" + gpu: "gpu" + execution_cluster_label: + value: "value" + plugin_overrides: + overrides: + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + - plugin_id: + - "plugin_id" + - "plugin_id" + missing_plugin_behavior: {} + task_type: "task_type" + adminWorkflowAttributesUpdateRequest: + type: "object" + properties: + attributes: + $ref: "#/definitions/adminWorkflowAttributes" + title: "Sets custom attributes for a project, domain and workflow combination.\n\ + For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + adminWorkflowAttributesUpdateResponse: + type: "object" + description: "Purposefully empty, may be populated in the future." + adminWorkflowClosure: + type: "object" + properties: + compiled_workflow: + description: "Represents the compiled representation of the workflow from\ + \ the specification provided." + $ref: "#/definitions/coreCompiledWorkflowClosure" + created_at: + type: "string" + format: "date-time" + description: "Time at which the workflow was created." + description: "A container holding the compiled workflow produced from the WorkflowSpec\ + \ and additional metadata." + example: + compiled_workflow: + sub_workflows: + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + tasks: + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + primary: + template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + created_at: "2000-01-23T04:56:07.000+00:00" + adminWorkflowCreateRequest: + type: "object" + properties: + id: + title: "id represents the unique identifier of the workflow.\n+required" + $ref: "#/definitions/coreIdentifier" + spec: + title: "Represents the specification for workflow.\n+required" + $ref: "#/definitions/adminWorkflowSpec" + title: "Represents a request structure to create a revision of a workflow.\nSee\ + \ :ref:`ref_flyteidl.admin.Workflow` for more details" + adminWorkflowCreateResponse: + type: "object" + adminWorkflowExecutionConfig: + type: "object" + properties: + max_parallelism: + type: "integer" + format: "int32" + description: "Can be used to control the number of parallel nodes to run within\ + \ the workflow. This is useful to achieve fairness." + security_context: + description: "Indicates security context permissions for executions triggered\ + \ with this matchable attribute." + $ref: "#/definitions/coreSecurityContext" + raw_output_data_config: + description: "Encapsulates user settings pertaining to offloaded data (i.e.\ + \ Blobs, Schema, query data, etc.)." + $ref: "#/definitions/adminRawOutputDataConfig" + labels: + description: "Custom labels to be applied to a triggered execution resource." + $ref: "#/definitions/adminLabels" + annotations: + description: "Custom annotations to be applied to a triggered execution resource." + $ref: "#/definitions/adminAnnotations" + interruptible: + type: "boolean" + format: "boolean" + description: "Allows for the interruptible flag of a workflow to be overwritten\ + \ for a single execution.\nOmitting this field uses the workflow's value\ + \ as a default.\nAs we need to distinguish between the field not being provided\ + \ and its default value false, we have to use a wrapper\naround the bool\ + \ field." + description: "Adds defaults for customizable workflow-execution specifications\ + \ and overrides." + example: + raw_output_data_config: + output_location_prefix: "output_location_prefix" + max_parallelism: 0 + annotations: + values: + key: "values" + interruptible: true + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + labels: + values: + key: "values" + adminWorkflowExecutionEventRequest: + type: "object" + properties: + request_id: + type: "string" + title: "Unique ID for this request that can be traced between services" + event: + description: "Details about the event that occurred." + $ref: "#/definitions/eventWorkflowExecutionEvent" + description: "Request to send a notification that a workflow execution event has\ + \ occurred." + adminWorkflowExecutionEventResponse: + type: "object" + adminWorkflowExecutionGetDataResponse: + type: "object" + properties: + outputs: + description: "Signed url to fetch a core.LiteralMap of execution outputs.\n\ + Deprecated: Please use full_outputs instead." + $ref: "#/definitions/adminUrlBlob" + inputs: + description: "Signed url to fetch a core.LiteralMap of execution inputs.\n\ + Deprecated: Please use full_inputs instead." + $ref: "#/definitions/adminUrlBlob" + full_inputs: + description: "Full_inputs will only be populated if they are under a configured\ + \ size threshold." + $ref: "#/definitions/coreLiteralMap" + full_outputs: + description: "Full_outputs will only be populated if they are under a configured\ + \ size threshold." + $ref: "#/definitions/coreLiteralMap" + description: "Response structure for WorkflowExecutionGetDataRequest which contains\ + \ inputs and outputs for an execution." + example: + outputs: + bytes: "bytes" + url: "url" + full_inputs: + literals: {} + inputs: + bytes: "bytes" + url: "url" + full_outputs: + literals: {} + adminWorkflowList: + type: "object" + properties: + workflows: + type: "array" + description: "A list of workflows returned based on the request." + items: + $ref: "#/definitions/adminWorkflow" + token: + type: "string" + description: "In the case of multiple pages of results, the server-provided\ + \ token can be used to fetch the next page\nin a query. If there are no\ + \ more results, this value will be empty." + title: "Represents a list of workflows returned from the admin.\nSee :ref:`ref_flyteidl.admin.Workflow`\ + \ for more details" + example: + workflows: + - id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + closure: + compiled_workflow: + sub_workflows: + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + tasks: + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + primary: + template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + created_at: "2000-01-23T04:56:07.000+00:00" + - id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + closure: + compiled_workflow: + sub_workflows: + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + tasks: + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + primary: + template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + created_at: "2000-01-23T04:56:07.000+00:00" + token: "token" + adminWorkflowSpec: + type: "object" + properties: + template: + description: "Template of the task that encapsulates all the metadata of the\ + \ workflow." + $ref: "#/definitions/coreWorkflowTemplate" + sub_workflows: + type: "array" + description: "Workflows that are embedded into other workflows need to be\ + \ passed alongside the parent workflow to the\npropeller compiler (since\ + \ the compiler doesn't have any knowledge of other workflows - ie, it doesn't\ + \ reach out\nto Admin to see other registered workflows). In fact, subworkflows\ + \ do not even need to be registered." + items: + $ref: "#/definitions/coreWorkflowTemplate" + description: "Represents a structure that encapsulates the specification of the\ + \ workflow." + coreAlias: + type: "object" + properties: + var: + type: "string" + description: "Must match one of the output variable names on a node." + alias: + type: "string" + description: "A workflow-level unique alias that downstream nodes can refer\ + \ to in their input." + description: "Links a variable to an alias." + example: + var: "var" + alias: "alias" + coreBinary: + type: "object" + properties: + value: + type: "string" + format: "byte" + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" + tag: + type: "string" + description: "A simple byte array with a tag to help different parts of the system\ + \ communicate about what is in the byte array.\nIt's strongly advisable that\ + \ consumers of this type define a unique tag and validate the tag before parsing\ + \ the data." + example: + tag: "tag" + value: "value" + coreBinding: + type: "object" + properties: + var: + type: "string" + description: "Variable name must match an input/output variable of the node." + binding: + description: "Data to use to bind this variable." + $ref: "#/definitions/coreBindingData" + description: "An input/output binding of a variable to either static value or\ + \ a node output." + example: + var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + coreBindingData: + type: "object" + properties: + scalar: + description: "A simple scalar value." + $ref: "#/definitions/coreScalar" + collection: + description: "A collection of binding data. This allows nesting of binding\ + \ data to any number\nof levels." + $ref: "#/definitions/coreBindingDataCollection" + promise: + description: "References an output promised by another node." + $ref: "#/definitions/coreOutputReference" + map: + description: "A map of bindings. The key is always a string." + $ref: "#/definitions/coreBindingDataMap" + union: + $ref: "#/definitions/coreUnionInfo" + description: "Specifies either a simple value or a reference to another output." + example: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + coreBindingDataCollection: + type: "object" + properties: + bindings: + type: "array" + items: + $ref: "#/definitions/coreBindingData" + description: "A collection of BindingData items." + example: + bindings: + - null + - null + coreBindingDataMap: + type: "object" + properties: + bindings: + type: "object" + additionalProperties: + $ref: "#/definitions/coreBindingData" + description: "A map of BindingData items." + example: + bindings: {} + coreBlob: + type: "object" + properties: + metadata: + $ref: "#/definitions/coreBlobMetadata" + uri: + type: "string" + description: "Refers to an offloaded set of files. It encapsulates the type of\ + \ the store and a unique uri for where the data is.\nThere are no restrictions\ + \ on how the uri is formatted since it will depend on how to interact with the\ + \ store." + example: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + coreBlobMetadata: + type: "object" + properties: + type: + $ref: "#/definitions/coreBlobType" + example: + type: + dimensionality: {} + format: "format" + coreBlobType: + type: "object" + properties: + format: + type: "string" + title: "Format can be a free form string understood by SDK/UI etc like\ncsv,\ + \ parquet etc" + dimensionality: + $ref: "#/definitions/BlobTypeBlobDimensionality" + title: "Defines type behavior for blob objects" + example: + dimensionality: {} + format: "format" + coreBooleanExpression: + type: "object" + properties: + conjunction: + $ref: "#/definitions/coreConjunctionExpression" + comparison: + $ref: "#/definitions/coreComparisonExpression" + description: "Defines a boolean expression tree. It can be a simple or a conjunction\ + \ expression.\nMultiple expressions can be combined using a conjunction or a\ + \ disjunction to result in a final boolean result." + example: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + coreBranchNode: + type: "object" + properties: + if_else: + title: "+required" + $ref: "#/definitions/coreIfElseBlock" + description: "BranchNode is a special node that alter the flow of the workflow\ + \ graph. It allows the control flow to branch at\nruntime based on a series\ + \ of conditions that get evaluated on various parameters (e.g. inputs, primitives)." + example: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + coreCatalogArtifactTag: + type: "object" + properties: + artifact_id: + type: "string" + title: "Artifact ID is generated name" + name: + type: "string" + title: "Flyte computes the tag automatically, as the hash of the values" + example: + name: "name" + artifact_id: "artifact_id" + coreCatalogCacheStatus: + type: "string" + title: "Indicates the status of CatalogCaching. The reason why this is not embedded\ + \ in TaskNodeMetadata is, that we may use for other types of nodes as well in\ + \ the future" + description: "- CACHE_DISABLED: Used to indicate that caching was disabled\n -\ + \ CACHE_MISS: Used to indicate that the cache lookup resulted in no matches\n\ + \ - CACHE_HIT: used to indicate that the associated artifact was a result of\ + \ a previous execution\n - CACHE_POPULATED: used to indicate that the resultant\ + \ artifact was added to the cache\n - CACHE_LOOKUP_FAILURE: Used to indicate\ + \ that cache lookup failed because of an error\n - CACHE_PUT_FAILURE: Used to\ + \ indicate that cache lookup failed because of an error" + enum: + - "CACHE_DISABLED" + - "CACHE_MISS" + - "CACHE_HIT" + - "CACHE_POPULATED" + - "CACHE_LOOKUP_FAILURE" + - "CACHE_PUT_FAILURE" + default: "CACHE_DISABLED" + coreCatalogMetadata: + type: "object" + properties: + dataset_id: + title: "Dataset ID in the catalog" + $ref: "#/definitions/coreIdentifier" + artifact_tag: + title: "Artifact tag in the catalog" + $ref: "#/definitions/coreCatalogArtifactTag" + source_task_execution: + title: "Today we only support TaskExecutionIdentifier as a source, as catalog\ + \ caching only works for task executions" + $ref: "#/definitions/coreTaskExecutionIdentifier" + title: "Catalog artifact information with specific metadata" + example: + source_task_execution: + task_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + node_execution_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + retry_attempt: 0 + dataset_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + artifact_tag: + name: "name" + artifact_id: "artifact_id" + coreComparisonExpression: + type: "object" + properties: + operator: + $ref: "#/definitions/ComparisonExpressionOperator" + left_value: + $ref: "#/definitions/coreOperand" + right_value: + $ref: "#/definitions/coreOperand" + description: "Defines a 2-level tree where the root is a comparison operator and\ + \ Operands are primitives or known variables.\nEach expression results in a\ + \ boolean result." + example: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + coreCompiledTask: + type: "object" + properties: + template: + title: "Completely contained TaskTemplate" + $ref: "#/definitions/coreTaskTemplate" + title: "Output of the Compilation step. This object represent one Task. We store\ + \ more metadata at this layer" + example: + template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + coreCompiledWorkflow: + type: "object" + properties: + template: + title: "Completely contained Workflow Template" + $ref: "#/definitions/coreWorkflowTemplate" + connections: + description: "For internal use only! This field is used by the system and\ + \ must not be filled in. Any values set will be ignored." + $ref: "#/definitions/coreConnectionSet" + title: "Output of the compilation Step. This object represents one workflow. We\ + \ store more metadata at this layer" + example: + template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + coreCompiledWorkflowClosure: + type: "object" + properties: + primary: + title: "+required" + $ref: "#/definitions/coreCompiledWorkflow" + sub_workflows: + type: "array" + title: "Guaranteed that there will only exist one and only one workflow with\ + \ a given id, i.e., every sub workflow has a\nunique identifier. Also every\ + \ enclosed subworkflow is used either by a primary workflow or by a subworkflow\n\ + as an inlined workflow\n+optional" + items: + $ref: "#/definitions/coreCompiledWorkflow" + tasks: + type: "array" + title: "Guaranteed that there will only exist one and only one task with a\ + \ given id, i.e., every task has a unique id\n+required (at least 1)" + items: + $ref: "#/definitions/coreCompiledTask" + description: "A Compiled Workflow Closure contains all the information required\ + \ to start a new execution, or to visualize a workflow\nand its details. The\ + \ CompiledWorkflowClosure should always contain a primary workflow, that is\ + \ the main workflow that\nwill being the execution. All subworkflows are denormalized.\ + \ WorkflowNodes refer to the workflow identifiers of\ncompiled subworkflows." + example: + sub_workflows: + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + tasks: + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + primary: + template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + coreConjunctionExpression: + type: "object" + properties: + operator: + $ref: "#/definitions/ConjunctionExpressionLogicalOperator" + left_expression: + $ref: "#/definitions/coreBooleanExpression" + right_expression: + $ref: "#/definitions/coreBooleanExpression" + description: "Defines a conjunction expression of two boolean expressions." + example: + operator: {} + coreConnectionSet: + type: "object" + properties: + downstream: + type: "object" + title: "A list of all the node ids that are downstream from a given node id" + additionalProperties: + $ref: "#/definitions/ConnectionSetIdList" + upstream: + type: "object" + title: "A list of all the node ids, that are upstream of this node id" + additionalProperties: + $ref: "#/definitions/ConnectionSetIdList" + title: "Adjacency list for the workflow. This is created as part of the compilation\ + \ process. Every process after the compilation\nstep uses this created ConnectionSet" + example: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + coreContainer: + type: "object" + properties: + image: + type: "string" + title: "Container image url. Eg: docker/redis:latest" + command: + type: "array" + description: "Command to be executed, if not provided, the default entrypoint\ + \ in the container image will be used." + items: + type: "string" + args: + type: "array" + description: "These will default to Flyte given paths. If provided, the system\ + \ will not append known paths. If the task still\nneeds flyte's inputs and\ + \ outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes\ + \ sense and the\nsystem will populate these before executing the container." + items: + type: "string" + resources: + description: "Container resources requirement as specified by the container\ + \ engine." + $ref: "#/definitions/coreResources" + env: + type: "array" + description: "Environment variables will be set as the container is starting\ + \ up." + items: + $ref: "#/definitions/coreKeyValuePair" + config: + type: "array" + description: "Allows extra configs to be available for the container.\nTODO:\ + \ elaborate on how configs will become available.\nDeprecated, please use\ + \ TaskTemplate.config instead." + items: + $ref: "#/definitions/coreKeyValuePair" + ports: + type: "array" + title: "Ports to open in the container. This feature is not supported by all\ + \ execution engines. (e.g. supported on K8s but\nnot supported on AWS Batch)\n\ + Only K8s" + items: + $ref: "#/definitions/coreContainerPort" + data_config: + title: "BETA: Optional configuration for DataLoading. If not specified, then\ + \ default values are used.\nThis makes it possible to to run a completely\ + \ portable container, that uses inputs and outputs\nonly from the local\ + \ file-system and without having any reference to flyteidl. This is supported\ + \ only on K8s at the moment.\nIf data loading is enabled, then data will\ + \ be mounted in accompanying directories specified in the DataLoadingConfig.\ + \ If the directories\nare not specified, inputs will be mounted onto and\ + \ outputs will be uploaded from a pre-determined file-system path. Refer\ + \ to the documentation\nto understand the default paths.\nOnly K8s" + $ref: "#/definitions/coreDataLoadingConfig" + architecture: + $ref: "#/definitions/ContainerArchitecture" + example: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + coreContainerPort: + type: "object" + properties: + container_port: + type: "integer" + format: "int64" + description: "Number of port to expose on the pod's IP address.\nThis must\ + \ be a valid port number, 0 < x < 65536." + description: "Defines port properties for a container." + example: + container_port: 6 + coreDataLoadingConfig: + type: "object" + properties: + enabled: + type: "boolean" + format: "boolean" + title: "Flag enables DataLoading Config. If this is not set, data loading\ + \ will not be used!" + input_path: + type: "string" + title: "File system path (start at root). This folder will contain all the\ + \ inputs exploded to a separate file.\nExample, if the input interface needs\ + \ (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs',\ + \ then the file system will look like\n/var/flyte/inputs/inputs. .pb .json .yaml> -> Format as defined previously.\ + \ The Blob and Multipart blob will reference local filesystem instead of\ + \ remote locations\n/var/flyte/inputs/x -> X is a file that contains the\ + \ value of x (integer) in string format\n/var/flyte/inputs/y -> Y is a file\ + \ in Binary format\n/var/flyte/inputs/z/... -> Note Z itself is a directory\n\ + More information about the protocol - refer to docs #TODO reference docs\ + \ here" + output_path: + type: "string" + title: "File system path (start at root). This folder should contain all the\ + \ outputs for the task as individual files and/or an error text file" + format: + title: "In the inputs folder, there will be an additional summary/metadata\ + \ file that contains references to all files or inlined primitive values.\n\ + This format decides the actual encoding for the data. Refer to the encoding\ + \ to understand the specifics of the contents and the encoding" + $ref: "#/definitions/DataLoadingConfigLiteralMapFormat" + io_strategy: + $ref: "#/definitions/coreIOStrategy" + description: "This configuration allows executing raw containers in Flyte using\ + \ the Flyte CoPilot system.\nFlyte CoPilot, eliminates the needs of flytekit\ + \ or sdk inside the container. Any inputs required by the users container are\ + \ side-loaded in the input_path\nAny outputs generated by the user container\ + \ - within output_path are automatically uploaded." + example: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + coreEnumType: + type: "object" + properties: + values: + type: "array" + description: "Predefined set of enum values." + items: + type: "string" + description: "Enables declaring enum types, with predefined string values\nFor\ + \ len(values) > 0, the first value in the ordered list is regarded as the default\ + \ value. If you wish\nTo provide no defaults, make the first value as undefined." + example: + values: + - "values" + - "values" + coreError: + type: "object" + properties: + failed_node_id: + type: "string" + description: "The node id that threw the error." + message: + type: "string" + description: "Error message thrown." + description: "Represents an error thrown from a node." + example: + message: "message" + failed_node_id: "failed_node_id" + coreExecutionError: + type: "object" + properties: + code: + type: "string" + title: "Error code indicates a grouping of a type of error.\nMore Info: " + message: + type: "string" + description: "Detailed description of the error - including stack trace." + error_uri: + type: "string" + title: "Full error contents accessible via a URI" + kind: + $ref: "#/definitions/ExecutionErrorErrorKind" + description: "Represents the error message from the execution." + example: + code: "code" + kind: {} + message: "message" + error_uri: "error_uri" + coreIOStrategy: + type: "object" + properties: + download_mode: + title: "Mode to use to manage downloads" + $ref: "#/definitions/IOStrategyDownloadMode" + upload_mode: + title: "Mode to use to manage uploads" + $ref: "#/definitions/IOStrategyUploadMode" + title: "Strategy to use when dealing with Blob, Schema, or multipart blob data\ + \ (large datasets)" + example: + upload_mode: {} + download_mode: {} + coreIdentifier: + type: "object" + properties: + resource_type: + description: "Identifies the specific type of resource that this identifier\ + \ corresponds to." + $ref: "#/definitions/coreResourceType" + project: + type: "string" + description: "Name of the project the resource belongs to." + domain: + type: "string" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + name: + type: "string" + description: "User provided value for the resource." + version: + type: "string" + description: "Specific version of the resource." + description: "Encapsulation of fields that uniquely identifies a Flyte resource." + example: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + coreIdentity: + type: "object" + properties: + iam_role: + type: "string" + description: "iam_role references the fully qualified name of Identity & Access\ + \ Management role to impersonate." + k8s_service_account: + type: "string" + description: "k8s_service_account references a kubernetes service account\ + \ to impersonate." + oauth2_client: + description: "oauth2_client references an oauth2 client. Backend plugins can\ + \ use this information to impersonate the client when\nmaking external calls." + $ref: "#/definitions/coreOAuth2Client" + description: "Identity encapsulates the various security identities a task can\ + \ run as. It's up to the underlying plugin to pick the\nright identity for the\ + \ execution environment." + example: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + coreIfBlock: + type: "object" + properties: + condition: + $ref: "#/definitions/coreBooleanExpression" + then_node: + $ref: "#/definitions/coreNode" + description: "Defines a condition and the execution unit that should be executed\ + \ if the condition is satisfied." + example: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + coreIfElseBlock: + type: "object" + properties: + case: + description: "+required. First condition to evaluate." + $ref: "#/definitions/coreIfBlock" + other: + type: "array" + description: "+optional. Additional branches to evaluate." + items: + $ref: "#/definitions/coreIfBlock" + else_node: + description: "The node to execute in case none of the branches were taken." + $ref: "#/definitions/coreNode" + error: + description: "An error to throw in case none of the branches were taken." + $ref: "#/definitions/coreError" + description: "Defines a series of if/else blocks. The first branch whose condition\ + \ evaluates to true is the one to execute.\nIf no conditions were satisfied,\ + \ the else_node or the error will execute." + example: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + coreK8sObjectMetadata: + type: "object" + properties: + labels: + type: "object" + description: "Optional labels to add to the pod definition." + additionalProperties: + type: "string" + annotations: + type: "object" + description: "Optional annotations to add to the pod definition." + additionalProperties: + type: "string" + description: "Metadata for building a kubernetes object when a task is executed." + example: + annotations: + key: "annotations" + labels: + key: "labels" + coreK8sPod: + type: "object" + properties: + metadata: + description: "Contains additional metadata for building a kubernetes pod." + $ref: "#/definitions/coreK8sObjectMetadata" + pod_spec: + title: "Defines the primary pod spec created when a task is executed.\nThis\ + \ should be a JSON-marshalled pod spec, which can be defined in \n- go,\ + \ using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936\n\ + - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" + $ref: "#/definitions/protobufStruct" + description: "Defines a pod spec and additional pod metadata that is created when\ + \ a task is executed." + example: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + coreKeyValuePair: + type: "object" + properties: + key: + type: "string" + description: "required." + value: + type: "string" + description: "+optional." + description: "A generic key value pair." + example: + value: "value" + key: "key" + coreLiteral: + type: "object" + properties: + scalar: + description: "A simple value." + $ref: "#/definitions/coreScalar" + collection: + description: "A collection of literals to allow nesting." + $ref: "#/definitions/coreLiteralCollection" + map: + description: "A map of strings to literals." + $ref: "#/definitions/coreLiteralMap" + hash: + type: "string" + title: "A hash representing this literal.\nThis is used for caching purposes.\ + \ For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + description: "A simple value. This supports any level of nesting (e.g. array of\ + \ array of array of Blobs) as well as simple primitives." + example: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + collection: + literals: + - null + - null + map: + literals: {} + hash: "hash" + coreLiteralCollection: + type: "object" + properties: + literals: + type: "array" + items: + $ref: "#/definitions/coreLiteral" + description: "A collection of literals. This is a workaround since oneofs in proto\ + \ messages cannot contain a repeated field." + example: + literals: + - null + - null + coreLiteralMap: + type: "object" + properties: + literals: + type: "object" + additionalProperties: + $ref: "#/definitions/coreLiteral" + description: "A map of literals. This is a workaround since oneofs in proto messages\ + \ cannot contain a repeated field." + example: + literals: {} + coreLiteralType: + type: "object" + properties: + simple: + description: "A simple type that can be compared one-to-one with another." + $ref: "#/definitions/coreSimpleType" + schema: + description: "A complex type that requires matching of inner fields." + $ref: "#/definitions/coreSchemaType" + collection_type: + description: "Defines the type of the value of a collection. Only homogeneous\ + \ collections are allowed." + $ref: "#/definitions/coreLiteralType" + map_value_type: + description: "Defines the type of the value of a map type. The type of the\ + \ key is always a string." + $ref: "#/definitions/coreLiteralType" + blob: + description: "A blob might have specialized implementation details depending\ + \ on associated metadata." + $ref: "#/definitions/coreBlobType" + enum_type: + description: "Defines an enum with pre-defined string values." + $ref: "#/definitions/coreEnumType" + structured_dataset_type: + title: "Generalized schema support" + $ref: "#/definitions/coreStructuredDatasetType" + union_type: + description: "Defines an union type with pre-defined LiteralTypes." + $ref: "#/definitions/coreUnionType" + metadata: + description: "This field contains type metadata that is descriptive of the\ + \ type, but is NOT considered in type-checking. This might be used by\n\ + consumers to identify special behavior or display extended information for\ + \ the type." + $ref: "#/definitions/protobufStruct" + annotation: + description: "This field contains arbitrary data that might have special semantic\n\ + meaning for the client but does not effect internal flyte behavior." + $ref: "#/definitions/coreTypeAnnotation" + structure: + description: "Hints to improve type matching." + $ref: "#/definitions/coreTypeStructure" + description: "Defines a strong type to allow type checking between interfaces." + example: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + coreNode: + type: "object" + properties: + id: + type: "string" + description: "A workflow-level unique identifier that identifies this node\ + \ in the workflow. 'inputs' and 'outputs' are reserved\nnode ids that cannot\ + \ be used by other nodes." + metadata: + description: "Extra metadata about the node." + $ref: "#/definitions/coreNodeMetadata" + inputs: + type: "array" + description: "Specifies how to bind the underlying interface's inputs. All\ + \ required inputs specified in the underlying interface\nmust be fulfilled." + items: + $ref: "#/definitions/coreBinding" + upstream_node_ids: + type: "array" + description: "+optional Specifies execution dependency for this node ensuring\ + \ it will only get scheduled to run after all its\nupstream nodes have completed.\ + \ This node will have an implicit dependency on any node that appears in\ + \ inputs\nfield." + items: + type: "string" + output_aliases: + type: "array" + description: "+optional. A node can define aliases for a subset of its outputs.\ + \ This is particularly useful if different nodes\nneed to conform to the\ + \ same interface (e.g. all branches in a branch node). Downstream nodes\ + \ must refer to this\nnodes outputs using the alias if one's specified." + items: + $ref: "#/definitions/coreAlias" + task_node: + description: "Information about the Task to execute in this node." + $ref: "#/definitions/coreTaskNode" + workflow_node: + description: "Information about the Workflow to execute in this mode." + $ref: "#/definitions/coreWorkflowNode" + branch_node: + description: "Information about the branch node to evaluate in this node." + $ref: "#/definitions/coreBranchNode" + description: "A Workflow graph Node. One unit of execution in the graph. Each\ + \ node can be linked to a Task, a Workflow or a branch\nnode." + example: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + coreNodeExecutionIdentifier: + type: "object" + properties: + node_id: + type: "string" + execution_id: + $ref: "#/definitions/coreWorkflowExecutionIdentifier" + description: "Encapsulation of fields that identify a Flyte node execution entity." + example: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + coreNodeExecutionPhase: + type: "string" + enum: + - "UNDEFINED" + - "QUEUED" + - "RUNNING" + - "SUCCEEDED" + - "FAILING" + - "FAILED" + - "ABORTED" + - "SKIPPED" + - "TIMED_OUT" + - "DYNAMIC_RUNNING" + - "RECOVERED" + default: "UNDEFINED" + coreNodeMetadata: + type: "object" + properties: + name: + type: "string" + title: "A friendly name for the Node" + timeout: + type: "string" + description: "The overall timeout of a task." + retries: + description: "Number of retries per task." + $ref: "#/definitions/coreRetryStrategy" + interruptible: + type: "boolean" + format: "boolean" + description: "Defines extra information about the Node." + example: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + coreOAuth2Client: + type: "object" + properties: + client_id: + type: "string" + title: "client_id is the public id for the client to use. The system will\ + \ not perform any pre-auth validation that the\nsecret requested matches\ + \ the client_id indicated here.\n+required" + client_secret: + title: "client_secret is a reference to the secret used to authenticate the\ + \ OAuth2 client.\n+required" + $ref: "#/definitions/coreSecret" + description: "OAuth2Client encapsulates OAuth2 Client Credentials to be used when\ + \ making calls on behalf of that task." + example: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + coreOAuth2TokenRequest: + type: "object" + properties: + name: + type: "string" + title: "name indicates a unique id for the token request within this task\ + \ token requests. It'll be used as a suffix for\nenvironment variables and\ + \ as a filename for mounting tokens as files.\n+required" + type: + title: "type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.\n\ + +required" + $ref: "#/definitions/coreOAuth2TokenRequestType" + client: + title: "client references the client_id/secret to use to request the OAuth2\ + \ token.\n+required" + $ref: "#/definitions/coreOAuth2Client" + idp_discovery_endpoint: + type: "string" + title: "idp_discovery_endpoint references the discovery endpoint used to retrieve\ + \ token endpoint and other related\ninformation.\n+optional" + token_endpoint: + type: "string" + title: "token_endpoint references the token issuance endpoint. If idp_discovery_endpoint\ + \ is not provided, this parameter is\nmandatory.\n+optional" + description: "OAuth2TokenRequest encapsulates information needed to request an\ + \ OAuth2 token.\nFLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix\ + \ of the environment variables that will be present if\ntokens are passed through\ + \ environment variables.\nFLYTE_TOKENS_PATH_PREFIX will be passed to indicate\ + \ the prefix of the path where secrets will be mounted if tokens\nare passed\ + \ through file mounts." + example: + idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + coreOAuth2TokenRequestType: + type: "string" + description: "Type of the token requested.\n\n - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS\ + \ indicates a 2-legged OAuth token requested using client credentials." + enum: + - "CLIENT_CREDENTIALS" + default: "CLIENT_CREDENTIALS" + coreOperand: + type: "object" + properties: + primitive: + title: "Can be a constant" + $ref: "#/definitions/corePrimitive" + var: + type: "string" + title: "Or one of this node's input variables" + description: "Defines an operand to a comparison expression." + example: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + coreOutputReference: + type: "object" + properties: + node_id: + type: "string" + description: "Node id must exist at the graph layer." + var: + type: "string" + description: "Variable name must refer to an output variable for the node." + description: "A reference to an output produced by a node. The type can be retrieved\ + \ -and validated- from\nthe underlying interface of the node." + example: + var: "var" + node_id: "node_id" + coreParameter: + type: "object" + properties: + var: + description: "+required Variable. Defines the type of the variable backing\ + \ this parameter." + $ref: "#/definitions/coreVariable" + default: + description: "Defines a default value that has to match the variable type\ + \ defined." + $ref: "#/definitions/coreLiteral" + required: + type: "boolean" + format: "boolean" + description: "+optional, is this value required to be filled." + description: "A parameter is used as input to a launch plan and has\nthe special\ + \ ability to have a default value or mark itself as required." + example: + default: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + collection: + literals: + - null + - null + map: + literals: {} + hash: "hash" + var: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + required: true + coreParameterMap: + type: "object" + properties: + parameters: + type: "object" + description: "Defines a map of parameter names to parameters." + additionalProperties: + $ref: "#/definitions/coreParameter" + description: "A map of Parameters." + example: + parameters: + key: + default: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + collection: + literals: + - null + - null + map: + literals: {} + hash: "hash" + var: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + required: true + corePrimitive: + type: "object" + properties: + integer: + type: "string" + format: "int64" + float_value: + type: "number" + format: "double" + string_value: + type: "string" + boolean: + type: "boolean" + format: "boolean" + datetime: + type: "string" + format: "date-time" + duration: + type: "string" + title: "Primitive Types" + example: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + coreQualityOfService: + type: "object" + properties: + tier: + $ref: "#/definitions/QualityOfServiceTier" + spec: + $ref: "#/definitions/coreQualityOfServiceSpec" + description: "Indicates the priority of an execution." + example: + tier: {} + spec: + queueing_budget: "queueing_budget" + coreQualityOfServiceSpec: + type: "object" + properties: + queueing_budget: + type: "string" + description: "Indicates how much queueing delay an execution can tolerate." + description: "Represents customized execution run-time attributes." + example: + queueing_budget: "queueing_budget" + coreResourceType: + type: "string" + description: "Indicates a resource type within Flyte.\n\n - DATASET: A dataset\ + \ represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned\ + \ entity and can be a compilation of multiple individual objects.\nEventually\ + \ all Catalog objects should be modeled similar to Flyte Objects. The Dataset\ + \ entities makes it possible for the UI and CLI to act on the objects \nin\ + \ a similar manner to other Flyte objects" + enum: + - "UNSPECIFIED" + - "TASK" + - "WORKFLOW" + - "LAUNCH_PLAN" + - "DATASET" + default: "UNSPECIFIED" + coreResources: + type: "object" + properties: + requests: + type: "array" + description: "The desired set of resources requested. ResourceNames must be\ + \ unique within the list." + items: + $ref: "#/definitions/ResourcesResourceEntry" + limits: + type: "array" + description: "Defines a set of bounds (e.g. min/max) within which the task\ + \ can reliably run. ResourceNames must be unique\nwithin the list." + items: + $ref: "#/definitions/ResourcesResourceEntry" + description: "A customizable interface to convey resources requested for a container.\ + \ This can be interpreted differently for different\ncontainer engines." + example: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + coreRetryStrategy: + type: "object" + properties: + retries: + type: "integer" + format: "int64" + description: "Number of retries. Retries will be consumed when the job fails\ + \ with a recoverable error.\nThe number of retries must be less than or\ + \ equals to 10." + description: "Retry strategy associated with an executable unit." + example: + retries: 0 + coreRuntimeMetadata: + type: "object" + properties: + type: + description: "Type of runtime." + $ref: "#/definitions/RuntimeMetadataRuntimeType" + version: + type: "string" + description: "Version of the runtime. All versions should be backward compatible.\ + \ However, certain cases call for version\nchecks to ensure tighter validation\ + \ or setting expectations." + flavor: + type: "string" + description: "+optional It can be used to provide extra information about\ + \ the runtime (e.g. python, golang... etc.)." + description: "Runtime information. This is loosely defined to allow for extensibility." + example: + flavor: "flavor" + type: {} + version: "version" + coreScalar: + type: "object" + properties: + primitive: + $ref: "#/definitions/corePrimitive" + blob: + $ref: "#/definitions/coreBlob" + binary: + $ref: "#/definitions/coreBinary" + schema: + $ref: "#/definitions/flyteidlcoreSchema" + none_type: + $ref: "#/definitions/coreVoid" + error: + $ref: "#/definitions/coreError" + generic: + $ref: "#/definitions/protobufStruct" + structured_dataset: + $ref: "#/definitions/coreStructuredDataset" + union: + $ref: "#/definitions/coreUnion" + example: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + coreSchemaType: + type: "object" + properties: + columns: + type: "array" + description: "A list of ordered columns this schema comprises of." + items: + $ref: "#/definitions/SchemaTypeSchemaColumn" + description: "Defines schema columns and types to strongly type-validate schemas\ + \ interoperability." + example: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + coreSecret: + type: "object" + properties: + group: + type: "string" + title: "The name of the secret group where to find the key referenced below.\ + \ For K8s secrets, this should be the name of\nthe v1/secret object. For\ + \ Confidant, this should be the Credential name. For Vault, this should\ + \ be the secret name.\nFor AWS Secret Manager, this should be the name of\ + \ the secret.\n+required" + group_version: + type: "string" + title: "The group version to fetch. This is not supported in all secret management\ + \ systems. It'll be ignored for the ones\nthat do not support it.\n+optional" + key: + type: "string" + title: "The name of the secret to mount. This has to match an existing secret\ + \ in the system. It's up to the implementation\nof the secret management\ + \ system to require case sensitivity. For K8s secrets, Confidant and Vault,\ + \ this should\nmatch one of the keys inside the secret. For AWS Secret Manager,\ + \ it's ignored.\n+optional" + mount_requirement: + title: "mount_requirement is optional. Indicates where the secret has to be\ + \ mounted. If provided, the execution will fail\nif the underlying key management\ + \ system cannot satisfy that requirement. If not provided, the default location\n\ + will depend on the key management system.\n+optional" + $ref: "#/definitions/SecretMountType" + description: "Secret encapsulates information about the secret a task needs to\ + \ proceed. An environment variable\nFLYTE_SECRETS_ENV_PREFIX will be passed\ + \ to indicate the prefix of the environment variables that will be present if\n\ + secrets are passed through environment variables.\nFLYTE_SECRETS_DEFAULT_DIR\ + \ will be passed to indicate the prefix of the path where secrets will be mounted\ + \ if secrets\nare passed through file mounts." + example: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + coreSecurityContext: + type: "object" + properties: + run_as: + description: "run_as encapsulates the identity a pod should run as. If the\ + \ task fills in multiple fields here, it'll be up to the\nbackend plugin\ + \ to choose the appropriate identity for the execution engine the task will\ + \ run on." + $ref: "#/definitions/coreIdentity" + secrets: + type: "array" + description: "secrets indicate the list of secrets the task needs in order\ + \ to proceed. Secrets will be mounted/passed to the\npod as it starts. If\ + \ the plugin responsible for kicking of the task will not run it on a flyte\ + \ cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch\ + \ the secret (which means propeller identity will need access\nto the secret)\ + \ and to pass it to the remote execution engine." + items: + $ref: "#/definitions/coreSecret" + tokens: + type: "array" + description: "tokens indicate the list of token requests the task needs in\ + \ order to proceed. Tokens will be mounted/passed to the\npod as it starts.\ + \ If the plugin responsible for kicking of the task will not run it on a\ + \ flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin\ + \ to fetch the secret (which means propeller identity will need access\n\ + to the secret) and to pass it to the remote execution engine." + items: + $ref: "#/definitions/coreOAuth2TokenRequest" + description: "SecurityContext holds security attributes that apply to tasks." + example: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + coreSimpleType: + type: "string" + description: "Define a set of simple types." + enum: + - "NONE" + - "INTEGER" + - "FLOAT" + - "STRING" + - "BOOLEAN" + - "DATETIME" + - "DURATION" + - "BINARY" + - "ERROR" + - "STRUCT" + default: "NONE" + coreSql: + type: "object" + properties: + statement: + type: "string" + title: "The actual query to run, the query can have templated parameters.\n\ + We use Flyte's Golang templating format for Query templating.\nRefer to\ + \ the templating documentation.\nhttps://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py\n\ + For example,\ninsert overwrite directory '{{ .rawOutputDataPrefix }}' stored\ + \ as parquet\nselect *\nfrom my_table\nwhere ds = '{{ .Inputs.ds }}'" + dialect: + $ref: "#/definitions/SqlDialect" + description: "Sql represents a generic sql workload with a statement and dialect." + example: + dialect: {} + statement: "statement" + coreStructuredDataset: + type: "object" + properties: + uri: + type: "string" + title: "String location uniquely identifying where the data is.\nShould start\ + \ with the storage location (e.g. s3://, gs://, bq://, etc.)" + metadata: + $ref: "#/definitions/coreStructuredDatasetMetadata" + example: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + coreStructuredDatasetMetadata: + type: "object" + properties: + structured_dataset_type: + description: "Bundle the type information along with the literal.\nThis is\ + \ here because StructuredDatasets can often be more defined at run time\ + \ than at compile time.\nThat is, at compile time you might only declare\ + \ a task to return a pandas dataframe or a StructuredDataset,\nwithout any\ + \ column information, but at run time, you might have that column information.\n\ + flytekit python will copy this type information into the literal, from the\ + \ type information, if not provided by\nthe various plugins (encoders).\n\ + Since this field is run time generated, it's not used for any type checking." + $ref: "#/definitions/coreStructuredDatasetType" + example: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + coreStructuredDatasetType: + type: "object" + properties: + columns: + type: "array" + description: "A list of ordered columns this schema comprises of." + items: + $ref: "#/definitions/StructuredDatasetTypeDatasetColumn" + format: + type: "string" + description: "This is the storage format, the format of the bits at rest\n\ + parquet, feather, csv, etc.\nFor two types to be compatible, the format\ + \ will need to be an exact match." + external_schema_type: + type: "string" + description: "This is a string representing the type that the bytes in external_schema_bytes\ + \ are formatted in.\nThis is an optional field that will not be used for\ + \ type checking." + external_schema_bytes: + type: "string" + format: "byte" + description: "The serialized bytes of a third-party schema library like Arrow.\n\ + This is an optional field that will not be used for type checking." + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" + example: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + coreTaskExecutionIdentifier: + type: "object" + properties: + task_id: + $ref: "#/definitions/coreIdentifier" + node_execution_id: + $ref: "#/definitions/coreNodeExecutionIdentifier" + retry_attempt: + type: "integer" + format: "int64" + description: "Encapsulation of fields that identify a Flyte task execution entity." + example: + task_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + node_execution_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + retry_attempt: 0 + coreTaskExecutionPhase: + type: "string" + title: "- INITIALIZING: To indicate cases where task is initializing, like: ErrImagePull,\ + \ ContainerCreating, PodInitializing\n - WAITING_FOR_RESOURCES: To address cases,\ + \ where underlying resource is not available: Backoff error, Resource quota\ + \ exceeded" + enum: + - "UNDEFINED" + - "QUEUED" + - "RUNNING" + - "SUCCEEDED" + - "ABORTED" + - "FAILED" + - "INITIALIZING" + - "WAITING_FOR_RESOURCES" + default: "UNDEFINED" + coreTaskLog: + type: "object" + properties: + uri: + type: "string" + name: + type: "string" + message_format: + $ref: "#/definitions/TaskLogMessageFormat" + ttl: + type: "string" + title: "Log information for the task that is specific to a log sink\nWhen our\ + \ log story is flushed out, we may have more metadata here like log link expiry" + example: + message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + coreTaskMetadata: + type: "object" + properties: + discoverable: + type: "boolean" + format: "boolean" + description: "Indicates whether the system should attempt to lookup this task's\ + \ output to avoid duplication of work." + runtime: + description: "Runtime information about the task." + $ref: "#/definitions/coreRuntimeMetadata" + timeout: + type: "string" + description: "The overall timeout of a task including user-triggered retries." + retries: + description: "Number of retries per task." + $ref: "#/definitions/coreRetryStrategy" + discovery_version: + type: "string" + description: "Indicates a logical version to apply to this task for the purpose\ + \ of discovery." + deprecated_error_message: + type: "string" + description: "If set, this indicates that this task is deprecated. This will\ + \ enable owners of tasks to notify consumers\nof the ending of support for\ + \ a given task." + interruptible: + type: "boolean" + format: "boolean" + cache_serializable: + type: "boolean" + format: "boolean" + title: "Indicates whether the system should attempt to execute discoverable\ + \ instances in serial to avoid duplicate work" + title: "Task Metadata" + example: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + coreTaskNode: + type: "object" + properties: + reference_id: + description: "A globally unique identifier for the task." + $ref: "#/definitions/coreIdentifier" + overrides: + description: "Optional overrides applied at task execution time." + $ref: "#/definitions/coreTaskNodeOverrides" + description: "Refers to the task that the Node is to execute." + example: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + coreTaskNodeOverrides: + type: "object" + properties: + resources: + description: "A customizable interface to convey resources requested for a\ + \ task container." + $ref: "#/definitions/coreResources" + description: "Optional task node overrides that will be applied at task execution\ + \ time." + example: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + coreTaskTemplate: + type: "object" + properties: + id: + description: "Auto generated taskId by the system. Task Id uniquely identifies\ + \ this task globally." + $ref: "#/definitions/coreIdentifier" + type: + type: "string" + description: "A predefined yet extensible Task type identifier. This can be\ + \ used to customize any of the components. If no\nextensions are provided\ + \ in the system, Flyte will resolve the this task to its TaskCategory and\ + \ default the\nimplementation registered for the TaskCategory." + metadata: + description: "Extra metadata about the task." + $ref: "#/definitions/coreTaskMetadata" + interface: + description: "A strongly typed interface for the task. This enables others\ + \ to use this task within a workflow and guarantees\ncompile-time validation\ + \ of the workflow to avoid costly runtime failures." + $ref: "#/definitions/coreTypedInterface" + custom: + description: "Custom data about the task. This is extensible to allow various\ + \ plugins in the system." + $ref: "#/definitions/protobufStruct" + container: + $ref: "#/definitions/coreContainer" + k8s_pod: + $ref: "#/definitions/coreK8sPod" + sql: + $ref: "#/definitions/coreSql" + task_type_version: + type: "integer" + format: "int32" + description: "This can be used to customize task handling at execution time\ + \ for the same task type." + security_context: + description: "security_context encapsulates security attributes requested\ + \ to run this task." + $ref: "#/definitions/coreSecurityContext" + config: + type: "object" + title: "Metadata about the custom defined for this task. This is extensible\ + \ to allow various plugins in the system\nto use as required.\nreserve the\ + \ field numbers 1 through 15 for very frequently occurring message elements" + additionalProperties: + type: "string" + description: "A Task structure that uniquely identifies a task in the system\n\ + Tasks are registered as a first step in the system." + example: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + coreTypeAnnotation: + type: "object" + properties: + annotations: + description: "A arbitrary JSON payload to describe a type." + $ref: "#/definitions/protobufStruct" + description: "TypeAnnotation encapsulates registration time information about\ + \ a type. This can be used for various control-plane operations. TypeAnnotation\ + \ will not be available at runtime when a task runs." + example: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + coreTypeStructure: + type: "object" + properties: + tag: + type: "string" + title: "Must exactly match for types to be castable" + description: "Hints to improve type matching\ne.g. allows distinguishing output\ + \ from custom type transformers\neven if the underlying IDL serialization matches." + example: + tag: "tag" + coreTypedInterface: + type: "object" + properties: + inputs: + $ref: "#/definitions/coreVariableMap" + outputs: + $ref: "#/definitions/coreVariableMap" + description: "Defines strongly typed inputs and outputs." + example: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + coreUnion: + type: "object" + properties: + value: + $ref: "#/definitions/coreLiteral" + type: + $ref: "#/definitions/coreLiteralType" + description: "The runtime representation of a tagged union value. See `UnionType`\ + \ for more details." + example: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + coreUnionInfo: + type: "object" + properties: + targetType: + $ref: "#/definitions/coreLiteralType" + example: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + coreUnionType: + type: "object" + properties: + variants: + type: "array" + description: "Predefined set of variants in union." + items: + $ref: "#/definitions/coreLiteralType" + description: "Defines a tagged union type, also known as a variant (and formally\ + \ as the sum type).\n\nA sum type S is defined by a sequence of types (A, B,\ + \ C, ...), each tagged by a string tag\nA value of type S is constructed from\ + \ a value of any of the variant types. The specific choice of type is recorded\ + \ by\nstoring the varaint's tag with the literal value and can be examined in\ + \ runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe\ + \ C | ...\n\nNotably, a nullable (optional) type is a sum type between some\ + \ type X and the singleton type representing a null-value:\nOptional X := X\ + \ | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" + example: + variants: + - null + - null + coreVariable: + type: "object" + properties: + type: + description: "Variable literal type." + $ref: "#/definitions/coreLiteralType" + description: + type: "string" + title: "+optional string describing input variable" + description: "Defines a strongly typed variable." + example: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + coreVariableMap: + type: "object" + properties: + variables: + type: "object" + description: "Defines a map of variable names to variables." + additionalProperties: + $ref: "#/definitions/coreVariable" + title: "A map of Variables" + example: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + coreVoid: + type: "object" + description: "Used to denote a nil/null/None assignment to a scalar value. The\ + \ underlying LiteralType for Void is intentionally\nundefined since it can be\ + \ assigned to a scalar of any LiteralType." + coreWorkflowExecutionIdentifier: + type: "object" + properties: + project: + type: "string" + description: "Name of the project the resource belongs to." + domain: + type: "string" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + name: + type: "string" + description: "User or system provided value for the resource." + title: "Encapsulation of fields that uniquely identifies a Flyte workflow execution" + example: + domain: "domain" + name: "name" + project: "project" + coreWorkflowExecutionPhase: + type: "string" + enum: + - "UNDEFINED" + - "QUEUED" + - "RUNNING" + - "SUCCEEDING" + - "SUCCEEDED" + - "FAILING" + - "FAILED" + - "ABORTED" + - "TIMED_OUT" + - "ABORTING" + default: "UNDEFINED" + coreWorkflowMetadata: + type: "object" + properties: + quality_of_service: + description: "Indicates the runtime priority of workflow executions." + $ref: "#/definitions/coreQualityOfService" + on_failure: + description: "Defines how the system should behave when a failure is detected\ + \ in the workflow execution." + $ref: "#/definitions/WorkflowMetadataOnFailurePolicy" + description: "This is workflow layer metadata. These settings are only applicable\ + \ to the workflow as a whole, and do not\npercolate down to child entities (like\ + \ tasks) launched by the workflow." + example: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + coreWorkflowMetadataDefaults: + type: "object" + properties: + interruptible: + type: "boolean" + format: "boolean" + description: "Whether child nodes of the workflow are interruptible." + description: "The difference between these settings and the WorkflowMetadata ones\ + \ is that these are meant to be passed down to\na workflow's underlying entities\ + \ (like tasks). For instance, 'interruptible' has no meaning at the workflow\ + \ layer, it\nis only relevant when a task executes. The settings here are the\ + \ defaults that are passed to all nodes\nunless explicitly overridden at the\ + \ node layer.\nIf you are adding a setting that applies to both the Workflow\ + \ itself, and everything underneath it, it should be\nadded to both this object\ + \ and the WorkflowMetadata object above." + example: + interruptible: true + coreWorkflowNode: + type: "object" + properties: + launchplan_ref: + description: "A globally unique identifier for the launch plan." + $ref: "#/definitions/coreIdentifier" + sub_workflow_ref: + title: "Reference to a subworkflow, that should be defined with the compiler\ + \ context" + $ref: "#/definitions/coreIdentifier" + description: "Refers to a the workflow the node is to execute." + example: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + coreWorkflowTemplate: + type: "object" + properties: + id: + description: "A globally unique identifier for the workflow." + $ref: "#/definitions/coreIdentifier" + metadata: + description: "Extra metadata about the workflow." + $ref: "#/definitions/coreWorkflowMetadata" + interface: + description: "Defines a strongly typed interface for the Workflow. This can\ + \ include some optional parameters." + $ref: "#/definitions/coreTypedInterface" + nodes: + type: "array" + description: "A list of nodes. In addition, 'globals' is a special reserved\ + \ node id that can be used to consume workflow inputs." + items: + $ref: "#/definitions/coreNode" + outputs: + type: "array" + description: "A list of output bindings that specify how to construct workflow\ + \ outputs. Bindings can pull node outputs or\nspecify literals. All workflow\ + \ outputs specified in the interface field must be bound in order for the\ + \ workflow\nto be validated. A workflow has an implicit dependency on all\ + \ of its nodes to execute successfully in order to\nbind final outputs.\n\ + Most of these outputs will be Binding's with a BindingData of type OutputReference.\ + \ That is, your workflow can\njust have an output of some constant (`Output(5)`),\ + \ but usually, the workflow will be pulling\noutputs from the output of\ + \ a task." + items: + $ref: "#/definitions/coreBinding" + failure_node: + description: "+optional A catch-all node. This node is executed whenever the\ + \ execution engine determines the workflow has failed.\nThe interface of\ + \ this node must match the Workflow interface with an additional input named\ + \ 'error' of type\npb.lyft.flyte.core.Error." + $ref: "#/definitions/coreNode" + metadata_defaults: + title: "workflow defaults" + $ref: "#/definitions/coreWorkflowMetadataDefaults" + description: "Flyte Workflow Structure that encapsulates task, branch and subworkflow\ + \ nodes to form a statically analyzable,\ndirected acyclic graph." + example: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + eventExternalResourceInfo: + type: "object" + properties: + external_id: + type: "string" + description: "Identifier for an external resource created by this task execution,\ + \ for example Qubole query ID or presto query ids." + index: + type: "integer" + format: "int64" + description: "A unique index for the external resource with respect to all\ + \ external resources for this task. Although the\nidentifier may change\ + \ between task reporting events or retries, this will remain the same to\ + \ enable aggregating\ninformation from multiple reports." + retry_attempt: + type: "integer" + format: "int64" + title: "Retry attempt number for this external resource, ie., 2 for the second\ + \ attempt" + phase: + title: "Phase associated with the external resource" + $ref: "#/definitions/coreTaskExecutionPhase" + cache_status: + description: "Captures the status of caching for this external resource execution." + $ref: "#/definitions/coreCatalogCacheStatus" + logs: + type: "array" + title: "log information for the external resource execution" + items: + $ref: "#/definitions/coreTaskLog" + description: "This message contains metadata about external resources produced\ + \ or used by a specific task execution." + example: + index: 0 + external_id: "external_id" + retry_attempt: 6 + cache_status: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + eventNodeExecutionEvent: + type: "object" + properties: + id: + title: "Unique identifier for this node execution" + $ref: "#/definitions/coreNodeExecutionIdentifier" + producer_id: + type: "string" + title: "the id of the originator (Propeller) of the event" + phase: + $ref: "#/definitions/coreNodeExecutionPhase" + occurred_at: + type: "string" + format: "date-time" + description: "This timestamp represents when the original event occurred,\ + \ it is generated\nby the executor of the node." + input_uri: + type: "string" + output_uri: + type: "string" + description: "URL to the output of the execution, it encodes all the information\n\ + including Cloud source provider. ie., s3://..." + error: + title: "Error information for the execution" + $ref: "#/definitions/coreExecutionError" + output_data: + description: "Raw output data produced by this node execution." + $ref: "#/definitions/coreLiteralMap" + workflow_node_metadata: + $ref: "#/definitions/flyteidleventWorkflowNodeMetadata" + task_node_metadata: + $ref: "#/definitions/flyteidleventTaskNodeMetadata" + parent_task_metadata: + description: "[To be deprecated] Specifies which task (if any) launched this\ + \ node." + $ref: "#/definitions/eventParentTaskExecutionMetadata" + parent_node_metadata: + description: "Specifies the parent node of the current node execution. Node\ + \ executions at level zero will not have a parent node." + $ref: "#/definitions/eventParentNodeExecutionMetadata" + retry_group: + type: "string" + title: "Retry group to indicate grouping of nodes by retries" + spec_node_id: + type: "string" + title: "Identifier of the node in the original workflow/graph\nThis maps to\ + \ value of WorkflowTemplate.nodes[X].id" + node_name: + type: "string" + title: "Friendly readable name for the node" + event_version: + type: "integer" + format: "int32" + is_parent: + type: "boolean" + format: "boolean" + description: "Whether this node launched a subworkflow." + is_dynamic: + type: "boolean" + format: "boolean" + description: "Whether this node yielded a dynamic workflow." + deck_uri: + type: "string" + title: "String location uniquely identifying where the deck HTML file is\n\ + NativeUrl specifies the url in the format of the configured storage provider\ + \ (e.g. s3://my-bucket/randomstring/suffix.tar)" + eventParentNodeExecutionMetadata: + type: "object" + properties: + node_id: + type: "string" + title: "Unique identifier of the parent node id within the execution\nThis\ + \ is value of core.NodeExecutionIdentifier.node_id of the parent node" + eventParentTaskExecutionMetadata: + type: "object" + properties: + id: + $ref: "#/definitions/coreTaskExecutionIdentifier" + eventResourcePoolInfo: + type: "object" + properties: + allocation_token: + type: "string" + description: "Unique resource ID used to identify this execution when allocating\ + \ a token." + namespace: + type: "string" + description: "Namespace under which this task execution requested an allocation\ + \ token." + description: "This message holds task execution metadata specific to resource\ + \ allocation used to manage concurrent\nexecutions for a project namespace." + example: + allocation_token: "allocation_token" + namespace: "namespace" + eventTaskExecutionEvent: + type: "object" + properties: + task_id: + description: "ID of the task. In combination with the retryAttempt this will\ + \ indicate\nthe task execution uniquely for a given parent node execution." + $ref: "#/definitions/coreIdentifier" + parent_node_execution_id: + title: "A task execution is always kicked off by a node execution, the event\ + \ consumer\nwill use the parent_id to relate the task to it's parent node\ + \ execution" + $ref: "#/definitions/coreNodeExecutionIdentifier" + retry_attempt: + type: "integer" + format: "int64" + title: "retry attempt number for this task, ie., 2 for the second attempt" + phase: + title: "Phase associated with the event" + $ref: "#/definitions/coreTaskExecutionPhase" + producer_id: + type: "string" + title: "id of the process that sent this event, mainly for trace debugging" + logs: + type: "array" + title: "log information for the task execution" + items: + $ref: "#/definitions/coreTaskLog" + occurred_at: + type: "string" + format: "date-time" + description: "This timestamp represents when the original event occurred,\ + \ it is generated\nby the executor of the task." + input_uri: + type: "string" + description: "URI of the input file, it encodes all the information\nincluding\ + \ Cloud source provider. ie., s3://..." + output_uri: + type: "string" + description: "URI to the output of the execution, it will be in a format that\ + \ encodes all the information\nincluding Cloud source provider. ie., s3://..." + error: + title: "Error information for the execution" + $ref: "#/definitions/coreExecutionError" + output_data: + description: "Raw output data produced by this task execution." + $ref: "#/definitions/coreLiteralMap" + custom_info: + description: "Custom data that the task plugin sends back. This is extensible\ + \ to allow various plugins in the system." + $ref: "#/definitions/protobufStruct" + phase_version: + type: "integer" + format: "int64" + description: "Some phases, like RUNNING, can send multiple events with changed\ + \ metadata (new logs, additional custom_info, etc)\nthat should be recorded\ + \ regardless of the lack of phase change.\nThe version field should be incremented\ + \ when metadata changes across the duration of an individual phase." + reason: + type: "string" + description: "An optional explanation for the phase transition." + task_type: + type: "string" + description: "A predefined yet extensible Task type identifier. If the task\ + \ definition is already registered in flyte admin\nthis type will be identical,\ + \ but not all task executions necessarily use pre-registered definitions\ + \ and this\ntype is useful to render the task in the UI, filter task executions,\ + \ etc." + metadata: + description: "Metadata around how a task was executed." + $ref: "#/definitions/eventTaskExecutionMetadata" + event_version: + type: "integer" + format: "int32" + description: "The event version is used to indicate versioned changes in how\ + \ data is reported using this\nproto message. For example, event_verison\ + \ > 0 means that maps tasks report logs using the\nTaskExecutionMetadata\ + \ ExternalResourceInfo fields for each subtask rather than the TaskLog\n\ + in this message." + description: "Plugin specific execution event information. For tasks like Python,\ + \ Hive, Spark, DynamicJob." + eventTaskExecutionMetadata: + type: "object" + properties: + generated_name: + type: "string" + description: "Unique, generated name for this task execution used by the backend." + external_resources: + type: "array" + description: "Additional data on external resources on other back-ends or\ + \ platforms (e.g. Hive, Qubole, etc) launched by this task execution." + items: + $ref: "#/definitions/eventExternalResourceInfo" + resource_pool_info: + type: "array" + description: "Includes additional data on concurrent resource management used\ + \ during execution..\nThis is a repeated field because a plugin can request\ + \ multiple resource allocations during execution." + items: + $ref: "#/definitions/eventResourcePoolInfo" + plugin_identifier: + type: "string" + description: "The identifier of the plugin used to execute this task." + instance_class: + $ref: "#/definitions/TaskExecutionMetadataInstanceClass" + description: "Holds metadata around how a task was executed.\nAs a task transitions\ + \ across event phases during execution some attributes, such its generated name,\ + \ generated external resources,\nand more may grow in size but not change necessarily\ + \ based on the phase transition that sparked the event update.\nMetadata is\ + \ a container for these attributes across the task execution lifecycle." + example: + external_resources: + - index: 0 + external_id: "external_id" + retry_attempt: 6 + cache_status: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - index: 0 + external_id: "external_id" + retry_attempt: 6 + cache_status: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + instance_class: {} + resource_pool_info: + - allocation_token: "allocation_token" + namespace: "namespace" + - allocation_token: "allocation_token" + namespace: "namespace" + generated_name: "generated_name" + plugin_identifier: "plugin_identifier" + eventWorkflowExecutionEvent: + type: "object" + properties: + execution_id: + title: "Workflow execution id" + $ref: "#/definitions/coreWorkflowExecutionIdentifier" + producer_id: + type: "string" + title: "the id of the originator (Propeller) of the event" + phase: + $ref: "#/definitions/coreWorkflowExecutionPhase" + occurred_at: + type: "string" + format: "date-time" + description: "This timestamp represents when the original event occurred,\ + \ it is generated\nby the executor of the workflow." + output_uri: + type: "string" + description: "URL to the output of the execution, it encodes all the information\n\ + including Cloud source provider. ie., s3://..." + error: + title: "Error information for the execution" + $ref: "#/definitions/coreExecutionError" + output_data: + description: "Raw output data produced by this workflow execution." + $ref: "#/definitions/coreLiteralMap" + flyteidladminDynamicWorkflowNodeMetadata: + type: "object" + properties: + id: + description: "id represents the unique identifier of the workflow." + $ref: "#/definitions/coreIdentifier" + compiled_workflow: + description: "Represents the compiled representation of the embedded dynamic\ + \ workflow." + $ref: "#/definitions/coreCompiledWorkflowClosure" + description: "For dynamic workflow nodes we capture information about the dynamic\ + \ workflow definition that gets generated." + example: + compiled_workflow: + sub_workflows: + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + - template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + tasks: + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + - template: + container: + args: + - "args" + - "args" + image: "image" + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" + env: + - value: "value" + key: "key" + - value: "value" + key: "key" + ports: + - container_port: 6 + - container_port: 6 + config: + - value: "value" + key: "key" + - value: "value" + key: "key" + command: + - "command" + - "command" + architecture: {} + metadata: + retries: + retries: 0 + discoverable: true + runtime: + flavor: "flavor" + type: {} + version: "version" + cache_serializable: true + discovery_version: "discovery_version" + deprecated_error_message: "deprecated_error_message" + interruptible: true + timeout: "timeout" + task_type_version: 1 + custom: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + k8s_pod: + metadata: + annotations: + key: "annotations" + labels: + key: "labels" + pod_spec: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + type: "type" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + config: + key: "config" + security_context: + run_as: + iam_role: "iam_role" + oauth2_client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + k8s_service_account: "k8s_service_account" + tokens: + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + - idp_discovery_endpoint: "idp_discovery_endpoint" + name: "name" + client: + client_secret: + mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + client_id: "client_id" + type: {} + token_endpoint: "token_endpoint" + secrets: + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + - mount_requirement: {} + group_version: "group_version" + key: "key" + group: "group" + sql: + dialect: {} + statement: "statement" + primary: + template: + outputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + metadata: + on_failure: {} + quality_of_service: + tier: {} + spec: + queueing_budget: "queueing_budget" + failure_node: + branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + nodes: + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + - branch_node: + if_else: + other: + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + - condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + error: + message: "message" + failed_node_id: "failed_node_id" + case: + condition: + conjunction: + operator: {} + comparison: + left_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + right_value: + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + var: "var" + operator: {} + metadata: + retries: + retries: 0 + name: "name" + interruptible: true + timeout: "timeout" + upstream_node_ids: + - "upstream_node_ids" + - "upstream_node_ids" + inputs: + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + - var: "var" + binding: + scalar: + schema: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + blob: + metadata: + type: + dimensionality: {} + format: "format" + uri: "uri" + none_type: {} + primitive: + duration: "duration" + datetime: "2000-01-23T04:56:07.000+00:00" + string_value: "string_value" + boolean: true + float_value: 1.4658129805029452 + integer: "integer" + binary: + tag: "tag" + value: "value" + structured_dataset: + metadata: + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + uri: "uri" + union: + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + error: + message: "message" + failed_node_id: "failed_node_id" + generic: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + promise: + var: "var" + node_id: "node_id" + collection: + bindings: + - null + - null + union: + targetType: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + map: + bindings: {} + output_aliases: + - var: "var" + alias: "alias" + - var: "var" + alias: "alias" + task_node: + reference_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + overrides: + resources: + requests: + - name: {} + value: "value" + - name: {} + value: "value" + limits: + - name: {} + value: "value" + - name: {} + value: "value" + id: "id" + workflow_node: + launchplan_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + sub_workflow_ref: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + metadata_defaults: + interruptible: true + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + interface: + outputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + inputs: + variables: + key: + description: "description" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + connections: + upstream: + key: + ids: + - "ids" + - "ids" + downstream: + key: + ids: + - "ids" + - "ids" + id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + flyteidladminNodeExecution: + type: "object" + properties: + id: + description: "Uniquely identifies an individual node execution." + $ref: "#/definitions/coreNodeExecutionIdentifier" + input_uri: + type: "string" + description: "Path to remote data store where input blob is stored." + closure: + description: "Computed results associated with this node execution." + $ref: "#/definitions/adminNodeExecutionClosure" + metadata: + title: "Metadata for Node Execution" + $ref: "#/definitions/adminNodeExecutionMetaData" + description: "Encapsulates all details for a single node execution entity.\nA\ + \ node represents a component in the overall workflow graph. A node launch a\ + \ task, multiple tasks, an entire nested\nsub-workflow, or even a separate child-workflow\ + \ execution.\nThe same task can be called repeatedly in a single workflow but\ + \ each node is unique." + example: + metadata: + retry_group: "retry_group" + is_parent_node: true + spec_node_id: "spec_node_id" + is_dynamic: true + input_uri: "input_uri" + id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + closure: + phase: {} + duration: "duration" + workflow_node_metadata: + executionId: + domain: "domain" + name: "name" + project: "project" + updated_at: "2000-01-23T04:56:07.000+00:00" + task_node_metadata: + catalog_key: + source_task_execution: + task_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + node_execution_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + retry_attempt: 0 + dataset_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + artifact_tag: + name: "name" + artifact_id: "artifact_id" + cache_status: {} + output_uri: "output_uri" + started_at: "2000-01-23T04:56:07.000+00:00" + created_at: "2000-01-23T04:56:07.000+00:00" + error: + code: "code" + kind: {} + message: "message" + error_uri: "error_uri" + output_data: + literals: {} + deck_uri: "deck_uri" + flyteidladminTaskExecution: + type: "object" + properties: + id: + description: "Unique identifier for the task execution." + $ref: "#/definitions/coreTaskExecutionIdentifier" + input_uri: + type: "string" + description: "Path to remote data store where input blob is stored." + closure: + description: "Task execution details and results." + $ref: "#/definitions/adminTaskExecutionClosure" + is_parent: + type: "boolean" + format: "boolean" + description: "Whether this task spawned nodes." + description: "Encapsulates all details for a single task execution entity.\nA\ + \ task execution represents an instantiated task, including all inputs and additional\n\ + metadata as well as computed results included state, outputs, and duration-based\ + \ attributes." + example: + input_uri: "input_uri" + id: + task_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + node_execution_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + retry_attempt: 0 + is_parent: true + closure: + phase: {} + reason: "reason" + metadata: + external_resources: + - index: 0 + external_id: "external_id" + retry_attempt: 6 + cache_status: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - index: 0 + external_id: "external_id" + retry_attempt: 6 + cache_status: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + instance_class: {} + resource_pool_info: + - allocation_token: "allocation_token" + namespace: "namespace" + - allocation_token: "allocation_token" + namespace: "namespace" + generated_name: "generated_name" + plugin_identifier: "plugin_identifier" + created_at: "2000-01-23T04:56:07.000+00:00" + error: + code: "code" + kind: {} + message: "message" + error_uri: "error_uri" + duration: "duration" + event_version: 1 + updated_at: "2000-01-23T04:56:07.000+00:00" + custom_info: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + output_uri: "output_uri" + started_at: "2000-01-23T04:56:07.000+00:00" + task_type: "task_type" + output_data: + literals: {} + logs: + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + - message_format: {} + name: "name" + uri: "uri" + ttl: "ttl" + flyteidladminTaskNodeMetadata: + type: "object" + properties: + cache_status: + description: "Captures the status of caching for this execution." + $ref: "#/definitions/coreCatalogCacheStatus" + catalog_key: + title: "This structure carries the catalog artifact information" + $ref: "#/definitions/coreCatalogMetadata" + title: "Metadata for the case in which the node is a TaskNode" + example: + catalog_key: + source_task_execution: + task_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + node_execution_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + retry_attempt: 0 + dataset_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + artifact_tag: + name: "name" + artifact_id: "artifact_id" + cache_status: {} + flyteidladminWorkflowNodeMetadata: + type: "object" + properties: + executionId: + description: "The identifier for a workflow execution launched by a node." + $ref: "#/definitions/coreWorkflowExecutionIdentifier" + title: "Metadata for a WorkflowNode" + example: + executionId: + domain: "domain" + name: "name" + project: "project" + flyteidlcoreSchema: + type: "object" + properties: + uri: + type: "string" + type: + $ref: "#/definitions/coreSchemaType" + description: "A strongly typed schema that defines the interface of data retrieved\ + \ from the underlying storage medium." + example: + type: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + uri: "uri" + flyteidleventDynamicWorkflowNodeMetadata: + type: "object" + properties: + id: + description: "id represents the unique identifier of the workflow." + $ref: "#/definitions/coreIdentifier" + compiled_workflow: + description: "Represents the compiled representation of the embedded dynamic\ + \ workflow." + $ref: "#/definitions/coreCompiledWorkflowClosure" + description: "For dynamic workflow nodes we send information about the dynamic\ + \ workflow definition that gets generated." + flyteidleventTaskNodeMetadata: + type: "object" + properties: + cache_status: + description: "Captures the status of caching for this execution." + $ref: "#/definitions/coreCatalogCacheStatus" + catalog_key: + title: "This structure carries the catalog artifact information" + $ref: "#/definitions/coreCatalogMetadata" + reservation_status: + description: "Captures the status of cache reservations for this execution." + $ref: "#/definitions/CatalogReservationStatus" + dynamic_workflow: + description: "In the case this task launched a dynamic workflow we capture\ + \ its structure here." + $ref: "#/definitions/flyteidleventDynamicWorkflowNodeMetadata" + flyteidleventWorkflowNodeMetadata: + type: "object" + properties: + execution_id: + $ref: "#/definitions/coreWorkflowExecutionIdentifier" + title: "For Workflow Nodes we need to send information about the workflow that's\ + \ launched" + protobufListValue: + type: "object" + properties: + values: + type: "array" + description: "Repeated field of dynamically typed values." + items: + $ref: "#/definitions/protobufValue" + description: "`ListValue` is a wrapper around a repeated field of values.\n\n\ + The JSON representation for `ListValue` is JSON array." + example: + values: + - null + - null + protobufNullValue: + type: "string" + description: "`NullValue` is a singleton enumeration to represent the null value\ + \ for the\n`Value` type union.\n\n The JSON representation for `NullValue` is\ + \ JSON `null`.\n\n - NULL_VALUE: Null value." + enum: + - "NULL_VALUE" + default: "NULL_VALUE" + protobufStruct: + type: "object" + properties: + fields: + type: "object" + description: "Unordered map of dynamically typed values." + additionalProperties: + $ref: "#/definitions/protobufValue" + description: "`Struct` represents a structured data value, consisting of fields\n\ + which map to dynamically typed values. In some languages, `Struct`\nmight be\ + \ supported by a native representation. For example, in\nscripting languages\ + \ like JS a struct is represented as an\nobject. The details of that representation\ + \ are described together\nwith the proto support for the language.\n\nThe JSON\ + \ representation for `Struct` is JSON object." + example: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + protobufValue: + type: "object" + properties: + null_value: + description: "Represents a null value." + $ref: "#/definitions/protobufNullValue" + number_value: + type: "number" + format: "double" + description: "Represents a double value." + string_value: + type: "string" + description: "Represents a string value." + bool_value: + type: "boolean" + format: "boolean" + description: "Represents a boolean value." + struct_value: + description: "Represents a structured value." + $ref: "#/definitions/protobufStruct" + list_value: + description: "Represents a repeated `Value`." + $ref: "#/definitions/protobufListValue" + description: "`Value` represents a dynamically typed value which can be either\n\ + null, a number, a string, a boolean, a recursive struct value, or a\nlist of\ + \ values. A producer of value is expected to set one of that\nvariants, absence\ + \ of any variant indicates an error.\n\nThe JSON representation for `Value`\ + \ is JSON value." + example: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true diff --git a/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go b/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go new file mode 100644 index 000000000..eaf0761c6 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go @@ -0,0 +1,5335 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "context" + "fmt" + "github.com/antihax/optional" + "io/ioutil" + "net/http" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AdminServiceApiService service + +/* +AdminServiceApiService Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` +Create a workflow execution. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param body + +@return AdminExecutionCreateResponse +*/ +func (a *AdminServiceApiService) CreateExecution(ctx context.Context, body AdminExecutionCreateRequest) (AdminExecutionCreateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminExecutionCreateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/executions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminExecutionCreateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition +Create and register a launch plan definition. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param body + +@return AdminLaunchPlanCreateResponse +*/ +func (a *AdminServiceApiService) CreateLaunchPlan(ctx context.Context, body AdminLaunchPlanCreateRequest) (AdminLaunchPlanCreateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminLaunchPlanCreateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminLaunchPlanCreateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + if localVarHttpResponse.StatusCode == 400 { + var v interface{} + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + if localVarHttpResponse.StatusCode == 409 { + var v interface{} + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. +Create a node execution event recording a phase transition. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param body + +@return AdminNodeExecutionEventResponse +*/ +func (a *AdminServiceApiService) CreateNodeEvent(ctx context.Context, body AdminNodeExecutionEventRequest) (AdminNodeExecutionEventResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminNodeExecutionEventResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/events/nodes" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminNodeExecutionEventResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Task` definition +Create and register a task definition. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param body + +@return AdminTaskCreateResponse +*/ +func (a *AdminServiceApiService) CreateTask(ctx context.Context, body AdminTaskCreateRequest) (AdminTaskCreateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminTaskCreateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/tasks" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminTaskCreateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + if localVarHttpResponse.StatusCode == 400 { + var v interface{} + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + if localVarHttpResponse.StatusCode == 409 { + var v interface{} + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. +Create a task execution event recording a phase transition. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param body + +@return AdminTaskExecutionEventResponse +*/ +func (a *AdminServiceApiService) CreateTaskEvent(ctx context.Context, body AdminTaskExecutionEventRequest) (AdminTaskExecutionEventResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminTaskExecutionEventResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/events/tasks" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminTaskExecutionEventResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition +Create and register a workflow definition. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param body + +@return AdminWorkflowCreateResponse +*/ +func (a *AdminServiceApiService) CreateWorkflow(ctx context.Context, body AdminWorkflowCreateRequest) (AdminWorkflowCreateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminWorkflowCreateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/workflows" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminWorkflowCreateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + if localVarHttpResponse.StatusCode == 400 { + var v interface{} + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + if localVarHttpResponse.StatusCode == 409 { + var v interface{} + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. +Create a workflow execution event recording a phase transition. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param body + +@return AdminWorkflowExecutionEventResponse +*/ +func (a *AdminServiceApiService) CreateWorkflowEvent(ctx context.Context, body AdminWorkflowExecutionEventRequest) (AdminWorkflowExecutionEventResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminWorkflowExecutionEventResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/events/workflows" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminWorkflowExecutionEventResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. +Delete the customized resource attributes associated with a project-domain combination + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param project Unique project id which this set of attributes references. +required + - @param domain Unique domain id which this set of attributes references. +required + - @param body + +@return AdminProjectDomainAttributesDeleteResponse +*/ +func (a *AdminServiceApiService) DeleteProjectDomainAttributes(ctx context.Context, project string, domain string, body AdminProjectDomainAttributesDeleteRequest) (AdminProjectDomainAttributesDeleteResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminProjectDomainAttributesDeleteResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/{project}/{domain}" + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) + localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminProjectDomainAttributesDeleteResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. +Delete the customized resource attributes associated with a project, domain and workflow combination + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param project Unique project id which this set of attributes references. +required + - @param domain Unique domain id which this set of attributes references. +required + - @param workflow Workflow name which this set of attributes references. +required + - @param body + +@return AdminWorkflowAttributesDeleteResponse +*/ +func (a *AdminServiceApiService) DeleteWorkflowAttributes(ctx context.Context, project string, domain string, workflow string, body AdminWorkflowAttributesDeleteRequest) (AdminWorkflowAttributesDeleteResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminWorkflowAttributesDeleteResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_attributes/{project}/{domain}/{workflow}" + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) + localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"workflow"+"}", fmt.Sprintf("%v", workflow), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminWorkflowAttributesDeleteResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. +Retrieve the active launch plan version specified by input request filters. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param idProject Name of the project the resource belongs to. + - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + - @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' + +@return AdminLaunchPlan +*/ +func (a *AdminServiceApiService) GetActiveLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string) (AdminLaunchPlan, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminLaunchPlan + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminLaunchPlan + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.Execution`. +Retrieve an existing workflow execution. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param idProject Name of the project the resource belongs to. + - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + - @param idName User or system provided value for the resource. + +@return AdminExecution +*/ +func (a *AdminServiceApiService) GetExecution(ctx context.Context, idProject string, idDomain string, idName string) (AdminExecution, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminExecution + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/executions/{id.project}/{id.domain}/{id.name}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminExecution + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. +Retrieve input and output data from an existing workflow execution. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param idProject Name of the project the resource belongs to. + - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + - @param idName User or system provided value for the resource. + +@return AdminWorkflowExecutionGetDataResponse +*/ +func (a *AdminServiceApiService) GetExecutionData(ctx context.Context, idProject string, idDomain string, idName string) (AdminWorkflowExecutionGetDataResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminWorkflowExecutionGetDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/data/executions/{id.project}/{id.domain}/{id.name}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminWorkflowExecutionGetDataResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. +Retrieve an existing launch plan definition. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. + * @param idVersion Specific version of the resource. + * @param optional nil or *GetLaunchPlanOpts - Optional Parameters: + * @param "IdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + +@return AdminLaunchPlan +*/ + +type GetLaunchPlanOpts struct { + IdResourceType optional.String +} + +func (a *AdminServiceApiService) GetLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetLaunchPlanOpts) (AdminLaunchPlan, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminLaunchPlan + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.IdResourceType.IsSet() { + localVarQueryParams.Add("id.resource_type", parameterToString(localVarOptionals.IdResourceType.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminLaunchPlan + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. +Retrieve a NamedEntity object. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param resourceType Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required + - @param idProject Name of the project the resource belongs to. + - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + - @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' + +@return AdminNamedEntity +*/ +func (a *AdminServiceApiService) GetNamedEntity(ctx context.Context, resourceType string, idProject string, idDomain string, idName string) (AdminNamedEntity, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminNamedEntity + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}" + localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminNamedEntity + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. +Retrieve an existing node execution. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param idExecutionIdProject Name of the project the resource belongs to. + - @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + - @param idExecutionIdName User or system provided value for the resource. + - @param idNodeId + +@return FlyteidladminNodeExecution +*/ +func (a *AdminServiceApiService) GetNodeExecution(ctx context.Context, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string) (FlyteidladminNodeExecution, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue FlyteidladminNodeExecution + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}" + localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.project"+"}", fmt.Sprintf("%v", idExecutionIdProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.domain"+"}", fmt.Sprintf("%v", idExecutionIdDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.name"+"}", fmt.Sprintf("%v", idExecutionIdName), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.node_id"+"}", fmt.Sprintf("%v", idNodeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v FlyteidladminNodeExecution + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. +Retrieve input and output data from an existing node execution. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param idExecutionIdProject Name of the project the resource belongs to. + - @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + - @param idExecutionIdName User or system provided value for the resource. + - @param idNodeId + +@return AdminNodeExecutionGetDataResponse +*/ +func (a *AdminServiceApiService) GetNodeExecutionData(ctx context.Context, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string) (AdminNodeExecutionGetDataResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminNodeExecutionGetDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}" + localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.project"+"}", fmt.Sprintf("%v", idExecutionIdProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.domain"+"}", fmt.Sprintf("%v", idExecutionIdDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.name"+"}", fmt.Sprintf("%v", idExecutionIdName), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.node_id"+"}", fmt.Sprintf("%v", idNodeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminNodeExecutionGetDataResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. +Retrieve the customized resource attributes associated with a project-domain combination + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param project Unique project id which this set of attributes references. +required + * @param domain Unique domain id which this set of attributes references. +required + * @param optional nil or *GetProjectDomainAttributesOpts - Optional Parameters: + * @param "ResourceType" (optional.String) - Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. + +@return AdminProjectDomainAttributesGetResponse +*/ + +type GetProjectDomainAttributesOpts struct { + ResourceType optional.String +} + +func (a *AdminServiceApiService) GetProjectDomainAttributes(ctx context.Context, project string, domain string, localVarOptionals *GetProjectDomainAttributesOpts) (AdminProjectDomainAttributesGetResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminProjectDomainAttributesGetResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/{project}/{domain}" + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) + localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { + localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminProjectDomainAttributesGetResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Task` definition. +Retrieve an existing task definition. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. + * @param idVersion Specific version of the resource. + * @param optional nil or *GetTaskOpts - Optional Parameters: + * @param "IdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + +@return AdminTask +*/ + +type GetTaskOpts struct { + IdResourceType optional.String +} + +func (a *AdminServiceApiService) GetTask(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetTaskOpts) (AdminTask, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminTask + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.IdResourceType.IsSet() { + localVarQueryParams.Add("id.resource_type", parameterToString(localVarOptionals.IdResourceType.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminTask + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. +Retrieve an existing task execution. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. + * @param idNodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idNodeExecutionIdExecutionIdName User or system provided value for the resource. + * @param idNodeExecutionIdNodeId + * @param idTaskIdProject Name of the project the resource belongs to. + * @param idTaskIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idTaskIdName User provided value for the resource. + * @param idTaskIdVersion Specific version of the resource. + * @param idRetryAttempt + * @param optional nil or *GetTaskExecutionOpts - Optional Parameters: + * @param "IdTaskIdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + +@return FlyteidladminTaskExecution +*/ + +type GetTaskExecutionOpts struct { + IdTaskIdResourceType optional.String +} + +func (a *AdminServiceApiService) GetTaskExecution(ctx context.Context, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecutionOpts) (FlyteidladminTaskExecution, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue FlyteidladminTaskExecution + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}" + localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdName), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.node_id"+"}", fmt.Sprintf("%v", idNodeExecutionIdNodeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.project"+"}", fmt.Sprintf("%v", idTaskIdProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.domain"+"}", fmt.Sprintf("%v", idTaskIdDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.name"+"}", fmt.Sprintf("%v", idTaskIdName), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.version"+"}", fmt.Sprintf("%v", idTaskIdVersion), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.retry_attempt"+"}", fmt.Sprintf("%v", idRetryAttempt), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.IdTaskIdResourceType.IsSet() { + localVarQueryParams.Add("id.task_id.resource_type", parameterToString(localVarOptionals.IdTaskIdResourceType.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v FlyteidladminTaskExecution + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. +Retrieve input and output data from an existing task execution. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. + * @param idNodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idNodeExecutionIdExecutionIdName User or system provided value for the resource. + * @param idNodeExecutionIdNodeId + * @param idTaskIdProject Name of the project the resource belongs to. + * @param idTaskIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idTaskIdName User provided value for the resource. + * @param idTaskIdVersion Specific version of the resource. + * @param idRetryAttempt + * @param optional nil or *GetTaskExecutionDataOpts - Optional Parameters: + * @param "IdTaskIdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + +@return AdminTaskExecutionGetDataResponse +*/ + +type GetTaskExecutionDataOpts struct { + IdTaskIdResourceType optional.String +} + +func (a *AdminServiceApiService) GetTaskExecutionData(ctx context.Context, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecutionDataOpts) (AdminTaskExecutionGetDataResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminTaskExecutionGetDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}" + localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdName), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.node_id"+"}", fmt.Sprintf("%v", idNodeExecutionIdNodeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.project"+"}", fmt.Sprintf("%v", idTaskIdProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.domain"+"}", fmt.Sprintf("%v", idTaskIdDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.name"+"}", fmt.Sprintf("%v", idTaskIdName), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.version"+"}", fmt.Sprintf("%v", idTaskIdVersion), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.retry_attempt"+"}", fmt.Sprintf("%v", idRetryAttempt), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.IdTaskIdResourceType.IsSet() { + localVarQueryParams.Add("id.task_id.resource_type", parameterToString(localVarOptionals.IdTaskIdResourceType.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminTaskExecutionGetDataResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService +Retrieve the Version (including the Build information) for FlyteAdmin service + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + +@return AdminGetVersionResponse +*/ +func (a *AdminServiceApiService) GetVersion(ctx context.Context) (AdminGetVersionResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminGetVersionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/version" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminGetVersionResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. +Retrieve an existing workflow definition. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. + * @param idVersion Specific version of the resource. + * @param optional nil or *GetWorkflowOpts - Optional Parameters: + * @param "IdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + +@return AdminWorkflow +*/ + +type GetWorkflowOpts struct { + IdResourceType optional.String +} + +func (a *AdminServiceApiService) GetWorkflow(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetWorkflowOpts) (AdminWorkflow, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminWorkflow + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.IdResourceType.IsSet() { + localVarQueryParams.Add("id.resource_type", parameterToString(localVarOptionals.IdResourceType.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminWorkflow + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. +Retrieve the customized resource attributes associated with a project, domain and workflow combination + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param project Unique project id which this set of attributes references. +required + * @param domain Unique domain id which this set of attributes references. +required + * @param workflow Workflow name which this set of attributes references. +required + * @param optional nil or *GetWorkflowAttributesOpts - Optional Parameters: + * @param "ResourceType" (optional.String) - Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. + +@return AdminWorkflowAttributesGetResponse +*/ + +type GetWorkflowAttributesOpts struct { + ResourceType optional.String +} + +func (a *AdminServiceApiService) GetWorkflowAttributes(ctx context.Context, project string, domain string, workflow string, localVarOptionals *GetWorkflowAttributesOpts) (AdminWorkflowAttributesGetResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminWorkflowAttributesGetResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_attributes/{project}/{domain}/{workflow}" + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) + localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"workflow"+"}", fmt.Sprintf("%v", workflow), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { + localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminWorkflowAttributesGetResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. +Fetch the active launch plan versions specified by input request filters. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param project Name of the project that contains the identifiers. +required. + * @param domain Name of the domain the identifiers belongs to within the project. +required. + * @param optional nil or *ListActiveLaunchPlansOpts - Optional Parameters: + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + +@return AdminLaunchPlanList +*/ + +type ListActiveLaunchPlansOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String + SortByDirection optional.String +} + +func (a *AdminServiceApiService) ListActiveLaunchPlans(ctx context.Context, project string, domain string, localVarOptionals *ListActiveLaunchPlansOpts) (AdminLaunchPlanList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminLaunchPlanList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/active_launch_plans/{project}/{domain}" + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) + localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminLaunchPlanList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Execution`. +Fetch existing workflow executions matching input filters. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param optional nil or *ListExecutionsOpts - Optional Parameters: + * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + +@return AdminExecutionList +*/ + +type ListExecutionsOpts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String +} + +func (a *AdminServiceApiService) ListExecutions(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListExecutionsOpts) (AdminExecutionList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminExecutionList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/executions/{id.project}/{id.domain}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { + localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminExecutionList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. +Fetch existing launch plan definition identifiers matching input filters. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param project Name of the project that contains the identifiers. +required + * @param domain Name of the domain the identifiers belongs to within the project. +required + * @param optional nil or *ListLaunchPlanIdsOpts - Optional Parameters: + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. + +@return AdminNamedEntityIdentifierList +*/ + +type ListLaunchPlanIdsOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String + SortByDirection optional.String + Filters optional.String +} + +func (a *AdminServiceApiService) ListLaunchPlanIds(ctx context.Context, project string, domain string, localVarOptionals *ListLaunchPlanIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminNamedEntityIdentifierList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plan_ids/{project}/{domain}" + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) + localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminNamedEntityIdentifierList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. +Fetch existing launch plan definitions matching input filters. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' + * @param optional nil or *ListLaunchPlansOpts - Optional Parameters: + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + +@return AdminLaunchPlanList +*/ + +type ListLaunchPlansOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String +} + +func (a *AdminServiceApiService) ListLaunchPlans(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListLaunchPlansOpts) (AdminLaunchPlanList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminLaunchPlanList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminLaunchPlanList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. +Fetch existing launch plan definitions matching input filters. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param optional nil or *ListLaunchPlans2Opts - Optional Parameters: + * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + +@return AdminLaunchPlanList +*/ + +type ListLaunchPlans2Opts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String +} + +func (a *AdminServiceApiService) ListLaunchPlans2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListLaunchPlans2Opts) (AdminLaunchPlanList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminLaunchPlanList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/{id.project}/{id.domain}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { + localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminLaunchPlanList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. +Retrieve a list of MatchableAttributesConfiguration objects. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param optional nil or *ListMatchableAttributesOpts - Optional Parameters: + * @param "ResourceType" (optional.String) - +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. + +@return AdminListMatchableAttributesResponse +*/ + +type ListMatchableAttributesOpts struct { + ResourceType optional.String +} + +func (a *AdminServiceApiService) ListMatchableAttributes(ctx context.Context, localVarOptionals *ListMatchableAttributesOpts) (AdminListMatchableAttributesResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminListMatchableAttributesResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/matchable_attributes" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { + localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminListMatchableAttributesResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. +Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param resourceType Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required + * @param project Name of the project that contains the identifiers. +required + * @param domain Name of the domain the identifiers belongs to within the project. + * @param optional nil or *ListNamedEntitiesOpts - Optional Parameters: + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. + * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. + +@return AdminNamedEntityList +*/ + +type ListNamedEntitiesOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String + SortByDirection optional.String + Filters optional.String +} + +func (a *AdminServiceApiService) ListNamedEntities(ctx context.Context, resourceType string, project string, domain string, localVarOptionals *ListNamedEntitiesOpts) (AdminNamedEntityList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminNamedEntityList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/named_entities/{resource_type}/{project}/{domain}" + localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) + localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminNamedEntityList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. +Fetch existing node executions matching input filters. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param workflowExecutionIdProject Name of the project the resource belongs to. + * @param workflowExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param workflowExecutionIdName User or system provided value for the resource. + * @param optional nil or *ListNodeExecutionsOpts - Optional Parameters: + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + * @param "UniqueParentId" (optional.String) - Unique identifier of the parent node in the execution +optional. + +@return AdminNodeExecutionList +*/ + +type ListNodeExecutionsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String + UniqueParentId optional.String +} + +func (a *AdminServiceApiService) ListNodeExecutions(ctx context.Context, workflowExecutionIdProject string, workflowExecutionIdDomain string, workflowExecutionIdName string, localVarOptionals *ListNodeExecutionsOpts) (AdminNodeExecutionList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminNodeExecutionList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}" + localVarPath = strings.Replace(localVarPath, "{"+"workflow_execution_id.project"+"}", fmt.Sprintf("%v", workflowExecutionIdProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"workflow_execution_id.domain"+"}", fmt.Sprintf("%v", workflowExecutionIdDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"workflow_execution_id.name"+"}", fmt.Sprintf("%v", workflowExecutionIdName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UniqueParentId.IsSet() { + localVarQueryParams.Add("unique_parent_id", parameterToString(localVarOptionals.UniqueParentId.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminNodeExecutionList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. +Fetch child node executions launched by the specified task execution. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param taskExecutionIdNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. + * @param taskExecutionIdNodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param taskExecutionIdNodeExecutionIdExecutionIdName User or system provided value for the resource. + * @param taskExecutionIdNodeExecutionIdNodeId + * @param taskExecutionIdTaskIdProject Name of the project the resource belongs to. + * @param taskExecutionIdTaskIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param taskExecutionIdTaskIdName User provided value for the resource. + * @param taskExecutionIdTaskIdVersion Specific version of the resource. + * @param taskExecutionIdRetryAttempt + * @param optional nil or *ListNodeExecutionsForTaskOpts - Optional Parameters: + * @param "TaskExecutionIdTaskIdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + +@return AdminNodeExecutionList +*/ + +type ListNodeExecutionsForTaskOpts struct { + TaskExecutionIdTaskIdResourceType optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String +} + +func (a *AdminServiceApiService) ListNodeExecutionsForTask(ctx context.Context, taskExecutionIdNodeExecutionIdExecutionIdProject string, taskExecutionIdNodeExecutionIdExecutionIdDomain string, taskExecutionIdNodeExecutionIdExecutionIdName string, taskExecutionIdNodeExecutionIdNodeId string, taskExecutionIdTaskIdProject string, taskExecutionIdTaskIdDomain string, taskExecutionIdTaskIdName string, taskExecutionIdTaskIdVersion string, taskExecutionIdRetryAttempt int64, localVarOptionals *ListNodeExecutionsForTaskOpts) (AdminNodeExecutionList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminNodeExecutionList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt}" + localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdExecutionIdProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdExecutionIdDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdExecutionIdName), -1) + localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.node_id"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdNodeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.project"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.domain"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.name"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdName), -1) + localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.version"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdVersion), -1) + localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.retry_attempt"+"}", fmt.Sprintf("%v", taskExecutionIdRetryAttempt), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.TaskExecutionIdTaskIdResourceType.IsSet() { + localVarQueryParams.Add("task_execution_id.task_id.resource_type", parameterToString(localVarOptionals.TaskExecutionIdTaskIdResourceType.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminNodeExecutionList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.Project` +Fetch registered projects. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param optional nil or *ListProjectsOpts - Optional Parameters: + * @param "Limit" (optional.Int64) - Indicates the number of projects to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + +@return AdminProjects +*/ + +type ListProjectsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String +} + +func (a *AdminServiceApiService) ListProjects(ctx context.Context, localVarOptionals *ListProjectsOpts) (AdminProjects, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminProjects + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/projects" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminProjects + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. +Fetch existing task executions matching input filters. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param nodeExecutionIdExecutionIdProject Name of the project the resource belongs to. + * @param nodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param nodeExecutionIdExecutionIdName User or system provided value for the resource. + * @param nodeExecutionIdNodeId + * @param optional nil or *ListTaskExecutionsOpts - Optional Parameters: + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + +@return AdminTaskExecutionList +*/ + +type ListTaskExecutionsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String +} + +func (a *AdminServiceApiService) ListTaskExecutions(ctx context.Context, nodeExecutionIdExecutionIdProject string, nodeExecutionIdExecutionIdDomain string, nodeExecutionIdExecutionIdName string, nodeExecutionIdNodeId string, localVarOptionals *ListTaskExecutionsOpts) (AdminTaskExecutionList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminTaskExecutionList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}" + localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", nodeExecutionIdExecutionIdProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", nodeExecutionIdExecutionIdDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", nodeExecutionIdExecutionIdName), -1) + localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.node_id"+"}", fmt.Sprintf("%v", nodeExecutionIdNodeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminTaskExecutionList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. +Fetch existing task definition identifiers matching input filters. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param project Name of the project that contains the identifiers. +required + * @param domain Name of the domain the identifiers belongs to within the project. +required + * @param optional nil or *ListTaskIdsOpts - Optional Parameters: + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. + +@return AdminNamedEntityIdentifierList +*/ + +type ListTaskIdsOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String + SortByDirection optional.String + Filters optional.String +} + +func (a *AdminServiceApiService) ListTaskIds(ctx context.Context, project string, domain string, localVarOptionals *ListTaskIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminNamedEntityIdentifierList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/task_ids/{project}/{domain}" + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) + localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminNamedEntityIdentifierList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. +Fetch existing task definitions matching input filters. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' + * @param optional nil or *ListTasksOpts - Optional Parameters: + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + +@return AdminTaskList +*/ + +type ListTasksOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String +} + +func (a *AdminServiceApiService) ListTasks(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListTasksOpts) (AdminTaskList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminTaskList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/{id.project}/{id.domain}/{id.name}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminTaskList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. +Fetch existing task definitions matching input filters. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param optional nil or *ListTasks2Opts - Optional Parameters: + * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + +@return AdminTaskList +*/ + +type ListTasks2Opts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String +} + +func (a *AdminServiceApiService) ListTasks2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListTasks2Opts) (AdminTaskList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminTaskList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/{id.project}/{id.domain}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { + localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminTaskList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. +Fetch an existing workflow definition identifiers matching input filters. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param project Name of the project that contains the identifiers. +required + * @param domain Name of the domain the identifiers belongs to within the project. +required + * @param optional nil or *ListWorkflowIdsOpts - Optional Parameters: + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. + +@return AdminNamedEntityIdentifierList +*/ + +type ListWorkflowIdsOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String + SortByDirection optional.String + Filters optional.String +} + +func (a *AdminServiceApiService) ListWorkflowIds(ctx context.Context, project string, domain string, localVarOptionals *ListWorkflowIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminNamedEntityIdentifierList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_ids/{project}/{domain}" + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) + localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminNamedEntityIdentifierList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. +Fetch existing workflow definitions matching input filters. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' + * @param optional nil or *ListWorkflowsOpts - Optional Parameters: + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + +@return AdminWorkflowList +*/ + +type ListWorkflowsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String +} + +func (a *AdminServiceApiService) ListWorkflows(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListWorkflowsOpts) (AdminWorkflowList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminWorkflowList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/{id.project}/{id.domain}/{id.name}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminWorkflowList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. +Fetch existing workflow definitions matching input filters. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param optional nil or *ListWorkflows2Opts - Optional Parameters: + * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. + * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. + * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. + * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. + * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + +@return AdminWorkflowList +*/ + +type ListWorkflows2Opts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String +} + +func (a *AdminServiceApiService) ListWorkflows2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListWorkflows2Opts) (AdminWorkflowList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminWorkflowList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/{id.project}/{id.domain}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { + localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Token.IsSet() { + localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { + localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { + localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { + localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminWorkflowList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. +Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param body + +@return AdminExecutionCreateResponse +*/ +func (a *AdminServiceApiService) RecoverExecution(ctx context.Context, body AdminExecutionRecoverRequest) (AdminExecutionCreateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminExecutionCreateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/executions/recover" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminExecutionCreateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. +Register a project. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param body + +@return AdminProjectRegisterResponse +*/ +func (a *AdminServiceApiService) RegisterProject(ctx context.Context, body AdminProjectRegisterRequest) (AdminProjectRegisterResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminProjectRegisterResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/projects" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminProjectRegisterResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` +Relaunch a workflow execution. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param body + +@return AdminExecutionCreateResponse +*/ +func (a *AdminServiceApiService) RelaunchExecution(ctx context.Context, body AdminExecutionRelaunchRequest) (AdminExecutionCreateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminExecutionCreateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/executions/relaunch" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminExecutionCreateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. +Terminate the active workflow execution specified in the request. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param idProject Name of the project the resource belongs to. + - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + - @param idName User or system provided value for the resource. + - @param body + +@return AdminExecutionTerminateResponse +*/ +func (a *AdminServiceApiService) TerminateExecution(ctx context.Context, idProject string, idDomain string, idName string, body AdminExecutionTerminateRequest) (AdminExecutionTerminateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminExecutionTerminateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/executions/{id.project}/{id.domain}/{id.name}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminExecutionTerminateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. +Update execution belonging to project domain. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param idProject Name of the project the resource belongs to. + - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + - @param idName User or system provided value for the resource. + - @param body + +@return AdminExecutionUpdateResponse +*/ +func (a *AdminServiceApiService) UpdateExecution(ctx context.Context, idProject string, idDomain string, idName string, body AdminExecutionUpdateRequest) (AdminExecutionUpdateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminExecutionUpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/executions/{id.project}/{id.domain}/{id.name}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminExecutionUpdateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. +Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param idProject Name of the project the resource belongs to. + - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + - @param idName User provided value for the resource. + - @param idVersion Specific version of the resource. + - @param body + +@return AdminLaunchPlanUpdateResponse +*/ +func (a *AdminServiceApiService) UpdateLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, body AdminLaunchPlanUpdateRequest) (AdminLaunchPlanUpdateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminLaunchPlanUpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminLaunchPlanUpdateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. +Update the fields associated with a NamedEntity + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param resourceType Resource type of the metadata to update +required + - @param idProject Name of the project the resource belongs to. + - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + - @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' + - @param body + +@return AdminNamedEntityUpdateResponse +*/ +func (a *AdminServiceApiService) UpdateNamedEntity(ctx context.Context, resourceType string, idProject string, idDomain string, idName string, body AdminNamedEntityUpdateRequest) (AdminNamedEntityUpdateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminNamedEntityUpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}" + localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminNamedEntityUpdateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. +Update a project. + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param id Globally unique project name. + - @param body + +@return AdminProjectUpdateResponse +*/ +func (a *AdminServiceApiService) UpdateProject(ctx context.Context, id string, body AdminProject) (AdminProjectUpdateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminProjectUpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/projects/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", fmt.Sprintf("%v", id), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminProjectUpdateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. +Update the customized resource attributes associated with a project-domain combination + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param attributesProject Unique project id for which this set of attributes will be applied. + - @param attributesDomain Unique domain id for which this set of attributes will be applied. + - @param body + +@return AdminProjectDomainAttributesUpdateResponse +*/ +func (a *AdminServiceApiService) UpdateProjectDomainAttributes(ctx context.Context, attributesProject string, attributesDomain string, body AdminProjectDomainAttributesUpdateRequest) (AdminProjectDomainAttributesUpdateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminProjectDomainAttributesUpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}" + localVarPath = strings.Replace(localVarPath, "{"+"attributes.project"+"}", fmt.Sprintf("%v", attributesProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"attributes.domain"+"}", fmt.Sprintf("%v", attributesDomain), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminProjectDomainAttributesUpdateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. +Update the customized resource attributes associated with a project, domain and workflow combination + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param attributesProject Unique project id for which this set of attributes will be applied. + - @param attributesDomain Unique domain id for which this set of attributes will be applied. + - @param attributesWorkflow Workflow name for which this set of attributes will be applied. + - @param body + +@return AdminWorkflowAttributesUpdateResponse +*/ +func (a *AdminServiceApiService) UpdateWorkflowAttributes(ctx context.Context, attributesProject string, attributesDomain string, attributesWorkflow string, body AdminWorkflowAttributesUpdateRequest) (AdminWorkflowAttributesUpdateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminWorkflowAttributesUpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}" + localVarPath = strings.Replace(localVarPath, "{"+"attributes.project"+"}", fmt.Sprintf("%v", attributesProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"attributes.domain"+"}", fmt.Sprintf("%v", attributesDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"attributes.workflow"+"}", fmt.Sprintf("%v", attributesWorkflow), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminWorkflowAttributesUpdateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/client.go b/gen/pb-go/flyteidl/service/flyteadmin/client.go new file mode 100644 index 000000000..9b5b227be --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/client.go @@ -0,0 +1,464 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "mime/multipart" + "net/http" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + + "golang.org/x/oauth2" +) + +var ( + jsonCheck = regexp.MustCompile("(?i:[application|text]/json)") + xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)") +) + +// APIClient manages communication with the flyteidl/service/admin.proto API vversion not set +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + AdminServiceApi *AdminServiceApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.AdminServiceApi = (*AdminServiceApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insenstive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.ToLower(a) == strings.ToLower(needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("Expected %s to be of type %s but received %s.", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +// parameterToString convert interface{} parameters to string, using a delimiter if format is provided. +func parameterToString(obj interface{}, collectionFormat string) string { + var delimiter string + + switch collectionFormat { + case "pipes": + delimiter = "|" + case "ssv": + delimiter = " " + case "tsv": + delimiter = "\t" + case "csv": + delimiter = "," + } + + if reflect.TypeOf(obj).Kind() == reflect.Slice { + return strings.Trim(strings.Replace(fmt.Sprint(obj), " ", delimiter, -1), "[]") + } + + return fmt.Sprintf("%v", obj) +} + +// callAPI do the request. +func (c *APIClient) callAPI(request *http.Request) (*http.Response, error) { + return c.cfg.HTTPClient.Do(request) +} + +// Change base path to allow switching to mocks +func (c *APIClient) ChangeBasePath(path string) { + c.cfg.BasePath = path +} + +// prepareRequest build the request +func (c *APIClient) prepareRequest( + ctx context.Context, + path string, method string, + postBody interface{}, + headerParams map[string]string, + queryParams url.Values, + formParams url.Values, + fileName string, + fileBytes []byte) (localVarRequest *http.Request, err error) { + + var body *bytes.Buffer + + // Detect postBody type and post. + if postBody != nil { + contentType := headerParams["Content-Type"] + if contentType == "" { + contentType = detectContentType(postBody) + headerParams["Content-Type"] = contentType + } + + body, err = setBody(postBody, contentType) + if err != nil { + return nil, err + } + } + + // add form parameters and file if available. + if len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + if len(fileBytes) > 0 && fileName != "" { + w.Boundary() + //_, fileNm := filepath.Split(fileName) + part, err := w.CreateFormFile("file", filepath.Base(fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(fileBytes) + if err != nil { + return nil, err + } + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + } + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = query.Encode() + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers.Set(h, v) + } + localVarRequest.Header = headers + } + + // Override request host, if applicable + if c.cfg.Host != "" { + localVarRequest.Host = c.cfg.Host + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + // OAuth2 authentication + if tok, ok := ctx.Value(ContextOAuth2).(oauth2.TokenSource); ok { + // We were able to grab an oauth2 token from the context + var latestToken *oauth2.Token + if latestToken, err = tok.Token(); err != nil { + return nil, err + } + + latestToken.SetAuthHeader(localVarRequest) + } + + // Basic HTTP Authentication + if auth, ok := ctx.Value(ContextBasicAuth).(BasicAuth); ok { + localVarRequest.SetBasicAuth(auth.UserName, auth.Password) + } + + // AccessToken Authentication + if auth, ok := ctx.Value(ContextAccessToken).(string); ok { + localVarRequest.Header.Add("Authorization", "Bearer "+auth) + } + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if strings.Contains(contentType, "application/xml") { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } else if strings.Contains(contentType, "application/json") { + if err = json.Unmarshal(b, v); err != nil { + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(path) + if err != nil { + return err + } + defer file.Close() + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("Invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } + expires = now.Add(lifetime) + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericSwaggerError Provides access to the body, error and model on returned errors. +type GenericSwaggerError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericSwaggerError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericSwaggerError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericSwaggerError) Model() interface{} { + return e.model +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/configuration.go b/gen/pb-go/flyteidl/service/flyteadmin/configuration.go new file mode 100644 index 000000000..5ca411ba6 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/configuration.go @@ -0,0 +1,72 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "net/http" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. + ContextOAuth2 = contextKey("token") + + // ContextBasicAuth takes BasicAuth as authentication for the request. + ContextBasicAuth = contextKey("basic") + + // ContextAccessToken takes a string oauth2 access token as authentication for the request. + ContextAccessToken = contextKey("accesstoken") + + // ContextAPIKey takes an APIKey as authentication for the request + ContextAPIKey = contextKey("apikey") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +type Configuration struct { + BasePath string `json:"basePath,omitempty"` + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + HTTPClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + BasePath: "http://localhost", + DefaultHeader: make(map[string]string), + UserAgent: "Swagger-Codegen/1.0.0/go", + } + return cfg +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/git_push.sh b/gen/pb-go/flyteidl/service/flyteadmin/git_push.sh new file mode 100644 index 000000000..ae01b182a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/git_push.sh @@ -0,0 +1,52 @@ +#!/bin/sh +# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ +# +# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" + +git_user_id=$1 +git_repo_id=$2 +release_note=$3 + +if [ "$git_user_id" = "" ]; then + git_user_id="GIT_USER_ID" + echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" +fi + +if [ "$git_repo_id" = "" ]; then + git_repo_id="GIT_REPO_ID" + echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" +fi + +if [ "$release_note" = "" ]; then + release_note="Minor update" + echo "[INFO] No command line input provided. Set \$release_note to $release_note" +fi + +# Initialize the local directory as a Git repository +git init + +# Adds the files in the local repository and stages them for commit. +git add . + +# Commits the tracked changes and prepares them to be pushed to a remote repository. +git commit -m "$release_note" + +# Sets the new remote +git_remote=`git remote` +if [ "$git_remote" = "" ]; then # git remote not defined + + if [ "$GIT_TOKEN" = "" ]; then + echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." + git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git + else + git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git + fi + +fi + +git pull origin master + +# Pushes (Forces) the changes in the local repository up to the remote repository +echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" +git push origin master 2>&1 | grep -v 'To https' + diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go new file mode 100644 index 000000000..2f6f2e95d --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Specifies metadata around an aborted workflow execution. +type AdminAbortMetadata struct { + // In the case of a user-specified abort, this will pass along the user-supplied cause. + Cause string `json:"cause,omitempty"` + Principal string `json:"principal,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_annotations.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_annotations.go new file mode 100644 index 000000000..ca3f4649d --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_annotations.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Annotation values to be applied to an execution resource. In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined to specify how to merge annotations defined at registration and execution time. +type AdminAnnotations struct { + // Map of custom annotations to be applied to the execution resource. + Values map[string]string `json:"values,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth.go new file mode 100644 index 000000000..9901eb85e --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines permissions associated with executions created by this launch plan spec. Use either of these roles when they have permissions required by your workflow execution. Deprecated. +type AdminAuth struct { + // Defines an optional iam role which will be used for tasks run in executions created with this launch plan. + AssumableIamRole string `json:"assumable_iam_role,omitempty"` + // Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. + KubernetesServiceAccount string `json:"kubernetes_service_account,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth_role.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth_role.go new file mode 100644 index 000000000..ca6c75dde --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth_role.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines permissions associated with executions created by this launch plan spec. Use either of these roles when they have permissions required by your workflow execution. Deprecated. +type AdminAuthRole struct { + // Defines an optional iam role which will be used for tasks run in executions created with this launch plan. + AssumableIamRole string `json:"assumable_iam_role,omitempty"` + // Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. + KubernetesServiceAccount string `json:"kubernetes_service_account,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go new file mode 100644 index 000000000..de9cf5bf8 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Encapsulates specifications for routing an execution onto a specific cluster. +type AdminClusterAssignment struct { + ClusterPoolName string `json:"cluster_pool_name,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go new file mode 100644 index 000000000..05f3bb775 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminClusterResourceAttributes struct { + // Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. + Attributes map[string]string `json:"attributes,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go new file mode 100644 index 000000000..87a32e2ec --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Options for schedules to run according to a cron expression. +type AdminCronSchedule struct { + Schedule string `json:"schedule,omitempty"` + Offset string `json:"offset,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_domain.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_domain.go new file mode 100644 index 000000000..2c2bdaa74 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_domain.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Namespace within a project commonly used to differentiate between different service instances. e.g. \"production\", \"development\", etc. +type AdminDomain struct { + // Globally unique domain name. + Id string `json:"id,omitempty"` + // Display name. + Name string `json:"name,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_email_notification.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_email_notification.go new file mode 100644 index 000000000..a5d878320 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_email_notification.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines an email notification specification. +type AdminEmailNotification struct { + RecipientsEmail []string `json:"recipients_email,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution.go new file mode 100644 index 000000000..ac331c348 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A workflow execution represents an instantiated workflow, including all inputs and additional metadata as well as computed results included state, outputs, and duration-based attributes. Used as a response object used in Get and List execution requests. +type AdminExecution struct { + // Unique identifier of the workflow execution. + Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` + // User-provided configuration and inputs for launching the execution. + Spec *AdminExecutionSpec `json:"spec,omitempty"` + // Execution results. + Closure *AdminExecutionClosure `json:"closure,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go new file mode 100644 index 000000000..e166e5ac7 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go @@ -0,0 +1,43 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +type AdminExecutionClosure struct { + // Output URI in the case of a successful execution. DEPRECATED. Use GetExecutionData to fetch output data instead. + Outputs *AdminLiteralMapBlob `json:"outputs,omitempty"` + // Error information in the case of a failed execution. + Error_ *CoreExecutionError `json:"error,omitempty"` + // In the case of a user-specified abort, this will pass along the user-supplied cause. + AbortCause string `json:"abort_cause,omitempty"` + // In the case of a user-specified abort, this will pass along the user and their supplied cause. + AbortMetadata *AdminAbortMetadata `json:"abort_metadata,omitempty"` + // Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead. + OutputData *CoreLiteralMap `json:"output_data,omitempty"` + ComputedInputs *CoreLiteralMap `json:"computed_inputs,omitempty"` + // Most recent recorded phase for the execution. + Phase *CoreWorkflowExecutionPhase `json:"phase,omitempty"` + // Reported time at which the execution began running. + StartedAt time.Time `json:"started_at,omitempty"` + // The amount of time the execution spent running. + Duration string `json:"duration,omitempty"` + // Reported time at which the execution was created. + CreatedAt time.Time `json:"created_at,omitempty"` + // Reported time at which the execution was last updated. + UpdatedAt time.Time `json:"updated_at,omitempty"` + // The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan. + Notifications []AdminNotification `json:"notifications,omitempty"` + // Identifies the workflow definition for this execution. + WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` + StateChangeDetails *AdminExecutionStateChangeDetails `json:"state_change_details,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_cluster_label.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_cluster_label.go new file mode 100644 index 000000000..0666bf60c --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_cluster_label.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminExecutionClusterLabel struct { + Value string `json:"value,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go new file mode 100644 index 000000000..3ccc424c2 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Request to launch an execution with the given project, domain and optionally-assigned name. +type AdminExecutionCreateRequest struct { + Project string `json:"project,omitempty"` + Domain string `json:"domain,omitempty"` + Name string `json:"name,omitempty"` + Spec *AdminExecutionSpec `json:"spec,omitempty"` + Inputs *CoreLiteralMap `json:"inputs,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_response.go new file mode 100644 index 000000000..540bc7e14 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_response.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// The unique identifier for a successfully created execution. If the name was *not* specified in the create request, this identifier will include a generated name. +type AdminExecutionCreateResponse struct { + Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_list.go new file mode 100644 index 000000000..bffe0c3a0 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_list.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminExecutionList struct { + Executions []AdminExecution `json:"executions,omitempty"` + // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. + Token string `json:"token,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go new file mode 100644 index 000000000..8a0b5c0a8 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go @@ -0,0 +1,30 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +// Represents attributes about an execution which are not required to launch the execution but are useful to record. These attributes are assigned at launch time and do not change. +type AdminExecutionMetadata struct { + Mode *ExecutionMetadataExecutionMode `json:"mode,omitempty"` + // Identifier of the entity that triggered this execution. For systems using back-end authentication any value set here will be discarded in favor of the authenticated user context. + Principal string `json:"principal,omitempty"` + // Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1. + Nesting int64 `json:"nesting,omitempty"` + // For scheduled executions, the requested time for execution for this specific schedule invocation. + ScheduledAt time.Time `json:"scheduled_at,omitempty"` + ParentNodeExecution *CoreNodeExecutionIdentifier `json:"parent_node_execution,omitempty"` + // Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution. + ReferenceExecution *CoreWorkflowExecutionIdentifier `json:"reference_execution,omitempty"` + // Optional, platform-specific metadata about the execution. In this the future this may be gated behind an ACL or some sort of authorization. + SystemMetadata *AdminSystemMetadata `json:"system_metadata,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go new file mode 100644 index 000000000..3cced5ad5 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminExecutionQueueAttributes struct { + // Tags used for assigning execution queues for tasks defined within this project. + Tags []string `json:"tags,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go new file mode 100644 index 000000000..ec7464537 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Request to recover the referenced execution. +type AdminExecutionRecoverRequest struct { + // Identifier of the workflow execution to recover. + Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` + Name string `json:"name,omitempty"` + // Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. + Metadata *AdminExecutionMetadata `json:"metadata,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go new file mode 100644 index 000000000..7228d7c2f --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Request to relaunch the referenced execution. +type AdminExecutionRelaunchRequest struct { + Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` + Name string `json:"name,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go new file mode 100644 index 000000000..f841476f0 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go @@ -0,0 +1,38 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime of an execution as it progresses across phase changes. +type AdminExecutionSpec struct { + LaunchPlan *CoreIdentifier `json:"launch_plan,omitempty"` + Inputs *CoreLiteralMap `json:"inputs,omitempty"` + Metadata *AdminExecutionMetadata `json:"metadata,omitempty"` + // List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied. + Notifications *AdminNotificationList `json:"notifications,omitempty"` + // This should be set to true if all notifications are intended to be disabled for this execution. + DisableAll bool `json:"disable_all,omitempty"` + // Labels to apply to the execution resource. + Labels *AdminLabels `json:"labels,omitempty"` + // Annotations to apply to the execution resource. + Annotations *AdminAnnotations `json:"annotations,omitempty"` + // Optional: security context override to apply this execution. + SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` + // Optional: auth override to apply this execution. + AuthRole *AdminAuthRole `json:"auth_role,omitempty"` + // Indicates the runtime priority of the execution. + QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` + // Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. + MaxParallelism int32 `json:"max_parallelism,omitempty"` + RawOutputDataConfig *AdminRawOutputDataConfig `json:"raw_output_data_config,omitempty"` + // Controls how to select an available cluster on which this execution should run. + ClusterAssignment *AdminClusterAssignment `json:"cluster_assignment,omitempty"` + // Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. + Interruptible bool `json:"interruptible,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go new file mode 100644 index 000000000..306d6b8db --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// AdminExecutionState : The state of the execution is used to control its visibility in the UI/CLI. - EXECUTION_ACTIVE: By default, all executions are considered active. - EXECUTION_ARCHIVED: Archived executions are no longer visible in the UI. +type AdminExecutionState string + +// List of adminExecutionState +const ( + AdminExecutionStateACTIVE AdminExecutionState = "EXECUTION_ACTIVE" + AdminExecutionStateARCHIVED AdminExecutionState = "EXECUTION_ARCHIVED" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go new file mode 100644 index 000000000..e13f2c24e --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +type AdminExecutionStateChangeDetails struct { + // The state of the execution is used to control its visibility in the UI/CLI. + State *AdminExecutionState `json:"state,omitempty"` + // This timestamp represents when the state changed. + OccurredAt time.Time `json:"occurred_at,omitempty"` + Principal string `json:"principal,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_request.go new file mode 100644 index 000000000..fe4967345 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_request.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Request to terminate an in-progress execution. This action is irreversible. If an execution is already terminated, this request will simply be a no-op. This request will fail if it references a non-existent execution. If the request succeeds the phase \"ABORTED\" will be recorded for the termination with the optional cause added to the output_result. +type AdminExecutionTerminateRequest struct { + // Uniquely identifies the individual workflow execution to be terminated. + Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` + // Optional reason for aborting. + Cause string `json:"cause,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_response.go new file mode 100644 index 000000000..7471278b3 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_response.go @@ -0,0 +1,13 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminExecutionTerminateResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go new file mode 100644 index 000000000..910f10fe6 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminExecutionUpdateRequest struct { + Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` + State *AdminExecutionState `json:"state,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_response.go new file mode 100644 index 000000000..34de2f4ce --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_response.go @@ -0,0 +1,13 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminExecutionUpdateResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go new file mode 100644 index 000000000..4a6de17fa --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Option for schedules run at a certain frequency e.g. every 2 minutes. +type AdminFixedRate struct { + Value int64 `json:"value,omitempty"` + Unit *AdminFixedRateUnit `json:"unit,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go new file mode 100644 index 000000000..7ad83474b --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// AdminFixedRateUnit : Represents a frequency at which to run a schedule. +type AdminFixedRateUnit string + +// List of adminFixedRateUnit +const ( + AdminFixedRateUnitMINUTE AdminFixedRateUnit = "MINUTE" + AdminFixedRateUnitHOUR AdminFixedRateUnit = "HOUR" + AdminFixedRateUnitDAY AdminFixedRateUnit = "DAY" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_get_version_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_get_version_response.go new file mode 100644 index 000000000..b09afbfe0 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_get_version_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminGetVersionResponse struct { + ControlPlaneVersion *AdminVersion `json:"control_plane_version,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_labels.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_labels.go new file mode 100644 index 000000000..a544db3a1 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_labels.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Label values to be applied to an execution resource. In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined to specify how to merge labels defined at registration and execution time. +type AdminLabels struct { + // Map of custom labels to be applied to the execution resource. + Values map[string]string `json:"values,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan.go new file mode 100644 index 000000000..d7fa0b566 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A LaunchPlan provides the capability to templatize workflow executions. Launch plans simplify associating one or more schedules, inputs and notifications with your workflows. Launch plans can be shared and used to trigger executions with predefined inputs even when a workflow definition doesn't necessarily have a default value for said input. +type AdminLaunchPlan struct { + // Uniquely identifies a launch plan entity. + Id *CoreIdentifier `json:"id,omitempty"` + // User-provided launch plan details, including reference workflow, inputs and other metadata. + Spec *AdminLaunchPlanSpec `json:"spec,omitempty"` + // Values computed by the flyte platform after launch plan registration. + Closure *AdminLaunchPlanClosure `json:"closure,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go new file mode 100644 index 000000000..d6aa0a055 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go @@ -0,0 +1,26 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +// Values computed by the flyte platform after launch plan registration. These include expected_inputs required to be present in a CreateExecutionRequest to launch the reference workflow as well timestamp values associated with the launch plan. +type AdminLaunchPlanClosure struct { + // Indicate the Launch plan state. + State *AdminLaunchPlanState `json:"state,omitempty"` + ExpectedInputs *CoreParameterMap `json:"expected_inputs,omitempty"` + ExpectedOutputs *CoreVariableMap `json:"expected_outputs,omitempty"` + // Time at which the launch plan was created. + CreatedAt time.Time `json:"created_at,omitempty"` + // Time at which the launch plan was last updated. + UpdatedAt time.Time `json:"updated_at,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_request.go new file mode 100644 index 000000000..f7a46775a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_request.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required to launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to set the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan. +type AdminLaunchPlanCreateRequest struct { + // Uniquely identifies a launch plan entity. + Id *CoreIdentifier `json:"id,omitempty"` + // User-provided launch plan details, including reference workflow, inputs and other metadata. + Spec *AdminLaunchPlanSpec `json:"spec,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_response.go new file mode 100644 index 000000000..7203a99c8 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_response.go @@ -0,0 +1,13 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminLaunchPlanCreateResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_list.go new file mode 100644 index 000000000..3e91d5a0b --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_list.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminLaunchPlanList struct { + LaunchPlans []AdminLaunchPlan `json:"launch_plans,omitempty"` + // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. + Token string `json:"token,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go new file mode 100644 index 000000000..3260b1b03 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch the reference workflow. +type AdminLaunchPlanMetadata struct { + Schedule *AdminSchedule `json:"schedule,omitempty"` + Notifications []AdminNotification `json:"notifications,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go new file mode 100644 index 000000000..f6883c3cd --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go @@ -0,0 +1,37 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// User-provided launch plan definition and configuration values. +type AdminLaunchPlanSpec struct { + WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` + EntityMetadata *AdminLaunchPlanMetadata `json:"entity_metadata,omitempty"` + // Input values to be passed for the execution. These can be overriden when an execution is created with this launch plan. + DefaultInputs *CoreParameterMap `json:"default_inputs,omitempty"` + // Fixed, non-overridable inputs for the Launch Plan. These can not be overriden when an execution is created with this launch plan. + FixedInputs *CoreLiteralMap `json:"fixed_inputs,omitempty"` + Role string `json:"role,omitempty"` + // Custom labels to be applied to the execution resource. + Labels *AdminLabels `json:"labels,omitempty"` + // Custom annotations to be applied to the execution resource. + Annotations *AdminAnnotations `json:"annotations,omitempty"` + // Indicates the permission associated with workflow executions triggered with this launch plan. + Auth *AdminAuth `json:"auth,omitempty"` + AuthRole *AdminAuthRole `json:"auth_role,omitempty"` + SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` + // Indicates the runtime priority of the execution. + QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` + // Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). + RawOutputDataConfig *AdminRawOutputDataConfig `json:"raw_output_data_config,omitempty"` + // Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. + MaxParallelism int32 `json:"max_parallelism,omitempty"` + // Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. + Interruptible bool `json:"interruptible,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go new file mode 100644 index 000000000..da3902a39 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// AdminLaunchPlanState : By default any launch plan regardless of state can be used to launch a workflow execution. However, at most one version of a launch plan (e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be active at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier group will be observed and trigger executions at a defined cadence. +type AdminLaunchPlanState string + +// List of adminLaunchPlanState +const ( + AdminLaunchPlanStateINACTIVE AdminLaunchPlanState = "INACTIVE" + AdminLaunchPlanStateACTIVE AdminLaunchPlanState = "ACTIVE" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_request.go new file mode 100644 index 000000000..bda31c28a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_request.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminLaunchPlanUpdateRequest struct { + // Identifier of launch plan for which to change state. +required. + Id *CoreIdentifier `json:"id,omitempty"` + // Desired state to apply to the launch plan. +required. + State *AdminLaunchPlanState `json:"state,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_response.go new file mode 100644 index 000000000..84397b016 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Purposefully empty, may be populated in the future. +type AdminLaunchPlanUpdateResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_list_matchable_attributes_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_list_matchable_attributes_response.go new file mode 100644 index 000000000..92b56e312 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_list_matchable_attributes_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminListMatchableAttributesResponse struct { + Configurations []AdminMatchableAttributesConfiguration `json:"configurations,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go new file mode 100644 index 000000000..f5dc3399e --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminLiteralMapBlob struct { + Values *CoreLiteralMap `json:"values,omitempty"` + Uri string `json:"uri,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go new file mode 100644 index 000000000..daba0caaf --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Represents a custom set of attributes applied for either a domain; a domain and project; or domain, project and workflow name. These are used to override system level defaults for kubernetes cluster resource management, default execution values, and more all across different levels of specificity. +type AdminMatchableAttributesConfiguration struct { + Attributes *AdminMatchingAttributes `json:"attributes,omitempty"` + Domain string `json:"domain,omitempty"` + Project string `json:"project,omitempty"` + Workflow string `json:"workflow,omitempty"` + LaunchPlan string `json:"launch_plan,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go new file mode 100644 index 000000000..df4a350bb --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go @@ -0,0 +1,25 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// AdminMatchableResource : Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes based on matching tags. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. +type AdminMatchableResource string + +// List of adminMatchableResource +const ( + AdminMatchableResourceTASK_RESOURCE AdminMatchableResource = "TASK_RESOURCE" + AdminMatchableResourceCLUSTER_RESOURCE AdminMatchableResource = "CLUSTER_RESOURCE" + AdminMatchableResourceEXECUTION_QUEUE AdminMatchableResource = "EXECUTION_QUEUE" + AdminMatchableResourceEXECUTION_CLUSTER_LABEL AdminMatchableResource = "EXECUTION_CLUSTER_LABEL" + AdminMatchableResourceQUALITY_OF_SERVICE_SPECIFICATION AdminMatchableResource = "QUALITY_OF_SERVICE_SPECIFICATION" + AdminMatchableResourcePLUGIN_OVERRIDE AdminMatchableResource = "PLUGIN_OVERRIDE" + AdminMatchableResourceWORKFLOW_EXECUTION_CONFIG AdminMatchableResource = "WORKFLOW_EXECUTION_CONFIG" + AdminMatchableResourceCLUSTER_ASSIGNMENT AdminMatchableResource = "CLUSTER_ASSIGNMENT" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go new file mode 100644 index 000000000..c9f2f0275 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Generic container for encapsulating all types of the above attributes messages. +type AdminMatchingAttributes struct { + TaskResourceAttributes *AdminTaskResourceAttributes `json:"task_resource_attributes,omitempty"` + ClusterResourceAttributes *AdminClusterResourceAttributes `json:"cluster_resource_attributes,omitempty"` + ExecutionQueueAttributes *AdminExecutionQueueAttributes `json:"execution_queue_attributes,omitempty"` + ExecutionClusterLabel *AdminExecutionClusterLabel `json:"execution_cluster_label,omitempty"` + QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` + PluginOverrides *AdminPluginOverrides `json:"plugin_overrides,omitempty"` + WorkflowExecutionConfig *AdminWorkflowExecutionConfig `json:"workflow_execution_config,omitempty"` + ClusterAssignment *AdminClusterAssignment `json:"cluster_assignment,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go new file mode 100644 index 000000000..d3e11e0b3 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Encapsulates information common to a NamedEntity, a Flyte resource such as a task, workflow or launch plan. A NamedEntity is exclusively identified by its resource type and identifier. +type AdminNamedEntity struct { + // Resource type of the named entity. One of Task, Workflow or LaunchPlan. + ResourceType *CoreResourceType `json:"resource_type,omitempty"` + Id *AdminNamedEntityIdentifier `json:"id,omitempty"` + // Additional metadata around a named entity. + Metadata *AdminNamedEntityMetadata `json:"metadata,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go new file mode 100644 index 000000000..c6e36319e --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Encapsulation of fields that identifies a Flyte resource. A Flyte resource can be a task, workflow or launch plan. A resource can internally have multiple versions and is uniquely identified by project, domain, and name. +type AdminNamedEntityIdentifier struct { + // Name of the project the resource belongs to. + Project string `json:"project,omitempty"` + // Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + Domain string `json:"domain,omitempty"` + Name string `json:"name,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier_list.go new file mode 100644 index 000000000..55cbafc9c --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier_list.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Represents a list of NamedEntityIdentifiers. +type AdminNamedEntityIdentifierList struct { + // A list of identifiers. + Entities []AdminNamedEntityIdentifier `json:"entities,omitempty"` + // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. + Token string `json:"token,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_list.go new file mode 100644 index 000000000..d8042a7ff --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_list.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Represents a list of NamedEntityIdentifiers. +type AdminNamedEntityList struct { + Entities []AdminNamedEntity `json:"entities,omitempty"` + // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. + Token string `json:"token,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_metadata.go new file mode 100644 index 000000000..b608d8351 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_metadata.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Additional metadata around a named entity. +type AdminNamedEntityMetadata struct { + Description string `json:"description,omitempty"` + // Shared state across all version of the entity At this point in time, only workflow entities can have their state archived. + State *AdminNamedEntityState `json:"state,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go new file mode 100644 index 000000000..de574e1b9 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// AdminNamedEntityState : The status of the named entity is used to control its visibility in the UI. - NAMED_ENTITY_ACTIVE: By default, all named entities are considered active and under development. - NAMED_ENTITY_ARCHIVED: Archived named entities are no longer visible in the UI. - SYSTEM_GENERATED: System generated entities that aren't explicitly created or managed by a user. +type AdminNamedEntityState string + +// List of adminNamedEntityState +const ( + AdminNamedEntityStateNAMED_ENTITY_ACTIVE AdminNamedEntityState = "NAMED_ENTITY_ACTIVE" + AdminNamedEntityStateNAMED_ENTITY_ARCHIVED AdminNamedEntityState = "NAMED_ENTITY_ARCHIVED" + AdminNamedEntityStateSYSTEM_GENERATED AdminNamedEntityState = "SYSTEM_GENERATED" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go new file mode 100644 index 000000000..2596276ea --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Request to set the referenced named entity state to the configured value. +type AdminNamedEntityUpdateRequest struct { + ResourceType *CoreResourceType `json:"resource_type,omitempty"` + Id *AdminNamedEntityIdentifier `json:"id,omitempty"` + Metadata *AdminNamedEntityMetadata `json:"metadata,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_response.go new file mode 100644 index 000000000..2376f0f26 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Purposefully empty, may be populated in the future. +type AdminNamedEntityUpdateResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go new file mode 100644 index 000000000..6910803c5 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go @@ -0,0 +1,36 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +// Container for node execution details and results. +type AdminNodeExecutionClosure struct { + // Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. + OutputUri string `json:"output_uri,omitempty"` + Error_ *CoreExecutionError `json:"error,omitempty"` + // Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. + OutputData *CoreLiteralMap `json:"output_data,omitempty"` + // The last recorded phase for this node execution. + Phase *CoreNodeExecutionPhase `json:"phase,omitempty"` + // Time at which the node execution began running. + StartedAt time.Time `json:"started_at,omitempty"` + // The amount of time the node execution spent running. + Duration string `json:"duration,omitempty"` + // Time at which the node execution was created. + CreatedAt time.Time `json:"created_at,omitempty"` + // Time at which the node execution was last updated. + UpdatedAt time.Time `json:"updated_at,omitempty"` + WorkflowNodeMetadata *FlyteidladminWorkflowNodeMetadata `json:"workflow_node_metadata,omitempty"` + TaskNodeMetadata *FlyteidladminTaskNodeMetadata `json:"task_node_metadata,omitempty"` + DeckUri string `json:"deck_uri,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_request.go new file mode 100644 index 000000000..f31d2ce27 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_request.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Request to send a notification that a node execution event has occurred. +type AdminNodeExecutionEventRequest struct { + RequestId string `json:"request_id,omitempty"` + // Details about the event that occurred. + Event *EventNodeExecutionEvent `json:"event,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_response.go new file mode 100644 index 000000000..a1bec33b1 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_response.go @@ -0,0 +1,13 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminNodeExecutionEventResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go new file mode 100644 index 000000000..afeaa710f --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go @@ -0,0 +1,24 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution. +type AdminNodeExecutionGetDataResponse struct { + // Signed url to fetch a core.LiteralMap of node execution inputs. Deprecated: Please use full_inputs instead. + Inputs *AdminUrlBlob `json:"inputs,omitempty"` + // Signed url to fetch a core.LiteralMap of node execution outputs. Deprecated: Please use full_outputs instead. + Outputs *AdminUrlBlob `json:"outputs,omitempty"` + // Full_inputs will only be populated if they are under a configured size threshold. + FullInputs *CoreLiteralMap `json:"full_inputs,omitempty"` + // Full_outputs will only be populated if they are under a configured size threshold. + FullOutputs *CoreLiteralMap `json:"full_outputs,omitempty"` + // Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. + DynamicWorkflow *FlyteidladminDynamicWorkflowNodeMetadata `json:"dynamic_workflow,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_list.go new file mode 100644 index 000000000..6ee23b657 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_list.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminNodeExecutionList struct { + NodeExecutions []FlyteidladminNodeExecution `json:"node_executions,omitempty"` + // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. + Token string `json:"token,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go new file mode 100644 index 000000000..36f87c5e9 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminNodeExecutionMetaData struct { + // Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node. + RetryGroup string `json:"retry_group,omitempty"` + // Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes. + IsParentNode bool `json:"is_parent_node,omitempty"` + SpecNodeId string `json:"spec_node_id,omitempty"` + // Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true. + IsDynamic bool `json:"is_dynamic,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go new file mode 100644 index 000000000..c042528a2 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Represents a structure for notifications based on execution status. The notification content is configured within flyte admin but can be templatized. Future iterations could expose configuring notifications with custom content. +type AdminNotification struct { + Phases []CoreWorkflowExecutionPhase `json:"phases,omitempty"` + Email *AdminEmailNotification `json:"email,omitempty"` + PagerDuty *AdminPagerDutyNotification `json:"pager_duty,omitempty"` + Slack *AdminSlackNotification `json:"slack,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification_list.go new file mode 100644 index 000000000..b89a82f83 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification_list.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminNotificationList struct { + Notifications []AdminNotification `json:"notifications,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_pager_duty_notification.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_pager_duty_notification.go new file mode 100644 index 000000000..c54a917fe --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_pager_duty_notification.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines a pager duty notification specification. +type AdminPagerDutyNotification struct { + RecipientsEmail []string `json:"recipients_email,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_override.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_override.go new file mode 100644 index 000000000..cace6c40b --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_override.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// This MatchableAttribute configures selecting alternate plugin implementations for a given task type. In addition to an override implementation a selection of fallbacks can be provided or other modes for handling cases where the desired plugin override is not enabled in a given Flyte deployment. +type AdminPluginOverride struct { + // A predefined yet extensible Task type identifier. + TaskType string `json:"task_type,omitempty"` + // A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id. + PluginId []string `json:"plugin_id,omitempty"` + // Defines the behavior when no plugin from the plugin_id list is not found. + MissingPluginBehavior *PluginOverrideMissingPluginBehavior `json:"missing_plugin_behavior,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_overrides.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_overrides.go new file mode 100644 index 000000000..b137c69f1 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_overrides.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminPluginOverrides struct { + Overrides []AdminPluginOverride `json:"overrides,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go new file mode 100644 index 000000000..13e4d8c79 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go @@ -0,0 +1,23 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Top-level namespace used to classify different entities like workflows and executions. +type AdminProject struct { + // Globally unique project name. + Id string `json:"id,omitempty"` + // Display name. + Name string `json:"name,omitempty"` + Domains []AdminDomain `json:"domains,omitempty"` + Description string `json:"description,omitempty"` + // Leverage Labels from flyteidel.admin.common.proto to tag projects with ownership information. + Labels *AdminLabels `json:"labels,omitempty"` + State *ProjectProjectState `json:"state,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go new file mode 100644 index 000000000..8f736c6e9 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminProjectDomainAttributes struct { + // Unique project id for which this set of attributes will be applied. + Project string `json:"project,omitempty"` + // Unique domain id for which this set of attributes will be applied. + Domain string `json:"domain,omitempty"` + MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go new file mode 100644 index 000000000..4c3ed6cbb --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminProjectDomainAttributesDeleteRequest struct { + Project string `json:"project,omitempty"` + Domain string `json:"domain,omitempty"` + ResourceType *AdminMatchableResource `json:"resource_type,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_response.go new file mode 100644 index 000000000..f3b853e4a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Purposefully empty, may be populated in the future. +type AdminProjectDomainAttributesDeleteResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_get_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_get_response.go new file mode 100644 index 000000000..b0a90f483 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_get_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminProjectDomainAttributesGetResponse struct { + Attributes *AdminProjectDomainAttributes `json:"attributes,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_request.go new file mode 100644 index 000000000..ffb143d78 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_request.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminProjectDomainAttributesUpdateRequest struct { + Attributes *AdminProjectDomainAttributes `json:"attributes,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_response.go new file mode 100644 index 000000000..56d814829 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Purposefully empty, may be populated in the future. +type AdminProjectDomainAttributesUpdateResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_request.go new file mode 100644 index 000000000..075f0de86 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_request.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminProjectRegisterRequest struct { + Project *AdminProject `json:"project,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_response.go new file mode 100644 index 000000000..beae16e4a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Purposefully empty, may be updated in the future. +type AdminProjectRegisterResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_update_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_update_response.go new file mode 100644 index 000000000..ca1f7fb47 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_update_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Purposefully empty, may be updated in the future. +type AdminProjectUpdateResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_projects.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_projects.go new file mode 100644 index 000000000..ed23a4f27 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_projects.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminProjects struct { + Projects []AdminProject `json:"projects,omitempty"` + // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. + Token string `json:"token,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_raw_output_data_config.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_raw_output_data_config.go new file mode 100644 index 000000000..d440e07a0 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_raw_output_data_config.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). See https://github.com/flyteorg/flyte/issues/211 for more background information. +type AdminRawOutputDataConfig struct { + OutputLocationPrefix string `json:"output_location_prefix,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go new file mode 100644 index 000000000..bc95ee283 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines complete set of information required to trigger an execution on a schedule. +type AdminSchedule struct { + CronExpression string `json:"cron_expression,omitempty"` + Rate *AdminFixedRate `json:"rate,omitempty"` + CronSchedule *AdminCronSchedule `json:"cron_schedule,omitempty"` + // Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. + KickoffTimeInputArg string `json:"kickoff_time_input_arg,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_slack_notification.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_slack_notification.go new file mode 100644 index 000000000..e6f0faf44 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_slack_notification.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines a slack notification specification. +type AdminSlackNotification struct { + RecipientsEmail []string `json:"recipients_email,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go new file mode 100644 index 000000000..22ebe3f22 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Specifies sort ordering in a list request. +type AdminSort struct { + Key string `json:"key,omitempty"` + Direction *SortDirection `json:"direction,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_system_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_system_metadata.go new file mode 100644 index 000000000..4afbb07fd --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_system_metadata.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Represents system, rather than user-facing, metadata about an execution. +type AdminSystemMetadata struct { + // Which execution cluster this execution ran on. + ExecutionCluster string `json:"execution_cluster,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task.go new file mode 100644 index 000000000..5df22b24f --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks arranged to process workflow inputs and produce a deterministic set of outputs. Tasks can come in many varieties tuned for specialized behavior. +type AdminTask struct { + // id represents the unique identifier of the task. + Id *CoreIdentifier `json:"id,omitempty"` + // closure encapsulates all the fields that maps to a compiled version of the task. + Closure *AdminTaskClosure `json:"closure,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_closure.go new file mode 100644 index 000000000..0491fd6b2 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_closure.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +// Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data and task metadata. +type AdminTaskClosure struct { + // Represents the compiled representation of the task from the specification provided. + CompiledTask *CoreCompiledTask `json:"compiled_task,omitempty"` + // Time at which the task was created. + CreatedAt time.Time `json:"created_at,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go new file mode 100644 index 000000000..3489c705f --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminTaskCreateRequest struct { + Id *CoreIdentifier `json:"id,omitempty"` + Spec *AdminTaskSpec `json:"spec,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_response.go new file mode 100644 index 000000000..5c692db5c --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Represents a response structure if task creation succeeds. +type AdminTaskCreateResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go new file mode 100644 index 000000000..4422d2eff --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go @@ -0,0 +1,46 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +// Container for task execution details and results. +type AdminTaskExecutionClosure struct { + // Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead. + OutputUri string `json:"output_uri,omitempty"` + // Error information for the task execution. Populated if the execution failed. + Error_ *CoreExecutionError `json:"error,omitempty"` + // Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead. + OutputData *CoreLiteralMap `json:"output_data,omitempty"` + // The last recorded phase for this task execution. + Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` + // Detailed log information output by the task execution. + Logs []CoreTaskLog `json:"logs,omitempty"` + // Time at which the task execution began running. + StartedAt time.Time `json:"started_at,omitempty"` + // The amount of time the task execution spent running. + Duration string `json:"duration,omitempty"` + // Time at which the task execution was created. + CreatedAt time.Time `json:"created_at,omitempty"` + // Time at which the task execution was last updated. + UpdatedAt time.Time `json:"updated_at,omitempty"` + // Custom data specific to the task plugin. + CustomInfo *ProtobufStruct `json:"custom_info,omitempty"` + // If there is an explanation for the most recent phase transition, the reason will capture it. + Reason string `json:"reason,omitempty"` + // A predefined yet extensible Task type identifier. + TaskType string `json:"task_type,omitempty"` + // Metadata around how a task was executed. + Metadata *EventTaskExecutionMetadata `json:"metadata,omitempty"` + // The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. + EventVersion int32 `json:"event_version,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_request.go new file mode 100644 index 000000000..47fe4cb73 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_request.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Request to send a notification that a task execution event has occurred. +type AdminTaskExecutionEventRequest struct { + RequestId string `json:"request_id,omitempty"` + // Details about the event that occurred. + Event *EventTaskExecutionEvent `json:"event,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_response.go new file mode 100644 index 000000000..f30c09a8f --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_response.go @@ -0,0 +1,13 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminTaskExecutionEventResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go new file mode 100644 index 000000000..2c8e19da7 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution. +type AdminTaskExecutionGetDataResponse struct { + // Signed url to fetch a core.LiteralMap of task execution inputs. Deprecated: Please use full_inputs instead. + Inputs *AdminUrlBlob `json:"inputs,omitempty"` + // Signed url to fetch a core.LiteralMap of task execution outputs. Deprecated: Please use full_outputs instead. + Outputs *AdminUrlBlob `json:"outputs,omitempty"` + // Full_inputs will only be populated if they are under a configured size threshold. + FullInputs *CoreLiteralMap `json:"full_inputs,omitempty"` + // Full_outputs will only be populated if they are under a configured size threshold. + FullOutputs *CoreLiteralMap `json:"full_outputs,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_list.go new file mode 100644 index 000000000..e5c42e9d0 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_list.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminTaskExecutionList struct { + TaskExecutions []FlyteidladminTaskExecution `json:"task_executions,omitempty"` + // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. + Token string `json:"token,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_list.go new file mode 100644 index 000000000..32baeb531 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_list.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminTaskList struct { + // A list of tasks returned based on the request. + Tasks []AdminTask `json:"tasks,omitempty"` + // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. + Token string `json:"token,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go new file mode 100644 index 000000000..ee090c89c --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines task resource defaults and limits that will be applied at task registration. +type AdminTaskResourceAttributes struct { + Defaults *AdminTaskResourceSpec `json:"defaults,omitempty"` + Limits *AdminTaskResourceSpec `json:"limits,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go new file mode 100644 index 000000000..0d2713f7f --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines a set of overridable task resource attributes set during task registration. +type AdminTaskResourceSpec struct { + Cpu string `json:"cpu,omitempty"` + Gpu string `json:"gpu,omitempty"` + Memory string `json:"memory,omitempty"` + Storage string `json:"storage,omitempty"` + EphemeralStorage string `json:"ephemeral_storage,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_spec.go new file mode 100644 index 000000000..84ee0ec72 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_spec.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Represents a structure that encapsulates the user-configured specification of the task. +type AdminTaskSpec struct { + // Template of the task that encapsulates all the metadata of the task. + Template *CoreTaskTemplate `json:"template,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_url_blob.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_url_blob.go new file mode 100644 index 000000000..fc2ac8662 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_url_blob.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Represents a string url and associated metadata used throughout the platform. +type AdminUrlBlob struct { + // Actual url value. + Url string `json:"url,omitempty"` + // Represents the size of the file accessible at the above url. + Bytes string `json:"bytes,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go new file mode 100644 index 000000000..a316d8ad6 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminVersion struct { + Build string `json:"Build,omitempty"` + Version string `json:"Version,omitempty"` + BuildTime string `json:"BuildTime,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow.go new file mode 100644 index 000000000..be78c6550 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Represents the workflow structure stored in the Admin A workflow is created by ordering tasks and associating outputs to inputs in order to produce a directed-acyclic execution graph. +type AdminWorkflow struct { + // id represents the unique identifier of the workflow. + Id *CoreIdentifier `json:"id,omitempty"` + // closure encapsulates all the fields that maps to a compiled version of the workflow. + Closure *AdminWorkflowClosure `json:"closure,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go new file mode 100644 index 000000000..26cfff647 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminWorkflowAttributes struct { + // Unique project id for which this set of attributes will be applied. + Project string `json:"project,omitempty"` + // Unique domain id for which this set of attributes will be applied. + Domain string `json:"domain,omitempty"` + // Workflow name for which this set of attributes will be applied. + Workflow string `json:"workflow,omitempty"` + MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go new file mode 100644 index 000000000..ecc0b7605 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminWorkflowAttributesDeleteRequest struct { + Project string `json:"project,omitempty"` + Domain string `json:"domain,omitempty"` + Workflow string `json:"workflow,omitempty"` + ResourceType *AdminMatchableResource `json:"resource_type,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_response.go new file mode 100644 index 000000000..335d0be20 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Purposefully empty, may be populated in the future. +type AdminWorkflowAttributesDeleteResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_get_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_get_response.go new file mode 100644 index 000000000..5cfbc5219 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_get_response.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Response to get an individual workflow attribute override. +type AdminWorkflowAttributesGetResponse struct { + Attributes *AdminWorkflowAttributes `json:"attributes,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go new file mode 100644 index 000000000..eb28b94d0 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminWorkflowAttributesUpdateRequest struct { + Attributes *AdminWorkflowAttributes `json:"attributes,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go new file mode 100644 index 000000000..1c449c700 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Purposefully empty, may be populated in the future. +type AdminWorkflowAttributesUpdateResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_closure.go new file mode 100644 index 000000000..585ef055b --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_closure.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +// A container holding the compiled workflow produced from the WorkflowSpec and additional metadata. +type AdminWorkflowClosure struct { + // Represents the compiled representation of the workflow from the specification provided. + CompiledWorkflow *CoreCompiledWorkflowClosure `json:"compiled_workflow,omitempty"` + // Time at which the workflow was created. + CreatedAt time.Time `json:"created_at,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go new file mode 100644 index 000000000..68ee62801 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminWorkflowCreateRequest struct { + Id *CoreIdentifier `json:"id,omitempty"` + Spec *AdminWorkflowSpec `json:"spec,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_response.go new file mode 100644 index 000000000..badaea629 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_response.go @@ -0,0 +1,13 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminWorkflowCreateResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go new file mode 100644 index 000000000..4ea5333a0 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go @@ -0,0 +1,26 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Adds defaults for customizable workflow-execution specifications and overrides. +type AdminWorkflowExecutionConfig struct { + // Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness. + MaxParallelism int32 `json:"max_parallelism,omitempty"` + // Indicates security context permissions for executions triggered with this matchable attribute. + SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` + // Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). + RawOutputDataConfig *AdminRawOutputDataConfig `json:"raw_output_data_config,omitempty"` + // Custom labels to be applied to a triggered execution resource. + Labels *AdminLabels `json:"labels,omitempty"` + // Custom annotations to be applied to a triggered execution resource. + Annotations *AdminAnnotations `json:"annotations,omitempty"` + // Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. + Interruptible bool `json:"interruptible,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_request.go new file mode 100644 index 000000000..b44cf1fc9 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_request.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Request to send a notification that a workflow execution event has occurred. +type AdminWorkflowExecutionEventRequest struct { + RequestId string `json:"request_id,omitempty"` + // Details about the event that occurred. + Event *EventWorkflowExecutionEvent `json:"event,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_response.go new file mode 100644 index 000000000..e6805a346 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_response.go @@ -0,0 +1,13 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminWorkflowExecutionEventResponse struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_data_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_data_response.go new file mode 100644 index 000000000..d4411944e --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_data_response.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution. +type AdminWorkflowExecutionGetDataResponse struct { + // Signed url to fetch a core.LiteralMap of execution outputs. Deprecated: Please use full_outputs instead. + Outputs *AdminUrlBlob `json:"outputs,omitempty"` + // Signed url to fetch a core.LiteralMap of execution inputs. Deprecated: Please use full_inputs instead. + Inputs *AdminUrlBlob `json:"inputs,omitempty"` + // Full_inputs will only be populated if they are under a configured size threshold. + FullInputs *CoreLiteralMap `json:"full_inputs,omitempty"` + // Full_outputs will only be populated if they are under a configured size threshold. + FullOutputs *CoreLiteralMap `json:"full_outputs,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_list.go new file mode 100644 index 000000000..8f6b9947b --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_list.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminWorkflowList struct { + // A list of workflows returned based on the request. + Workflows []AdminWorkflow `json:"workflows,omitempty"` + // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. + Token string `json:"token,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_spec.go new file mode 100644 index 000000000..5e6377c24 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_spec.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Represents a structure that encapsulates the specification of the workflow. +type AdminWorkflowSpec struct { + // Template of the task that encapsulates all the metadata of the workflow. + Template *CoreWorkflowTemplate `json:"template,omitempty"` + // Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered. + SubWorkflows []CoreWorkflowTemplate `json:"sub_workflows,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go b/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go new file mode 100644 index 000000000..ed4ddcc9e --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type BlobTypeBlobDimensionality string + +// List of BlobTypeBlobDimensionality +const ( + BlobTypeBlobDimensionalitySINGLE BlobTypeBlobDimensionality = "SINGLE" + BlobTypeBlobDimensionalityMULTIPART BlobTypeBlobDimensionality = "MULTIPART" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go b/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go new file mode 100644 index 000000000..3f3c587e8 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// CatalogReservationStatus : Indicates the status of a catalog reservation operation. - RESERVATION_DISABLED: Used to indicate that reservations are disabled - RESERVATION_ACQUIRED: Used to indicate that a reservation was successfully acquired or extended - RESERVATION_EXISTS: Used to indicate that an active reservation currently exists - RESERVATION_RELEASED: Used to indicate that the reservation has been successfully released - RESERVATION_FAILURE: Used to indicate that a reservation operation resulted in failure +type CatalogReservationStatus string + +// List of CatalogReservationStatus +const ( + CatalogReservationStatusDISABLED CatalogReservationStatus = "RESERVATION_DISABLED" + CatalogReservationStatusACQUIRED CatalogReservationStatus = "RESERVATION_ACQUIRED" + CatalogReservationStatusEXISTS CatalogReservationStatus = "RESERVATION_EXISTS" + CatalogReservationStatusRELEASED CatalogReservationStatus = "RESERVATION_RELEASED" + CatalogReservationStatusFAILURE CatalogReservationStatus = "RESERVATION_FAILURE" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go b/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go new file mode 100644 index 000000000..5eb1db946 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go @@ -0,0 +1,23 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// ComparisonExpressionOperator : - GT: Greater Than - LT: Less Than +type ComparisonExpressionOperator string + +// List of ComparisonExpressionOperator +const ( + ComparisonExpressionOperatorEQ ComparisonExpressionOperator = "EQ" + ComparisonExpressionOperatorNEQ ComparisonExpressionOperator = "NEQ" + ComparisonExpressionOperatorGT ComparisonExpressionOperator = "GT" + ComparisonExpressionOperatorGTE ComparisonExpressionOperator = "GTE" + ComparisonExpressionOperatorLT ComparisonExpressionOperator = "LT" + ComparisonExpressionOperatorLTE ComparisonExpressionOperator = "LTE" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go b/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go new file mode 100644 index 000000000..9634c360a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// ConjunctionExpressionLogicalOperator : - AND: Conjunction +type ConjunctionExpressionLogicalOperator string + +// List of ConjunctionExpressionLogicalOperator +const ( + ConjunctionExpressionLogicalOperatorAND ConjunctionExpressionLogicalOperator = "AND" + ConjunctionExpressionLogicalOperatorOR ConjunctionExpressionLogicalOperator = "OR" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_connection_set_id_list.go b/gen/pb-go/flyteidl/service/flyteadmin/model_connection_set_id_list.go new file mode 100644 index 000000000..6a6396583 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_connection_set_id_list.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type ConnectionSetIdList struct { + Ids []string `json:"ids,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go b/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go new file mode 100644 index 000000000..78970da88 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// ContainerArchitecture : Architecture-type the container image supports. +type ContainerArchitecture string + +// List of ContainerArchitecture +const ( + ContainerArchitectureUNKNOWN ContainerArchitecture = "UNKNOWN" + ContainerArchitectureAMD64 ContainerArchitecture = "AMD64" + ContainerArchitectureARM64 ContainerArchitecture = "ARM64" + ContainerArchitectureARM_V6 ContainerArchitecture = "ARM_V6" + ContainerArchitectureARM_V7 ContainerArchitecture = "ARM_V7" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_alias.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_alias.go new file mode 100644 index 000000000..2e0276e49 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_alias.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Links a variable to an alias. +type CoreAlias struct { + // Must match one of the output variable names on a node. + Var_ string `json:"var,omitempty"` + // A workflow-level unique alias that downstream nodes can refer to in their input. + Alias string `json:"alias,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go new file mode 100644 index 000000000..db3679328 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A simple byte array with a tag to help different parts of the system communicate about what is in the byte array. It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data. +type CoreBinary struct { + Value string `json:"value,omitempty"` + Tag string `json:"tag,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding.go new file mode 100644 index 000000000..479a2a60f --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// An input/output binding of a variable to either static value or a node output. +type CoreBinding struct { + // Variable name must match an input/output variable of the node. + Var_ string `json:"var,omitempty"` + // Data to use to bind this variable. + Binding *CoreBindingData `json:"binding,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go new file mode 100644 index 000000000..742616fdc --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go @@ -0,0 +1,23 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Specifies either a simple value or a reference to another output. +type CoreBindingData struct { + // A simple scalar value. + Scalar *CoreScalar `json:"scalar,omitempty"` + // A collection of binding data. This allows nesting of binding data to any number of levels. + Collection *CoreBindingDataCollection `json:"collection,omitempty"` + // References an output promised by another node. + Promise *CoreOutputReference `json:"promise,omitempty"` + // A map of bindings. The key is always a string. + Map_ *CoreBindingDataMap `json:"map,omitempty"` + Union *CoreUnionInfo `json:"union,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_collection.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_collection.go new file mode 100644 index 000000000..e83621557 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_collection.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A collection of BindingData items. +type CoreBindingDataCollection struct { + Bindings []CoreBindingData `json:"bindings,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_map.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_map.go new file mode 100644 index 000000000..d63199bc4 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_map.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A map of BindingData items. +type CoreBindingDataMap struct { + Bindings map[string]CoreBindingData `json:"bindings,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go new file mode 100644 index 000000000..d7bcd8917 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is. There are no restrictions on how the uri is formatted since it will depend on how to interact with the store. +type CoreBlob struct { + Metadata *CoreBlobMetadata `json:"metadata,omitempty"` + Uri string `json:"uri,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_metadata.go new file mode 100644 index 000000000..1dfb19dda --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_metadata.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreBlobMetadata struct { + Type_ *CoreBlobType `json:"type,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go new file mode 100644 index 000000000..4add1c094 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreBlobType struct { + Format string `json:"format,omitempty"` + Dimensionality *BlobTypeBlobDimensionality `json:"dimensionality,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go new file mode 100644 index 000000000..894e3d4cc --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines a boolean expression tree. It can be a simple or a conjunction expression. Multiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result. +type CoreBooleanExpression struct { + Conjunction *CoreConjunctionExpression `json:"conjunction,omitempty"` + Comparison *CoreComparisonExpression `json:"comparison,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_branch_node.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_branch_node.go new file mode 100644 index 000000000..e5860bb84 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_branch_node.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at runtime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives). +type CoreBranchNode struct { + IfElse *CoreIfElseBlock `json:"if_else,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go new file mode 100644 index 000000000..49ecd55bc --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreCatalogArtifactTag struct { + ArtifactId string `json:"artifact_id,omitempty"` + Name string `json:"name,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go new file mode 100644 index 000000000..f42291bf6 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go @@ -0,0 +1,23 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// CoreCatalogCacheStatus : - CACHE_DISABLED: Used to indicate that caching was disabled - CACHE_MISS: Used to indicate that the cache lookup resulted in no matches - CACHE_HIT: used to indicate that the associated artifact was a result of a previous execution - CACHE_POPULATED: used to indicate that the resultant artifact was added to the cache - CACHE_LOOKUP_FAILURE: Used to indicate that cache lookup failed because of an error - CACHE_PUT_FAILURE: Used to indicate that cache lookup failed because of an error +type CoreCatalogCacheStatus string + +// List of coreCatalogCacheStatus +const ( + CoreCatalogCacheStatusDISABLED CoreCatalogCacheStatus = "CACHE_DISABLED" + CoreCatalogCacheStatusMISS CoreCatalogCacheStatus = "CACHE_MISS" + CoreCatalogCacheStatusHIT CoreCatalogCacheStatus = "CACHE_HIT" + CoreCatalogCacheStatusPOPULATED CoreCatalogCacheStatus = "CACHE_POPULATED" + CoreCatalogCacheStatusLOOKUP_FAILURE CoreCatalogCacheStatus = "CACHE_LOOKUP_FAILURE" + CoreCatalogCacheStatusPUT_FAILURE CoreCatalogCacheStatus = "CACHE_PUT_FAILURE" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go new file mode 100644 index 000000000..43e1cbb85 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreCatalogMetadata struct { + DatasetId *CoreIdentifier `json:"dataset_id,omitempty"` + ArtifactTag *CoreCatalogArtifactTag `json:"artifact_tag,omitempty"` + SourceTaskExecution *CoreTaskExecutionIdentifier `json:"source_task_execution,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go new file mode 100644 index 000000000..0c0487d70 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables. Each expression results in a boolean result. +type CoreComparisonExpression struct { + Operator *ComparisonExpressionOperator `json:"operator,omitempty"` + LeftValue *CoreOperand `json:"left_value,omitempty"` + RightValue *CoreOperand `json:"right_value,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_task.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_task.go new file mode 100644 index 000000000..f5a06ebd2 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_task.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreCompiledTask struct { + Template *CoreTaskTemplate `json:"template,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow.go new file mode 100644 index 000000000..c30998d66 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreCompiledWorkflow struct { + Template *CoreWorkflowTemplate `json:"template,omitempty"` + // For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored. + Connections *CoreConnectionSet `json:"connections,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go new file mode 100644 index 000000000..8439d4d71 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow and its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of compiled subworkflows. +type CoreCompiledWorkflowClosure struct { + Primary *CoreCompiledWorkflow `json:"primary,omitempty"` + SubWorkflows []CoreCompiledWorkflow `json:"sub_workflows,omitempty"` + Tasks []CoreCompiledTask `json:"tasks,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go new file mode 100644 index 000000000..ea24c0aec --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines a conjunction expression of two boolean expressions. +type CoreConjunctionExpression struct { + Operator *ConjunctionExpressionLogicalOperator `json:"operator,omitempty"` + LeftExpression *CoreBooleanExpression `json:"left_expression,omitempty"` + RightExpression *CoreBooleanExpression `json:"right_expression,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go new file mode 100644 index 000000000..5f05c8ffb --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreConnectionSet struct { + Downstream map[string]ConnectionSetIdList `json:"downstream,omitempty"` + Upstream map[string]ConnectionSetIdList `json:"upstream,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go new file mode 100644 index 000000000..ad1d56964 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go @@ -0,0 +1,27 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreContainer struct { + Image string `json:"image,omitempty"` + // Command to be executed, if not provided, the default entrypoint in the container image will be used. + Command []string `json:"command,omitempty"` + // These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container. + Args []string `json:"args,omitempty"` + // Container resources requirement as specified by the container engine. + Resources *CoreResources `json:"resources,omitempty"` + // Environment variables will be set as the container is starting up. + Env []CoreKeyValuePair `json:"env,omitempty"` + // Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead. + Config []CoreKeyValuePair `json:"config,omitempty"` + Ports []CoreContainerPort `json:"ports,omitempty"` + DataConfig *CoreDataLoadingConfig `json:"data_config,omitempty"` + Architecture *ContainerArchitecture `json:"architecture,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_container_port.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_container_port.go new file mode 100644 index 000000000..40e941c7e --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_container_port.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines port properties for a container. +type CoreContainerPort struct { + // Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. + ContainerPort int64 `json:"container_port,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go new file mode 100644 index 000000000..5861de21a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// This configuration allows executing raw containers in Flyte using the Flyte CoPilot system. Flyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path Any outputs generated by the user container - within output_path are automatically uploaded. +type CoreDataLoadingConfig struct { + Enabled bool `json:"enabled,omitempty"` + InputPath string `json:"input_path,omitempty"` + OutputPath string `json:"output_path,omitempty"` + Format *DataLoadingConfigLiteralMapFormat `json:"format,omitempty"` + IoStrategy *CoreIoStrategy `json:"io_strategy,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_enum_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_enum_type.go new file mode 100644 index 000000000..98925eabc --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_enum_type.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Enables declaring enum types, with predefined string values For len(values) > 0, the first value in the ordered list is regarded as the default value. If you wish To provide no defaults, make the first value as undefined. +type CoreEnumType struct { + // Predefined set of enum values. + Values []string `json:"values,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_error.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_error.go new file mode 100644 index 000000000..de5a0f838 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_error.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Represents an error thrown from a node. +type CoreError struct { + // The node id that threw the error. + FailedNodeId string `json:"failed_node_id,omitempty"` + // Error message thrown. + Message string `json:"message,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go new file mode 100644 index 000000000..cb796560c --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Represents the error message from the execution. +type CoreExecutionError struct { + Code string `json:"code,omitempty"` + // Detailed description of the error - including stack trace. + Message string `json:"message,omitempty"` + ErrorUri string `json:"error_uri,omitempty"` + Kind *ExecutionErrorErrorKind `json:"kind,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_identifier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_identifier.go new file mode 100644 index 000000000..36a08549c --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_identifier.go @@ -0,0 +1,24 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Encapsulation of fields that uniquely identifies a Flyte resource. +type CoreIdentifier struct { + // Identifies the specific type of resource that this identifier corresponds to. + ResourceType *CoreResourceType `json:"resource_type,omitempty"` + // Name of the project the resource belongs to. + Project string `json:"project,omitempty"` + // Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + Domain string `json:"domain,omitempty"` + // User provided value for the resource. + Name string `json:"name,omitempty"` + // Specific version of the resource. + Version string `json:"version,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go new file mode 100644 index 000000000..0a04eb440 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the right identity for the execution environment. +type CoreIdentity struct { + // iam_role references the fully qualified name of Identity & Access Management role to impersonate. + IamRole string `json:"iam_role,omitempty"` + // k8s_service_account references a kubernetes service account to impersonate. + K8sServiceAccount string `json:"k8s_service_account,omitempty"` + // oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls. + Oauth2Client *CoreOAuth2Client `json:"oauth2_client,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go new file mode 100644 index 000000000..fe1f9e02f --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines a condition and the execution unit that should be executed if the condition is satisfied. +type CoreIfBlock struct { + Condition *CoreBooleanExpression `json:"condition,omitempty"` + ThenNode *CoreNode `json:"then_node,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_else_block.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_else_block.go new file mode 100644 index 000000000..f9e2b6491 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_else_block.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute. If no conditions were satisfied, the else_node or the error will execute. +type CoreIfElseBlock struct { + // +required. First condition to evaluate. + Case_ *CoreIfBlock `json:"case,omitempty"` + // +optional. Additional branches to evaluate. + Other []CoreIfBlock `json:"other,omitempty"` + // The node to execute in case none of the branches were taken. + ElseNode *CoreNode `json:"else_node,omitempty"` + // An error to throw in case none of the branches were taken. + Error_ *CoreError `json:"error,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go new file mode 100644 index 000000000..7fdf7e07a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreIoStrategy struct { + DownloadMode *IoStrategyDownloadMode `json:"download_mode,omitempty"` + UploadMode *IoStrategyUploadMode `json:"upload_mode,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_object_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_object_metadata.go new file mode 100644 index 000000000..a6ad3f789 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_object_metadata.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Metadata for building a kubernetes object when a task is executed. +type CoreK8sObjectMetadata struct { + // Optional labels to add to the pod definition. + Labels map[string]string `json:"labels,omitempty"` + // Optional annotations to add to the pod definition. + Annotations map[string]string `json:"annotations,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go new file mode 100644 index 000000000..2ae4fb862 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines a pod spec and additional pod metadata that is created when a task is executed. +type CoreK8sPod struct { + // Contains additional metadata for building a kubernetes pod. + Metadata *CoreK8sObjectMetadata `json:"metadata,omitempty"` + PodSpec *ProtobufStruct `json:"pod_spec,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_key_value_pair.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_key_value_pair.go new file mode 100644 index 000000000..62a32a04a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_key_value_pair.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A generic key value pair. +type CoreKeyValuePair struct { + // required. + Key string `json:"key,omitempty"` + // +optional. + Value string `json:"value,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go new file mode 100644 index 000000000..827463a72 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go @@ -0,0 +1,21 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives. +type CoreLiteral struct { + // A simple value. + Scalar *CoreScalar `json:"scalar,omitempty"` + // A collection of literals to allow nesting. + Collection *CoreLiteralCollection `json:"collection,omitempty"` + // A map of strings to literals. + Map_ *CoreLiteralMap `json:"map,omitempty"` + Hash string `json:"hash,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_collection.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_collection.go new file mode 100644 index 000000000..b7de3d8c4 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_collection.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. +type CoreLiteralCollection struct { + Literals []CoreLiteral `json:"literals,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_map.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_map.go new file mode 100644 index 000000000..58728f632 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_map.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. +type CoreLiteralMap struct { + Literals map[string]CoreLiteral `json:"literals,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go new file mode 100644 index 000000000..934d0c8ff --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go @@ -0,0 +1,35 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines a strong type to allow type checking between interfaces. +type CoreLiteralType struct { + // A simple type that can be compared one-to-one with another. + Simple *CoreSimpleType `json:"simple,omitempty"` + // A complex type that requires matching of inner fields. + Schema *CoreSchemaType `json:"schema,omitempty"` + // Defines the type of the value of a collection. Only homogeneous collections are allowed. + CollectionType *CoreLiteralType `json:"collection_type,omitempty"` + // Defines the type of the value of a map type. The type of the key is always a string. + MapValueType *CoreLiteralType `json:"map_value_type,omitempty"` + // A blob might have specialized implementation details depending on associated metadata. + Blob *CoreBlobType `json:"blob,omitempty"` + // Defines an enum with pre-defined string values. + EnumType *CoreEnumType `json:"enum_type,omitempty"` + StructuredDatasetType *CoreStructuredDatasetType `json:"structured_dataset_type,omitempty"` + // Defines an union type with pre-defined LiteralTypes. + UnionType *CoreUnionType `json:"union_type,omitempty"` + // This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type. + Metadata *ProtobufStruct `json:"metadata,omitempty"` + // This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior. + Annotation *CoreTypeAnnotation `json:"annotation,omitempty"` + // Hints to improve type matching. + Structure *CoreTypeStructure `json:"structure,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node.go new file mode 100644 index 000000000..45126c2c2 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node.go @@ -0,0 +1,30 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch node. +type CoreNode struct { + // A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes. + Id string `json:"id,omitempty"` + // Extra metadata about the node. + Metadata *CoreNodeMetadata `json:"metadata,omitempty"` + // Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled. + Inputs []CoreBinding `json:"inputs,omitempty"` + // +optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field. + UpstreamNodeIds []string `json:"upstream_node_ids,omitempty"` + // +optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified. + OutputAliases []CoreAlias `json:"output_aliases,omitempty"` + // Information about the Task to execute in this node. + TaskNode *CoreTaskNode `json:"task_node,omitempty"` + // Information about the Workflow to execute in this mode. + WorkflowNode *CoreWorkflowNode `json:"workflow_node,omitempty"` + // Information about the branch node to evaluate in this node. + BranchNode *CoreBranchNode `json:"branch_node,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go new file mode 100644 index 000000000..44a74ea49 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Encapsulation of fields that identify a Flyte node execution entity. +type CoreNodeExecutionIdentifier struct { + NodeId string `json:"node_id,omitempty"` + ExecutionId *CoreWorkflowExecutionIdentifier `json:"execution_id,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go new file mode 100644 index 000000000..aa619393b --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go @@ -0,0 +1,27 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreNodeExecutionPhase string + +// List of coreNodeExecutionPhase +const ( + CoreNodeExecutionPhaseUNDEFINED CoreNodeExecutionPhase = "UNDEFINED" + CoreNodeExecutionPhaseQUEUED CoreNodeExecutionPhase = "QUEUED" + CoreNodeExecutionPhaseRUNNING CoreNodeExecutionPhase = "RUNNING" + CoreNodeExecutionPhaseSUCCEEDED CoreNodeExecutionPhase = "SUCCEEDED" + CoreNodeExecutionPhaseFAILING CoreNodeExecutionPhase = "FAILING" + CoreNodeExecutionPhaseFAILED CoreNodeExecutionPhase = "FAILED" + CoreNodeExecutionPhaseABORTED CoreNodeExecutionPhase = "ABORTED" + CoreNodeExecutionPhaseSKIPPED CoreNodeExecutionPhase = "SKIPPED" + CoreNodeExecutionPhaseTIMED_OUT CoreNodeExecutionPhase = "TIMED_OUT" + CoreNodeExecutionPhaseDYNAMIC_RUNNING CoreNodeExecutionPhase = "DYNAMIC_RUNNING" + CoreNodeExecutionPhaseRECOVERED CoreNodeExecutionPhase = "RECOVERED" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go new file mode 100644 index 000000000..79e9c1e38 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines extra information about the Node. +type CoreNodeMetadata struct { + Name string `json:"name,omitempty"` + // The overall timeout of a task. + Timeout string `json:"timeout,omitempty"` + // Number of retries per task. + Retries *CoreRetryStrategy `json:"retries,omitempty"` + Interruptible bool `json:"interruptible,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go new file mode 100644 index 000000000..b44f96905 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task. +type CoreOAuth2Client struct { + ClientId string `json:"client_id,omitempty"` + ClientSecret *CoreSecret `json:"client_secret,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go new file mode 100644 index 000000000..7edeb1353 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// OAuth2TokenRequest encapsulates information needed to request an OAuth2 token. FLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if tokens are passed through environment variables. FLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens are passed through file mounts. +type CoreOAuth2TokenRequest struct { + Name string `json:"name,omitempty"` + Type_ *CoreOAuth2TokenRequestType `json:"type,omitempty"` + Client *CoreOAuth2Client `json:"client,omitempty"` + IdpDiscoveryEndpoint string `json:"idp_discovery_endpoint,omitempty"` + TokenEndpoint string `json:"token_endpoint,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go new file mode 100644 index 000000000..27ec7f050 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// CoreOAuth2TokenRequestType : Type of the token requested. - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials. +type CoreOAuth2TokenRequestType string + +// List of coreOAuth2TokenRequestType +const ( + CoreOAuth2TokenRequestTypeCLIENT_CREDENTIALS CoreOAuth2TokenRequestType = "CLIENT_CREDENTIALS" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go new file mode 100644 index 000000000..bb1343428 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines an operand to a comparison expression. +type CoreOperand struct { + Primitive *CorePrimitive `json:"primitive,omitempty"` + Var_ string `json:"var,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go new file mode 100644 index 000000000..9d05e33eb --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A reference to an output produced by a node. The type can be retrieved -and validated- from the underlying interface of the node. +type CoreOutputReference struct { + // Node id must exist at the graph layer. + NodeId string `json:"node_id,omitempty"` + // Variable name must refer to an output variable for the node. + Var_ string `json:"var,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go new file mode 100644 index 000000000..096c7efb0 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A parameter is used as input to a launch plan and has the special ability to have a default value or mark itself as required. +type CoreParameter struct { + // +required Variable. Defines the type of the variable backing this parameter. + Var_ *CoreVariable `json:"var,omitempty"` + // Defines a default value that has to match the variable type defined. + Default_ *CoreLiteral `json:"default,omitempty"` + // +optional, is this value required to be filled. + Required bool `json:"required,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter_map.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter_map.go new file mode 100644 index 000000000..0c6fc94fb --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter_map.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A map of Parameters. +type CoreParameterMap struct { + // Defines a map of parameter names to parameters. + Parameters map[string]CoreParameter `json:"parameters,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go new file mode 100644 index 000000000..5b976320d --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go @@ -0,0 +1,23 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +type CorePrimitive struct { + Integer string `json:"integer,omitempty"` + FloatValue float64 `json:"float_value,omitempty"` + StringValue string `json:"string_value,omitempty"` + Boolean bool `json:"boolean,omitempty"` + Datetime time.Time `json:"datetime,omitempty"` + Duration string `json:"duration,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go new file mode 100644 index 000000000..9378a683a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Indicates the priority of an execution. +type CoreQualityOfService struct { + Tier *QualityOfServiceTier `json:"tier,omitempty"` + Spec *CoreQualityOfServiceSpec `json:"spec,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service_spec.go new file mode 100644 index 000000000..e7a8a8ad7 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service_spec.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Represents customized execution run-time attributes. +type CoreQualityOfServiceSpec struct { + // Indicates how much queueing delay an execution can tolerate. + QueueingBudget string `json:"queueing_budget,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go new file mode 100644 index 000000000..33c7ff4bf --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// CoreResourceType : Indicates a resource type within Flyte. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects +type CoreResourceType string + +// List of coreResourceType +const ( + CoreResourceTypeUNSPECIFIED CoreResourceType = "UNSPECIFIED" + CoreResourceTypeTASK CoreResourceType = "TASK" + CoreResourceTypeWORKFLOW CoreResourceType = "WORKFLOW" + CoreResourceTypeLAUNCH_PLAN CoreResourceType = "LAUNCH_PLAN" + CoreResourceTypeDATASET CoreResourceType = "DATASET" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_resources.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_resources.go new file mode 100644 index 000000000..725140da0 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_resources.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A customizable interface to convey resources requested for a container. This can be interpreted differently for different container engines. +type CoreResources struct { + // The desired set of resources requested. ResourceNames must be unique within the list. + Requests []ResourcesResourceEntry `json:"requests,omitempty"` + // Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique within the list. + Limits []ResourcesResourceEntry `json:"limits,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_retry_strategy.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_retry_strategy.go new file mode 100644 index 000000000..4766ef144 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_retry_strategy.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Retry strategy associated with an executable unit. +type CoreRetryStrategy struct { + // Number of retries. Retries will be consumed when the job fails with a recoverable error. The number of retries must be less than or equals to 10. + Retries int64 `json:"retries,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_runtime_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_runtime_metadata.go new file mode 100644 index 000000000..51fe71988 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_runtime_metadata.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Runtime information. This is loosely defined to allow for extensibility. +type CoreRuntimeMetadata struct { + // Type of runtime. + Type_ *RuntimeMetadataRuntimeType `json:"type,omitempty"` + // Version of the runtime. All versions should be backward compatible. However, certain cases call for version checks to ensure tighter validation or setting expectations. + Version string `json:"version,omitempty"` + // +optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.). + Flavor string `json:"flavor,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go new file mode 100644 index 000000000..50388f6b7 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreScalar struct { + Primitive *CorePrimitive `json:"primitive,omitempty"` + Blob *CoreBlob `json:"blob,omitempty"` + Binary *CoreBinary `json:"binary,omitempty"` + Schema *FlyteidlcoreSchema `json:"schema,omitempty"` + NoneType *CoreVoid `json:"none_type,omitempty"` + Error_ *CoreError `json:"error,omitempty"` + Generic *ProtobufStruct `json:"generic,omitempty"` + StructuredDataset *CoreStructuredDataset `json:"structured_dataset,omitempty"` + Union *CoreUnion `json:"union,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema_type.go new file mode 100644 index 000000000..52df3a083 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema_type.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines schema columns and types to strongly type-validate schemas interoperability. +type CoreSchemaType struct { + // A list of ordered columns this schema comprises of. + Columns []SchemaTypeSchemaColumn `json:"columns,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go new file mode 100644 index 000000000..94025fa6d --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Secret encapsulates information about the secret a task needs to proceed. An environment variable FLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if secrets are passed through environment variables. FLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets are passed through file mounts. +type CoreSecret struct { + Group string `json:"group,omitempty"` + GroupVersion string `json:"group_version,omitempty"` + Key string `json:"key,omitempty"` + MountRequirement *SecretMountType `json:"mount_requirement,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_security_context.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_security_context.go new file mode 100644 index 000000000..d5c2a841a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_security_context.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// SecurityContext holds security attributes that apply to tasks. +type CoreSecurityContext struct { + // run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on. + RunAs *CoreIdentity `json:"run_as,omitempty"` + // secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. + Secrets []CoreSecret `json:"secrets,omitempty"` + // tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. + Tokens []CoreOAuth2TokenRequest `json:"tokens,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go new file mode 100644 index 000000000..4dada71aa --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go @@ -0,0 +1,27 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// CoreSimpleType : Define a set of simple types. +type CoreSimpleType string + +// List of coreSimpleType +const ( + CoreSimpleTypeNONE CoreSimpleType = "NONE" + CoreSimpleTypeINTEGER CoreSimpleType = "INTEGER" + CoreSimpleTypeFLOAT CoreSimpleType = "FLOAT" + CoreSimpleTypeSTRING_ CoreSimpleType = "STRING" + CoreSimpleTypeBOOLEAN CoreSimpleType = "BOOLEAN" + CoreSimpleTypeDATETIME CoreSimpleType = "DATETIME" + CoreSimpleTypeDURATION CoreSimpleType = "DURATION" + CoreSimpleTypeBINARY CoreSimpleType = "BINARY" + CoreSimpleTypeERROR_ CoreSimpleType = "ERROR" + CoreSimpleTypeSTRUCT_ CoreSimpleType = "STRUCT" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go new file mode 100644 index 000000000..508b2018b --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Sql represents a generic sql workload with a statement and dialect. +type CoreSql struct { + Statement string `json:"statement,omitempty"` + Dialect *SqlDialect `json:"dialect,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go new file mode 100644 index 000000000..92b97bb11 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreStructuredDataset struct { + Uri string `json:"uri,omitempty"` + Metadata *CoreStructuredDatasetMetadata `json:"metadata,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_metadata.go new file mode 100644 index 000000000..9ae04bc03 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_metadata.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreStructuredDatasetMetadata struct { + // Bundle the type information along with the literal. This is here because StructuredDatasets can often be more defined at run time than at compile time. That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset, without any column information, but at run time, you might have that column information. flytekit python will copy this type information into the literal, from the type information, if not provided by the various plugins (encoders). Since this field is run time generated, it's not used for any type checking. + StructuredDatasetType *CoreStructuredDatasetType `json:"structured_dataset_type,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_type.go new file mode 100644 index 000000000..74d678705 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_type.go @@ -0,0 +1,21 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreStructuredDatasetType struct { + // A list of ordered columns this schema comprises of. + Columns []StructuredDatasetTypeDatasetColumn `json:"columns,omitempty"` + // This is the storage format, the format of the bits at rest parquet, feather, csv, etc. For two types to be compatible, the format will need to be an exact match. + Format string `json:"format,omitempty"` + // This is a string representing the type that the bytes in external_schema_bytes are formatted in. This is an optional field that will not be used for type checking. + ExternalSchemaType string `json:"external_schema_type,omitempty"` + // The serialized bytes of a third-party schema library like Arrow. This is an optional field that will not be used for type checking. + ExternalSchemaBytes string `json:"external_schema_bytes,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go new file mode 100644 index 000000000..33cb47e05 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Encapsulation of fields that identify a Flyte task execution entity. +type CoreTaskExecutionIdentifier struct { + TaskId *CoreIdentifier `json:"task_id,omitempty"` + NodeExecutionId *CoreNodeExecutionIdentifier `json:"node_execution_id,omitempty"` + RetryAttempt int64 `json:"retry_attempt,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go new file mode 100644 index 000000000..4e70781eb --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go @@ -0,0 +1,24 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreTaskExecutionPhase string + +// List of coreTaskExecutionPhase +const ( + CoreTaskExecutionPhaseUNDEFINED CoreTaskExecutionPhase = "UNDEFINED" + CoreTaskExecutionPhaseQUEUED CoreTaskExecutionPhase = "QUEUED" + CoreTaskExecutionPhaseRUNNING CoreTaskExecutionPhase = "RUNNING" + CoreTaskExecutionPhaseSUCCEEDED CoreTaskExecutionPhase = "SUCCEEDED" + CoreTaskExecutionPhaseABORTED CoreTaskExecutionPhase = "ABORTED" + CoreTaskExecutionPhaseFAILED CoreTaskExecutionPhase = "FAILED" + CoreTaskExecutionPhaseINITIALIZING CoreTaskExecutionPhase = "INITIALIZING" + CoreTaskExecutionPhaseWAITING_FOR_RESOURCES CoreTaskExecutionPhase = "WAITING_FOR_RESOURCES" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go new file mode 100644 index 000000000..6822e903b --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreTaskLog struct { + Uri string `json:"uri,omitempty"` + Name string `json:"name,omitempty"` + MessageFormat *TaskLogMessageFormat `json:"message_format,omitempty"` + Ttl string `json:"ttl,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go new file mode 100644 index 000000000..421cf505c --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go @@ -0,0 +1,27 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreTaskMetadata struct { + // Indicates whether the system should attempt to lookup this task's output to avoid duplication of work. + Discoverable bool `json:"discoverable,omitempty"` + // Runtime information about the task. + Runtime *CoreRuntimeMetadata `json:"runtime,omitempty"` + // The overall timeout of a task including user-triggered retries. + Timeout string `json:"timeout,omitempty"` + // Number of retries per task. + Retries *CoreRetryStrategy `json:"retries,omitempty"` + // Indicates a logical version to apply to this task for the purpose of discovery. + DiscoveryVersion string `json:"discovery_version,omitempty"` + // If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task. + DeprecatedErrorMessage string `json:"deprecated_error_message,omitempty"` + Interruptible bool `json:"interruptible,omitempty"` + CacheSerializable bool `json:"cache_serializable,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node.go new file mode 100644 index 000000000..63d75a815 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Refers to the task that the Node is to execute. +type CoreTaskNode struct { + // A globally unique identifier for the task. + ReferenceId *CoreIdentifier `json:"reference_id,omitempty"` + // Optional overrides applied at task execution time. + Overrides *CoreTaskNodeOverrides `json:"overrides,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node_overrides.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node_overrides.go new file mode 100644 index 000000000..241ad4119 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node_overrides.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Optional task node overrides that will be applied at task execution time. +type CoreTaskNodeOverrides struct { + // A customizable interface to convey resources requested for a task container. + Resources *CoreResources `json:"resources,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go new file mode 100644 index 000000000..a81729897 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go @@ -0,0 +1,32 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A Task structure that uniquely identifies a task in the system Tasks are registered as a first step in the system. +type CoreTaskTemplate struct { + // Auto generated taskId by the system. Task Id uniquely identifies this task globally. + Id *CoreIdentifier `json:"id,omitempty"` + // A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the implementation registered for the TaskCategory. + Type_ string `json:"type,omitempty"` + // Extra metadata about the task. + Metadata *CoreTaskMetadata `json:"metadata,omitempty"` + // A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures. + Interface_ *CoreTypedInterface `json:"interface,omitempty"` + // Custom data about the task. This is extensible to allow various plugins in the system. + Custom *ProtobufStruct `json:"custom,omitempty"` + Container *CoreContainer `json:"container,omitempty"` + K8sPod *CoreK8sPod `json:"k8s_pod,omitempty"` + Sql *CoreSql `json:"sql,omitempty"` + // This can be used to customize task handling at execution time for the same task type. + TaskTypeVersion int32 `json:"task_type_version,omitempty"` + // security_context encapsulates security attributes requested to run this task. + SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` + Config map[string]string `json:"config,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_annotation.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_annotation.go new file mode 100644 index 000000000..221a16877 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_annotation.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs. +type CoreTypeAnnotation struct { + // A arbitrary JSON payload to describe a type. + Annotations *ProtobufStruct `json:"annotations,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_structure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_structure.go new file mode 100644 index 000000000..d3e1d7172 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_structure.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Hints to improve type matching e.g. allows distinguishing output from custom type transformers even if the underlying IDL serialization matches. +type CoreTypeStructure struct { + Tag string `json:"tag,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go new file mode 100644 index 000000000..c214430aa --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines strongly typed inputs and outputs. +type CoreTypedInterface struct { + Inputs *CoreVariableMap `json:"inputs,omitempty"` + Outputs *CoreVariableMap `json:"outputs,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go new file mode 100644 index 000000000..9868ba7db --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// The runtime representation of a tagged union value. See `UnionType` for more details. +type CoreUnion struct { + Value *CoreLiteral `json:"value,omitempty"` + Type_ *CoreLiteralType `json:"type,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_info.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_info.go new file mode 100644 index 000000000..f4468f7ad --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_info.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreUnionInfo struct { + TargetType *CoreLiteralType `json:"targetType,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_type.go new file mode 100644 index 000000000..a2c710b49 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_type.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines a tagged union type, also known as a variant (and formally as the sum type). A sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag A value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by storing the varaint's tag with the literal value and can be examined in runtime. Type S is typically written as S := Apple A | Banana B | Cantaloupe C | ... Notably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value: Optional X := X | Null See also: https://en.wikipedia.org/wiki/Tagged_union +type CoreUnionType struct { + // Predefined set of variants in union. + Variants []CoreLiteralType `json:"variants,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go new file mode 100644 index 000000000..2b7beb089 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Defines a strongly typed variable. +type CoreVariable struct { + // Variable literal type. + Type_ *CoreLiteralType `json:"type,omitempty"` + Description string `json:"description,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable_map.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable_map.go new file mode 100644 index 000000000..581bc9668 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable_map.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreVariableMap struct { + // Defines a map of variable names to variables. + Variables map[string]CoreVariable `json:"variables,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_void.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_void.go new file mode 100644 index 000000000..94fc7ee1f --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_void.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally undefined since it can be assigned to a scalar of any LiteralType. +type CoreVoid struct { +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_identifier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_identifier.go new file mode 100644 index 000000000..cf61bea6c --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_identifier.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreWorkflowExecutionIdentifier struct { + // Name of the project the resource belongs to. + Project string `json:"project,omitempty"` + // Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + Domain string `json:"domain,omitempty"` + // User or system provided value for the resource. + Name string `json:"name,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go new file mode 100644 index 000000000..343edc0df --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go @@ -0,0 +1,26 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreWorkflowExecutionPhase string + +// List of coreWorkflowExecutionPhase +const ( + CoreWorkflowExecutionPhaseUNDEFINED CoreWorkflowExecutionPhase = "UNDEFINED" + CoreWorkflowExecutionPhaseQUEUED CoreWorkflowExecutionPhase = "QUEUED" + CoreWorkflowExecutionPhaseRUNNING CoreWorkflowExecutionPhase = "RUNNING" + CoreWorkflowExecutionPhaseSUCCEEDING CoreWorkflowExecutionPhase = "SUCCEEDING" + CoreWorkflowExecutionPhaseSUCCEEDED CoreWorkflowExecutionPhase = "SUCCEEDED" + CoreWorkflowExecutionPhaseFAILING CoreWorkflowExecutionPhase = "FAILING" + CoreWorkflowExecutionPhaseFAILED CoreWorkflowExecutionPhase = "FAILED" + CoreWorkflowExecutionPhaseABORTED CoreWorkflowExecutionPhase = "ABORTED" + CoreWorkflowExecutionPhaseTIMED_OUT CoreWorkflowExecutionPhase = "TIMED_OUT" + CoreWorkflowExecutionPhaseABORTING CoreWorkflowExecutionPhase = "ABORTING" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go new file mode 100644 index 000000000..199b9e4ca --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not percolate down to child entities (like tasks) launched by the workflow. +type CoreWorkflowMetadata struct { + // Indicates the runtime priority of workflow executions. + QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` + // Defines how the system should behave when a failure is detected in the workflow execution. + OnFailure *WorkflowMetadataOnFailurePolicy `json:"on_failure,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata_defaults.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata_defaults.go new file mode 100644 index 000000000..715c32916 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata_defaults.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// The difference between these settings and the WorkflowMetadata ones is that these are meant to be passed down to a workflow's underlying entities (like tasks). For instance, 'interruptible' has no meaning at the workflow layer, it is only relevant when a task executes. The settings here are the defaults that are passed to all nodes unless explicitly overridden at the node layer. If you are adding a setting that applies to both the Workflow itself, and everything underneath it, it should be added to both this object and the WorkflowMetadata object above. +type CoreWorkflowMetadataDefaults struct { + // Whether child nodes of the workflow are interruptible. + Interruptible bool `json:"interruptible,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go new file mode 100644 index 000000000..01f56e057 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Refers to a the workflow the node is to execute. +type CoreWorkflowNode struct { + // A globally unique identifier for the launch plan. + LaunchplanRef *CoreIdentifier `json:"launchplan_ref,omitempty"` + SubWorkflowRef *CoreIdentifier `json:"sub_workflow_ref,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go new file mode 100644 index 000000000..8ceba6486 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go @@ -0,0 +1,27 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Flyte Workflow Structure that encapsulates task, branch and subworkflow nodes to form a statically analyzable, directed acyclic graph. +type CoreWorkflowTemplate struct { + // A globally unique identifier for the workflow. + Id *CoreIdentifier `json:"id,omitempty"` + // Extra metadata about the workflow. + Metadata *CoreWorkflowMetadata `json:"metadata,omitempty"` + // Defines a strongly typed interface for the Workflow. This can include some optional parameters. + Interface_ *CoreTypedInterface `json:"interface,omitempty"` + // A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs. + Nodes []CoreNode `json:"nodes,omitempty"` + // A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task. + Outputs []CoreBinding `json:"outputs,omitempty"` + // +optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error. + FailureNode *CoreNode `json:"failure_node,omitempty"` + MetadataDefaults *CoreWorkflowMetadataDefaults `json:"metadata_defaults,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go b/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go new file mode 100644 index 000000000..f63e8685f --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// DataLoadingConfigLiteralMapFormat : - JSON: JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html - PROTO: Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core +type DataLoadingConfigLiteralMapFormat string + +// List of DataLoadingConfigLiteralMapFormat +const ( + DataLoadingConfigLiteralMapFormatJSON DataLoadingConfigLiteralMapFormat = "JSON" + DataLoadingConfigLiteralMapFormatYAML DataLoadingConfigLiteralMapFormat = "YAML" + DataLoadingConfigLiteralMapFormatPROTO DataLoadingConfigLiteralMapFormat = "PROTO" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go new file mode 100644 index 000000000..0b9f2deb2 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go @@ -0,0 +1,23 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// This message contains metadata about external resources produced or used by a specific task execution. +type EventExternalResourceInfo struct { + // Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids. + ExternalId string `json:"external_id,omitempty"` + // A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports. + Index int64 `json:"index,omitempty"` + RetryAttempt int64 `json:"retry_attempt,omitempty"` + Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` + // Captures the status of caching for this external resource execution. + CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` + Logs []CoreTaskLog `json:"logs,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go new file mode 100644 index 000000000..78bf6f81d --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go @@ -0,0 +1,43 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +type EventNodeExecutionEvent struct { + Id *CoreNodeExecutionIdentifier `json:"id,omitempty"` + ProducerId string `json:"producer_id,omitempty"` + Phase *CoreNodeExecutionPhase `json:"phase,omitempty"` + // This timestamp represents when the original event occurred, it is generated by the executor of the node. + OccurredAt time.Time `json:"occurred_at,omitempty"` + InputUri string `json:"input_uri,omitempty"` + // URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... + OutputUri string `json:"output_uri,omitempty"` + Error_ *CoreExecutionError `json:"error,omitempty"` + // Raw output data produced by this node execution. + OutputData *CoreLiteralMap `json:"output_data,omitempty"` + WorkflowNodeMetadata *FlyteidleventWorkflowNodeMetadata `json:"workflow_node_metadata,omitempty"` + TaskNodeMetadata *FlyteidleventTaskNodeMetadata `json:"task_node_metadata,omitempty"` + // [To be deprecated] Specifies which task (if any) launched this node. + ParentTaskMetadata *EventParentTaskExecutionMetadata `json:"parent_task_metadata,omitempty"` + // Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node. + ParentNodeMetadata *EventParentNodeExecutionMetadata `json:"parent_node_metadata,omitempty"` + RetryGroup string `json:"retry_group,omitempty"` + SpecNodeId string `json:"spec_node_id,omitempty"` + NodeName string `json:"node_name,omitempty"` + EventVersion int32 `json:"event_version,omitempty"` + // Whether this node launched a subworkflow. + IsParent bool `json:"is_parent,omitempty"` + // Whether this node yielded a dynamic workflow. + IsDynamic bool `json:"is_dynamic,omitempty"` + DeckUri string `json:"deck_uri,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_node_execution_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_node_execution_metadata.go new file mode 100644 index 000000000..80cd096b1 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_node_execution_metadata.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type EventParentNodeExecutionMetadata struct { + NodeId string `json:"node_id,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_task_execution_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_task_execution_metadata.go new file mode 100644 index 000000000..c5276ee64 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_task_execution_metadata.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type EventParentTaskExecutionMetadata struct { + Id *CoreTaskExecutionIdentifier `json:"id,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_resource_pool_info.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_resource_pool_info.go new file mode 100644 index 000000000..4b2bde69b --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_resource_pool_info.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// This message holds task execution metadata specific to resource allocation used to manage concurrent executions for a project namespace. +type EventResourcePoolInfo struct { + // Unique resource ID used to identify this execution when allocating a token. + AllocationToken string `json:"allocation_token,omitempty"` + // Namespace under which this task execution requested an allocation token. + Namespace string `json:"namespace,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go new file mode 100644 index 000000000..b9b4b8ca4 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go @@ -0,0 +1,46 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +// Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob. +type EventTaskExecutionEvent struct { + // ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution. + TaskId *CoreIdentifier `json:"task_id,omitempty"` + ParentNodeExecutionId *CoreNodeExecutionIdentifier `json:"parent_node_execution_id,omitempty"` + RetryAttempt int64 `json:"retry_attempt,omitempty"` + Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` + ProducerId string `json:"producer_id,omitempty"` + Logs []CoreTaskLog `json:"logs,omitempty"` + // This timestamp represents when the original event occurred, it is generated by the executor of the task. + OccurredAt time.Time `json:"occurred_at,omitempty"` + // URI of the input file, it encodes all the information including Cloud source provider. ie., s3://... + InputUri string `json:"input_uri,omitempty"` + // URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://... + OutputUri string `json:"output_uri,omitempty"` + Error_ *CoreExecutionError `json:"error,omitempty"` + // Raw output data produced by this task execution. + OutputData *CoreLiteralMap `json:"output_data,omitempty"` + // Custom data that the task plugin sends back. This is extensible to allow various plugins in the system. + CustomInfo *ProtobufStruct `json:"custom_info,omitempty"` + // Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) that should be recorded regardless of the lack of phase change. The version field should be incremented when metadata changes across the duration of an individual phase. + PhaseVersion int64 `json:"phase_version,omitempty"` + // An optional explanation for the phase transition. + Reason string `json:"reason,omitempty"` + // A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin this type will be identical, but not all task executions necessarily use pre-registered definitions and this type is useful to render the task in the UI, filter task executions, etc. + TaskType string `json:"task_type,omitempty"` + // Metadata around how a task was executed. + Metadata *EventTaskExecutionMetadata `json:"metadata,omitempty"` + // The event version is used to indicate versioned changes in how data is reported using this proto message. For example, event_verison > 0 means that maps tasks report logs using the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. + EventVersion int32 `json:"event_version,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_metadata.go new file mode 100644 index 000000000..8a864cfc1 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_metadata.go @@ -0,0 +1,23 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Holds metadata around how a task was executed. As a task transitions across event phases during execution some attributes, such its generated name, generated external resources, and more may grow in size but not change necessarily based on the phase transition that sparked the event update. Metadata is a container for these attributes across the task execution lifecycle. +type EventTaskExecutionMetadata struct { + // Unique, generated name for this task execution used by the backend. + GeneratedName string `json:"generated_name,omitempty"` + // Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution. + ExternalResources []EventExternalResourceInfo `json:"external_resources,omitempty"` + // Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution. + ResourcePoolInfo []EventResourcePoolInfo `json:"resource_pool_info,omitempty"` + // The identifier of the plugin used to execute this task. + PluginIdentifier string `json:"plugin_identifier,omitempty"` + InstanceClass *TaskExecutionMetadataInstanceClass `json:"instance_class,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go new file mode 100644 index 000000000..ce8d46d58 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go @@ -0,0 +1,27 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +type EventWorkflowExecutionEvent struct { + ExecutionId *CoreWorkflowExecutionIdentifier `json:"execution_id,omitempty"` + ProducerId string `json:"producer_id,omitempty"` + Phase *CoreWorkflowExecutionPhase `json:"phase,omitempty"` + // This timestamp represents when the original event occurred, it is generated by the executor of the workflow. + OccurredAt time.Time `json:"occurred_at,omitempty"` + // URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... + OutputUri string `json:"output_uri,omitempty"` + Error_ *CoreExecutionError `json:"error,omitempty"` + // Raw output data produced by this workflow execution. + OutputData *CoreLiteralMap `json:"output_data,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go b/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go new file mode 100644 index 000000000..6958ad770 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type ExecutionErrorErrorKind string + +// List of ExecutionErrorErrorKind +const ( + ExecutionErrorErrorKindUNKNOWN ExecutionErrorErrorKind = "UNKNOWN" + ExecutionErrorErrorKindUSER ExecutionErrorErrorKind = "USER" + ExecutionErrorErrorKindSYSTEM ExecutionErrorErrorKind = "SYSTEM" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go b/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go new file mode 100644 index 000000000..acc8c6bf6 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go @@ -0,0 +1,23 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// ExecutionMetadataExecutionMode : The method by which this execution was launched. - MANUAL: The default execution mode, MANUAL implies that an execution was launched by an individual. - SCHEDULED: A schedule triggered this execution launch. - SYSTEM: A system process was responsible for launching this execution rather an individual. - RELAUNCH: This execution was launched with identical inputs as a previous execution. - CHILD_WORKFLOW: This execution was triggered by another execution. - RECOVERED: This execution was recovered from another execution. +type ExecutionMetadataExecutionMode string + +// List of ExecutionMetadataExecutionMode +const ( + ExecutionMetadataExecutionModeMANUAL ExecutionMetadataExecutionMode = "MANUAL" + ExecutionMetadataExecutionModeSCHEDULED ExecutionMetadataExecutionMode = "SCHEDULED" + ExecutionMetadataExecutionModeSYSTEM ExecutionMetadataExecutionMode = "SYSTEM" + ExecutionMetadataExecutionModeRELAUNCH ExecutionMetadataExecutionMode = "RELAUNCH" + ExecutionMetadataExecutionModeCHILD_WORKFLOW ExecutionMetadataExecutionMode = "CHILD_WORKFLOW" + ExecutionMetadataExecutionModeRECOVERED ExecutionMetadataExecutionMode = "RECOVERED" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go new file mode 100644 index 000000000..87bb07847 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated. +type FlyteidladminDynamicWorkflowNodeMetadata struct { + // id represents the unique identifier of the workflow. + Id *CoreIdentifier `json:"id,omitempty"` + // Represents the compiled representation of the embedded dynamic workflow. + CompiledWorkflow *CoreCompiledWorkflowClosure `json:"compiled_workflow,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go new file mode 100644 index 000000000..7ee8bcb82 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go @@ -0,0 +1,21 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Encapsulates all details for a single node execution entity. A node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested sub-workflow, or even a separate child-workflow execution. The same task can be called repeatedly in a single workflow but each node is unique. +type FlyteidladminNodeExecution struct { + // Uniquely identifies an individual node execution. + Id *CoreNodeExecutionIdentifier `json:"id,omitempty"` + // Path to remote data store where input blob is stored. + InputUri string `json:"input_uri,omitempty"` + // Computed results associated with this node execution. + Closure *AdminNodeExecutionClosure `json:"closure,omitempty"` + Metadata *AdminNodeExecutionMetaData `json:"metadata,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_execution.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_execution.go new file mode 100644 index 000000000..e0532d1a2 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_execution.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Encapsulates all details for a single task execution entity. A task execution represents an instantiated task, including all inputs and additional metadata as well as computed results included state, outputs, and duration-based attributes. +type FlyteidladminTaskExecution struct { + // Unique identifier for the task execution. + Id *CoreTaskExecutionIdentifier `json:"id,omitempty"` + // Path to remote data store where input blob is stored. + InputUri string `json:"input_uri,omitempty"` + // Task execution details and results. + Closure *AdminTaskExecutionClosure `json:"closure,omitempty"` + // Whether this task spawned nodes. + IsParent bool `json:"is_parent,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go new file mode 100644 index 000000000..83faaeda3 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type FlyteidladminTaskNodeMetadata struct { + // Captures the status of caching for this execution. + CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` + CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_workflow_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_workflow_node_metadata.go new file mode 100644 index 000000000..fe99080d5 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_workflow_node_metadata.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type FlyteidladminWorkflowNodeMetadata struct { + // The identifier for a workflow execution launched by a node. + ExecutionId *CoreWorkflowExecutionIdentifier `json:"executionId,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlcore_schema.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlcore_schema.go new file mode 100644 index 000000000..58833bcd1 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlcore_schema.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// A strongly typed schema that defines the interface of data retrieved from the underlying storage medium. +type FlyteidlcoreSchema struct { + Uri string `json:"uri,omitempty"` + Type_ *CoreSchemaType `json:"type,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go new file mode 100644 index 000000000..2ab7e568d --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// For dynamic workflow nodes we send information about the dynamic workflow definition that gets generated. +type FlyteidleventDynamicWorkflowNodeMetadata struct { + // id represents the unique identifier of the workflow. + Id *CoreIdentifier `json:"id,omitempty"` + // Represents the compiled representation of the embedded dynamic workflow. + CompiledWorkflow *CoreCompiledWorkflowClosure `json:"compiled_workflow,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go new file mode 100644 index 000000000..55ed7666a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type FlyteidleventTaskNodeMetadata struct { + // Captures the status of caching for this execution. + CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` + CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` + // Captures the status of cache reservations for this execution. + ReservationStatus *CatalogReservationStatus `json:"reservation_status,omitempty"` + // In the case this task launched a dynamic workflow we capture its structure here. + DynamicWorkflow *FlyteidleventDynamicWorkflowNodeMetadata `json:"dynamic_workflow,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_workflow_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_workflow_node_metadata.go new file mode 100644 index 000000000..0530d49c8 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_workflow_node_metadata.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type FlyteidleventWorkflowNodeMetadata struct { + ExecutionId *CoreWorkflowExecutionIdentifier `json:"execution_id,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go b/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go new file mode 100644 index 000000000..b330b904c --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// IoStrategyDownloadMode : - DOWNLOAD_EAGER: All data will be downloaded before the main container is executed - DOWNLOAD_STREAM: Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details - DO_NOT_DOWNLOAD: Large objects (offloaded) will not be downloaded +type IoStrategyDownloadMode string + +// List of IOStrategyDownloadMode +const ( + IoStrategyDownloadModeDOWNLOAD_EAGER IoStrategyDownloadMode = "DOWNLOAD_EAGER" + IoStrategyDownloadModeDOWNLOAD_STREAM IoStrategyDownloadMode = "DOWNLOAD_STREAM" + IoStrategyDownloadModeDO_NOT_DOWNLOAD IoStrategyDownloadMode = "DO_NOT_DOWNLOAD" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go b/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go new file mode 100644 index 000000000..39bd91f4a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// IoStrategyUploadMode : - UPLOAD_ON_EXIT: All data will be uploaded after the main container exits - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol specification for details - DO_NOT_UPLOAD: Data will not be uploaded, only references will be written +type IoStrategyUploadMode string + +// List of IOStrategyUploadMode +const ( + IoStrategyUploadModeUPLOAD_ON_EXIT IoStrategyUploadMode = "UPLOAD_ON_EXIT" + IoStrategyUploadModeUPLOAD_EAGER IoStrategyUploadMode = "UPLOAD_EAGER" + IoStrategyUploadModeDO_NOT_UPLOAD IoStrategyUploadMode = "DO_NOT_UPLOAD" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go b/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go new file mode 100644 index 000000000..e39a5c418 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// PluginOverrideMissingPluginBehavior : - FAIL: By default, if this plugin is not enabled for a Flyte deployment then execution will fail. - USE_DEFAULT: Uses the system-configured default implementation. +type PluginOverrideMissingPluginBehavior string + +// List of PluginOverrideMissingPluginBehavior +const ( + PluginOverrideMissingPluginBehaviorFAIL PluginOverrideMissingPluginBehavior = "FAIL" + PluginOverrideMissingPluginBehaviorUSE_DEFAULT PluginOverrideMissingPluginBehavior = "USE_DEFAULT" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go b/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go new file mode 100644 index 000000000..12c6095dc --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// ProjectProjectState : The state of the project is used to control its visibility in the UI and validity. - ACTIVE: By default, all projects are considered active. - ARCHIVED: Archived projects are no longer visible in the UI and no longer valid. - SYSTEM_GENERATED: System generated projects that aren't explicitly created or managed by a user. +type ProjectProjectState string + +// List of ProjectProjectState +const ( + ProjectProjectStateACTIVE ProjectProjectState = "ACTIVE" + ProjectProjectStateARCHIVED ProjectProjectState = "ARCHIVED" + ProjectProjectStateSYSTEM_GENERATED ProjectProjectState = "SYSTEM_GENERATED" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_list_value.go b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_list_value.go new file mode 100644 index 000000000..bc715dd55 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_list_value.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// `ListValue` is a wrapper around a repeated field of values. The JSON representation for `ListValue` is JSON array. +type ProtobufListValue struct { + // Repeated field of dynamically typed values. + Values []ProtobufValue `json:"values,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go new file mode 100644 index 000000000..1eb323f30 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// ProtobufNullValue : `NullValue` is a singleton enumeration to represent the null value for the `Value` type union. The JSON representation for `NullValue` is JSON `null`. - NULL_VALUE: Null value. +type ProtobufNullValue string + +// List of protobufNullValue +const ( + ProtobufNullValueNULL_VALUE ProtobufNullValue = "NULL_VALUE" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_struct.go b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_struct.go new file mode 100644 index 000000000..377cb9bbc --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_struct.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, `Struct` might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language. The JSON representation for `Struct` is JSON object. +type ProtobufStruct struct { + // Unordered map of dynamically typed values. + Fields map[string]ProtobufValue `json:"fields,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_value.go b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_value.go new file mode 100644 index 000000000..67738ccee --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_value.go @@ -0,0 +1,26 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of that variants, absence of any variant indicates an error. The JSON representation for `Value` is JSON value. +type ProtobufValue struct { + // Represents a null value. + NullValue *ProtobufNullValue `json:"null_value,omitempty"` + // Represents a double value. + NumberValue float64 `json:"number_value,omitempty"` + // Represents a string value. + StringValue string `json:"string_value,omitempty"` + // Represents a boolean value. + BoolValue bool `json:"bool_value,omitempty"` + // Represents a structured value. + StructValue *ProtobufStruct `json:"struct_value,omitempty"` + // Represents a repeated `Value`. + ListValue *ProtobufListValue `json:"list_value,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go new file mode 100644 index 000000000..bc006a508 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go @@ -0,0 +1,21 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// QualityOfServiceTier : - UNDEFINED: Default: no quality of service specified. +type QualityOfServiceTier string + +// List of QualityOfServiceTier +const ( + QualityOfServiceTierUNDEFINED QualityOfServiceTier = "UNDEFINED" + QualityOfServiceTierHIGH QualityOfServiceTier = "HIGH" + QualityOfServiceTierMEDIUM QualityOfServiceTier = "MEDIUM" + QualityOfServiceTierLOW QualityOfServiceTier = "LOW" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go b/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go new file mode 100644 index 000000000..e4c77cb7c --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Encapsulates a resource name and value. +type ResourcesResourceEntry struct { + // Resource name. + Name *ResourcesResourceName `json:"name,omitempty"` + Value string `json:"value,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go b/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go new file mode 100644 index 000000000..b8bc37546 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go @@ -0,0 +1,23 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// ResourcesResourceName : Known resource names. - EPHEMERAL_STORAGE: For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs. +type ResourcesResourceName string + +// List of ResourcesResourceName +const ( + ResourcesResourceNameUNKNOWN ResourcesResourceName = "UNKNOWN" + ResourcesResourceNameCPU ResourcesResourceName = "CPU" + ResourcesResourceNameGPU ResourcesResourceName = "GPU" + ResourcesResourceNameMEMORY ResourcesResourceName = "MEMORY" + ResourcesResourceNameSTORAGE ResourcesResourceName = "STORAGE" + ResourcesResourceNameEPHEMERAL_STORAGE ResourcesResourceName = "EPHEMERAL_STORAGE" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go new file mode 100644 index 000000000..798b8b678 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type RuntimeMetadataRuntimeType string + +// List of RuntimeMetadataRuntimeType +const ( + RuntimeMetadataRuntimeTypeOTHER RuntimeMetadataRuntimeType = "OTHER" + RuntimeMetadataRuntimeTypeFLYTE_SDK RuntimeMetadataRuntimeType = "FLYTE_SDK" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go new file mode 100644 index 000000000..dd183d084 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type SchemaColumnSchemaColumnType string + +// List of SchemaColumnSchemaColumnType +const ( + SchemaColumnSchemaColumnTypeINTEGER SchemaColumnSchemaColumnType = "INTEGER" + SchemaColumnSchemaColumnTypeFLOAT SchemaColumnSchemaColumnType = "FLOAT" + SchemaColumnSchemaColumnTypeSTRING_ SchemaColumnSchemaColumnType = "STRING" + SchemaColumnSchemaColumnTypeBOOLEAN SchemaColumnSchemaColumnType = "BOOLEAN" + SchemaColumnSchemaColumnTypeDATETIME SchemaColumnSchemaColumnType = "DATETIME" + SchemaColumnSchemaColumnTypeDURATION SchemaColumnSchemaColumnType = "DURATION" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_schema_type_schema_column.go b/gen/pb-go/flyteidl/service/flyteadmin/model_schema_type_schema_column.go new file mode 100644 index 000000000..33bc8433a --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_schema_type_schema_column.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type SchemaTypeSchemaColumn struct { + Name string `json:"name,omitempty"` + // The column type. This allows a limited set of types currently. + Type_ *SchemaColumnSchemaColumnType `json:"type,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go new file mode 100644 index 000000000..4d0675052 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// SecretMountType : - ANY: Default case, indicates the client can tolerate either mounting options. - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as an environment variable. - FILE: FILE indicates the secret needs to be mounted as a file. +type SecretMountType string + +// List of SecretMountType +const ( + SecretMountTypeANY SecretMountType = "ANY" + SecretMountTypeENV_VAR SecretMountType = "ENV_VAR" + SecretMountTypeFILE SecretMountType = "FILE" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go b/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go new file mode 100644 index 000000000..5e8684503 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// SortDirection : - DESCENDING: By default, fields are sorted in descending order. +type SortDirection string + +// List of SortDirection +const ( + SortDirectionDESCENDING SortDirection = "DESCENDING" + SortDirectionASCENDING SortDirection = "ASCENDING" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go b/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go new file mode 100644 index 000000000..d6ae9ce5c --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go @@ -0,0 +1,21 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// SqlDialect : The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid expensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement. We support the following dialect: ansi, hive. +type SqlDialect string + +// List of SqlDialect +const ( + SqlDialectUNDEFINED SqlDialect = "UNDEFINED" + SqlDialectANSI SqlDialect = "ANSI" + SqlDialectHIVE SqlDialect = "HIVE" + SqlDialectOTHER SqlDialect = "OTHER" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_structured_dataset_type_dataset_column.go b/gen/pb-go/flyteidl/service/flyteadmin/model_structured_dataset_type_dataset_column.go new file mode 100644 index 000000000..ef02a51df --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_structured_dataset_type_dataset_column.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type StructuredDatasetTypeDatasetColumn struct { + // A unique name within the schema type for the column. + Name string `json:"name,omitempty"` + // The column type. + LiteralType *CoreLiteralType `json:"literal_type,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go b/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go new file mode 100644 index 000000000..b5552c8c6 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// TaskExecutionMetadataInstanceClass : Includes the broad category of machine used for this specific task execution. - DEFAULT: The default instance class configured for the flyte application platform. - INTERRUPTIBLE: The instance class configured for interruptible tasks. +type TaskExecutionMetadataInstanceClass string + +// List of TaskExecutionMetadataInstanceClass +const ( + TaskExecutionMetadataInstanceClassDEFAULT_ TaskExecutionMetadataInstanceClass = "DEFAULT" + TaskExecutionMetadataInstanceClassINTERRUPTIBLE TaskExecutionMetadataInstanceClass = "INTERRUPTIBLE" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go b/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go new file mode 100644 index 000000000..75d9e7a78 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type TaskLogMessageFormat string + +// List of TaskLogMessageFormat +const ( + TaskLogMessageFormatUNKNOWN TaskLogMessageFormat = "UNKNOWN" + TaskLogMessageFormatCSV TaskLogMessageFormat = "CSV" + TaskLogMessageFormatJSON TaskLogMessageFormat = "JSON" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go b/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go new file mode 100644 index 000000000..64efb21dc --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go @@ -0,0 +1,19 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// WorkflowMetadataOnFailurePolicy : - FAIL_IMMEDIATELY: FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically abort all currently running nodes and clean up resources before finally marking the workflow executions as failed. - FAIL_AFTER_EXECUTABLE_NODES_COMPLETE: FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will not alter the dependencies of the execution graph so any node that depend on the failed node will not be run. Other nodes that will be executed to completion before cleaning up resources and marking the workflow execution as failed. +type WorkflowMetadataOnFailurePolicy string + +// List of WorkflowMetadataOnFailurePolicy +const ( + WorkflowMetadataOnFailurePolicyIMMEDIATELY WorkflowMetadataOnFailurePolicy = "FAIL_IMMEDIATELY" + WorkflowMetadataOnFailurePolicyAFTER_EXECUTABLE_NODES_COMPLETE WorkflowMetadataOnFailurePolicy = "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" +) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/response.go b/gen/pb-go/flyteidl/service/flyteadmin/response.go new file mode 100644 index 000000000..d8bc6fdc6 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/response.go @@ -0,0 +1,43 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "net/http" +) + +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the swagger operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/.gitignore b/gen/pb_python/flyteidl/service/flyteadmin/.gitignore new file mode 100644 index 000000000..a655050c2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/.gitignore @@ -0,0 +1,64 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover +.hypothesis/ +venv/ +.python-version + +# Translations +*.mo +*.pot + +# Django stuff: +*.log + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +#Ipython Notebook +.ipynb_checkpoints diff --git a/gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen-ignore b/gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen-ignore new file mode 100644 index 000000000..c5fa491b4 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen-ignore @@ -0,0 +1,23 @@ +# Swagger Codegen Ignore +# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen/VERSION b/gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen/VERSION new file mode 100644 index 000000000..6cecc1a68 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/.swagger-codegen/VERSION @@ -0,0 +1 @@ +2.4.6-SNAPSHOT \ No newline at end of file diff --git a/gen/pb_python/flyteidl/service/flyteadmin/.travis.yml b/gen/pb_python/flyteidl/service/flyteadmin/.travis.yml new file mode 100644 index 000000000..86211e2d4 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/.travis.yml @@ -0,0 +1,14 @@ +# ref: https://docs.travis-ci.com/user/languages/python +language: python +python: + - "2.7" + - "3.2" + - "3.3" + - "3.4" + - "3.5" + #- "3.5-dev" # 3.5 development branch + #- "nightly" # points to the latest development branch e.g. 3.6-dev +# command to install dependencies +install: "pip install -r requirements.txt" +# command to run tests +script: nosetests diff --git a/gen/pb_python/flyteidl/service/flyteadmin/README.md b/gen/pb_python/flyteidl/service/flyteadmin/README.md new file mode 100644 index 000000000..642cede66 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/README.md @@ -0,0 +1,382 @@ +# flyteadmin +No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: + +- API version: version not set +- Package version: 1.0.0 +- Build package: io.swagger.codegen.languages.PythonClientCodegen + +## Requirements. + +Python 2.7 and 3.4+ + +## Installation & Usage +### pip install + +If the python package is hosted on Github, you can install directly from Github + +```sh +pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git +``` +(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) + +Then import the package: +```python +import flyteadmin +``` + +### Setuptools + +Install via [Setuptools](http://pypi.python.org/pypi/setuptools). + +```sh +python setup.py install --user +``` +(or `sudo python setup.py install` to install the package for all users) + +Then import the package: +```python +import flyteadmin +``` + +## Getting Started + +Please follow the [installation procedure](#installation--usage) and then run the following: + +```python +from __future__ import print_function +import time +import flyteadmin +from flyteadmin.rest import ApiException +from pprint import pprint + +# create an instance of the API class +api_instance = flyteadmin.AdminServiceApi(flyteadmin.ApiClient(configuration)) +body = flyteadmin.AdminExecutionCreateRequest() # AdminExecutionCreateRequest | + +try: + # Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` + api_response = api_instance.create_execution(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling AdminServiceApi->create_execution: %s\n" % e) + +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*AdminServiceApi* | [**create_execution**](docs/AdminServiceApi.md#create_execution) | **POST** /api/v1/executions | Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` +*AdminServiceApi* | [**create_launch_plan**](docs/AdminServiceApi.md#create_launch_plan) | **POST** /api/v1/launch_plans | Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition +*AdminServiceApi* | [**create_node_event**](docs/AdminServiceApi.md#create_node_event) | **POST** /api/v1/events/nodes | Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. +*AdminServiceApi* | [**create_task**](docs/AdminServiceApi.md#create_task) | **POST** /api/v1/tasks | Create and upload a :ref:`ref_flyteidl.admin.Task` definition +*AdminServiceApi* | [**create_task_event**](docs/AdminServiceApi.md#create_task_event) | **POST** /api/v1/events/tasks | Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. +*AdminServiceApi* | [**create_workflow**](docs/AdminServiceApi.md#create_workflow) | **POST** /api/v1/workflows | Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition +*AdminServiceApi* | [**create_workflow_event**](docs/AdminServiceApi.md#create_workflow_event) | **POST** /api/v1/events/workflows | Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. +*AdminServiceApi* | [**delete_project_domain_attributes**](docs/AdminServiceApi.md#delete_project_domain_attributes) | **DELETE** /api/v1/project_domain_attributes/{project}/{domain} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. +*AdminServiceApi* | [**delete_workflow_attributes**](docs/AdminServiceApi.md#delete_workflow_attributes) | **DELETE** /api/v1/workflow_attributes/{project}/{domain}/{workflow} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. +*AdminServiceApi* | [**get_active_launch_plan**](docs/AdminServiceApi.md#get_active_launch_plan) | **GET** /api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name} | Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. +*AdminServiceApi* | [**get_execution**](docs/AdminServiceApi.md#get_execution) | **GET** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Fetches a :ref:`ref_flyteidl.admin.Execution`. +*AdminServiceApi* | [**get_execution_data**](docs/AdminServiceApi.md#get_execution_data) | **GET** /api/v1/data/executions/{id.project}/{id.domain}/{id.name} | Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. +*AdminServiceApi* | [**get_launch_plan**](docs/AdminServiceApi.md#get_launch_plan) | **GET** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. +*AdminServiceApi* | [**get_named_entity**](docs/AdminServiceApi.md#get_named_entity) | **GET** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. +*AdminServiceApi* | [**get_node_execution**](docs/AdminServiceApi.md#get_node_execution) | **GET** /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. +*AdminServiceApi* | [**get_node_execution_data**](docs/AdminServiceApi.md#get_node_execution_data) | **GET** /api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. +*AdminServiceApi* | [**get_project_domain_attributes**](docs/AdminServiceApi.md#get_project_domain_attributes) | **GET** /api/v1/project_domain_attributes/{project}/{domain} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. +*AdminServiceApi* | [**get_task**](docs/AdminServiceApi.md#get_task) | **GET** /api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Task` definition. +*AdminServiceApi* | [**get_task_execution**](docs/AdminServiceApi.md#get_task_execution) | **GET** /api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt} | Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. +*AdminServiceApi* | [**get_task_execution_data**](docs/AdminServiceApi.md#get_task_execution_data) | **GET** /api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt} | Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. +*AdminServiceApi* | [**get_version**](docs/AdminServiceApi.md#get_version) | **GET** /api/v1/version | +*AdminServiceApi* | [**get_workflow**](docs/AdminServiceApi.md#get_workflow) | **GET** /api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. +*AdminServiceApi* | [**get_workflow_attributes**](docs/AdminServiceApi.md#get_workflow_attributes) | **GET** /api/v1/workflow_attributes/{project}/{domain}/{workflow} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. +*AdminServiceApi* | [**list_active_launch_plans**](docs/AdminServiceApi.md#list_active_launch_plans) | **GET** /api/v1/active_launch_plans/{project}/{domain} | List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. +*AdminServiceApi* | [**list_executions**](docs/AdminServiceApi.md#list_executions) | **GET** /api/v1/executions/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Execution`. +*AdminServiceApi* | [**list_launch_plan_ids**](docs/AdminServiceApi.md#list_launch_plan_ids) | **GET** /api/v1/launch_plan_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. +*AdminServiceApi* | [**list_launch_plans**](docs/AdminServiceApi.md#list_launch_plans) | **GET** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. +*AdminServiceApi* | [**list_launch_plans2**](docs/AdminServiceApi.md#list_launch_plans2) | **GET** /api/v1/launch_plans/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. +*AdminServiceApi* | [**list_matchable_attributes**](docs/AdminServiceApi.md#list_matchable_attributes) | **GET** /api/v1/matchable_attributes | Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. +*AdminServiceApi* | [**list_named_entities**](docs/AdminServiceApi.md#list_named_entities) | **GET** /api/v1/named_entities/{resource_type}/{project}/{domain} | Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. +*AdminServiceApi* | [**list_node_executions**](docs/AdminServiceApi.md#list_node_executions) | **GET** /api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. +*AdminServiceApi* | [**list_node_executions_for_task**](docs/AdminServiceApi.md#list_node_executions_for_task) | **GET** /api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. +*AdminServiceApi* | [**list_projects**](docs/AdminServiceApi.md#list_projects) | **GET** /api/v1/projects | Fetches a list of :ref:`ref_flyteidl.admin.Project` +*AdminServiceApi* | [**list_task_executions**](docs/AdminServiceApi.md#list_task_executions) | **GET** /api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id} | Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. +*AdminServiceApi* | [**list_task_ids**](docs/AdminServiceApi.md#list_task_ids) | **GET** /api/v1/task_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. +*AdminServiceApi* | [**list_tasks**](docs/AdminServiceApi.md#list_tasks) | **GET** /api/v1/tasks/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. +*AdminServiceApi* | [**list_tasks2**](docs/AdminServiceApi.md#list_tasks2) | **GET** /api/v1/tasks/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. +*AdminServiceApi* | [**list_workflow_ids**](docs/AdminServiceApi.md#list_workflow_ids) | **GET** /api/v1/workflow_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. +*AdminServiceApi* | [**list_workflows**](docs/AdminServiceApi.md#list_workflows) | **GET** /api/v1/workflows/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. +*AdminServiceApi* | [**list_workflows2**](docs/AdminServiceApi.md#list_workflows2) | **GET** /api/v1/workflows/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. +*AdminServiceApi* | [**recover_execution**](docs/AdminServiceApi.md#recover_execution) | **POST** /api/v1/executions/recover | Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. +*AdminServiceApi* | [**register_project**](docs/AdminServiceApi.md#register_project) | **POST** /api/v1/projects | Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. +*AdminServiceApi* | [**relaunch_execution**](docs/AdminServiceApi.md#relaunch_execution) | **POST** /api/v1/executions/relaunch | Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` +*AdminServiceApi* | [**terminate_execution**](docs/AdminServiceApi.md#terminate_execution) | **DELETE** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. +*AdminServiceApi* | [**update_execution**](docs/AdminServiceApi.md#update_execution) | **PUT** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. +*AdminServiceApi* | [**update_launch_plan**](docs/AdminServiceApi.md#update_launch_plan) | **PUT** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. +*AdminServiceApi* | [**update_named_entity**](docs/AdminServiceApi.md#update_named_entity) | **PUT** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. +*AdminServiceApi* | [**update_project**](docs/AdminServiceApi.md#update_project) | **PUT** /api/v1/projects/{id} | Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. +*AdminServiceApi* | [**update_project_domain_attributes**](docs/AdminServiceApi.md#update_project_domain_attributes) | **PUT** /api/v1/project_domain_attributes/{attributes.project}/{attributes.domain} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. +*AdminServiceApi* | [**update_workflow_attributes**](docs/AdminServiceApi.md#update_workflow_attributes) | **PUT** /api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. + + +## Documentation For Models + + - [AdminAbortMetadata](docs/AdminAbortMetadata.md) + - [AdminAnnotations](docs/AdminAnnotations.md) + - [AdminAuth](docs/AdminAuth.md) + - [AdminAuthRole](docs/AdminAuthRole.md) + - [AdminClusterAssignment](docs/AdminClusterAssignment.md) + - [AdminClusterResourceAttributes](docs/AdminClusterResourceAttributes.md) + - [AdminCronSchedule](docs/AdminCronSchedule.md) + - [AdminDomain](docs/AdminDomain.md) + - [AdminEmailNotification](docs/AdminEmailNotification.md) + - [AdminExecution](docs/AdminExecution.md) + - [AdminExecutionClosure](docs/AdminExecutionClosure.md) + - [AdminExecutionClusterLabel](docs/AdminExecutionClusterLabel.md) + - [AdminExecutionCreateRequest](docs/AdminExecutionCreateRequest.md) + - [AdminExecutionCreateResponse](docs/AdminExecutionCreateResponse.md) + - [AdminExecutionList](docs/AdminExecutionList.md) + - [AdminExecutionMetadata](docs/AdminExecutionMetadata.md) + - [AdminExecutionQueueAttributes](docs/AdminExecutionQueueAttributes.md) + - [AdminExecutionRecoverRequest](docs/AdminExecutionRecoverRequest.md) + - [AdminExecutionRelaunchRequest](docs/AdminExecutionRelaunchRequest.md) + - [AdminExecutionSpec](docs/AdminExecutionSpec.md) + - [AdminExecutionState](docs/AdminExecutionState.md) + - [AdminExecutionStateChangeDetails](docs/AdminExecutionStateChangeDetails.md) + - [AdminExecutionTerminateRequest](docs/AdminExecutionTerminateRequest.md) + - [AdminExecutionTerminateResponse](docs/AdminExecutionTerminateResponse.md) + - [AdminExecutionUpdateRequest](docs/AdminExecutionUpdateRequest.md) + - [AdminExecutionUpdateResponse](docs/AdminExecutionUpdateResponse.md) + - [AdminFixedRate](docs/AdminFixedRate.md) + - [AdminFixedRateUnit](docs/AdminFixedRateUnit.md) + - [AdminGetVersionResponse](docs/AdminGetVersionResponse.md) + - [AdminLabels](docs/AdminLabels.md) + - [AdminLaunchPlan](docs/AdminLaunchPlan.md) + - [AdminLaunchPlanClosure](docs/AdminLaunchPlanClosure.md) + - [AdminLaunchPlanCreateRequest](docs/AdminLaunchPlanCreateRequest.md) + - [AdminLaunchPlanCreateResponse](docs/AdminLaunchPlanCreateResponse.md) + - [AdminLaunchPlanList](docs/AdminLaunchPlanList.md) + - [AdminLaunchPlanMetadata](docs/AdminLaunchPlanMetadata.md) + - [AdminLaunchPlanSpec](docs/AdminLaunchPlanSpec.md) + - [AdminLaunchPlanState](docs/AdminLaunchPlanState.md) + - [AdminLaunchPlanUpdateRequest](docs/AdminLaunchPlanUpdateRequest.md) + - [AdminLaunchPlanUpdateResponse](docs/AdminLaunchPlanUpdateResponse.md) + - [AdminListMatchableAttributesResponse](docs/AdminListMatchableAttributesResponse.md) + - [AdminLiteralMapBlob](docs/AdminLiteralMapBlob.md) + - [AdminMatchableAttributesConfiguration](docs/AdminMatchableAttributesConfiguration.md) + - [AdminMatchableResource](docs/AdminMatchableResource.md) + - [AdminMatchingAttributes](docs/AdminMatchingAttributes.md) + - [AdminNamedEntity](docs/AdminNamedEntity.md) + - [AdminNamedEntityIdentifier](docs/AdminNamedEntityIdentifier.md) + - [AdminNamedEntityIdentifierList](docs/AdminNamedEntityIdentifierList.md) + - [AdminNamedEntityList](docs/AdminNamedEntityList.md) + - [AdminNamedEntityMetadata](docs/AdminNamedEntityMetadata.md) + - [AdminNamedEntityState](docs/AdminNamedEntityState.md) + - [AdminNamedEntityUpdateRequest](docs/AdminNamedEntityUpdateRequest.md) + - [AdminNamedEntityUpdateResponse](docs/AdminNamedEntityUpdateResponse.md) + - [AdminNodeExecutionClosure](docs/AdminNodeExecutionClosure.md) + - [AdminNodeExecutionEventRequest](docs/AdminNodeExecutionEventRequest.md) + - [AdminNodeExecutionEventResponse](docs/AdminNodeExecutionEventResponse.md) + - [AdminNodeExecutionGetDataResponse](docs/AdminNodeExecutionGetDataResponse.md) + - [AdminNodeExecutionList](docs/AdminNodeExecutionList.md) + - [AdminNodeExecutionMetaData](docs/AdminNodeExecutionMetaData.md) + - [AdminNotification](docs/AdminNotification.md) + - [AdminNotificationList](docs/AdminNotificationList.md) + - [AdminPagerDutyNotification](docs/AdminPagerDutyNotification.md) + - [AdminPluginOverride](docs/AdminPluginOverride.md) + - [AdminPluginOverrides](docs/AdminPluginOverrides.md) + - [AdminProject](docs/AdminProject.md) + - [AdminProjectDomainAttributes](docs/AdminProjectDomainAttributes.md) + - [AdminProjectDomainAttributesDeleteRequest](docs/AdminProjectDomainAttributesDeleteRequest.md) + - [AdminProjectDomainAttributesDeleteResponse](docs/AdminProjectDomainAttributesDeleteResponse.md) + - [AdminProjectDomainAttributesGetResponse](docs/AdminProjectDomainAttributesGetResponse.md) + - [AdminProjectDomainAttributesUpdateRequest](docs/AdminProjectDomainAttributesUpdateRequest.md) + - [AdminProjectDomainAttributesUpdateResponse](docs/AdminProjectDomainAttributesUpdateResponse.md) + - [AdminProjectRegisterRequest](docs/AdminProjectRegisterRequest.md) + - [AdminProjectRegisterResponse](docs/AdminProjectRegisterResponse.md) + - [AdminProjectUpdateResponse](docs/AdminProjectUpdateResponse.md) + - [AdminProjects](docs/AdminProjects.md) + - [AdminRawOutputDataConfig](docs/AdminRawOutputDataConfig.md) + - [AdminSchedule](docs/AdminSchedule.md) + - [AdminSlackNotification](docs/AdminSlackNotification.md) + - [AdminSort](docs/AdminSort.md) + - [AdminSystemMetadata](docs/AdminSystemMetadata.md) + - [AdminTask](docs/AdminTask.md) + - [AdminTaskClosure](docs/AdminTaskClosure.md) + - [AdminTaskCreateRequest](docs/AdminTaskCreateRequest.md) + - [AdminTaskCreateResponse](docs/AdminTaskCreateResponse.md) + - [AdminTaskExecutionClosure](docs/AdminTaskExecutionClosure.md) + - [AdminTaskExecutionEventRequest](docs/AdminTaskExecutionEventRequest.md) + - [AdminTaskExecutionEventResponse](docs/AdminTaskExecutionEventResponse.md) + - [AdminTaskExecutionGetDataResponse](docs/AdminTaskExecutionGetDataResponse.md) + - [AdminTaskExecutionList](docs/AdminTaskExecutionList.md) + - [AdminTaskList](docs/AdminTaskList.md) + - [AdminTaskResourceAttributes](docs/AdminTaskResourceAttributes.md) + - [AdminTaskResourceSpec](docs/AdminTaskResourceSpec.md) + - [AdminTaskSpec](docs/AdminTaskSpec.md) + - [AdminUrlBlob](docs/AdminUrlBlob.md) + - [AdminVersion](docs/AdminVersion.md) + - [AdminWorkflow](docs/AdminWorkflow.md) + - [AdminWorkflowAttributes](docs/AdminWorkflowAttributes.md) + - [AdminWorkflowAttributesDeleteRequest](docs/AdminWorkflowAttributesDeleteRequest.md) + - [AdminWorkflowAttributesDeleteResponse](docs/AdminWorkflowAttributesDeleteResponse.md) + - [AdminWorkflowAttributesGetResponse](docs/AdminWorkflowAttributesGetResponse.md) + - [AdminWorkflowAttributesUpdateRequest](docs/AdminWorkflowAttributesUpdateRequest.md) + - [AdminWorkflowAttributesUpdateResponse](docs/AdminWorkflowAttributesUpdateResponse.md) + - [AdminWorkflowClosure](docs/AdminWorkflowClosure.md) + - [AdminWorkflowCreateRequest](docs/AdminWorkflowCreateRequest.md) + - [AdminWorkflowCreateResponse](docs/AdminWorkflowCreateResponse.md) + - [AdminWorkflowExecutionConfig](docs/AdminWorkflowExecutionConfig.md) + - [AdminWorkflowExecutionEventRequest](docs/AdminWorkflowExecutionEventRequest.md) + - [AdminWorkflowExecutionEventResponse](docs/AdminWorkflowExecutionEventResponse.md) + - [AdminWorkflowExecutionGetDataResponse](docs/AdminWorkflowExecutionGetDataResponse.md) + - [AdminWorkflowList](docs/AdminWorkflowList.md) + - [AdminWorkflowSpec](docs/AdminWorkflowSpec.md) + - [BlobTypeBlobDimensionality](docs/BlobTypeBlobDimensionality.md) + - [CatalogReservationStatus](docs/CatalogReservationStatus.md) + - [ComparisonExpressionOperator](docs/ComparisonExpressionOperator.md) + - [ConjunctionExpressionLogicalOperator](docs/ConjunctionExpressionLogicalOperator.md) + - [ConnectionSetIdList](docs/ConnectionSetIdList.md) + - [ContainerArchitecture](docs/ContainerArchitecture.md) + - [CoreAlias](docs/CoreAlias.md) + - [CoreBinary](docs/CoreBinary.md) + - [CoreBinding](docs/CoreBinding.md) + - [CoreBindingData](docs/CoreBindingData.md) + - [CoreBindingDataCollection](docs/CoreBindingDataCollection.md) + - [CoreBindingDataMap](docs/CoreBindingDataMap.md) + - [CoreBlob](docs/CoreBlob.md) + - [CoreBlobMetadata](docs/CoreBlobMetadata.md) + - [CoreBlobType](docs/CoreBlobType.md) + - [CoreBooleanExpression](docs/CoreBooleanExpression.md) + - [CoreBranchNode](docs/CoreBranchNode.md) + - [CoreCatalogArtifactTag](docs/CoreCatalogArtifactTag.md) + - [CoreCatalogCacheStatus](docs/CoreCatalogCacheStatus.md) + - [CoreCatalogMetadata](docs/CoreCatalogMetadata.md) + - [CoreComparisonExpression](docs/CoreComparisonExpression.md) + - [CoreCompiledTask](docs/CoreCompiledTask.md) + - [CoreCompiledWorkflow](docs/CoreCompiledWorkflow.md) + - [CoreCompiledWorkflowClosure](docs/CoreCompiledWorkflowClosure.md) + - [CoreConjunctionExpression](docs/CoreConjunctionExpression.md) + - [CoreConnectionSet](docs/CoreConnectionSet.md) + - [CoreContainer](docs/CoreContainer.md) + - [CoreContainerPort](docs/CoreContainerPort.md) + - [CoreDataLoadingConfig](docs/CoreDataLoadingConfig.md) + - [CoreEnumType](docs/CoreEnumType.md) + - [CoreError](docs/CoreError.md) + - [CoreExecutionError](docs/CoreExecutionError.md) + - [CoreIOStrategy](docs/CoreIOStrategy.md) + - [CoreIdentifier](docs/CoreIdentifier.md) + - [CoreIdentity](docs/CoreIdentity.md) + - [CoreIfBlock](docs/CoreIfBlock.md) + - [CoreIfElseBlock](docs/CoreIfElseBlock.md) + - [CoreK8sObjectMetadata](docs/CoreK8sObjectMetadata.md) + - [CoreK8sPod](docs/CoreK8sPod.md) + - [CoreKeyValuePair](docs/CoreKeyValuePair.md) + - [CoreLiteral](docs/CoreLiteral.md) + - [CoreLiteralCollection](docs/CoreLiteralCollection.md) + - [CoreLiteralMap](docs/CoreLiteralMap.md) + - [CoreLiteralType](docs/CoreLiteralType.md) + - [CoreNode](docs/CoreNode.md) + - [CoreNodeExecutionIdentifier](docs/CoreNodeExecutionIdentifier.md) + - [CoreNodeExecutionPhase](docs/CoreNodeExecutionPhase.md) + - [CoreNodeMetadata](docs/CoreNodeMetadata.md) + - [CoreOAuth2Client](docs/CoreOAuth2Client.md) + - [CoreOAuth2TokenRequest](docs/CoreOAuth2TokenRequest.md) + - [CoreOAuth2TokenRequestType](docs/CoreOAuth2TokenRequestType.md) + - [CoreOperand](docs/CoreOperand.md) + - [CoreOutputReference](docs/CoreOutputReference.md) + - [CoreParameter](docs/CoreParameter.md) + - [CoreParameterMap](docs/CoreParameterMap.md) + - [CorePrimitive](docs/CorePrimitive.md) + - [CoreQualityOfService](docs/CoreQualityOfService.md) + - [CoreQualityOfServiceSpec](docs/CoreQualityOfServiceSpec.md) + - [CoreResourceType](docs/CoreResourceType.md) + - [CoreResources](docs/CoreResources.md) + - [CoreRetryStrategy](docs/CoreRetryStrategy.md) + - [CoreRuntimeMetadata](docs/CoreRuntimeMetadata.md) + - [CoreScalar](docs/CoreScalar.md) + - [CoreSchemaType](docs/CoreSchemaType.md) + - [CoreSecret](docs/CoreSecret.md) + - [CoreSecurityContext](docs/CoreSecurityContext.md) + - [CoreSimpleType](docs/CoreSimpleType.md) + - [CoreSql](docs/CoreSql.md) + - [CoreStructuredDataset](docs/CoreStructuredDataset.md) + - [CoreStructuredDatasetMetadata](docs/CoreStructuredDatasetMetadata.md) + - [CoreStructuredDatasetType](docs/CoreStructuredDatasetType.md) + - [CoreTaskExecutionIdentifier](docs/CoreTaskExecutionIdentifier.md) + - [CoreTaskExecutionPhase](docs/CoreTaskExecutionPhase.md) + - [CoreTaskLog](docs/CoreTaskLog.md) + - [CoreTaskMetadata](docs/CoreTaskMetadata.md) + - [CoreTaskNode](docs/CoreTaskNode.md) + - [CoreTaskNodeOverrides](docs/CoreTaskNodeOverrides.md) + - [CoreTaskTemplate](docs/CoreTaskTemplate.md) + - [CoreTypeAnnotation](docs/CoreTypeAnnotation.md) + - [CoreTypeStructure](docs/CoreTypeStructure.md) + - [CoreTypedInterface](docs/CoreTypedInterface.md) + - [CoreUnion](docs/CoreUnion.md) + - [CoreUnionInfo](docs/CoreUnionInfo.md) + - [CoreUnionType](docs/CoreUnionType.md) + - [CoreVariable](docs/CoreVariable.md) + - [CoreVariableMap](docs/CoreVariableMap.md) + - [CoreVoid](docs/CoreVoid.md) + - [CoreWorkflowExecutionIdentifier](docs/CoreWorkflowExecutionIdentifier.md) + - [CoreWorkflowExecutionPhase](docs/CoreWorkflowExecutionPhase.md) + - [CoreWorkflowMetadata](docs/CoreWorkflowMetadata.md) + - [CoreWorkflowMetadataDefaults](docs/CoreWorkflowMetadataDefaults.md) + - [CoreWorkflowNode](docs/CoreWorkflowNode.md) + - [CoreWorkflowTemplate](docs/CoreWorkflowTemplate.md) + - [DataLoadingConfigLiteralMapFormat](docs/DataLoadingConfigLiteralMapFormat.md) + - [EventExternalResourceInfo](docs/EventExternalResourceInfo.md) + - [EventNodeExecutionEvent](docs/EventNodeExecutionEvent.md) + - [EventParentNodeExecutionMetadata](docs/EventParentNodeExecutionMetadata.md) + - [EventParentTaskExecutionMetadata](docs/EventParentTaskExecutionMetadata.md) + - [EventResourcePoolInfo](docs/EventResourcePoolInfo.md) + - [EventTaskExecutionEvent](docs/EventTaskExecutionEvent.md) + - [EventTaskExecutionMetadata](docs/EventTaskExecutionMetadata.md) + - [EventWorkflowExecutionEvent](docs/EventWorkflowExecutionEvent.md) + - [ExecutionErrorErrorKind](docs/ExecutionErrorErrorKind.md) + - [ExecutionMetadataExecutionMode](docs/ExecutionMetadataExecutionMode.md) + - [FlyteidladminDynamicWorkflowNodeMetadata](docs/FlyteidladminDynamicWorkflowNodeMetadata.md) + - [FlyteidladminNodeExecution](docs/FlyteidladminNodeExecution.md) + - [FlyteidladminTaskExecution](docs/FlyteidladminTaskExecution.md) + - [FlyteidladminTaskNodeMetadata](docs/FlyteidladminTaskNodeMetadata.md) + - [FlyteidladminWorkflowNodeMetadata](docs/FlyteidladminWorkflowNodeMetadata.md) + - [FlyteidlcoreSchema](docs/FlyteidlcoreSchema.md) + - [FlyteidleventDynamicWorkflowNodeMetadata](docs/FlyteidleventDynamicWorkflowNodeMetadata.md) + - [FlyteidleventTaskNodeMetadata](docs/FlyteidleventTaskNodeMetadata.md) + - [FlyteidleventWorkflowNodeMetadata](docs/FlyteidleventWorkflowNodeMetadata.md) + - [IOStrategyDownloadMode](docs/IOStrategyDownloadMode.md) + - [IOStrategyUploadMode](docs/IOStrategyUploadMode.md) + - [PluginOverrideMissingPluginBehavior](docs/PluginOverrideMissingPluginBehavior.md) + - [ProjectProjectState](docs/ProjectProjectState.md) + - [ProtobufListValue](docs/ProtobufListValue.md) + - [ProtobufNullValue](docs/ProtobufNullValue.md) + - [ProtobufStruct](docs/ProtobufStruct.md) + - [ProtobufValue](docs/ProtobufValue.md) + - [QualityOfServiceTier](docs/QualityOfServiceTier.md) + - [ResourcesResourceEntry](docs/ResourcesResourceEntry.md) + - [ResourcesResourceName](docs/ResourcesResourceName.md) + - [RuntimeMetadataRuntimeType](docs/RuntimeMetadataRuntimeType.md) + - [SchemaColumnSchemaColumnType](docs/SchemaColumnSchemaColumnType.md) + - [SchemaTypeSchemaColumn](docs/SchemaTypeSchemaColumn.md) + - [SecretMountType](docs/SecretMountType.md) + - [SortDirection](docs/SortDirection.md) + - [SqlDialect](docs/SqlDialect.md) + - [StructuredDatasetTypeDatasetColumn](docs/StructuredDatasetTypeDatasetColumn.md) + - [TaskExecutionMetadataInstanceClass](docs/TaskExecutionMetadataInstanceClass.md) + - [TaskLogMessageFormat](docs/TaskLogMessageFormat.md) + - [WorkflowMetadataOnFailurePolicy](docs/WorkflowMetadataOnFailurePolicy.md) + + +## Documentation For Authorization + + All endpoints do not require authorization. + + +## Author + + + diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py new file mode 100644 index 000000000..ccaf26afb --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py @@ -0,0 +1,269 @@ +# coding: utf-8 + +# flake8: noqa + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +# import apis into sdk package +from flyteadmin.api.admin_service_api import AdminServiceApi + +# import ApiClient +from flyteadmin.api_client import ApiClient +from flyteadmin.configuration import Configuration +# import models into sdk package +from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata +from flyteadmin.models.admin_annotations import AdminAnnotations +from flyteadmin.models.admin_auth import AdminAuth +from flyteadmin.models.admin_auth_role import AdminAuthRole +from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment +from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes +from flyteadmin.models.admin_cron_schedule import AdminCronSchedule +from flyteadmin.models.admin_domain import AdminDomain +from flyteadmin.models.admin_email_notification import AdminEmailNotification +from flyteadmin.models.admin_execution import AdminExecution +from flyteadmin.models.admin_execution_closure import AdminExecutionClosure +from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel +from flyteadmin.models.admin_execution_create_request import AdminExecutionCreateRequest +from flyteadmin.models.admin_execution_create_response import AdminExecutionCreateResponse +from flyteadmin.models.admin_execution_list import AdminExecutionList +from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata +from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes +from flyteadmin.models.admin_execution_recover_request import AdminExecutionRecoverRequest +from flyteadmin.models.admin_execution_relaunch_request import AdminExecutionRelaunchRequest +from flyteadmin.models.admin_execution_spec import AdminExecutionSpec +from flyteadmin.models.admin_execution_state import AdminExecutionState +from flyteadmin.models.admin_execution_state_change_details import AdminExecutionStateChangeDetails +from flyteadmin.models.admin_execution_terminate_request import AdminExecutionTerminateRequest +from flyteadmin.models.admin_execution_terminate_response import AdminExecutionTerminateResponse +from flyteadmin.models.admin_execution_update_request import AdminExecutionUpdateRequest +from flyteadmin.models.admin_execution_update_response import AdminExecutionUpdateResponse +from flyteadmin.models.admin_fixed_rate import AdminFixedRate +from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit +from flyteadmin.models.admin_get_version_response import AdminGetVersionResponse +from flyteadmin.models.admin_labels import AdminLabels +from flyteadmin.models.admin_launch_plan import AdminLaunchPlan +from flyteadmin.models.admin_launch_plan_closure import AdminLaunchPlanClosure +from flyteadmin.models.admin_launch_plan_create_request import AdminLaunchPlanCreateRequest +from flyteadmin.models.admin_launch_plan_create_response import AdminLaunchPlanCreateResponse +from flyteadmin.models.admin_launch_plan_list import AdminLaunchPlanList +from flyteadmin.models.admin_launch_plan_metadata import AdminLaunchPlanMetadata +from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec +from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState +from flyteadmin.models.admin_launch_plan_update_request import AdminLaunchPlanUpdateRequest +from flyteadmin.models.admin_launch_plan_update_response import AdminLaunchPlanUpdateResponse +from flyteadmin.models.admin_list_matchable_attributes_response import AdminListMatchableAttributesResponse +from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob +from flyteadmin.models.admin_matchable_attributes_configuration import AdminMatchableAttributesConfiguration +from flyteadmin.models.admin_matchable_resource import AdminMatchableResource +from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes +from flyteadmin.models.admin_named_entity import AdminNamedEntity +from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier +from flyteadmin.models.admin_named_entity_identifier_list import AdminNamedEntityIdentifierList +from flyteadmin.models.admin_named_entity_list import AdminNamedEntityList +from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata +from flyteadmin.models.admin_named_entity_state import AdminNamedEntityState +from flyteadmin.models.admin_named_entity_update_request import AdminNamedEntityUpdateRequest +from flyteadmin.models.admin_named_entity_update_response import AdminNamedEntityUpdateResponse +from flyteadmin.models.admin_node_execution_closure import AdminNodeExecutionClosure +from flyteadmin.models.admin_node_execution_event_request import AdminNodeExecutionEventRequest +from flyteadmin.models.admin_node_execution_event_response import AdminNodeExecutionEventResponse +from flyteadmin.models.admin_node_execution_get_data_response import AdminNodeExecutionGetDataResponse +from flyteadmin.models.admin_node_execution_list import AdminNodeExecutionList +from flyteadmin.models.admin_node_execution_meta_data import AdminNodeExecutionMetaData +from flyteadmin.models.admin_notification import AdminNotification +from flyteadmin.models.admin_notification_list import AdminNotificationList +from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification +from flyteadmin.models.admin_plugin_override import AdminPluginOverride +from flyteadmin.models.admin_plugin_overrides import AdminPluginOverrides +from flyteadmin.models.admin_project import AdminProject +from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes +from flyteadmin.models.admin_project_domain_attributes_delete_request import AdminProjectDomainAttributesDeleteRequest +from flyteadmin.models.admin_project_domain_attributes_delete_response import AdminProjectDomainAttributesDeleteResponse +from flyteadmin.models.admin_project_domain_attributes_get_response import AdminProjectDomainAttributesGetResponse +from flyteadmin.models.admin_project_domain_attributes_update_request import AdminProjectDomainAttributesUpdateRequest +from flyteadmin.models.admin_project_domain_attributes_update_response import AdminProjectDomainAttributesUpdateResponse +from flyteadmin.models.admin_project_register_request import AdminProjectRegisterRequest +from flyteadmin.models.admin_project_register_response import AdminProjectRegisterResponse +from flyteadmin.models.admin_project_update_response import AdminProjectUpdateResponse +from flyteadmin.models.admin_projects import AdminProjects +from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig +from flyteadmin.models.admin_schedule import AdminSchedule +from flyteadmin.models.admin_slack_notification import AdminSlackNotification +from flyteadmin.models.admin_sort import AdminSort +from flyteadmin.models.admin_system_metadata import AdminSystemMetadata +from flyteadmin.models.admin_task import AdminTask +from flyteadmin.models.admin_task_closure import AdminTaskClosure +from flyteadmin.models.admin_task_create_request import AdminTaskCreateRequest +from flyteadmin.models.admin_task_create_response import AdminTaskCreateResponse +from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure +from flyteadmin.models.admin_task_execution_event_request import AdminTaskExecutionEventRequest +from flyteadmin.models.admin_task_execution_event_response import AdminTaskExecutionEventResponse +from flyteadmin.models.admin_task_execution_get_data_response import AdminTaskExecutionGetDataResponse +from flyteadmin.models.admin_task_execution_list import AdminTaskExecutionList +from flyteadmin.models.admin_task_list import AdminTaskList +from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes +from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec +from flyteadmin.models.admin_task_spec import AdminTaskSpec +from flyteadmin.models.admin_url_blob import AdminUrlBlob +from flyteadmin.models.admin_version import AdminVersion +from flyteadmin.models.admin_workflow import AdminWorkflow +from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes +from flyteadmin.models.admin_workflow_attributes_delete_request import AdminWorkflowAttributesDeleteRequest +from flyteadmin.models.admin_workflow_attributes_delete_response import AdminWorkflowAttributesDeleteResponse +from flyteadmin.models.admin_workflow_attributes_get_response import AdminWorkflowAttributesGetResponse +from flyteadmin.models.admin_workflow_attributes_update_request import AdminWorkflowAttributesUpdateRequest +from flyteadmin.models.admin_workflow_attributes_update_response import AdminWorkflowAttributesUpdateResponse +from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure +from flyteadmin.models.admin_workflow_create_request import AdminWorkflowCreateRequest +from flyteadmin.models.admin_workflow_create_response import AdminWorkflowCreateResponse +from flyteadmin.models.admin_workflow_execution_config import AdminWorkflowExecutionConfig +from flyteadmin.models.admin_workflow_execution_event_request import AdminWorkflowExecutionEventRequest +from flyteadmin.models.admin_workflow_execution_event_response import AdminWorkflowExecutionEventResponse +from flyteadmin.models.admin_workflow_execution_get_data_response import AdminWorkflowExecutionGetDataResponse +from flyteadmin.models.admin_workflow_list import AdminWorkflowList +from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec +from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality +from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus +from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator +from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator +from flyteadmin.models.connection_set_id_list import ConnectionSetIdList +from flyteadmin.models.container_architecture import ContainerArchitecture +from flyteadmin.models.core_alias import CoreAlias +from flyteadmin.models.core_binary import CoreBinary +from flyteadmin.models.core_binding import CoreBinding +from flyteadmin.models.core_binding_data import CoreBindingData +from flyteadmin.models.core_binding_data_collection import CoreBindingDataCollection +from flyteadmin.models.core_binding_data_map import CoreBindingDataMap +from flyteadmin.models.core_blob import CoreBlob +from flyteadmin.models.core_blob_metadata import CoreBlobMetadata +from flyteadmin.models.core_blob_type import CoreBlobType +from flyteadmin.models.core_boolean_expression import CoreBooleanExpression +from flyteadmin.models.core_branch_node import CoreBranchNode +from flyteadmin.models.core_catalog_artifact_tag import CoreCatalogArtifactTag +from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus +from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata +from flyteadmin.models.core_comparison_expression import CoreComparisonExpression +from flyteadmin.models.core_compiled_task import CoreCompiledTask +from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow +from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure +from flyteadmin.models.core_conjunction_expression import CoreConjunctionExpression +from flyteadmin.models.core_connection_set import CoreConnectionSet +from flyteadmin.models.core_container import CoreContainer +from flyteadmin.models.core_container_port import CoreContainerPort +from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig +from flyteadmin.models.core_enum_type import CoreEnumType +from flyteadmin.models.core_error import CoreError +from flyteadmin.models.core_execution_error import CoreExecutionError +from flyteadmin.models.core_io_strategy import CoreIOStrategy +from flyteadmin.models.core_identifier import CoreIdentifier +from flyteadmin.models.core_identity import CoreIdentity +from flyteadmin.models.core_if_block import CoreIfBlock +from flyteadmin.models.core_if_else_block import CoreIfElseBlock +from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata +from flyteadmin.models.core_k8s_pod import CoreK8sPod +from flyteadmin.models.core_key_value_pair import CoreKeyValuePair +from flyteadmin.models.core_literal import CoreLiteral +from flyteadmin.models.core_literal_collection import CoreLiteralCollection +from flyteadmin.models.core_literal_map import CoreLiteralMap +from flyteadmin.models.core_literal_type import CoreLiteralType +from flyteadmin.models.core_node import CoreNode +from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier +from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase +from flyteadmin.models.core_node_metadata import CoreNodeMetadata +from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client +from flyteadmin.models.core_o_auth2_token_request import CoreOAuth2TokenRequest +from flyteadmin.models.core_o_auth2_token_request_type import CoreOAuth2TokenRequestType +from flyteadmin.models.core_operand import CoreOperand +from flyteadmin.models.core_output_reference import CoreOutputReference +from flyteadmin.models.core_parameter import CoreParameter +from flyteadmin.models.core_parameter_map import CoreParameterMap +from flyteadmin.models.core_primitive import CorePrimitive +from flyteadmin.models.core_quality_of_service import CoreQualityOfService +from flyteadmin.models.core_quality_of_service_spec import CoreQualityOfServiceSpec +from flyteadmin.models.core_resource_type import CoreResourceType +from flyteadmin.models.core_resources import CoreResources +from flyteadmin.models.core_retry_strategy import CoreRetryStrategy +from flyteadmin.models.core_runtime_metadata import CoreRuntimeMetadata +from flyteadmin.models.core_scalar import CoreScalar +from flyteadmin.models.core_schema_type import CoreSchemaType +from flyteadmin.models.core_secret import CoreSecret +from flyteadmin.models.core_security_context import CoreSecurityContext +from flyteadmin.models.core_simple_type import CoreSimpleType +from flyteadmin.models.core_sql import CoreSql +from flyteadmin.models.core_structured_dataset import CoreStructuredDataset +from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata +from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType +from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier +from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase +from flyteadmin.models.core_task_log import CoreTaskLog +from flyteadmin.models.core_task_metadata import CoreTaskMetadata +from flyteadmin.models.core_task_node import CoreTaskNode +from flyteadmin.models.core_task_node_overrides import CoreTaskNodeOverrides +from flyteadmin.models.core_task_template import CoreTaskTemplate +from flyteadmin.models.core_type_annotation import CoreTypeAnnotation +from flyteadmin.models.core_type_structure import CoreTypeStructure +from flyteadmin.models.core_typed_interface import CoreTypedInterface +from flyteadmin.models.core_union import CoreUnion +from flyteadmin.models.core_union_info import CoreUnionInfo +from flyteadmin.models.core_union_type import CoreUnionType +from flyteadmin.models.core_variable import CoreVariable +from flyteadmin.models.core_variable_map import CoreVariableMap +from flyteadmin.models.core_void import CoreVoid +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier +from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase +from flyteadmin.models.core_workflow_metadata import CoreWorkflowMetadata +from flyteadmin.models.core_workflow_metadata_defaults import CoreWorkflowMetadataDefaults +from flyteadmin.models.core_workflow_node import CoreWorkflowNode +from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate +from flyteadmin.models.data_loading_config_literal_map_format import DataLoadingConfigLiteralMapFormat +from flyteadmin.models.event_external_resource_info import EventExternalResourceInfo +from flyteadmin.models.event_node_execution_event import EventNodeExecutionEvent +from flyteadmin.models.event_parent_node_execution_metadata import EventParentNodeExecutionMetadata +from flyteadmin.models.event_parent_task_execution_metadata import EventParentTaskExecutionMetadata +from flyteadmin.models.event_resource_pool_info import EventResourcePoolInfo +from flyteadmin.models.event_task_execution_event import EventTaskExecutionEvent +from flyteadmin.models.event_task_execution_metadata import EventTaskExecutionMetadata +from flyteadmin.models.event_workflow_execution_event import EventWorkflowExecutionEvent +from flyteadmin.models.execution_error_error_kind import ExecutionErrorErrorKind +from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode +from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata +from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution +from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution +from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata +from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata +from flyteadmin.models.flyteidlcore_schema import FlyteidlcoreSchema +from flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata import FlyteidleventDynamicWorkflowNodeMetadata +from flyteadmin.models.flyteidlevent_task_node_metadata import FlyteidleventTaskNodeMetadata +from flyteadmin.models.flyteidlevent_workflow_node_metadata import FlyteidleventWorkflowNodeMetadata +from flyteadmin.models.io_strategy_download_mode import IOStrategyDownloadMode +from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode +from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior +from flyteadmin.models.project_project_state import ProjectProjectState +from flyteadmin.models.protobuf_list_value import ProtobufListValue +from flyteadmin.models.protobuf_null_value import ProtobufNullValue +from flyteadmin.models.protobuf_struct import ProtobufStruct +from flyteadmin.models.protobuf_value import ProtobufValue +from flyteadmin.models.quality_of_service_tier import QualityOfServiceTier +from flyteadmin.models.resources_resource_entry import ResourcesResourceEntry +from flyteadmin.models.resources_resource_name import ResourcesResourceName +from flyteadmin.models.runtime_metadata_runtime_type import RuntimeMetadataRuntimeType +from flyteadmin.models.schema_column_schema_column_type import SchemaColumnSchemaColumnType +from flyteadmin.models.schema_type_schema_column import SchemaTypeSchemaColumn +from flyteadmin.models.secret_mount_type import SecretMountType +from flyteadmin.models.sort_direction import SortDirection +from flyteadmin.models.sql_dialect import SqlDialect +from flyteadmin.models.structured_dataset_type_dataset_column import StructuredDatasetTypeDatasetColumn +from flyteadmin.models.task_execution_metadata_instance_class import TaskExecutionMetadataInstanceClass +from flyteadmin.models.task_log_message_format import TaskLogMessageFormat +from flyteadmin.models.workflow_metadata_on_failure_policy import WorkflowMetadataOnFailurePolicy diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/__init__.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/__init__.py new file mode 100644 index 000000000..3da695695 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/__init__.py @@ -0,0 +1,6 @@ +from __future__ import absolute_import + +# flake8: noqa + +# import apis into api package +from flyteadmin.api.admin_service_api import AdminServiceApi diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py new file mode 100644 index 000000000..9e719685c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py @@ -0,0 +1,6108 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from flyteadmin.api_client import ApiClient + + +class AdminServiceApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_execution(self, body, **kwargs): # noqa: E501 + """Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` # noqa: E501 + + Create a workflow execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_execution(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminExecutionCreateRequest body: (required) + :return: AdminExecutionCreateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_execution_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_execution_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_execution_with_http_info(self, body, **kwargs): # noqa: E501 + """Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` # noqa: E501 + + Create a workflow execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_execution_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminExecutionCreateRequest body: (required) + :return: AdminExecutionCreateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_execution" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_execution`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/executions', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminExecutionCreateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_launch_plan(self, body, **kwargs): # noqa: E501 + """Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition # noqa: E501 + + Create and register a launch plan definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_launch_plan(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminLaunchPlanCreateRequest body: (required) + :return: AdminLaunchPlanCreateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_launch_plan_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_launch_plan_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_launch_plan_with_http_info(self, body, **kwargs): # noqa: E501 + """Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition # noqa: E501 + + Create and register a launch plan definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_launch_plan_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminLaunchPlanCreateRequest body: (required) + :return: AdminLaunchPlanCreateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_launch_plan" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_launch_plan`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/launch_plans', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminLaunchPlanCreateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_node_event(self, body, **kwargs): # noqa: E501 + """Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. # noqa: E501 + + Create a node execution event recording a phase transition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_node_event(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminNodeExecutionEventRequest body: (required) + :return: AdminNodeExecutionEventResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_node_event_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_node_event_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_node_event_with_http_info(self, body, **kwargs): # noqa: E501 + """Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. # noqa: E501 + + Create a node execution event recording a phase transition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_node_event_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminNodeExecutionEventRequest body: (required) + :return: AdminNodeExecutionEventResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_node_event" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_node_event`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/events/nodes', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminNodeExecutionEventResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_task(self, body, **kwargs): # noqa: E501 + """Create and upload a :ref:`ref_flyteidl.admin.Task` definition # noqa: E501 + + Create and register a task definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_task(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminTaskCreateRequest body: (required) + :return: AdminTaskCreateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_task_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_task_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_task_with_http_info(self, body, **kwargs): # noqa: E501 + """Create and upload a :ref:`ref_flyteidl.admin.Task` definition # noqa: E501 + + Create and register a task definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_task_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminTaskCreateRequest body: (required) + :return: AdminTaskCreateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_task" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_task`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/tasks', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminTaskCreateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_task_event(self, body, **kwargs): # noqa: E501 + """Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. # noqa: E501 + + Create a task execution event recording a phase transition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_task_event(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminTaskExecutionEventRequest body: (required) + :return: AdminTaskExecutionEventResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_task_event_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_task_event_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_task_event_with_http_info(self, body, **kwargs): # noqa: E501 + """Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. # noqa: E501 + + Create a task execution event recording a phase transition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_task_event_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminTaskExecutionEventRequest body: (required) + :return: AdminTaskExecutionEventResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_task_event" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_task_event`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/events/tasks', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminTaskExecutionEventResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_workflow(self, body, **kwargs): # noqa: E501 + """Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition # noqa: E501 + + Create and register a workflow definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_workflow(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminWorkflowCreateRequest body: (required) + :return: AdminWorkflowCreateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_workflow_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_workflow_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_workflow_with_http_info(self, body, **kwargs): # noqa: E501 + """Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition # noqa: E501 + + Create and register a workflow definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_workflow_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminWorkflowCreateRequest body: (required) + :return: AdminWorkflowCreateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_workflow" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_workflow`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/workflows', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminWorkflowCreateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_workflow_event(self, body, **kwargs): # noqa: E501 + """Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. # noqa: E501 + + Create a workflow execution event recording a phase transition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_workflow_event(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminWorkflowExecutionEventRequest body: (required) + :return: AdminWorkflowExecutionEventResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_workflow_event_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_workflow_event_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_workflow_event_with_http_info(self, body, **kwargs): # noqa: E501 + """Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. # noqa: E501 + + Create a workflow execution event recording a phase transition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_workflow_event_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminWorkflowExecutionEventRequest body: (required) + :return: AdminWorkflowExecutionEventResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_workflow_event" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_workflow_event`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/events/workflows', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminWorkflowExecutionEventResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_project_domain_attributes(self, project, domain, body, **kwargs): # noqa: E501 + """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 + + Delete the customized resource attributes associated with a project-domain combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_project_domain_attributes(project, domain, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Unique project id which this set of attributes references. +required (required) + :param str domain: Unique domain id which this set of attributes references. +required (required) + :param AdminProjectDomainAttributesDeleteRequest body: (required) + :return: AdminProjectDomainAttributesDeleteResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_project_domain_attributes_with_http_info(project, domain, body, **kwargs) # noqa: E501 + else: + (data) = self.delete_project_domain_attributes_with_http_info(project, domain, body, **kwargs) # noqa: E501 + return data + + def delete_project_domain_attributes_with_http_info(self, project, domain, body, **kwargs): # noqa: E501 + """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 + + Delete the customized resource attributes associated with a project-domain combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_project_domain_attributes_with_http_info(project, domain, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Unique project id which this set of attributes references. +required (required) + :param str domain: Unique domain id which this set of attributes references. +required (required) + :param AdminProjectDomainAttributesDeleteRequest body: (required) + :return: AdminProjectDomainAttributesDeleteResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['project', 'domain', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_project_domain_attributes" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'project' is set + if ('project' not in params or + params['project'] is None): + raise ValueError("Missing the required parameter `project` when calling `delete_project_domain_attributes`") # noqa: E501 + # verify the required parameter 'domain' is set + if ('domain' not in params or + params['domain'] is None): + raise ValueError("Missing the required parameter `domain` when calling `delete_project_domain_attributes`") # noqa: E501 + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `delete_project_domain_attributes`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'project' in params: + path_params['project'] = params['project'] # noqa: E501 + if 'domain' in params: + path_params['domain'] = params['domain'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/project_domain_attributes/{project}/{domain}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminProjectDomainAttributesDeleteResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_workflow_attributes(self, project, domain, workflow, body, **kwargs): # noqa: E501 + """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 + + Delete the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_workflow_attributes(project, domain, workflow, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Unique project id which this set of attributes references. +required (required) + :param str domain: Unique domain id which this set of attributes references. +required (required) + :param str workflow: Workflow name which this set of attributes references. +required (required) + :param AdminWorkflowAttributesDeleteRequest body: (required) + :return: AdminWorkflowAttributesDeleteResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_workflow_attributes_with_http_info(project, domain, workflow, body, **kwargs) # noqa: E501 + else: + (data) = self.delete_workflow_attributes_with_http_info(project, domain, workflow, body, **kwargs) # noqa: E501 + return data + + def delete_workflow_attributes_with_http_info(self, project, domain, workflow, body, **kwargs): # noqa: E501 + """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 + + Delete the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_workflow_attributes_with_http_info(project, domain, workflow, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Unique project id which this set of attributes references. +required (required) + :param str domain: Unique domain id which this set of attributes references. +required (required) + :param str workflow: Workflow name which this set of attributes references. +required (required) + :param AdminWorkflowAttributesDeleteRequest body: (required) + :return: AdminWorkflowAttributesDeleteResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['project', 'domain', 'workflow', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_workflow_attributes" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'project' is set + if ('project' not in params or + params['project'] is None): + raise ValueError("Missing the required parameter `project` when calling `delete_workflow_attributes`") # noqa: E501 + # verify the required parameter 'domain' is set + if ('domain' not in params or + params['domain'] is None): + raise ValueError("Missing the required parameter `domain` when calling `delete_workflow_attributes`") # noqa: E501 + # verify the required parameter 'workflow' is set + if ('workflow' not in params or + params['workflow'] is None): + raise ValueError("Missing the required parameter `workflow` when calling `delete_workflow_attributes`") # noqa: E501 + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `delete_workflow_attributes`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'project' in params: + path_params['project'] = params['project'] # noqa: E501 + if 'domain' in params: + path_params['domain'] = params['domain'] # noqa: E501 + if 'workflow' in params: + path_params['workflow'] = params['workflow'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/workflow_attributes/{project}/{domain}/{workflow}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminWorkflowAttributesDeleteResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_active_launch_plan(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 + + Retrieve the active launch plan version specified by input request filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_active_launch_plan(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) + :return: AdminLaunchPlan + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_active_launch_plan_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + else: + (data) = self.get_active_launch_plan_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + return data + + def get_active_launch_plan_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 + + Retrieve the active launch plan version specified by input request filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_active_launch_plan_with_http_info(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) + :return: AdminLaunchPlan + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_active_launch_plan" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `get_active_launch_plan`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `get_active_launch_plan`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `get_active_launch_plan`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminLaunchPlan', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_execution(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetches a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + + Retrieve an existing workflow execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_execution(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User or system provided value for the resource. (required) + :return: AdminExecution + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_execution_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + else: + (data) = self.get_execution_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + return data + + def get_execution_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetches a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + + Retrieve an existing workflow execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_execution_with_http_info(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User or system provided value for the resource. (required) + :return: AdminExecution + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_execution" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `get_execution`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `get_execution`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `get_execution`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/executions/{id.project}/{id.domain}/{id.name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminExecution', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_execution_data(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + + Retrieve input and output data from an existing workflow execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_execution_data(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User or system provided value for the resource. (required) + :return: AdminWorkflowExecutionGetDataResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_execution_data_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + else: + (data) = self.get_execution_data_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + return data + + def get_execution_data_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + + Retrieve input and output data from an existing workflow execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_execution_data_with_http_info(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User or system provided value for the resource. (required) + :return: AdminWorkflowExecutionGetDataResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_execution_data" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `get_execution_data`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `get_execution_data`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `get_execution_data`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/data/executions/{id.project}/{id.domain}/{id.name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminWorkflowExecutionGetDataResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_launch_plan(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 + """Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. # noqa: E501 + + Retrieve an existing launch plan definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_launch_plan(id_project, id_domain, id_name, id_version, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. (required) + :param str id_version: Specific version of the resource. (required) + :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + :return: AdminLaunchPlan + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 + else: + (data) = self.get_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 + return data + + def get_launch_plan_with_http_info(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 + """Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. # noqa: E501 + + Retrieve an existing launch plan definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. (required) + :param str id_version: Specific version of the resource. (required) + :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + :return: AdminLaunchPlan + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'id_version', 'id_resource_type'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_launch_plan" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `get_launch_plan`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `get_launch_plan`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `get_launch_plan`") # noqa: E501 + # verify the required parameter 'id_version' is set + if ('id_version' not in params or + params['id_version'] is None): + raise ValueError("Missing the required parameter `id_version` when calling `get_launch_plan`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + if 'id_version' in params: + path_params['id.version'] = params['id_version'] # noqa: E501 + + query_params = [] + if 'id_resource_type' in params: + query_params.append(('id.resource_type', params['id_resource_type'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminLaunchPlan', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_named_entity(self, resource_type, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 + + Retrieve a NamedEntity object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_named_entity(resource_type, id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str resource_type: Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required (required) + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) + :return: AdminNamedEntity + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, **kwargs) # noqa: E501 + else: + (data) = self.get_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, **kwargs) # noqa: E501 + return data + + def get_named_entity_with_http_info(self, resource_type, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 + + Retrieve a NamedEntity object. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str resource_type: Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required (required) + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) + :return: AdminNamedEntity + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['resource_type', 'id_project', 'id_domain', 'id_name'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_named_entity" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'resource_type' is set + if ('resource_type' not in params or + params['resource_type'] is None): + raise ValueError("Missing the required parameter `resource_type` when calling `get_named_entity`") # noqa: E501 + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `get_named_entity`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `get_named_entity`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `get_named_entity`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'resource_type' in params: + path_params['resource_type'] = params['resource_type'] # noqa: E501 + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminNamedEntity', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_node_execution(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 + """Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 + + Retrieve an existing node execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_node_execution(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_execution_id_project: Name of the project the resource belongs to. (required) + :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_execution_id_name: User or system provided value for the resource. (required) + :param str id_node_id: (required) + :return: FlyteidladminNodeExecution + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_node_execution_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 + else: + (data) = self.get_node_execution_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 + return data + + def get_node_execution_with_http_info(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 + """Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 + + Retrieve an existing node execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_node_execution_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_execution_id_project: Name of the project the resource belongs to. (required) + :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_execution_id_name: User or system provided value for the resource. (required) + :param str id_node_id: (required) + :return: FlyteidladminNodeExecution + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_execution_id_project', 'id_execution_id_domain', 'id_execution_id_name', 'id_node_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_node_execution" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_execution_id_project' is set + if ('id_execution_id_project' not in params or + params['id_execution_id_project'] is None): + raise ValueError("Missing the required parameter `id_execution_id_project` when calling `get_node_execution`") # noqa: E501 + # verify the required parameter 'id_execution_id_domain' is set + if ('id_execution_id_domain' not in params or + params['id_execution_id_domain'] is None): + raise ValueError("Missing the required parameter `id_execution_id_domain` when calling `get_node_execution`") # noqa: E501 + # verify the required parameter 'id_execution_id_name' is set + if ('id_execution_id_name' not in params or + params['id_execution_id_name'] is None): + raise ValueError("Missing the required parameter `id_execution_id_name` when calling `get_node_execution`") # noqa: E501 + # verify the required parameter 'id_node_id' is set + if ('id_node_id' not in params or + params['id_node_id'] is None): + raise ValueError("Missing the required parameter `id_node_id` when calling `get_node_execution`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_execution_id_project' in params: + path_params['id.execution_id.project'] = params['id_execution_id_project'] # noqa: E501 + if 'id_execution_id_domain' in params: + path_params['id.execution_id.domain'] = params['id_execution_id_domain'] # noqa: E501 + if 'id_execution_id_name' in params: + path_params['id.execution_id.name'] = params['id_execution_id_name'] # noqa: E501 + if 'id_node_id' in params: + path_params['id.node_id'] = params['id_node_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FlyteidladminNodeExecution', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_node_execution_data(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 + """Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 + + Retrieve input and output data from an existing node execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_node_execution_data(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_execution_id_project: Name of the project the resource belongs to. (required) + :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_execution_id_name: User or system provided value for the resource. (required) + :param str id_node_id: (required) + :return: AdminNodeExecutionGetDataResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_node_execution_data_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 + else: + (data) = self.get_node_execution_data_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 + return data + + def get_node_execution_data_with_http_info(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 + """Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 + + Retrieve input and output data from an existing node execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_node_execution_data_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_execution_id_project: Name of the project the resource belongs to. (required) + :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_execution_id_name: User or system provided value for the resource. (required) + :param str id_node_id: (required) + :return: AdminNodeExecutionGetDataResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_execution_id_project', 'id_execution_id_domain', 'id_execution_id_name', 'id_node_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_node_execution_data" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_execution_id_project' is set + if ('id_execution_id_project' not in params or + params['id_execution_id_project'] is None): + raise ValueError("Missing the required parameter `id_execution_id_project` when calling `get_node_execution_data`") # noqa: E501 + # verify the required parameter 'id_execution_id_domain' is set + if ('id_execution_id_domain' not in params or + params['id_execution_id_domain'] is None): + raise ValueError("Missing the required parameter `id_execution_id_domain` when calling `get_node_execution_data`") # noqa: E501 + # verify the required parameter 'id_execution_id_name' is set + if ('id_execution_id_name' not in params or + params['id_execution_id_name'] is None): + raise ValueError("Missing the required parameter `id_execution_id_name` when calling `get_node_execution_data`") # noqa: E501 + # verify the required parameter 'id_node_id' is set + if ('id_node_id' not in params or + params['id_node_id'] is None): + raise ValueError("Missing the required parameter `id_node_id` when calling `get_node_execution_data`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_execution_id_project' in params: + path_params['id.execution_id.project'] = params['id_execution_id_project'] # noqa: E501 + if 'id_execution_id_domain' in params: + path_params['id.execution_id.domain'] = params['id_execution_id_domain'] # noqa: E501 + if 'id_execution_id_name' in params: + path_params['id.execution_id.name'] = params['id_execution_id_name'] # noqa: E501 + if 'id_node_id' in params: + path_params['id.node_id'] = params['id_node_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminNodeExecutionGetDataResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_project_domain_attributes(self, project, domain, **kwargs): # noqa: E501 + """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 + + Retrieve the customized resource attributes associated with a project-domain combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_project_domain_attributes(project, domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Unique project id which this set of attributes references. +required (required) + :param str domain: Unique domain id which this set of attributes references. +required (required) + :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. + :return: AdminProjectDomainAttributesGetResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_project_domain_attributes_with_http_info(project, domain, **kwargs) # noqa: E501 + else: + (data) = self.get_project_domain_attributes_with_http_info(project, domain, **kwargs) # noqa: E501 + return data + + def get_project_domain_attributes_with_http_info(self, project, domain, **kwargs): # noqa: E501 + """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 + + Retrieve the customized resource attributes associated with a project-domain combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_project_domain_attributes_with_http_info(project, domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Unique project id which this set of attributes references. +required (required) + :param str domain: Unique domain id which this set of attributes references. +required (required) + :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. + :return: AdminProjectDomainAttributesGetResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['project', 'domain', 'resource_type'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_project_domain_attributes" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'project' is set + if ('project' not in params or + params['project'] is None): + raise ValueError("Missing the required parameter `project` when calling `get_project_domain_attributes`") # noqa: E501 + # verify the required parameter 'domain' is set + if ('domain' not in params or + params['domain'] is None): + raise ValueError("Missing the required parameter `domain` when calling `get_project_domain_attributes`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'project' in params: + path_params['project'] = params['project'] # noqa: E501 + if 'domain' in params: + path_params['domain'] = params['domain'] # noqa: E501 + + query_params = [] + if 'resource_type' in params: + query_params.append(('resource_type', params['resource_type'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/project_domain_attributes/{project}/{domain}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminProjectDomainAttributesGetResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_task(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 + """Fetch a :ref:`ref_flyteidl.admin.Task` definition. # noqa: E501 + + Retrieve an existing task definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_task(id_project, id_domain, id_name, id_version, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. (required) + :param str id_version: Specific version of the resource. (required) + :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + :return: AdminTask + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_task_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 + else: + (data) = self.get_task_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 + return data + + def get_task_with_http_info(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 + """Fetch a :ref:`ref_flyteidl.admin.Task` definition. # noqa: E501 + + Retrieve an existing task definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_task_with_http_info(id_project, id_domain, id_name, id_version, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. (required) + :param str id_version: Specific version of the resource. (required) + :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + :return: AdminTask + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'id_version', 'id_resource_type'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_task" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `get_task`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `get_task`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `get_task`") # noqa: E501 + # verify the required parameter 'id_version' is set + if ('id_version' not in params or + params['id_version'] is None): + raise ValueError("Missing the required parameter `id_version` when calling `get_task`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + if 'id_version' in params: + path_params['id.version'] = params['id_version'] # noqa: E501 + + query_params = [] + if 'id_resource_type' in params: + query_params.append(('id.resource_type', params['id_resource_type'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminTask', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_task_execution(self, id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs): # noqa: E501 + """Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 + + Retrieve an existing task execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_task_execution(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) + :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) + :param str id_node_execution_id_node_id: (required) + :param str id_task_id_project: Name of the project the resource belongs to. (required) + :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_task_id_name: User provided value for the resource. (required) + :param str id_task_id_version: Specific version of the resource. (required) + :param int id_retry_attempt: (required) + :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + :return: FlyteidladminTaskExecution + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_task_execution_with_http_info(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs) # noqa: E501 + else: + (data) = self.get_task_execution_with_http_info(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs) # noqa: E501 + return data + + def get_task_execution_with_http_info(self, id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs): # noqa: E501 + """Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 + + Retrieve an existing task execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_task_execution_with_http_info(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) + :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) + :param str id_node_execution_id_node_id: (required) + :param str id_task_id_project: Name of the project the resource belongs to. (required) + :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_task_id_name: User provided value for the resource. (required) + :param str id_task_id_version: Specific version of the resource. (required) + :param int id_retry_attempt: (required) + :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + :return: FlyteidladminTaskExecution + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_node_execution_id_execution_id_project', 'id_node_execution_id_execution_id_domain', 'id_node_execution_id_execution_id_name', 'id_node_execution_id_node_id', 'id_task_id_project', 'id_task_id_domain', 'id_task_id_name', 'id_task_id_version', 'id_retry_attempt', 'id_task_id_resource_type'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_task_execution" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_node_execution_id_execution_id_project' is set + if ('id_node_execution_id_execution_id_project' not in params or + params['id_node_execution_id_execution_id_project'] is None): + raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_project` when calling `get_task_execution`") # noqa: E501 + # verify the required parameter 'id_node_execution_id_execution_id_domain' is set + if ('id_node_execution_id_execution_id_domain' not in params or + params['id_node_execution_id_execution_id_domain'] is None): + raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_domain` when calling `get_task_execution`") # noqa: E501 + # verify the required parameter 'id_node_execution_id_execution_id_name' is set + if ('id_node_execution_id_execution_id_name' not in params or + params['id_node_execution_id_execution_id_name'] is None): + raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_name` when calling `get_task_execution`") # noqa: E501 + # verify the required parameter 'id_node_execution_id_node_id' is set + if ('id_node_execution_id_node_id' not in params or + params['id_node_execution_id_node_id'] is None): + raise ValueError("Missing the required parameter `id_node_execution_id_node_id` when calling `get_task_execution`") # noqa: E501 + # verify the required parameter 'id_task_id_project' is set + if ('id_task_id_project' not in params or + params['id_task_id_project'] is None): + raise ValueError("Missing the required parameter `id_task_id_project` when calling `get_task_execution`") # noqa: E501 + # verify the required parameter 'id_task_id_domain' is set + if ('id_task_id_domain' not in params or + params['id_task_id_domain'] is None): + raise ValueError("Missing the required parameter `id_task_id_domain` when calling `get_task_execution`") # noqa: E501 + # verify the required parameter 'id_task_id_name' is set + if ('id_task_id_name' not in params or + params['id_task_id_name'] is None): + raise ValueError("Missing the required parameter `id_task_id_name` when calling `get_task_execution`") # noqa: E501 + # verify the required parameter 'id_task_id_version' is set + if ('id_task_id_version' not in params or + params['id_task_id_version'] is None): + raise ValueError("Missing the required parameter `id_task_id_version` when calling `get_task_execution`") # noqa: E501 + # verify the required parameter 'id_retry_attempt' is set + if ('id_retry_attempt' not in params or + params['id_retry_attempt'] is None): + raise ValueError("Missing the required parameter `id_retry_attempt` when calling `get_task_execution`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_node_execution_id_execution_id_project' in params: + path_params['id.node_execution_id.execution_id.project'] = params['id_node_execution_id_execution_id_project'] # noqa: E501 + if 'id_node_execution_id_execution_id_domain' in params: + path_params['id.node_execution_id.execution_id.domain'] = params['id_node_execution_id_execution_id_domain'] # noqa: E501 + if 'id_node_execution_id_execution_id_name' in params: + path_params['id.node_execution_id.execution_id.name'] = params['id_node_execution_id_execution_id_name'] # noqa: E501 + if 'id_node_execution_id_node_id' in params: + path_params['id.node_execution_id.node_id'] = params['id_node_execution_id_node_id'] # noqa: E501 + if 'id_task_id_project' in params: + path_params['id.task_id.project'] = params['id_task_id_project'] # noqa: E501 + if 'id_task_id_domain' in params: + path_params['id.task_id.domain'] = params['id_task_id_domain'] # noqa: E501 + if 'id_task_id_name' in params: + path_params['id.task_id.name'] = params['id_task_id_name'] # noqa: E501 + if 'id_task_id_version' in params: + path_params['id.task_id.version'] = params['id_task_id_version'] # noqa: E501 + if 'id_retry_attempt' in params: + path_params['id.retry_attempt'] = params['id_retry_attempt'] # noqa: E501 + + query_params = [] + if 'id_task_id_resource_type' in params: + query_params.append(('id.task_id.resource_type', params['id_task_id_resource_type'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FlyteidladminTaskExecution', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_task_execution_data(self, id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs): # noqa: E501 + """Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 + + Retrieve input and output data from an existing task execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_task_execution_data(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) + :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) + :param str id_node_execution_id_node_id: (required) + :param str id_task_id_project: Name of the project the resource belongs to. (required) + :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_task_id_name: User provided value for the resource. (required) + :param str id_task_id_version: Specific version of the resource. (required) + :param int id_retry_attempt: (required) + :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + :return: AdminTaskExecutionGetDataResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_task_execution_data_with_http_info(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs) # noqa: E501 + else: + (data) = self.get_task_execution_data_with_http_info(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs) # noqa: E501 + return data + + def get_task_execution_data_with_http_info(self, id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, **kwargs): # noqa: E501 + """Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 + + Retrieve input and output data from an existing task execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_task_execution_data_with_http_info(id_node_execution_id_execution_id_project, id_node_execution_id_execution_id_domain, id_node_execution_id_execution_id_name, id_node_execution_id_node_id, id_task_id_project, id_task_id_domain, id_task_id_name, id_task_id_version, id_retry_attempt, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) + :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) + :param str id_node_execution_id_node_id: (required) + :param str id_task_id_project: Name of the project the resource belongs to. (required) + :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_task_id_name: User provided value for the resource. (required) + :param str id_task_id_version: Specific version of the resource. (required) + :param int id_retry_attempt: (required) + :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + :return: AdminTaskExecutionGetDataResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_node_execution_id_execution_id_project', 'id_node_execution_id_execution_id_domain', 'id_node_execution_id_execution_id_name', 'id_node_execution_id_node_id', 'id_task_id_project', 'id_task_id_domain', 'id_task_id_name', 'id_task_id_version', 'id_retry_attempt', 'id_task_id_resource_type'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_task_execution_data" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_node_execution_id_execution_id_project' is set + if ('id_node_execution_id_execution_id_project' not in params or + params['id_node_execution_id_execution_id_project'] is None): + raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_project` when calling `get_task_execution_data`") # noqa: E501 + # verify the required parameter 'id_node_execution_id_execution_id_domain' is set + if ('id_node_execution_id_execution_id_domain' not in params or + params['id_node_execution_id_execution_id_domain'] is None): + raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_domain` when calling `get_task_execution_data`") # noqa: E501 + # verify the required parameter 'id_node_execution_id_execution_id_name' is set + if ('id_node_execution_id_execution_id_name' not in params or + params['id_node_execution_id_execution_id_name'] is None): + raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_name` when calling `get_task_execution_data`") # noqa: E501 + # verify the required parameter 'id_node_execution_id_node_id' is set + if ('id_node_execution_id_node_id' not in params or + params['id_node_execution_id_node_id'] is None): + raise ValueError("Missing the required parameter `id_node_execution_id_node_id` when calling `get_task_execution_data`") # noqa: E501 + # verify the required parameter 'id_task_id_project' is set + if ('id_task_id_project' not in params or + params['id_task_id_project'] is None): + raise ValueError("Missing the required parameter `id_task_id_project` when calling `get_task_execution_data`") # noqa: E501 + # verify the required parameter 'id_task_id_domain' is set + if ('id_task_id_domain' not in params or + params['id_task_id_domain'] is None): + raise ValueError("Missing the required parameter `id_task_id_domain` when calling `get_task_execution_data`") # noqa: E501 + # verify the required parameter 'id_task_id_name' is set + if ('id_task_id_name' not in params or + params['id_task_id_name'] is None): + raise ValueError("Missing the required parameter `id_task_id_name` when calling `get_task_execution_data`") # noqa: E501 + # verify the required parameter 'id_task_id_version' is set + if ('id_task_id_version' not in params or + params['id_task_id_version'] is None): + raise ValueError("Missing the required parameter `id_task_id_version` when calling `get_task_execution_data`") # noqa: E501 + # verify the required parameter 'id_retry_attempt' is set + if ('id_retry_attempt' not in params or + params['id_retry_attempt'] is None): + raise ValueError("Missing the required parameter `id_retry_attempt` when calling `get_task_execution_data`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_node_execution_id_execution_id_project' in params: + path_params['id.node_execution_id.execution_id.project'] = params['id_node_execution_id_execution_id_project'] # noqa: E501 + if 'id_node_execution_id_execution_id_domain' in params: + path_params['id.node_execution_id.execution_id.domain'] = params['id_node_execution_id_execution_id_domain'] # noqa: E501 + if 'id_node_execution_id_execution_id_name' in params: + path_params['id.node_execution_id.execution_id.name'] = params['id_node_execution_id_execution_id_name'] # noqa: E501 + if 'id_node_execution_id_node_id' in params: + path_params['id.node_execution_id.node_id'] = params['id_node_execution_id_node_id'] # noqa: E501 + if 'id_task_id_project' in params: + path_params['id.task_id.project'] = params['id_task_id_project'] # noqa: E501 + if 'id_task_id_domain' in params: + path_params['id.task_id.domain'] = params['id_task_id_domain'] # noqa: E501 + if 'id_task_id_name' in params: + path_params['id.task_id.name'] = params['id_task_id_name'] # noqa: E501 + if 'id_task_id_version' in params: + path_params['id.task_id.version'] = params['id_task_id_version'] # noqa: E501 + if 'id_retry_attempt' in params: + path_params['id.retry_attempt'] = params['id_retry_attempt'] # noqa: E501 + + query_params = [] + if 'id_task_id_resource_type' in params: + query_params.append(('id.task_id.resource_type', params['id_task_id_resource_type'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminTaskExecutionGetDataResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_version(self, **kwargs): # noqa: E501 + """get_version # noqa: E501 + + Retrieve the Version (including the Build information) for FlyteAdmin service # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_version(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: AdminGetVersionResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_version_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_version_with_http_info(**kwargs) # noqa: E501 + return data + + def get_version_with_http_info(self, **kwargs): # noqa: E501 + """get_version # noqa: E501 + + Retrieve the Version (including the Build information) for FlyteAdmin service # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_version_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: AdminGetVersionResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_version" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/version', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminGetVersionResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_workflow(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 + """Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. # noqa: E501 + + Retrieve an existing workflow definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_workflow(id_project, id_domain, id_name, id_version, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. (required) + :param str id_version: Specific version of the resource. (required) + :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + :return: AdminWorkflow + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_workflow_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 + else: + (data) = self.get_workflow_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 + return data + + def get_workflow_with_http_info(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 + """Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. # noqa: E501 + + Retrieve an existing workflow definition. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_workflow_with_http_info(id_project, id_domain, id_name, id_version, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. (required) + :param str id_version: Specific version of the resource. (required) + :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + :return: AdminWorkflow + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'id_version', 'id_resource_type'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_workflow" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `get_workflow`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `get_workflow`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `get_workflow`") # noqa: E501 + # verify the required parameter 'id_version' is set + if ('id_version' not in params or + params['id_version'] is None): + raise ValueError("Missing the required parameter `id_version` when calling `get_workflow`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + if 'id_version' in params: + path_params['id.version'] = params['id_version'] # noqa: E501 + + query_params = [] + if 'id_resource_type' in params: + query_params.append(('id.resource_type', params['id_resource_type'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminWorkflow', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_workflow_attributes(self, project, domain, workflow, **kwargs): # noqa: E501 + """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 + + Retrieve the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_workflow_attributes(project, domain, workflow, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Unique project id which this set of attributes references. +required (required) + :param str domain: Unique domain id which this set of attributes references. +required (required) + :param str workflow: Workflow name which this set of attributes references. +required (required) + :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. + :return: AdminWorkflowAttributesGetResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_workflow_attributes_with_http_info(project, domain, workflow, **kwargs) # noqa: E501 + else: + (data) = self.get_workflow_attributes_with_http_info(project, domain, workflow, **kwargs) # noqa: E501 + return data + + def get_workflow_attributes_with_http_info(self, project, domain, workflow, **kwargs): # noqa: E501 + """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 + + Retrieve the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_workflow_attributes_with_http_info(project, domain, workflow, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Unique project id which this set of attributes references. +required (required) + :param str domain: Unique domain id which this set of attributes references. +required (required) + :param str workflow: Workflow name which this set of attributes references. +required (required) + :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. + :return: AdminWorkflowAttributesGetResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['project', 'domain', 'workflow', 'resource_type'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_workflow_attributes" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'project' is set + if ('project' not in params or + params['project'] is None): + raise ValueError("Missing the required parameter `project` when calling `get_workflow_attributes`") # noqa: E501 + # verify the required parameter 'domain' is set + if ('domain' not in params or + params['domain'] is None): + raise ValueError("Missing the required parameter `domain` when calling `get_workflow_attributes`") # noqa: E501 + # verify the required parameter 'workflow' is set + if ('workflow' not in params or + params['workflow'] is None): + raise ValueError("Missing the required parameter `workflow` when calling `get_workflow_attributes`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'project' in params: + path_params['project'] = params['project'] # noqa: E501 + if 'domain' in params: + path_params['domain'] = params['domain'] # noqa: E501 + if 'workflow' in params: + path_params['workflow'] = params['workflow'] # noqa: E501 + + query_params = [] + if 'resource_type' in params: + query_params.append(('resource_type', params['resource_type'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/workflow_attributes/{project}/{domain}/{workflow}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminWorkflowAttributesGetResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_active_launch_plans(self, project, domain, **kwargs): # noqa: E501 + """List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 + + Fetch the active launch plan versions specified by input request filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_active_launch_plans(project, domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Name of the project that contains the identifiers. +required. (required) + :param str domain: Name of the domain the identifiers belongs to within the project. +required. (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminLaunchPlanList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_active_launch_plans_with_http_info(project, domain, **kwargs) # noqa: E501 + else: + (data) = self.list_active_launch_plans_with_http_info(project, domain, **kwargs) # noqa: E501 + return data + + def list_active_launch_plans_with_http_info(self, project, domain, **kwargs): # noqa: E501 + """List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 + + Fetch the active launch plan versions specified by input request filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_active_launch_plans_with_http_info(project, domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Name of the project that contains the identifiers. +required. (required) + :param str domain: Name of the domain the identifiers belongs to within the project. +required. (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminLaunchPlanList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_active_launch_plans" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'project' is set + if ('project' not in params or + params['project'] is None): + raise ValueError("Missing the required parameter `project` when calling `list_active_launch_plans`") # noqa: E501 + # verify the required parameter 'domain' is set + if ('domain' not in params or + params['domain'] is None): + raise ValueError("Missing the required parameter `domain` when calling `list_active_launch_plans`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'project' in params: + path_params['project'] = params['project'] # noqa: E501 + if 'domain' in params: + path_params['domain'] = params['domain'] # noqa: E501 + + query_params = [] + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/active_launch_plans/{project}/{domain}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminLaunchPlanList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_executions(self, id_project, id_domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + + Fetch existing workflow executions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_executions(id_project, id_domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminExecutionList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_executions_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 + else: + (data) = self.list_executions_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 + return data + + def list_executions_with_http_info(self, id_project, id_domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + + Fetch existing workflow executions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_executions_with_http_info(id_project, id_domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminExecutionList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_executions" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `list_executions`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `list_executions`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + + query_params = [] + if 'id_name' in params: + query_params.append(('id.name', params['id_name'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/executions/{id.project}/{id.domain}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminExecutionList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_launch_plan_ids(self, project, domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. # noqa: E501 + + Fetch existing launch plan definition identifiers matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_launch_plan_ids(project, domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Name of the project that contains the identifiers. +required (required) + :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :param str filters: Indicates a list of filters passed as string. +optional. + :return: AdminNamedEntityIdentifierList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_launch_plan_ids_with_http_info(project, domain, **kwargs) # noqa: E501 + else: + (data) = self.list_launch_plan_ids_with_http_info(project, domain, **kwargs) # noqa: E501 + return data + + def list_launch_plan_ids_with_http_info(self, project, domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. # noqa: E501 + + Fetch existing launch plan definition identifiers matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_launch_plan_ids_with_http_info(project, domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Name of the project that contains the identifiers. +required (required) + :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :param str filters: Indicates a list of filters passed as string. +optional. + :return: AdminNamedEntityIdentifierList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_launch_plan_ids" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'project' is set + if ('project' not in params or + params['project'] is None): + raise ValueError("Missing the required parameter `project` when calling `list_launch_plan_ids`") # noqa: E501 + # verify the required parameter 'domain' is set + if ('domain' not in params or + params['domain'] is None): + raise ValueError("Missing the required parameter `domain` when calling `list_launch_plan_ids`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'project' in params: + path_params['project'] = params['project'] # noqa: E501 + if 'domain' in params: + path_params['domain'] = params['domain'] # noqa: E501 + + query_params = [] + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/launch_plan_ids/{project}/{domain}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminNamedEntityIdentifierList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_launch_plans(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 + + Fetch existing launch plan definitions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_launch_plans(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminLaunchPlanList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_launch_plans_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + else: + (data) = self.list_launch_plans_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + return data + + def list_launch_plans_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 + + Fetch existing launch plan definitions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_launch_plans_with_http_info(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminLaunchPlanList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_launch_plans" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `list_launch_plans`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `list_launch_plans`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `list_launch_plans`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + + query_params = [] + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminLaunchPlanList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_launch_plans2(self, id_project, id_domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 + + Fetch existing launch plan definitions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_launch_plans2(id_project, id_domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminLaunchPlanList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_launch_plans2_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 + else: + (data) = self.list_launch_plans2_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 + return data + + def list_launch_plans2_with_http_info(self, id_project, id_domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 + + Fetch existing launch plan definitions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_launch_plans2_with_http_info(id_project, id_domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminLaunchPlanList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_launch_plans2" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `list_launch_plans2`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `list_launch_plans2`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + + query_params = [] + if 'id_name' in params: + query_params.append(('id.name', params['id_name'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/launch_plans/{id.project}/{id.domain}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminLaunchPlanList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_matchable_attributes(self, **kwargs): # noqa: E501 + """Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. # noqa: E501 + + Retrieve a list of MatchableAttributesConfiguration objects. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_matchable_attributes(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str resource_type: +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. + :return: AdminListMatchableAttributesResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_matchable_attributes_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.list_matchable_attributes_with_http_info(**kwargs) # noqa: E501 + return data + + def list_matchable_attributes_with_http_info(self, **kwargs): # noqa: E501 + """Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. # noqa: E501 + + Retrieve a list of MatchableAttributesConfiguration objects. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_matchable_attributes_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str resource_type: +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. + :return: AdminListMatchableAttributesResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['resource_type'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_matchable_attributes" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'resource_type' in params: + query_params.append(('resource_type', params['resource_type'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/matchable_attributes', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminListMatchableAttributesResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_named_entities(self, resource_type, project, domain, **kwargs): # noqa: E501 + """Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. # noqa: E501 + + Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_named_entities(resource_type, project, domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str resource_type: Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required (required) + :param str project: Name of the project that contains the identifiers. +required (required) + :param str domain: Name of the domain the identifiers belongs to within the project. (required) + :param int limit: Indicates the number of resources to be returned. + :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :param str filters: Indicates a list of filters passed as string. +optional. + :return: AdminNamedEntityList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_named_entities_with_http_info(resource_type, project, domain, **kwargs) # noqa: E501 + else: + (data) = self.list_named_entities_with_http_info(resource_type, project, domain, **kwargs) # noqa: E501 + return data + + def list_named_entities_with_http_info(self, resource_type, project, domain, **kwargs): # noqa: E501 + """Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. # noqa: E501 + + Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_named_entities_with_http_info(resource_type, project, domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str resource_type: Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required (required) + :param str project: Name of the project that contains the identifiers. +required (required) + :param str domain: Name of the domain the identifiers belongs to within the project. (required) + :param int limit: Indicates the number of resources to be returned. + :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :param str filters: Indicates a list of filters passed as string. +optional. + :return: AdminNamedEntityList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['resource_type', 'project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_named_entities" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'resource_type' is set + if ('resource_type' not in params or + params['resource_type'] is None): + raise ValueError("Missing the required parameter `resource_type` when calling `list_named_entities`") # noqa: E501 + # verify the required parameter 'project' is set + if ('project' not in params or + params['project'] is None): + raise ValueError("Missing the required parameter `project` when calling `list_named_entities`") # noqa: E501 + # verify the required parameter 'domain' is set + if ('domain' not in params or + params['domain'] is None): + raise ValueError("Missing the required parameter `domain` when calling `list_named_entities`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'resource_type' in params: + path_params['resource_type'] = params['resource_type'] # noqa: E501 + if 'project' in params: + path_params['project'] = params['project'] # noqa: E501 + if 'domain' in params: + path_params['domain'] = params['domain'] # noqa: E501 + + query_params = [] + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/named_entities/{resource_type}/{project}/{domain}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminNamedEntityList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_node_executions(self, workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 + + Fetch existing node executions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_node_executions(workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str workflow_execution_id_project: Name of the project the resource belongs to. (required) + :param str workflow_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str workflow_execution_id_name: User or system provided value for the resource. (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :param str unique_parent_id: Unique identifier of the parent node in the execution +optional. + :return: AdminNodeExecutionList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_node_executions_with_http_info(workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs) # noqa: E501 + else: + (data) = self.list_node_executions_with_http_info(workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs) # noqa: E501 + return data + + def list_node_executions_with_http_info(self, workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 + + Fetch existing node executions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_node_executions_with_http_info(workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str workflow_execution_id_project: Name of the project the resource belongs to. (required) + :param str workflow_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str workflow_execution_id_name: User or system provided value for the resource. (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :param str unique_parent_id: Unique identifier of the parent node in the execution +optional. + :return: AdminNodeExecutionList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['workflow_execution_id_project', 'workflow_execution_id_domain', 'workflow_execution_id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction', 'unique_parent_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_node_executions" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'workflow_execution_id_project' is set + if ('workflow_execution_id_project' not in params or + params['workflow_execution_id_project'] is None): + raise ValueError("Missing the required parameter `workflow_execution_id_project` when calling `list_node_executions`") # noqa: E501 + # verify the required parameter 'workflow_execution_id_domain' is set + if ('workflow_execution_id_domain' not in params or + params['workflow_execution_id_domain'] is None): + raise ValueError("Missing the required parameter `workflow_execution_id_domain` when calling `list_node_executions`") # noqa: E501 + # verify the required parameter 'workflow_execution_id_name' is set + if ('workflow_execution_id_name' not in params or + params['workflow_execution_id_name'] is None): + raise ValueError("Missing the required parameter `workflow_execution_id_name` when calling `list_node_executions`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'workflow_execution_id_project' in params: + path_params['workflow_execution_id.project'] = params['workflow_execution_id_project'] # noqa: E501 + if 'workflow_execution_id_domain' in params: + path_params['workflow_execution_id.domain'] = params['workflow_execution_id_domain'] # noqa: E501 + if 'workflow_execution_id_name' in params: + path_params['workflow_execution_id.name'] = params['workflow_execution_id_name'] # noqa: E501 + + query_params = [] + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + if 'unique_parent_id' in params: + query_params.append(('unique_parent_id', params['unique_parent_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminNodeExecutionList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_node_executions_for_task(self, task_execution_id_node_execution_id_execution_id_project, task_execution_id_node_execution_id_execution_id_domain, task_execution_id_node_execution_id_execution_id_name, task_execution_id_node_execution_id_node_id, task_execution_id_task_id_project, task_execution_id_task_id_domain, task_execution_id_task_id_name, task_execution_id_task_id_version, task_execution_id_retry_attempt, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 + + Fetch child node executions launched by the specified task execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_node_executions_for_task(task_execution_id_node_execution_id_execution_id_project, task_execution_id_node_execution_id_execution_id_domain, task_execution_id_node_execution_id_execution_id_name, task_execution_id_node_execution_id_node_id, task_execution_id_task_id_project, task_execution_id_task_id_domain, task_execution_id_task_id_name, task_execution_id_task_id_version, task_execution_id_retry_attempt, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str task_execution_id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) + :param str task_execution_id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str task_execution_id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) + :param str task_execution_id_node_execution_id_node_id: (required) + :param str task_execution_id_task_id_project: Name of the project the resource belongs to. (required) + :param str task_execution_id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str task_execution_id_task_id_name: User provided value for the resource. (required) + :param str task_execution_id_task_id_version: Specific version of the resource. (required) + :param int task_execution_id_retry_attempt: (required) + :param str task_execution_id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminNodeExecutionList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_node_executions_for_task_with_http_info(task_execution_id_node_execution_id_execution_id_project, task_execution_id_node_execution_id_execution_id_domain, task_execution_id_node_execution_id_execution_id_name, task_execution_id_node_execution_id_node_id, task_execution_id_task_id_project, task_execution_id_task_id_domain, task_execution_id_task_id_name, task_execution_id_task_id_version, task_execution_id_retry_attempt, **kwargs) # noqa: E501 + else: + (data) = self.list_node_executions_for_task_with_http_info(task_execution_id_node_execution_id_execution_id_project, task_execution_id_node_execution_id_execution_id_domain, task_execution_id_node_execution_id_execution_id_name, task_execution_id_node_execution_id_node_id, task_execution_id_task_id_project, task_execution_id_task_id_domain, task_execution_id_task_id_name, task_execution_id_task_id_version, task_execution_id_retry_attempt, **kwargs) # noqa: E501 + return data + + def list_node_executions_for_task_with_http_info(self, task_execution_id_node_execution_id_execution_id_project, task_execution_id_node_execution_id_execution_id_domain, task_execution_id_node_execution_id_execution_id_name, task_execution_id_node_execution_id_node_id, task_execution_id_task_id_project, task_execution_id_task_id_domain, task_execution_id_task_id_name, task_execution_id_task_id_version, task_execution_id_retry_attempt, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 + + Fetch child node executions launched by the specified task execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_node_executions_for_task_with_http_info(task_execution_id_node_execution_id_execution_id_project, task_execution_id_node_execution_id_execution_id_domain, task_execution_id_node_execution_id_execution_id_name, task_execution_id_node_execution_id_node_id, task_execution_id_task_id_project, task_execution_id_task_id_domain, task_execution_id_task_id_name, task_execution_id_task_id_version, task_execution_id_retry_attempt, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str task_execution_id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) + :param str task_execution_id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str task_execution_id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) + :param str task_execution_id_node_execution_id_node_id: (required) + :param str task_execution_id_task_id_project: Name of the project the resource belongs to. (required) + :param str task_execution_id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str task_execution_id_task_id_name: User provided value for the resource. (required) + :param str task_execution_id_task_id_version: Specific version of the resource. (required) + :param int task_execution_id_retry_attempt: (required) + :param str task_execution_id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminNodeExecutionList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['task_execution_id_node_execution_id_execution_id_project', 'task_execution_id_node_execution_id_execution_id_domain', 'task_execution_id_node_execution_id_execution_id_name', 'task_execution_id_node_execution_id_node_id', 'task_execution_id_task_id_project', 'task_execution_id_task_id_domain', 'task_execution_id_task_id_name', 'task_execution_id_task_id_version', 'task_execution_id_retry_attempt', 'task_execution_id_task_id_resource_type', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_node_executions_for_task" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'task_execution_id_node_execution_id_execution_id_project' is set + if ('task_execution_id_node_execution_id_execution_id_project' not in params or + params['task_execution_id_node_execution_id_execution_id_project'] is None): + raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_execution_id_project` when calling `list_node_executions_for_task`") # noqa: E501 + # verify the required parameter 'task_execution_id_node_execution_id_execution_id_domain' is set + if ('task_execution_id_node_execution_id_execution_id_domain' not in params or + params['task_execution_id_node_execution_id_execution_id_domain'] is None): + raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_execution_id_domain` when calling `list_node_executions_for_task`") # noqa: E501 + # verify the required parameter 'task_execution_id_node_execution_id_execution_id_name' is set + if ('task_execution_id_node_execution_id_execution_id_name' not in params or + params['task_execution_id_node_execution_id_execution_id_name'] is None): + raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_execution_id_name` when calling `list_node_executions_for_task`") # noqa: E501 + # verify the required parameter 'task_execution_id_node_execution_id_node_id' is set + if ('task_execution_id_node_execution_id_node_id' not in params or + params['task_execution_id_node_execution_id_node_id'] is None): + raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_node_id` when calling `list_node_executions_for_task`") # noqa: E501 + # verify the required parameter 'task_execution_id_task_id_project' is set + if ('task_execution_id_task_id_project' not in params or + params['task_execution_id_task_id_project'] is None): + raise ValueError("Missing the required parameter `task_execution_id_task_id_project` when calling `list_node_executions_for_task`") # noqa: E501 + # verify the required parameter 'task_execution_id_task_id_domain' is set + if ('task_execution_id_task_id_domain' not in params or + params['task_execution_id_task_id_domain'] is None): + raise ValueError("Missing the required parameter `task_execution_id_task_id_domain` when calling `list_node_executions_for_task`") # noqa: E501 + # verify the required parameter 'task_execution_id_task_id_name' is set + if ('task_execution_id_task_id_name' not in params or + params['task_execution_id_task_id_name'] is None): + raise ValueError("Missing the required parameter `task_execution_id_task_id_name` when calling `list_node_executions_for_task`") # noqa: E501 + # verify the required parameter 'task_execution_id_task_id_version' is set + if ('task_execution_id_task_id_version' not in params or + params['task_execution_id_task_id_version'] is None): + raise ValueError("Missing the required parameter `task_execution_id_task_id_version` when calling `list_node_executions_for_task`") # noqa: E501 + # verify the required parameter 'task_execution_id_retry_attempt' is set + if ('task_execution_id_retry_attempt' not in params or + params['task_execution_id_retry_attempt'] is None): + raise ValueError("Missing the required parameter `task_execution_id_retry_attempt` when calling `list_node_executions_for_task`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'task_execution_id_node_execution_id_execution_id_project' in params: + path_params['task_execution_id.node_execution_id.execution_id.project'] = params['task_execution_id_node_execution_id_execution_id_project'] # noqa: E501 + if 'task_execution_id_node_execution_id_execution_id_domain' in params: + path_params['task_execution_id.node_execution_id.execution_id.domain'] = params['task_execution_id_node_execution_id_execution_id_domain'] # noqa: E501 + if 'task_execution_id_node_execution_id_execution_id_name' in params: + path_params['task_execution_id.node_execution_id.execution_id.name'] = params['task_execution_id_node_execution_id_execution_id_name'] # noqa: E501 + if 'task_execution_id_node_execution_id_node_id' in params: + path_params['task_execution_id.node_execution_id.node_id'] = params['task_execution_id_node_execution_id_node_id'] # noqa: E501 + if 'task_execution_id_task_id_project' in params: + path_params['task_execution_id.task_id.project'] = params['task_execution_id_task_id_project'] # noqa: E501 + if 'task_execution_id_task_id_domain' in params: + path_params['task_execution_id.task_id.domain'] = params['task_execution_id_task_id_domain'] # noqa: E501 + if 'task_execution_id_task_id_name' in params: + path_params['task_execution_id.task_id.name'] = params['task_execution_id_task_id_name'] # noqa: E501 + if 'task_execution_id_task_id_version' in params: + path_params['task_execution_id.task_id.version'] = params['task_execution_id_task_id_version'] # noqa: E501 + if 'task_execution_id_retry_attempt' in params: + path_params['task_execution_id.retry_attempt'] = params['task_execution_id_retry_attempt'] # noqa: E501 + + query_params = [] + if 'task_execution_id_task_id_resource_type' in params: + query_params.append(('task_execution_id.task_id.resource_type', params['task_execution_id_task_id_resource_type'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminNodeExecutionList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_projects(self, **kwargs): # noqa: E501 + """Fetches a list of :ref:`ref_flyteidl.admin.Project` # noqa: E501 + + Fetch registered projects. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_projects(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int limit: Indicates the number of projects to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminProjects + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_projects_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.list_projects_with_http_info(**kwargs) # noqa: E501 + return data + + def list_projects_with_http_info(self, **kwargs): # noqa: E501 + """Fetches a list of :ref:`ref_flyteidl.admin.Project` # noqa: E501 + + Fetch registered projects. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_projects_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int limit: Indicates the number of projects to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminProjects + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_projects" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/projects', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminProjects', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_task_executions(self, node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs): # noqa: E501 + """Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 + + Fetch existing task executions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_task_executions(node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) + :param str node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str node_execution_id_execution_id_name: User or system provided value for the resource. (required) + :param str node_execution_id_node_id: (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminTaskExecutionList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_task_executions_with_http_info(node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs) # noqa: E501 + else: + (data) = self.list_task_executions_with_http_info(node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs) # noqa: E501 + return data + + def list_task_executions_with_http_info(self, node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs): # noqa: E501 + """Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 + + Fetch existing task executions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_task_executions_with_http_info(node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) + :param str node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str node_execution_id_execution_id_name: User or system provided value for the resource. (required) + :param str node_execution_id_node_id: (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminTaskExecutionList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['node_execution_id_execution_id_project', 'node_execution_id_execution_id_domain', 'node_execution_id_execution_id_name', 'node_execution_id_node_id', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_task_executions" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'node_execution_id_execution_id_project' is set + if ('node_execution_id_execution_id_project' not in params or + params['node_execution_id_execution_id_project'] is None): + raise ValueError("Missing the required parameter `node_execution_id_execution_id_project` when calling `list_task_executions`") # noqa: E501 + # verify the required parameter 'node_execution_id_execution_id_domain' is set + if ('node_execution_id_execution_id_domain' not in params or + params['node_execution_id_execution_id_domain'] is None): + raise ValueError("Missing the required parameter `node_execution_id_execution_id_domain` when calling `list_task_executions`") # noqa: E501 + # verify the required parameter 'node_execution_id_execution_id_name' is set + if ('node_execution_id_execution_id_name' not in params or + params['node_execution_id_execution_id_name'] is None): + raise ValueError("Missing the required parameter `node_execution_id_execution_id_name` when calling `list_task_executions`") # noqa: E501 + # verify the required parameter 'node_execution_id_node_id' is set + if ('node_execution_id_node_id' not in params or + params['node_execution_id_node_id'] is None): + raise ValueError("Missing the required parameter `node_execution_id_node_id` when calling `list_task_executions`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'node_execution_id_execution_id_project' in params: + path_params['node_execution_id.execution_id.project'] = params['node_execution_id_execution_id_project'] # noqa: E501 + if 'node_execution_id_execution_id_domain' in params: + path_params['node_execution_id.execution_id.domain'] = params['node_execution_id_execution_id_domain'] # noqa: E501 + if 'node_execution_id_execution_id_name' in params: + path_params['node_execution_id.execution_id.name'] = params['node_execution_id_execution_id_name'] # noqa: E501 + if 'node_execution_id_node_id' in params: + path_params['node_execution_id.node_id'] = params['node_execution_id_node_id'] # noqa: E501 + + query_params = [] + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminTaskExecutionList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_task_ids(self, project, domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. # noqa: E501 + + Fetch existing task definition identifiers matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_task_ids(project, domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Name of the project that contains the identifiers. +required (required) + :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :param str filters: Indicates a list of filters passed as string. +optional. + :return: AdminNamedEntityIdentifierList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_task_ids_with_http_info(project, domain, **kwargs) # noqa: E501 + else: + (data) = self.list_task_ids_with_http_info(project, domain, **kwargs) # noqa: E501 + return data + + def list_task_ids_with_http_info(self, project, domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. # noqa: E501 + + Fetch existing task definition identifiers matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_task_ids_with_http_info(project, domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Name of the project that contains the identifiers. +required (required) + :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :param str filters: Indicates a list of filters passed as string. +optional. + :return: AdminNamedEntityIdentifierList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_task_ids" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'project' is set + if ('project' not in params or + params['project'] is None): + raise ValueError("Missing the required parameter `project` when calling `list_task_ids`") # noqa: E501 + # verify the required parameter 'domain' is set + if ('domain' not in params or + params['domain'] is None): + raise ValueError("Missing the required parameter `domain` when calling `list_task_ids`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'project' in params: + path_params['project'] = params['project'] # noqa: E501 + if 'domain' in params: + path_params['domain'] = params['domain'] # noqa: E501 + + query_params = [] + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/task_ids/{project}/{domain}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminNamedEntityIdentifierList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_tasks(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 + + Fetch existing task definitions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_tasks(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminTaskList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_tasks_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + else: + (data) = self.list_tasks_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + return data + + def list_tasks_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 + + Fetch existing task definitions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_tasks_with_http_info(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminTaskList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_tasks" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `list_tasks`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `list_tasks`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `list_tasks`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + + query_params = [] + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/tasks/{id.project}/{id.domain}/{id.name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminTaskList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_tasks2(self, id_project, id_domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 + + Fetch existing task definitions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_tasks2(id_project, id_domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminTaskList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_tasks2_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 + else: + (data) = self.list_tasks2_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 + return data + + def list_tasks2_with_http_info(self, id_project, id_domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 + + Fetch existing task definitions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_tasks2_with_http_info(id_project, id_domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminTaskList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_tasks2" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `list_tasks2`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `list_tasks2`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + + query_params = [] + if 'id_name' in params: + query_params.append(('id.name', params['id_name'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/tasks/{id.project}/{id.domain}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminTaskList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_workflow_ids(self, project, domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. # noqa: E501 + + Fetch an existing workflow definition identifiers matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_workflow_ids(project, domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Name of the project that contains the identifiers. +required (required) + :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :param str filters: Indicates a list of filters passed as string. +optional. + :return: AdminNamedEntityIdentifierList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_workflow_ids_with_http_info(project, domain, **kwargs) # noqa: E501 + else: + (data) = self.list_workflow_ids_with_http_info(project, domain, **kwargs) # noqa: E501 + return data + + def list_workflow_ids_with_http_info(self, project, domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. # noqa: E501 + + Fetch an existing workflow definition identifiers matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_workflow_ids_with_http_info(project, domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str project: Name of the project that contains the identifiers. +required (required) + :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :param str filters: Indicates a list of filters passed as string. +optional. + :return: AdminNamedEntityIdentifierList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_workflow_ids" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'project' is set + if ('project' not in params or + params['project'] is None): + raise ValueError("Missing the required parameter `project` when calling `list_workflow_ids`") # noqa: E501 + # verify the required parameter 'domain' is set + if ('domain' not in params or + params['domain'] is None): + raise ValueError("Missing the required parameter `domain` when calling `list_workflow_ids`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'project' in params: + path_params['project'] = params['project'] # noqa: E501 + if 'domain' in params: + path_params['domain'] = params['domain'] # noqa: E501 + + query_params = [] + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/workflow_ids/{project}/{domain}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminNamedEntityIdentifierList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_workflows(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 + + Fetch existing workflow definitions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_workflows(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminWorkflowList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_workflows_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + else: + (data) = self.list_workflows_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + return data + + def list_workflows_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 + + Fetch existing workflow definitions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_workflows_with_http_info(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminWorkflowList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_workflows" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `list_workflows`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `list_workflows`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `list_workflows`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + + query_params = [] + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/workflows/{id.project}/{id.domain}/{id.name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminWorkflowList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_workflows2(self, id_project, id_domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 + + Fetch existing workflow definitions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_workflows2(id_project, id_domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminWorkflowList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_workflows2_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 + else: + (data) = self.list_workflows2_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 + return data + + def list_workflows2_with_http_info(self, id_project, id_domain, **kwargs): # noqa: E501 + """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 + + Fetch existing workflow definitions matching input filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_workflows2_with_http_info(id_project, id_domain, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. + :param int limit: Indicates the number of resources to be returned. +required. + :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. + :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. + :param str sort_by_key: Indicates an attribute to sort the response values. +required. + :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. + :return: AdminWorkflowList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_workflows2" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `list_workflows2`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `list_workflows2`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + + query_params = [] + if 'id_name' in params: + query_params.append(('id.name', params['id_name'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'token' in params: + query_params.append(('token', params['token'])) # noqa: E501 + if 'filters' in params: + query_params.append(('filters', params['filters'])) # noqa: E501 + if 'sort_by_key' in params: + query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 + if 'sort_by_direction' in params: + query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/workflows/{id.project}/{id.domain}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminWorkflowList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def recover_execution(self, body, **kwargs): # noqa: E501 + """Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. # noqa: E501 + + Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.recover_execution(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminExecutionRecoverRequest body: (required) + :return: AdminExecutionCreateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.recover_execution_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.recover_execution_with_http_info(body, **kwargs) # noqa: E501 + return data + + def recover_execution_with_http_info(self, body, **kwargs): # noqa: E501 + """Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. # noqa: E501 + + Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.recover_execution_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminExecutionRecoverRequest body: (required) + :return: AdminExecutionCreateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method recover_execution" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `recover_execution`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/executions/recover', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminExecutionCreateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def register_project(self, body, **kwargs): # noqa: E501 + """Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. # noqa: E501 + + Register a project. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.register_project(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminProjectRegisterRequest body: (required) + :return: AdminProjectRegisterResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.register_project_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.register_project_with_http_info(body, **kwargs) # noqa: E501 + return data + + def register_project_with_http_info(self, body, **kwargs): # noqa: E501 + """Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. # noqa: E501 + + Register a project. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.register_project_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminProjectRegisterRequest body: (required) + :return: AdminProjectRegisterResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method register_project" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `register_project`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/projects', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminProjectRegisterResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def relaunch_execution(self, body, **kwargs): # noqa: E501 + """Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` # noqa: E501 + + Relaunch a workflow execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.relaunch_execution(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminExecutionRelaunchRequest body: (required) + :return: AdminExecutionCreateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.relaunch_execution_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.relaunch_execution_with_http_info(body, **kwargs) # noqa: E501 + return data + + def relaunch_execution_with_http_info(self, body, **kwargs): # noqa: E501 + """Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` # noqa: E501 + + Relaunch a workflow execution. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.relaunch_execution_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param AdminExecutionRelaunchRequest body: (required) + :return: AdminExecutionCreateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method relaunch_execution" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `relaunch_execution`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/executions/relaunch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminExecutionCreateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def terminate_execution(self, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 + """Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + + Terminate the active workflow execution specified in the request. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.terminate_execution(id_project, id_domain, id_name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User or system provided value for the resource. (required) + :param AdminExecutionTerminateRequest body: (required) + :return: AdminExecutionTerminateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.terminate_execution_with_http_info(id_project, id_domain, id_name, body, **kwargs) # noqa: E501 + else: + (data) = self.terminate_execution_with_http_info(id_project, id_domain, id_name, body, **kwargs) # noqa: E501 + return data + + def terminate_execution_with_http_info(self, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 + """Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + + Terminate the active workflow execution specified in the request. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.terminate_execution_with_http_info(id_project, id_domain, id_name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User or system provided value for the resource. (required) + :param AdminExecutionTerminateRequest body: (required) + :return: AdminExecutionTerminateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method terminate_execution" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `terminate_execution`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `terminate_execution`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `terminate_execution`") # noqa: E501 + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `terminate_execution`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/executions/{id.project}/{id.domain}/{id.name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminExecutionTerminateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_execution(self, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 + """Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + + Update execution belonging to project domain. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_execution(id_project, id_domain, id_name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User or system provided value for the resource. (required) + :param AdminExecutionUpdateRequest body: (required) + :return: AdminExecutionUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_execution_with_http_info(id_project, id_domain, id_name, body, **kwargs) # noqa: E501 + else: + (data) = self.update_execution_with_http_info(id_project, id_domain, id_name, body, **kwargs) # noqa: E501 + return data + + def update_execution_with_http_info(self, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 + """Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + + Update execution belonging to project domain. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_execution_with_http_info(id_project, id_domain, id_name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User or system provided value for the resource. (required) + :param AdminExecutionUpdateRequest body: (required) + :return: AdminExecutionUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_execution" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `update_execution`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `update_execution`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `update_execution`") # noqa: E501 + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_execution`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/executions/{id.project}/{id.domain}/{id.name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminExecutionUpdateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_launch_plan(self, id_project, id_domain, id_name, id_version, body, **kwargs): # noqa: E501 + """Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 + + Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_launch_plan(id_project, id_domain, id_name, id_version, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. (required) + :param str id_version: Specific version of the resource. (required) + :param AdminLaunchPlanUpdateRequest body: (required) + :return: AdminLaunchPlanUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, body, **kwargs) # noqa: E501 + else: + (data) = self.update_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, body, **kwargs) # noqa: E501 + return data + + def update_launch_plan_with_http_info(self, id_project, id_domain, id_name, id_version, body, **kwargs): # noqa: E501 + """Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 + + Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. (required) + :param str id_version: Specific version of the resource. (required) + :param AdminLaunchPlanUpdateRequest body: (required) + :return: AdminLaunchPlanUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'id_version', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_launch_plan" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `update_launch_plan`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `update_launch_plan`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `update_launch_plan`") # noqa: E501 + # verify the required parameter 'id_version' is set + if ('id_version' not in params or + params['id_version'] is None): + raise ValueError("Missing the required parameter `id_version` when calling `update_launch_plan`") # noqa: E501 + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_launch_plan`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + if 'id_version' in params: + path_params['id.version'] = params['id_version'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminLaunchPlanUpdateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_named_entity(self, resource_type, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 + """Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 + + Update the fields associated with a NamedEntity # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_named_entity(resource_type, id_project, id_domain, id_name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str resource_type: Resource type of the metadata to update +required (required) + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) + :param AdminNamedEntityUpdateRequest body: (required) + :return: AdminNamedEntityUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, body, **kwargs) # noqa: E501 + else: + (data) = self.update_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, body, **kwargs) # noqa: E501 + return data + + def update_named_entity_with_http_info(self, resource_type, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 + """Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 + + Update the fields associated with a NamedEntity # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str resource_type: Resource type of the metadata to update +required (required) + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) + :param AdminNamedEntityUpdateRequest body: (required) + :return: AdminNamedEntityUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['resource_type', 'id_project', 'id_domain', 'id_name', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_named_entity" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'resource_type' is set + if ('resource_type' not in params or + params['resource_type'] is None): + raise ValueError("Missing the required parameter `resource_type` when calling `update_named_entity`") # noqa: E501 + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `update_named_entity`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `update_named_entity`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `update_named_entity`") # noqa: E501 + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_named_entity`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'resource_type' in params: + path_params['resource_type'] = params['resource_type'] # noqa: E501 + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminNamedEntityUpdateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_project(self, id, body, **kwargs): # noqa: E501 + """Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. # noqa: E501 + + Update a project. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_project(id, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: Globally unique project name. (required) + :param AdminProject body: (required) + :return: AdminProjectUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_project_with_http_info(id, body, **kwargs) # noqa: E501 + else: + (data) = self.update_project_with_http_info(id, body, **kwargs) # noqa: E501 + return data + + def update_project_with_http_info(self, id, body, **kwargs): # noqa: E501 + """Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. # noqa: E501 + + Update a project. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_project_with_http_info(id, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: Globally unique project name. (required) + :param AdminProject body: (required) + :return: AdminProjectUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_project" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if ('id' not in params or + params['id'] is None): + raise ValueError("Missing the required parameter `id` when calling `update_project`") # noqa: E501 + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_project`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/projects/{id}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminProjectUpdateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_project_domain_attributes(self, attributes_project, attributes_domain, body, **kwargs): # noqa: E501 + """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 + + Update the customized resource attributes associated with a project-domain combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_project_domain_attributes(attributes_project, attributes_domain, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) + :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) + :param AdminProjectDomainAttributesUpdateRequest body: (required) + :return: AdminProjectDomainAttributesUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_project_domain_attributes_with_http_info(attributes_project, attributes_domain, body, **kwargs) # noqa: E501 + else: + (data) = self.update_project_domain_attributes_with_http_info(attributes_project, attributes_domain, body, **kwargs) # noqa: E501 + return data + + def update_project_domain_attributes_with_http_info(self, attributes_project, attributes_domain, body, **kwargs): # noqa: E501 + """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 + + Update the customized resource attributes associated with a project-domain combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_project_domain_attributes_with_http_info(attributes_project, attributes_domain, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) + :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) + :param AdminProjectDomainAttributesUpdateRequest body: (required) + :return: AdminProjectDomainAttributesUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['attributes_project', 'attributes_domain', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_project_domain_attributes" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'attributes_project' is set + if ('attributes_project' not in params or + params['attributes_project'] is None): + raise ValueError("Missing the required parameter `attributes_project` when calling `update_project_domain_attributes`") # noqa: E501 + # verify the required parameter 'attributes_domain' is set + if ('attributes_domain' not in params or + params['attributes_domain'] is None): + raise ValueError("Missing the required parameter `attributes_domain` when calling `update_project_domain_attributes`") # noqa: E501 + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_project_domain_attributes`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'attributes_project' in params: + path_params['attributes.project'] = params['attributes_project'] # noqa: E501 + if 'attributes_domain' in params: + path_params['attributes.domain'] = params['attributes_domain'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminProjectDomainAttributesUpdateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_workflow_attributes(self, attributes_project, attributes_domain, attributes_workflow, body, **kwargs): # noqa: E501 + """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 + + Update the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_workflow_attributes(attributes_project, attributes_domain, attributes_workflow, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) + :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) + :param str attributes_workflow: Workflow name for which this set of attributes will be applied. (required) + :param AdminWorkflowAttributesUpdateRequest body: (required) + :return: AdminWorkflowAttributesUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_workflow_attributes_with_http_info(attributes_project, attributes_domain, attributes_workflow, body, **kwargs) # noqa: E501 + else: + (data) = self.update_workflow_attributes_with_http_info(attributes_project, attributes_domain, attributes_workflow, body, **kwargs) # noqa: E501 + return data + + def update_workflow_attributes_with_http_info(self, attributes_project, attributes_domain, attributes_workflow, body, **kwargs): # noqa: E501 + """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 + + Update the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_workflow_attributes_with_http_info(attributes_project, attributes_domain, attributes_workflow, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) + :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) + :param str attributes_workflow: Workflow name for which this set of attributes will be applied. (required) + :param AdminWorkflowAttributesUpdateRequest body: (required) + :return: AdminWorkflowAttributesUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['attributes_project', 'attributes_domain', 'attributes_workflow', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_workflow_attributes" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'attributes_project' is set + if ('attributes_project' not in params or + params['attributes_project'] is None): + raise ValueError("Missing the required parameter `attributes_project` when calling `update_workflow_attributes`") # noqa: E501 + # verify the required parameter 'attributes_domain' is set + if ('attributes_domain' not in params or + params['attributes_domain'] is None): + raise ValueError("Missing the required parameter `attributes_domain` when calling `update_workflow_attributes`") # noqa: E501 + # verify the required parameter 'attributes_workflow' is set + if ('attributes_workflow' not in params or + params['attributes_workflow'] is None): + raise ValueError("Missing the required parameter `attributes_workflow` when calling `update_workflow_attributes`") # noqa: E501 + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_workflow_attributes`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'attributes_project' in params: + path_params['attributes.project'] = params['attributes_project'] # noqa: E501 + if 'attributes_domain' in params: + path_params['attributes.domain'] = params['attributes_domain'] # noqa: E501 + if 'attributes_workflow' in params: + path_params['attributes.workflow'] = params['attributes_workflow'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminWorkflowAttributesUpdateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api_client.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api_client.py new file mode 100644 index 000000000..9a7091b08 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api_client.py @@ -0,0 +1,638 @@ +# coding: utf-8 +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import datetime +import json +import mimetypes +from multiprocessing.pool import ThreadPool +import os +import re +import tempfile + +# python 2 and python 3 compatibility library +import six +from six.moves.urllib.parse import quote + +from flyteadmin.configuration import Configuration +import flyteadmin.models +from flyteadmin import rest + + +class ApiClient(object): + """Generic API client for Swagger client library builds. + + Swagger generic API client. This client handles the client- + server communication, and is invariant across implementations. Specifics of + the methods and models for each application are generated from the Swagger + templates. + + NOTE: This class is auto generated by the swagger code generator program. + Ref: https://github.com/swagger-api/swagger-codegen + Do not edit the class manually. + + :param configuration: .Configuration object for this client + :param header_name: a header to pass when making calls to the API. + :param header_value: a header value to pass when making calls to + the API. + :param cookie: a cookie to include in the header when making calls + to the API + """ + + PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types + NATIVE_TYPES_MAPPING = { + 'int': int, + 'long': int if six.PY3 else long, # noqa: F821 + 'float': float, + 'str': str, + 'bool': bool, + 'date': datetime.date, + 'datetime': datetime.datetime, + 'object': object, + } + + def __init__(self, configuration=None, header_name=None, header_value=None, + cookie=None): + if configuration is None: + configuration = Configuration() + self.configuration = configuration + + # Use the pool property to lazily initialize the ThreadPool. + self._pool = None + self.rest_client = rest.RESTClientObject(configuration) + self.default_headers = {} + if header_name is not None: + self.default_headers[header_name] = header_value + self.cookie = cookie + # Set default User-Agent. + self.user_agent = 'Swagger-Codegen/1.0.0/python' + + def __del__(self): + if self._pool is not None: + self._pool.close() + self._pool.join() + + @property + def pool(self): + if self._pool is None: + self._pool = ThreadPool() + return self._pool + + @property + def user_agent(self): + """User agent for this API client""" + return self.default_headers['User-Agent'] + + @user_agent.setter + def user_agent(self, value): + self.default_headers['User-Agent'] = value + + def set_default_header(self, header_name, header_value): + self.default_headers[header_name] = header_value + + def __call_api( + self, resource_path, method, path_params=None, + query_params=None, header_params=None, body=None, post_params=None, + files=None, response_type=None, auth_settings=None, + _return_http_data_only=None, collection_formats=None, + _preload_content=True, _request_timeout=None): + + config = self.configuration + + # header parameters + header_params = header_params or {} + header_params.update(self.default_headers) + if self.cookie: + header_params['Cookie'] = self.cookie + if header_params: + header_params = self.sanitize_for_serialization(header_params) + header_params = dict(self.parameters_to_tuples(header_params, + collection_formats)) + + # path parameters + if path_params: + path_params = self.sanitize_for_serialization(path_params) + path_params = self.parameters_to_tuples(path_params, + collection_formats) + for k, v in path_params: + # specified safe chars, encode everything + resource_path = resource_path.replace( + '{%s}' % k, + quote(str(v), safe=config.safe_chars_for_path_param) + ) + + # query parameters + if query_params: + query_params = self.sanitize_for_serialization(query_params) + query_params = self.parameters_to_tuples(query_params, + collection_formats) + + # post parameters + if post_params or files: + post_params = self.prepare_post_parameters(post_params, files) + post_params = self.sanitize_for_serialization(post_params) + post_params = self.parameters_to_tuples(post_params, + collection_formats) + + # auth setting + self.update_params_for_auth(header_params, query_params, auth_settings) + + # body + if body: + body = self.sanitize_for_serialization(body) + + # request url + url = self.configuration.host + resource_path + + # perform request and return response + response_data = self.request( + method, url, query_params=query_params, headers=header_params, + post_params=post_params, body=body, + _preload_content=_preload_content, + _request_timeout=_request_timeout) + + self.last_response = response_data + + return_data = response_data + if _preload_content: + # deserialize response data + if response_type: + return_data = self.deserialize(response_data, response_type) + else: + return_data = None + + if _return_http_data_only: + return (return_data) + else: + return (return_data, response_data.status, + response_data.getheaders()) + + def sanitize_for_serialization(self, obj): + """Builds a JSON POST object. + + If obj is None, return None. + If obj is str, int, long, float, bool, return directly. + If obj is datetime.datetime, datetime.date + convert to string in iso8601 format. + If obj is list, sanitize each element in the list. + If obj is dict, return the dict. + If obj is swagger model, return the properties dict. + + :param obj: The data to serialize. + :return: The serialized form of data. + """ + if obj is None: + return None + elif isinstance(obj, self.PRIMITIVE_TYPES): + return obj + elif isinstance(obj, list): + return [self.sanitize_for_serialization(sub_obj) + for sub_obj in obj] + elif isinstance(obj, tuple): + return tuple(self.sanitize_for_serialization(sub_obj) + for sub_obj in obj) + elif isinstance(obj, (datetime.datetime, datetime.date)): + return obj.isoformat() + + if isinstance(obj, dict): + obj_dict = obj + else: + # Convert model obj to dict except + # attributes `swagger_types`, `attribute_map` + # and attributes which value is not None. + # Convert attribute name to json key in + # model definition for request. + obj_dict = {obj.attribute_map[attr]: getattr(obj, attr) + for attr, _ in six.iteritems(obj.swagger_types) + if getattr(obj, attr) is not None} + + return {key: self.sanitize_for_serialization(val) + for key, val in six.iteritems(obj_dict)} + + def deserialize(self, response, response_type): + """Deserializes response into an object. + + :param response: RESTResponse object to be deserialized. + :param response_type: class literal for + deserialized object, or string of class name. + + :return: deserialized object. + """ + # handle file downloading + # save response body into a tmp file and return the instance + if response_type == "file": + return self.__deserialize_file(response) + + # fetch data from response object + try: + data = json.loads(response.data) + except ValueError: + data = response.data + + return self.__deserialize(data, response_type) + + def __deserialize(self, data, klass): + """Deserializes dict, list, str into an object. + + :param data: dict, list or str. + :param klass: class literal, or string of class name. + + :return: object. + """ + if data is None: + return None + + if type(klass) == str: + if klass.startswith('list['): + sub_kls = re.match(r'list\[(.*)\]', klass).group(1) + return [self.__deserialize(sub_data, sub_kls) + for sub_data in data] + + if klass.startswith('dict('): + sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2) + return {k: self.__deserialize(v, sub_kls) + for k, v in six.iteritems(data)} + + # convert str to class + if klass in self.NATIVE_TYPES_MAPPING: + klass = self.NATIVE_TYPES_MAPPING[klass] + else: + klass = getattr(flyteadmin.models, klass) + + if klass in self.PRIMITIVE_TYPES: + return self.__deserialize_primitive(data, klass) + elif klass == object: + return self.__deserialize_object(data) + elif klass == datetime.date: + return self.__deserialize_date(data) + elif klass == datetime.datetime: + return self.__deserialize_datatime(data) + else: + return self.__deserialize_model(data, klass) + + def call_api(self, resource_path, method, + path_params=None, query_params=None, header_params=None, + body=None, post_params=None, files=None, + response_type=None, auth_settings=None, async_req=None, + _return_http_data_only=None, collection_formats=None, + _preload_content=True, _request_timeout=None): + """Makes the HTTP request (synchronous) and returns deserialized data. + + To make an async request, set the async_req parameter. + + :param resource_path: Path to method endpoint. + :param method: Method to call. + :param path_params: Path parameters in the url. + :param query_params: Query parameters in the url. + :param header_params: Header parameters to be + placed in the request header. + :param body: Request body. + :param post_params dict: Request post form parameters, + for `application/x-www-form-urlencoded`, `multipart/form-data`. + :param auth_settings list: Auth Settings names for the request. + :param response: Response data type. + :param files dict: key -> filename, value -> filepath, + for `multipart/form-data`. + :param async_req bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :param collection_formats: dict of collection formats for path, query, + header, and post parameters. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: + If async_req parameter is True, + the request will be called asynchronously. + The method will return the request thread. + If parameter async_req is False or missing, + then the method will return the response directly. + """ + if not async_req: + return self.__call_api(resource_path, method, + path_params, query_params, header_params, + body, post_params, files, + response_type, auth_settings, + _return_http_data_only, collection_formats, + _preload_content, _request_timeout) + else: + thread = self.pool.apply_async(self.__call_api, (resource_path, + method, path_params, query_params, + header_params, body, + post_params, files, + response_type, auth_settings, + _return_http_data_only, + collection_formats, + _preload_content, _request_timeout)) + return thread + + def request(self, method, url, query_params=None, headers=None, + post_params=None, body=None, _preload_content=True, + _request_timeout=None): + """Makes the HTTP request using RESTClient.""" + if method == "GET": + return self.rest_client.GET(url, + query_params=query_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + headers=headers) + elif method == "HEAD": + return self.rest_client.HEAD(url, + query_params=query_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + headers=headers) + elif method == "OPTIONS": + return self.rest_client.OPTIONS(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "POST": + return self.rest_client.POST(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "PUT": + return self.rest_client.PUT(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "PATCH": + return self.rest_client.PATCH(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "DELETE": + return self.rest_client.DELETE(url, + query_params=query_params, + headers=headers, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + else: + raise ValueError( + "http method must be `GET`, `HEAD`, `OPTIONS`," + " `POST`, `PATCH`, `PUT` or `DELETE`." + ) + + def parameters_to_tuples(self, params, collection_formats): + """Get parameters as list of tuples, formatting collections. + + :param params: Parameters as dict or list of two-tuples + :param dict collection_formats: Parameter collection formats + :return: Parameters as list of tuples, collections formatted + """ + new_params = [] + if collection_formats is None: + collection_formats = {} + for k, v in six.iteritems(params) if isinstance(params, dict) else params: # noqa: E501 + if k in collection_formats: + collection_format = collection_formats[k] + if collection_format == 'multi': + new_params.extend((k, value) for value in v) + else: + if collection_format == 'ssv': + delimiter = ' ' + elif collection_format == 'tsv': + delimiter = '\t' + elif collection_format == 'pipes': + delimiter = '|' + else: # csv is the default + delimiter = ',' + new_params.append( + (k, delimiter.join(str(value) for value in v))) + else: + new_params.append((k, v)) + return new_params + + def prepare_post_parameters(self, post_params=None, files=None): + """Builds form parameters. + + :param post_params: Normal form parameters. + :param files: File parameters. + :return: Form parameters with files. + """ + params = [] + + if post_params: + params = post_params + + if files: + for k, v in six.iteritems(files): + if not v: + continue + file_names = v if type(v) is list else [v] + for n in file_names: + with open(n, 'rb') as f: + filename = os.path.basename(f.name) + filedata = f.read() + mimetype = (mimetypes.guess_type(filename)[0] or + 'application/octet-stream') + params.append( + tuple([k, tuple([filename, filedata, mimetype])])) + + return params + + def select_header_accept(self, accepts): + """Returns `Accept` based on an array of accepts provided. + + :param accepts: List of headers. + :return: Accept (e.g. application/json). + """ + if not accepts: + return + + accepts = [x.lower() for x in accepts] + + if 'application/json' in accepts: + return 'application/json' + else: + return ', '.join(accepts) + + def select_header_content_type(self, content_types): + """Returns `Content-Type` based on an array of content_types provided. + + :param content_types: List of content-types. + :return: Content-Type (e.g. application/json). + """ + if not content_types: + return 'application/json' + + content_types = [x.lower() for x in content_types] + + if 'application/json' in content_types or '*/*' in content_types: + return 'application/json' + else: + return content_types[0] + + def update_params_for_auth(self, headers, querys, auth_settings): + """Updates header and query params based on authentication setting. + + :param headers: Header parameters dict to be updated. + :param querys: Query parameters tuple list to be updated. + :param auth_settings: Authentication setting identifiers list. + """ + if not auth_settings: + return + + for auth in auth_settings: + auth_setting = self.configuration.auth_settings().get(auth) + if auth_setting: + if not auth_setting['value']: + continue + elif auth_setting['in'] == 'header': + headers[auth_setting['key']] = auth_setting['value'] + elif auth_setting['in'] == 'query': + querys.append((auth_setting['key'], auth_setting['value'])) + else: + raise ValueError( + 'Authentication token must be in `query` or `header`' + ) + + def __deserialize_file(self, response): + """Deserializes body to file + + Saves response body into a file in a temporary folder, + using the filename from the `Content-Disposition` header if provided. + + :param response: RESTResponse. + :return: file path. + """ + fd, path = tempfile.mkstemp(dir=self.configuration.temp_folder_path) + os.close(fd) + os.remove(path) + + content_disposition = response.getheader("Content-Disposition") + if content_disposition: + filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?', + content_disposition).group(1) + path = os.path.join(os.path.dirname(path), filename) + + with open(path, "wb") as f: + f.write(response.data) + + return path + + def __deserialize_primitive(self, data, klass): + """Deserializes string to primitive type. + + :param data: str. + :param klass: class literal. + + :return: int, long, float, str, bool. + """ + try: + return klass(data) + except UnicodeEncodeError: + return six.text_type(data) + except TypeError: + return data + + def __deserialize_object(self, value): + """Return a original value. + + :return: object. + """ + return value + + def __deserialize_date(self, string): + """Deserializes string to date. + + :param string: str. + :return: date. + """ + try: + from dateutil.parser import parse + return parse(string).date() + except ImportError: + return string + except ValueError: + raise rest.ApiException( + status=0, + reason="Failed to parse `{0}` as date object".format(string) + ) + + def __deserialize_datatime(self, string): + """Deserializes string to datetime. + + The string should be in iso8601 datetime format. + + :param string: str. + :return: datetime. + """ + try: + from dateutil.parser import parse + return parse(string) + except ImportError: + return string + except ValueError: + raise rest.ApiException( + status=0, + reason=( + "Failed to parse `{0}` as datetime object" + .format(string) + ) + ) + + def __hasattr(self, object, name): + return name in object.__class__.__dict__ + + def __deserialize_model(self, data, klass): + """Deserializes list or dict to model. + + :param data: dict, list. + :param klass: class literal. + :return: model object. + """ + + if (not klass.swagger_types and + not self.__hasattr(klass, 'get_real_child_model')): + return data + + kwargs = {} + if klass.swagger_types is not None: + for attr, attr_type in six.iteritems(klass.swagger_types): + if (data is not None and + klass.attribute_map[attr] in data and + isinstance(data, (list, dict))): + value = data[klass.attribute_map[attr]] + kwargs[attr] = self.__deserialize(value, attr_type) + + instance = klass(**kwargs) + + if (isinstance(instance, dict) and + klass.swagger_types is not None and + isinstance(data, dict)): + for key, value in data.items(): + if key not in klass.swagger_types: + instance[key] = value + if self.__hasattr(instance, 'get_real_child_model'): + klass_name = instance.get_real_child_model(data) + if klass_name: + instance = self.__deserialize(data, klass_name) + return instance diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/configuration.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/configuration.py new file mode 100644 index 000000000..e6773bd5f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/configuration.py @@ -0,0 +1,237 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import copy +import logging +import multiprocessing +import sys +import urllib3 + +import six +from six.moves import http_client as httplib + + +class Configuration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Ref: https://github.com/swagger-api/swagger-codegen + Do not edit the class manually. + """ + + _default = None + + def __init__(self): + """Constructor""" + if self._default: + for key in self._default.__dict__.keys(): + self.__dict__[key] = copy.copy(self._default.__dict__[key]) + return + + # Default Base url + self.host = "http://localhost" + # Temp file folder for downloading files + self.temp_folder_path = None + + # Authentication Settings + # dict to store API key(s) + self.api_key = {} + # dict to store API prefix (e.g. Bearer) + self.api_key_prefix = {} + # Username for HTTP basic authentication + self.username = "" + # Password for HTTP basic authentication + self.password = "" + + # Logging Settings + self.logger = {} + self.logger["package_logger"] = logging.getLogger("flyteadmin") + self.logger["urllib3_logger"] = logging.getLogger("urllib3") + # Log format + self.logger_format = '%(asctime)s %(levelname)s %(message)s' + # Log stream handler + self.logger_stream_handler = None + # Log file handler + self.logger_file_handler = None + # Debug file location + self.logger_file = None + # Debug switch + self.debug = False + + # SSL/TLS verification + # Set this to false to skip verifying SSL certificate when calling API + # from https server. + self.verify_ssl = True + # Set this to customize the certificate file to verify the peer. + self.ssl_ca_cert = None + # client certificate file + self.cert_file = None + # client key file + self.key_file = None + # Set this to True/False to enable/disable SSL hostname verification. + self.assert_hostname = None + + # urllib3 connection pool's maximum number of connections saved + # per pool. urllib3 uses 1 connection as default value, but this is + # not the best value when you are making a lot of possibly parallel + # requests to the same host, which is often the case here. + # cpu_count * 5 is used as default value to increase performance. + self.connection_pool_maxsize = multiprocessing.cpu_count() * 5 + + # Proxy URL + self.proxy = None + # Safe chars for path_param + self.safe_chars_for_path_param = '' + + @classmethod + def set_default(cls, default): + cls._default = default + + @property + def logger_file(self): + """The logger file. + + If the logger_file is None, then add stream handler and remove file + handler. Otherwise, add file handler and remove stream handler. + + :param value: The logger_file path. + :type: str + """ + return self.__logger_file + + @logger_file.setter + def logger_file(self, value): + """The logger file. + + If the logger_file is None, then add stream handler and remove file + handler. Otherwise, add file handler and remove stream handler. + + :param value: The logger_file path. + :type: str + """ + self.__logger_file = value + if self.__logger_file: + # If set logging file, + # then add file handler and remove stream handler. + self.logger_file_handler = logging.FileHandler(self.__logger_file) + self.logger_file_handler.setFormatter(self.logger_formatter) + for _, logger in six.iteritems(self.logger): + logger.addHandler(self.logger_file_handler) + if self.logger_stream_handler: + logger.removeHandler(self.logger_stream_handler) + else: + # If not set logging file, + # then add stream handler and remove file handler. + self.logger_stream_handler = logging.StreamHandler() + self.logger_stream_handler.setFormatter(self.logger_formatter) + for _, logger in six.iteritems(self.logger): + logger.addHandler(self.logger_stream_handler) + if self.logger_file_handler: + logger.removeHandler(self.logger_file_handler) + + @property + def debug(self): + """Debug status + + :param value: The debug status, True or False. + :type: bool + """ + return self.__debug + + @debug.setter + def debug(self, value): + """Debug status + + :param value: The debug status, True or False. + :type: bool + """ + self.__debug = value + if self.__debug: + # if debug status is True, turn on debug logging + for _, logger in six.iteritems(self.logger): + logger.setLevel(logging.DEBUG) + # turn on httplib debug + httplib.HTTPConnection.debuglevel = 1 + else: + # if debug status is False, turn off debug logging, + # setting log level to default `logging.WARNING` + for _, logger in six.iteritems(self.logger): + logger.setLevel(logging.WARNING) + # turn off httplib debug + httplib.HTTPConnection.debuglevel = 0 + + @property + def logger_format(self): + """The logger format. + + The logger_formatter will be updated when sets logger_format. + + :param value: The format string. + :type: str + """ + return self.__logger_format + + @logger_format.setter + def logger_format(self, value): + """The logger format. + + The logger_formatter will be updated when sets logger_format. + + :param value: The format string. + :type: str + """ + self.__logger_format = value + self.logger_formatter = logging.Formatter(self.__logger_format) + + def get_api_key_with_prefix(self, identifier): + """Gets API key (with prefix if set). + + :param identifier: The identifier of apiKey. + :return: The token for api key authentication. + """ + if (self.api_key.get(identifier) and + self.api_key_prefix.get(identifier)): + return self.api_key_prefix[identifier] + ' ' + self.api_key[identifier] # noqa: E501 + elif self.api_key.get(identifier): + return self.api_key[identifier] + + def get_basic_auth_token(self): + """Gets HTTP basic authentication header (string). + + :return: The token for basic HTTP authentication. + """ + return urllib3.util.make_headers( + basic_auth=self.username + ':' + self.password + ).get('authorization') + + def auth_settings(self): + """Gets Auth Settings dict for api client. + + :return: The Auth Settings information dict. + """ + return { + + } + + def to_debug_report(self): + """Gets the essential information for debugging. + + :return: The report for debugging. + """ + return "Python SDK Debug Report:\n"\ + "OS: {env}\n"\ + "Python Version: {pyversion}\n"\ + "Version of the API: version not set\n"\ + "SDK Package Version: 1.0.0".\ + format(env=sys.platform, pyversion=sys.version) diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py new file mode 100644 index 000000000..8a9b75041 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py @@ -0,0 +1,262 @@ +# coding: utf-8 + +# flake8: noqa +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +# import models into model package +from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata +from flyteadmin.models.admin_annotations import AdminAnnotations +from flyteadmin.models.admin_auth import AdminAuth +from flyteadmin.models.admin_auth_role import AdminAuthRole +from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment +from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes +from flyteadmin.models.admin_cron_schedule import AdminCronSchedule +from flyteadmin.models.admin_domain import AdminDomain +from flyteadmin.models.admin_email_notification import AdminEmailNotification +from flyteadmin.models.admin_execution import AdminExecution +from flyteadmin.models.admin_execution_closure import AdminExecutionClosure +from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel +from flyteadmin.models.admin_execution_create_request import AdminExecutionCreateRequest +from flyteadmin.models.admin_execution_create_response import AdminExecutionCreateResponse +from flyteadmin.models.admin_execution_list import AdminExecutionList +from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata +from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes +from flyteadmin.models.admin_execution_recover_request import AdminExecutionRecoverRequest +from flyteadmin.models.admin_execution_relaunch_request import AdminExecutionRelaunchRequest +from flyteadmin.models.admin_execution_spec import AdminExecutionSpec +from flyteadmin.models.admin_execution_state import AdminExecutionState +from flyteadmin.models.admin_execution_state_change_details import AdminExecutionStateChangeDetails +from flyteadmin.models.admin_execution_terminate_request import AdminExecutionTerminateRequest +from flyteadmin.models.admin_execution_terminate_response import AdminExecutionTerminateResponse +from flyteadmin.models.admin_execution_update_request import AdminExecutionUpdateRequest +from flyteadmin.models.admin_execution_update_response import AdminExecutionUpdateResponse +from flyteadmin.models.admin_fixed_rate import AdminFixedRate +from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit +from flyteadmin.models.admin_get_version_response import AdminGetVersionResponse +from flyteadmin.models.admin_labels import AdminLabels +from flyteadmin.models.admin_launch_plan import AdminLaunchPlan +from flyteadmin.models.admin_launch_plan_closure import AdminLaunchPlanClosure +from flyteadmin.models.admin_launch_plan_create_request import AdminLaunchPlanCreateRequest +from flyteadmin.models.admin_launch_plan_create_response import AdminLaunchPlanCreateResponse +from flyteadmin.models.admin_launch_plan_list import AdminLaunchPlanList +from flyteadmin.models.admin_launch_plan_metadata import AdminLaunchPlanMetadata +from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec +from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState +from flyteadmin.models.admin_launch_plan_update_request import AdminLaunchPlanUpdateRequest +from flyteadmin.models.admin_launch_plan_update_response import AdminLaunchPlanUpdateResponse +from flyteadmin.models.admin_list_matchable_attributes_response import AdminListMatchableAttributesResponse +from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob +from flyteadmin.models.admin_matchable_attributes_configuration import AdminMatchableAttributesConfiguration +from flyteadmin.models.admin_matchable_resource import AdminMatchableResource +from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes +from flyteadmin.models.admin_named_entity import AdminNamedEntity +from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier +from flyteadmin.models.admin_named_entity_identifier_list import AdminNamedEntityIdentifierList +from flyteadmin.models.admin_named_entity_list import AdminNamedEntityList +from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata +from flyteadmin.models.admin_named_entity_state import AdminNamedEntityState +from flyteadmin.models.admin_named_entity_update_request import AdminNamedEntityUpdateRequest +from flyteadmin.models.admin_named_entity_update_response import AdminNamedEntityUpdateResponse +from flyteadmin.models.admin_node_execution_closure import AdminNodeExecutionClosure +from flyteadmin.models.admin_node_execution_event_request import AdminNodeExecutionEventRequest +from flyteadmin.models.admin_node_execution_event_response import AdminNodeExecutionEventResponse +from flyteadmin.models.admin_node_execution_get_data_response import AdminNodeExecutionGetDataResponse +from flyteadmin.models.admin_node_execution_list import AdminNodeExecutionList +from flyteadmin.models.admin_node_execution_meta_data import AdminNodeExecutionMetaData +from flyteadmin.models.admin_notification import AdminNotification +from flyteadmin.models.admin_notification_list import AdminNotificationList +from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification +from flyteadmin.models.admin_plugin_override import AdminPluginOverride +from flyteadmin.models.admin_plugin_overrides import AdminPluginOverrides +from flyteadmin.models.admin_project import AdminProject +from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes +from flyteadmin.models.admin_project_domain_attributes_delete_request import AdminProjectDomainAttributesDeleteRequest +from flyteadmin.models.admin_project_domain_attributes_delete_response import AdminProjectDomainAttributesDeleteResponse +from flyteadmin.models.admin_project_domain_attributes_get_response import AdminProjectDomainAttributesGetResponse +from flyteadmin.models.admin_project_domain_attributes_update_request import AdminProjectDomainAttributesUpdateRequest +from flyteadmin.models.admin_project_domain_attributes_update_response import AdminProjectDomainAttributesUpdateResponse +from flyteadmin.models.admin_project_register_request import AdminProjectRegisterRequest +from flyteadmin.models.admin_project_register_response import AdminProjectRegisterResponse +from flyteadmin.models.admin_project_update_response import AdminProjectUpdateResponse +from flyteadmin.models.admin_projects import AdminProjects +from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig +from flyteadmin.models.admin_schedule import AdminSchedule +from flyteadmin.models.admin_slack_notification import AdminSlackNotification +from flyteadmin.models.admin_sort import AdminSort +from flyteadmin.models.admin_system_metadata import AdminSystemMetadata +from flyteadmin.models.admin_task import AdminTask +from flyteadmin.models.admin_task_closure import AdminTaskClosure +from flyteadmin.models.admin_task_create_request import AdminTaskCreateRequest +from flyteadmin.models.admin_task_create_response import AdminTaskCreateResponse +from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure +from flyteadmin.models.admin_task_execution_event_request import AdminTaskExecutionEventRequest +from flyteadmin.models.admin_task_execution_event_response import AdminTaskExecutionEventResponse +from flyteadmin.models.admin_task_execution_get_data_response import AdminTaskExecutionGetDataResponse +from flyteadmin.models.admin_task_execution_list import AdminTaskExecutionList +from flyteadmin.models.admin_task_list import AdminTaskList +from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes +from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec +from flyteadmin.models.admin_task_spec import AdminTaskSpec +from flyteadmin.models.admin_url_blob import AdminUrlBlob +from flyteadmin.models.admin_version import AdminVersion +from flyteadmin.models.admin_workflow import AdminWorkflow +from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes +from flyteadmin.models.admin_workflow_attributes_delete_request import AdminWorkflowAttributesDeleteRequest +from flyteadmin.models.admin_workflow_attributes_delete_response import AdminWorkflowAttributesDeleteResponse +from flyteadmin.models.admin_workflow_attributes_get_response import AdminWorkflowAttributesGetResponse +from flyteadmin.models.admin_workflow_attributes_update_request import AdminWorkflowAttributesUpdateRequest +from flyteadmin.models.admin_workflow_attributes_update_response import AdminWorkflowAttributesUpdateResponse +from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure +from flyteadmin.models.admin_workflow_create_request import AdminWorkflowCreateRequest +from flyteadmin.models.admin_workflow_create_response import AdminWorkflowCreateResponse +from flyteadmin.models.admin_workflow_execution_config import AdminWorkflowExecutionConfig +from flyteadmin.models.admin_workflow_execution_event_request import AdminWorkflowExecutionEventRequest +from flyteadmin.models.admin_workflow_execution_event_response import AdminWorkflowExecutionEventResponse +from flyteadmin.models.admin_workflow_execution_get_data_response import AdminWorkflowExecutionGetDataResponse +from flyteadmin.models.admin_workflow_list import AdminWorkflowList +from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec +from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality +from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus +from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator +from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator +from flyteadmin.models.connection_set_id_list import ConnectionSetIdList +from flyteadmin.models.container_architecture import ContainerArchitecture +from flyteadmin.models.core_alias import CoreAlias +from flyteadmin.models.core_binary import CoreBinary +from flyteadmin.models.core_binding import CoreBinding +from flyteadmin.models.core_binding_data import CoreBindingData +from flyteadmin.models.core_binding_data_collection import CoreBindingDataCollection +from flyteadmin.models.core_binding_data_map import CoreBindingDataMap +from flyteadmin.models.core_blob import CoreBlob +from flyteadmin.models.core_blob_metadata import CoreBlobMetadata +from flyteadmin.models.core_blob_type import CoreBlobType +from flyteadmin.models.core_boolean_expression import CoreBooleanExpression +from flyteadmin.models.core_branch_node import CoreBranchNode +from flyteadmin.models.core_catalog_artifact_tag import CoreCatalogArtifactTag +from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus +from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata +from flyteadmin.models.core_comparison_expression import CoreComparisonExpression +from flyteadmin.models.core_compiled_task import CoreCompiledTask +from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow +from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure +from flyteadmin.models.core_conjunction_expression import CoreConjunctionExpression +from flyteadmin.models.core_connection_set import CoreConnectionSet +from flyteadmin.models.core_container import CoreContainer +from flyteadmin.models.core_container_port import CoreContainerPort +from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig +from flyteadmin.models.core_enum_type import CoreEnumType +from flyteadmin.models.core_error import CoreError +from flyteadmin.models.core_execution_error import CoreExecutionError +from flyteadmin.models.core_io_strategy import CoreIOStrategy +from flyteadmin.models.core_identifier import CoreIdentifier +from flyteadmin.models.core_identity import CoreIdentity +from flyteadmin.models.core_if_block import CoreIfBlock +from flyteadmin.models.core_if_else_block import CoreIfElseBlock +from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata +from flyteadmin.models.core_k8s_pod import CoreK8sPod +from flyteadmin.models.core_key_value_pair import CoreKeyValuePair +from flyteadmin.models.core_literal import CoreLiteral +from flyteadmin.models.core_literal_collection import CoreLiteralCollection +from flyteadmin.models.core_literal_map import CoreLiteralMap +from flyteadmin.models.core_literal_type import CoreLiteralType +from flyteadmin.models.core_node import CoreNode +from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier +from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase +from flyteadmin.models.core_node_metadata import CoreNodeMetadata +from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client +from flyteadmin.models.core_o_auth2_token_request import CoreOAuth2TokenRequest +from flyteadmin.models.core_o_auth2_token_request_type import CoreOAuth2TokenRequestType +from flyteadmin.models.core_operand import CoreOperand +from flyteadmin.models.core_output_reference import CoreOutputReference +from flyteadmin.models.core_parameter import CoreParameter +from flyteadmin.models.core_parameter_map import CoreParameterMap +from flyteadmin.models.core_primitive import CorePrimitive +from flyteadmin.models.core_quality_of_service import CoreQualityOfService +from flyteadmin.models.core_quality_of_service_spec import CoreQualityOfServiceSpec +from flyteadmin.models.core_resource_type import CoreResourceType +from flyteadmin.models.core_resources import CoreResources +from flyteadmin.models.core_retry_strategy import CoreRetryStrategy +from flyteadmin.models.core_runtime_metadata import CoreRuntimeMetadata +from flyteadmin.models.core_scalar import CoreScalar +from flyteadmin.models.core_schema_type import CoreSchemaType +from flyteadmin.models.core_secret import CoreSecret +from flyteadmin.models.core_security_context import CoreSecurityContext +from flyteadmin.models.core_simple_type import CoreSimpleType +from flyteadmin.models.core_sql import CoreSql +from flyteadmin.models.core_structured_dataset import CoreStructuredDataset +from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata +from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType +from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier +from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase +from flyteadmin.models.core_task_log import CoreTaskLog +from flyteadmin.models.core_task_metadata import CoreTaskMetadata +from flyteadmin.models.core_task_node import CoreTaskNode +from flyteadmin.models.core_task_node_overrides import CoreTaskNodeOverrides +from flyteadmin.models.core_task_template import CoreTaskTemplate +from flyteadmin.models.core_type_annotation import CoreTypeAnnotation +from flyteadmin.models.core_type_structure import CoreTypeStructure +from flyteadmin.models.core_typed_interface import CoreTypedInterface +from flyteadmin.models.core_union import CoreUnion +from flyteadmin.models.core_union_info import CoreUnionInfo +from flyteadmin.models.core_union_type import CoreUnionType +from flyteadmin.models.core_variable import CoreVariable +from flyteadmin.models.core_variable_map import CoreVariableMap +from flyteadmin.models.core_void import CoreVoid +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier +from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase +from flyteadmin.models.core_workflow_metadata import CoreWorkflowMetadata +from flyteadmin.models.core_workflow_metadata_defaults import CoreWorkflowMetadataDefaults +from flyteadmin.models.core_workflow_node import CoreWorkflowNode +from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate +from flyteadmin.models.data_loading_config_literal_map_format import DataLoadingConfigLiteralMapFormat +from flyteadmin.models.event_external_resource_info import EventExternalResourceInfo +from flyteadmin.models.event_node_execution_event import EventNodeExecutionEvent +from flyteadmin.models.event_parent_node_execution_metadata import EventParentNodeExecutionMetadata +from flyteadmin.models.event_parent_task_execution_metadata import EventParentTaskExecutionMetadata +from flyteadmin.models.event_resource_pool_info import EventResourcePoolInfo +from flyteadmin.models.event_task_execution_event import EventTaskExecutionEvent +from flyteadmin.models.event_task_execution_metadata import EventTaskExecutionMetadata +from flyteadmin.models.event_workflow_execution_event import EventWorkflowExecutionEvent +from flyteadmin.models.execution_error_error_kind import ExecutionErrorErrorKind +from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode +from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata +from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution +from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution +from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata +from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata +from flyteadmin.models.flyteidlcore_schema import FlyteidlcoreSchema +from flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata import FlyteidleventDynamicWorkflowNodeMetadata +from flyteadmin.models.flyteidlevent_task_node_metadata import FlyteidleventTaskNodeMetadata +from flyteadmin.models.flyteidlevent_workflow_node_metadata import FlyteidleventWorkflowNodeMetadata +from flyteadmin.models.io_strategy_download_mode import IOStrategyDownloadMode +from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode +from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior +from flyteadmin.models.project_project_state import ProjectProjectState +from flyteadmin.models.protobuf_list_value import ProtobufListValue +from flyteadmin.models.protobuf_null_value import ProtobufNullValue +from flyteadmin.models.protobuf_struct import ProtobufStruct +from flyteadmin.models.protobuf_value import ProtobufValue +from flyteadmin.models.quality_of_service_tier import QualityOfServiceTier +from flyteadmin.models.resources_resource_entry import ResourcesResourceEntry +from flyteadmin.models.resources_resource_name import ResourcesResourceName +from flyteadmin.models.runtime_metadata_runtime_type import RuntimeMetadataRuntimeType +from flyteadmin.models.schema_column_schema_column_type import SchemaColumnSchemaColumnType +from flyteadmin.models.schema_type_schema_column import SchemaTypeSchemaColumn +from flyteadmin.models.secret_mount_type import SecretMountType +from flyteadmin.models.sort_direction import SortDirection +from flyteadmin.models.sql_dialect import SqlDialect +from flyteadmin.models.structured_dataset_type_dataset_column import StructuredDatasetTypeDatasetColumn +from flyteadmin.models.task_execution_metadata_instance_class import TaskExecutionMetadataInstanceClass +from flyteadmin.models.task_log_message_format import TaskLogMessageFormat +from flyteadmin.models.workflow_metadata_on_failure_policy import WorkflowMetadataOnFailurePolicy diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_abort_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_abort_metadata.py new file mode 100644 index 000000000..406ea9047 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_abort_metadata.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminAbortMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cause': 'str', + 'principal': 'str' + } + + attribute_map = { + 'cause': 'cause', + 'principal': 'principal' + } + + def __init__(self, cause=None, principal=None): # noqa: E501 + """AdminAbortMetadata - a model defined in Swagger""" # noqa: E501 + + self._cause = None + self._principal = None + self.discriminator = None + + if cause is not None: + self.cause = cause + if principal is not None: + self.principal = principal + + @property + def cause(self): + """Gets the cause of this AdminAbortMetadata. # noqa: E501 + + In the case of a user-specified abort, this will pass along the user-supplied cause. # noqa: E501 + + :return: The cause of this AdminAbortMetadata. # noqa: E501 + :rtype: str + """ + return self._cause + + @cause.setter + def cause(self, cause): + """Sets the cause of this AdminAbortMetadata. + + In the case of a user-specified abort, this will pass along the user-supplied cause. # noqa: E501 + + :param cause: The cause of this AdminAbortMetadata. # noqa: E501 + :type: str + """ + + self._cause = cause + + @property + def principal(self): + """Gets the principal of this AdminAbortMetadata. # noqa: E501 + + + :return: The principal of this AdminAbortMetadata. # noqa: E501 + :rtype: str + """ + return self._principal + + @principal.setter + def principal(self, principal): + """Sets the principal of this AdminAbortMetadata. + + + :param principal: The principal of this AdminAbortMetadata. # noqa: E501 + :type: str + """ + + self._principal = principal + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminAbortMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminAbortMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_annotations.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_annotations.py new file mode 100644 index 000000000..c0aeceade --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_annotations.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminAnnotations(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'values': 'dict(str, str)' + } + + attribute_map = { + 'values': 'values' + } + + def __init__(self, values=None): # noqa: E501 + """AdminAnnotations - a model defined in Swagger""" # noqa: E501 + + self._values = None + self.discriminator = None + + if values is not None: + self.values = values + + @property + def values(self): + """Gets the values of this AdminAnnotations. # noqa: E501 + + Map of custom annotations to be applied to the execution resource. # noqa: E501 + + :return: The values of this AdminAnnotations. # noqa: E501 + :rtype: dict(str, str) + """ + return self._values + + @values.setter + def values(self, values): + """Sets the values of this AdminAnnotations. + + Map of custom annotations to be applied to the execution resource. # noqa: E501 + + :param values: The values of this AdminAnnotations. # noqa: E501 + :type: dict(str, str) + """ + + self._values = values + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminAnnotations, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminAnnotations): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth.py new file mode 100644 index 000000000..a994ca210 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminAuth(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'assumable_iam_role': 'str', + 'kubernetes_service_account': 'str' + } + + attribute_map = { + 'assumable_iam_role': 'assumable_iam_role', + 'kubernetes_service_account': 'kubernetes_service_account' + } + + def __init__(self, assumable_iam_role=None, kubernetes_service_account=None): # noqa: E501 + """AdminAuth - a model defined in Swagger""" # noqa: E501 + + self._assumable_iam_role = None + self._kubernetes_service_account = None + self.discriminator = None + + if assumable_iam_role is not None: + self.assumable_iam_role = assumable_iam_role + if kubernetes_service_account is not None: + self.kubernetes_service_account = kubernetes_service_account + + @property + def assumable_iam_role(self): + """Gets the assumable_iam_role of this AdminAuth. # noqa: E501 + + Defines an optional iam role which will be used for tasks run in executions created with this launch plan. # noqa: E501 + + :return: The assumable_iam_role of this AdminAuth. # noqa: E501 + :rtype: str + """ + return self._assumable_iam_role + + @assumable_iam_role.setter + def assumable_iam_role(self, assumable_iam_role): + """Sets the assumable_iam_role of this AdminAuth. + + Defines an optional iam role which will be used for tasks run in executions created with this launch plan. # noqa: E501 + + :param assumable_iam_role: The assumable_iam_role of this AdminAuth. # noqa: E501 + :type: str + """ + + self._assumable_iam_role = assumable_iam_role + + @property + def kubernetes_service_account(self): + """Gets the kubernetes_service_account of this AdminAuth. # noqa: E501 + + Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. # noqa: E501 + + :return: The kubernetes_service_account of this AdminAuth. # noqa: E501 + :rtype: str + """ + return self._kubernetes_service_account + + @kubernetes_service_account.setter + def kubernetes_service_account(self, kubernetes_service_account): + """Sets the kubernetes_service_account of this AdminAuth. + + Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. # noqa: E501 + + :param kubernetes_service_account: The kubernetes_service_account of this AdminAuth. # noqa: E501 + :type: str + """ + + self._kubernetes_service_account = kubernetes_service_account + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminAuth, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminAuth): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth_role.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth_role.py new file mode 100644 index 000000000..2cfde51be --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth_role.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminAuthRole(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'assumable_iam_role': 'str', + 'kubernetes_service_account': 'str' + } + + attribute_map = { + 'assumable_iam_role': 'assumable_iam_role', + 'kubernetes_service_account': 'kubernetes_service_account' + } + + def __init__(self, assumable_iam_role=None, kubernetes_service_account=None): # noqa: E501 + """AdminAuthRole - a model defined in Swagger""" # noqa: E501 + + self._assumable_iam_role = None + self._kubernetes_service_account = None + self.discriminator = None + + if assumable_iam_role is not None: + self.assumable_iam_role = assumable_iam_role + if kubernetes_service_account is not None: + self.kubernetes_service_account = kubernetes_service_account + + @property + def assumable_iam_role(self): + """Gets the assumable_iam_role of this AdminAuthRole. # noqa: E501 + + Defines an optional iam role which will be used for tasks run in executions created with this launch plan. # noqa: E501 + + :return: The assumable_iam_role of this AdminAuthRole. # noqa: E501 + :rtype: str + """ + return self._assumable_iam_role + + @assumable_iam_role.setter + def assumable_iam_role(self, assumable_iam_role): + """Sets the assumable_iam_role of this AdminAuthRole. + + Defines an optional iam role which will be used for tasks run in executions created with this launch plan. # noqa: E501 + + :param assumable_iam_role: The assumable_iam_role of this AdminAuthRole. # noqa: E501 + :type: str + """ + + self._assumable_iam_role = assumable_iam_role + + @property + def kubernetes_service_account(self): + """Gets the kubernetes_service_account of this AdminAuthRole. # noqa: E501 + + Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. # noqa: E501 + + :return: The kubernetes_service_account of this AdminAuthRole. # noqa: E501 + :rtype: str + """ + return self._kubernetes_service_account + + @kubernetes_service_account.setter + def kubernetes_service_account(self, kubernetes_service_account): + """Sets the kubernetes_service_account of this AdminAuthRole. + + Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. # noqa: E501 + + :param kubernetes_service_account: The kubernetes_service_account of this AdminAuthRole. # noqa: E501 + :type: str + """ + + self._kubernetes_service_account = kubernetes_service_account + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminAuthRole, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminAuthRole): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py new file mode 100644 index 000000000..15f5fd96f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminClusterAssignment(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cluster_pool_name': 'str' + } + + attribute_map = { + 'cluster_pool_name': 'cluster_pool_name' + } + + def __init__(self, cluster_pool_name=None): # noqa: E501 + """AdminClusterAssignment - a model defined in Swagger""" # noqa: E501 + + self._cluster_pool_name = None + self.discriminator = None + + if cluster_pool_name is not None: + self.cluster_pool_name = cluster_pool_name + + @property + def cluster_pool_name(self): + """Gets the cluster_pool_name of this AdminClusterAssignment. # noqa: E501 + + + :return: The cluster_pool_name of this AdminClusterAssignment. # noqa: E501 + :rtype: str + """ + return self._cluster_pool_name + + @cluster_pool_name.setter + def cluster_pool_name(self, cluster_pool_name): + """Sets the cluster_pool_name of this AdminClusterAssignment. + + + :param cluster_pool_name: The cluster_pool_name of this AdminClusterAssignment. # noqa: E501 + :type: str + """ + + self._cluster_pool_name = cluster_pool_name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminClusterAssignment, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminClusterAssignment): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py new file mode 100644 index 000000000..8b9627b37 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminClusterResourceAttributes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attributes': 'dict(str, str)' + } + + attribute_map = { + 'attributes': 'attributes' + } + + def __init__(self, attributes=None): # noqa: E501 + """AdminClusterResourceAttributes - a model defined in Swagger""" # noqa: E501 + + self._attributes = None + self.discriminator = None + + if attributes is not None: + self.attributes = attributes + + @property + def attributes(self): + """Gets the attributes of this AdminClusterResourceAttributes. # noqa: E501 + + Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. # noqa: E501 + + :return: The attributes of this AdminClusterResourceAttributes. # noqa: E501 + :rtype: dict(str, str) + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this AdminClusterResourceAttributes. + + Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. # noqa: E501 + + :param attributes: The attributes of this AdminClusterResourceAttributes. # noqa: E501 + :type: dict(str, str) + """ + + self._attributes = attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminClusterResourceAttributes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminClusterResourceAttributes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cron_schedule.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cron_schedule.py new file mode 100644 index 000000000..7f86dcaaf --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cron_schedule.py @@ -0,0 +1,141 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminCronSchedule(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'schedule': 'str', + 'offset': 'str' + } + + attribute_map = { + 'schedule': 'schedule', + 'offset': 'offset' + } + + def __init__(self, schedule=None, offset=None): # noqa: E501 + """AdminCronSchedule - a model defined in Swagger""" # noqa: E501 + + self._schedule = None + self._offset = None + self.discriminator = None + + if schedule is not None: + self.schedule = schedule + if offset is not None: + self.offset = offset + + @property + def schedule(self): + """Gets the schedule of this AdminCronSchedule. # noqa: E501 + + + :return: The schedule of this AdminCronSchedule. # noqa: E501 + :rtype: str + """ + return self._schedule + + @schedule.setter + def schedule(self, schedule): + """Sets the schedule of this AdminCronSchedule. + + + :param schedule: The schedule of this AdminCronSchedule. # noqa: E501 + :type: str + """ + + self._schedule = schedule + + @property + def offset(self): + """Gets the offset of this AdminCronSchedule. # noqa: E501 + + + :return: The offset of this AdminCronSchedule. # noqa: E501 + :rtype: str + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this AdminCronSchedule. + + + :param offset: The offset of this AdminCronSchedule. # noqa: E501 + :type: str + """ + + self._offset = offset + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminCronSchedule, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminCronSchedule): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_domain.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_domain.py new file mode 100644 index 000000000..9c500ee74 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_domain.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminDomain(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'str', + 'name': 'str' + } + + attribute_map = { + 'id': 'id', + 'name': 'name' + } + + def __init__(self, id=None, name=None): # noqa: E501 + """AdminDomain - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._name = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + + @property + def id(self): + """Gets the id of this AdminDomain. # noqa: E501 + + Globally unique domain name. # noqa: E501 + + :return: The id of this AdminDomain. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminDomain. + + Globally unique domain name. # noqa: E501 + + :param id: The id of this AdminDomain. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def name(self): + """Gets the name of this AdminDomain. # noqa: E501 + + Display name. # noqa: E501 + + :return: The name of this AdminDomain. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this AdminDomain. + + Display name. # noqa: E501 + + :param name: The name of this AdminDomain. # noqa: E501 + :type: str + """ + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminDomain, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminDomain): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_email_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_email_notification.py new file mode 100644 index 000000000..f97f62665 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_email_notification.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminEmailNotification(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'recipients_email': 'list[str]' + } + + attribute_map = { + 'recipients_email': 'recipients_email' + } + + def __init__(self, recipients_email=None): # noqa: E501 + """AdminEmailNotification - a model defined in Swagger""" # noqa: E501 + + self._recipients_email = None + self.discriminator = None + + if recipients_email is not None: + self.recipients_email = recipients_email + + @property + def recipients_email(self): + """Gets the recipients_email of this AdminEmailNotification. # noqa: E501 + + + :return: The recipients_email of this AdminEmailNotification. # noqa: E501 + :rtype: list[str] + """ + return self._recipients_email + + @recipients_email.setter + def recipients_email(self, recipients_email): + """Sets the recipients_email of this AdminEmailNotification. + + + :param recipients_email: The recipients_email of this AdminEmailNotification. # noqa: E501 + :type: list[str] + """ + + self._recipients_email = recipients_email + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminEmailNotification, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminEmailNotification): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution.py new file mode 100644 index 000000000..1de4f19d9 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_execution_closure import AdminExecutionClosure # noqa: F401,E501 +from flyteadmin.models.admin_execution_spec import AdminExecutionSpec # noqa: F401,E501 +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 + + +class AdminExecution(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreWorkflowExecutionIdentifier', + 'spec': 'AdminExecutionSpec', + 'closure': 'AdminExecutionClosure' + } + + attribute_map = { + 'id': 'id', + 'spec': 'spec', + 'closure': 'closure' + } + + def __init__(self, id=None, spec=None, closure=None): # noqa: E501 + """AdminExecution - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._spec = None + self._closure = None + self.discriminator = None + + if id is not None: + self.id = id + if spec is not None: + self.spec = spec + if closure is not None: + self.closure = closure + + @property + def id(self): + """Gets the id of this AdminExecution. # noqa: E501 + + Unique identifier of the workflow execution. # noqa: E501 + + :return: The id of this AdminExecution. # noqa: E501 + :rtype: CoreWorkflowExecutionIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminExecution. + + Unique identifier of the workflow execution. # noqa: E501 + + :param id: The id of this AdminExecution. # noqa: E501 + :type: CoreWorkflowExecutionIdentifier + """ + + self._id = id + + @property + def spec(self): + """Gets the spec of this AdminExecution. # noqa: E501 + + User-provided configuration and inputs for launching the execution. # noqa: E501 + + :return: The spec of this AdminExecution. # noqa: E501 + :rtype: AdminExecutionSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this AdminExecution. + + User-provided configuration and inputs for launching the execution. # noqa: E501 + + :param spec: The spec of this AdminExecution. # noqa: E501 + :type: AdminExecutionSpec + """ + + self._spec = spec + + @property + def closure(self): + """Gets the closure of this AdminExecution. # noqa: E501 + + Execution results. # noqa: E501 + + :return: The closure of this AdminExecution. # noqa: E501 + :rtype: AdminExecutionClosure + """ + return self._closure + + @closure.setter + def closure(self, closure): + """Sets the closure of this AdminExecution. + + Execution results. # noqa: E501 + + :param closure: The closure of this AdminExecution. # noqa: E501 + :type: AdminExecutionClosure + """ + + self._closure = closure + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecution, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecution): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_closure.py new file mode 100644 index 000000000..a08f3ca1d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_closure.py @@ -0,0 +1,486 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata # noqa: F401,E501 +from flyteadmin.models.admin_execution_state_change_details import AdminExecutionStateChangeDetails # noqa: F401,E501 +from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob # noqa: F401,E501 +from flyteadmin.models.admin_notification import AdminNotification # noqa: F401,E501 +from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 +from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase # noqa: F401,E501 + + +class AdminExecutionClosure(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'outputs': 'AdminLiteralMapBlob', + 'error': 'CoreExecutionError', + 'abort_cause': 'str', + 'abort_metadata': 'AdminAbortMetadata', + 'output_data': 'CoreLiteralMap', + 'computed_inputs': 'CoreLiteralMap', + 'phase': 'CoreWorkflowExecutionPhase', + 'started_at': 'datetime', + 'duration': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', + 'notifications': 'list[AdminNotification]', + 'workflow_id': 'CoreIdentifier', + 'state_change_details': 'AdminExecutionStateChangeDetails' + } + + attribute_map = { + 'outputs': 'outputs', + 'error': 'error', + 'abort_cause': 'abort_cause', + 'abort_metadata': 'abort_metadata', + 'output_data': 'output_data', + 'computed_inputs': 'computed_inputs', + 'phase': 'phase', + 'started_at': 'started_at', + 'duration': 'duration', + 'created_at': 'created_at', + 'updated_at': 'updated_at', + 'notifications': 'notifications', + 'workflow_id': 'workflow_id', + 'state_change_details': 'state_change_details' + } + + def __init__(self, outputs=None, error=None, abort_cause=None, abort_metadata=None, output_data=None, computed_inputs=None, phase=None, started_at=None, duration=None, created_at=None, updated_at=None, notifications=None, workflow_id=None, state_change_details=None): # noqa: E501 + """AdminExecutionClosure - a model defined in Swagger""" # noqa: E501 + + self._outputs = None + self._error = None + self._abort_cause = None + self._abort_metadata = None + self._output_data = None + self._computed_inputs = None + self._phase = None + self._started_at = None + self._duration = None + self._created_at = None + self._updated_at = None + self._notifications = None + self._workflow_id = None + self._state_change_details = None + self.discriminator = None + + if outputs is not None: + self.outputs = outputs + if error is not None: + self.error = error + if abort_cause is not None: + self.abort_cause = abort_cause + if abort_metadata is not None: + self.abort_metadata = abort_metadata + if output_data is not None: + self.output_data = output_data + if computed_inputs is not None: + self.computed_inputs = computed_inputs + if phase is not None: + self.phase = phase + if started_at is not None: + self.started_at = started_at + if duration is not None: + self.duration = duration + if created_at is not None: + self.created_at = created_at + if updated_at is not None: + self.updated_at = updated_at + if notifications is not None: + self.notifications = notifications + if workflow_id is not None: + self.workflow_id = workflow_id + if state_change_details is not None: + self.state_change_details = state_change_details + + @property + def outputs(self): + """Gets the outputs of this AdminExecutionClosure. # noqa: E501 + + Output URI in the case of a successful execution. DEPRECATED. Use GetExecutionData to fetch output data instead. # noqa: E501 + + :return: The outputs of this AdminExecutionClosure. # noqa: E501 + :rtype: AdminLiteralMapBlob + """ + return self._outputs + + @outputs.setter + def outputs(self, outputs): + """Sets the outputs of this AdminExecutionClosure. + + Output URI in the case of a successful execution. DEPRECATED. Use GetExecutionData to fetch output data instead. # noqa: E501 + + :param outputs: The outputs of this AdminExecutionClosure. # noqa: E501 + :type: AdminLiteralMapBlob + """ + + self._outputs = outputs + + @property + def error(self): + """Gets the error of this AdminExecutionClosure. # noqa: E501 + + Error information in the case of a failed execution. # noqa: E501 + + :return: The error of this AdminExecutionClosure. # noqa: E501 + :rtype: CoreExecutionError + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this AdminExecutionClosure. + + Error information in the case of a failed execution. # noqa: E501 + + :param error: The error of this AdminExecutionClosure. # noqa: E501 + :type: CoreExecutionError + """ + + self._error = error + + @property + def abort_cause(self): + """Gets the abort_cause of this AdminExecutionClosure. # noqa: E501 + + In the case of a user-specified abort, this will pass along the user-supplied cause. # noqa: E501 + + :return: The abort_cause of this AdminExecutionClosure. # noqa: E501 + :rtype: str + """ + return self._abort_cause + + @abort_cause.setter + def abort_cause(self, abort_cause): + """Sets the abort_cause of this AdminExecutionClosure. + + In the case of a user-specified abort, this will pass along the user-supplied cause. # noqa: E501 + + :param abort_cause: The abort_cause of this AdminExecutionClosure. # noqa: E501 + :type: str + """ + + self._abort_cause = abort_cause + + @property + def abort_metadata(self): + """Gets the abort_metadata of this AdminExecutionClosure. # noqa: E501 + + In the case of a user-specified abort, this will pass along the user and their supplied cause. # noqa: E501 + + :return: The abort_metadata of this AdminExecutionClosure. # noqa: E501 + :rtype: AdminAbortMetadata + """ + return self._abort_metadata + + @abort_metadata.setter + def abort_metadata(self, abort_metadata): + """Sets the abort_metadata of this AdminExecutionClosure. + + In the case of a user-specified abort, this will pass along the user and their supplied cause. # noqa: E501 + + :param abort_metadata: The abort_metadata of this AdminExecutionClosure. # noqa: E501 + :type: AdminAbortMetadata + """ + + self._abort_metadata = abort_metadata + + @property + def output_data(self): + """Gets the output_data of this AdminExecutionClosure. # noqa: E501 + + Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead. # noqa: E501 + + :return: The output_data of this AdminExecutionClosure. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._output_data + + @output_data.setter + def output_data(self, output_data): + """Sets the output_data of this AdminExecutionClosure. + + Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead. # noqa: E501 + + :param output_data: The output_data of this AdminExecutionClosure. # noqa: E501 + :type: CoreLiteralMap + """ + + self._output_data = output_data + + @property + def computed_inputs(self): + """Gets the computed_inputs of this AdminExecutionClosure. # noqa: E501 + + + :return: The computed_inputs of this AdminExecutionClosure. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._computed_inputs + + @computed_inputs.setter + def computed_inputs(self, computed_inputs): + """Sets the computed_inputs of this AdminExecutionClosure. + + + :param computed_inputs: The computed_inputs of this AdminExecutionClosure. # noqa: E501 + :type: CoreLiteralMap + """ + + self._computed_inputs = computed_inputs + + @property + def phase(self): + """Gets the phase of this AdminExecutionClosure. # noqa: E501 + + Most recent recorded phase for the execution. # noqa: E501 + + :return: The phase of this AdminExecutionClosure. # noqa: E501 + :rtype: CoreWorkflowExecutionPhase + """ + return self._phase + + @phase.setter + def phase(self, phase): + """Sets the phase of this AdminExecutionClosure. + + Most recent recorded phase for the execution. # noqa: E501 + + :param phase: The phase of this AdminExecutionClosure. # noqa: E501 + :type: CoreWorkflowExecutionPhase + """ + + self._phase = phase + + @property + def started_at(self): + """Gets the started_at of this AdminExecutionClosure. # noqa: E501 + + Reported time at which the execution began running. # noqa: E501 + + :return: The started_at of this AdminExecutionClosure. # noqa: E501 + :rtype: datetime + """ + return self._started_at + + @started_at.setter + def started_at(self, started_at): + """Sets the started_at of this AdminExecutionClosure. + + Reported time at which the execution began running. # noqa: E501 + + :param started_at: The started_at of this AdminExecutionClosure. # noqa: E501 + :type: datetime + """ + + self._started_at = started_at + + @property + def duration(self): + """Gets the duration of this AdminExecutionClosure. # noqa: E501 + + The amount of time the execution spent running. # noqa: E501 + + :return: The duration of this AdminExecutionClosure. # noqa: E501 + :rtype: str + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this AdminExecutionClosure. + + The amount of time the execution spent running. # noqa: E501 + + :param duration: The duration of this AdminExecutionClosure. # noqa: E501 + :type: str + """ + + self._duration = duration + + @property + def created_at(self): + """Gets the created_at of this AdminExecutionClosure. # noqa: E501 + + Reported time at which the execution was created. # noqa: E501 + + :return: The created_at of this AdminExecutionClosure. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this AdminExecutionClosure. + + Reported time at which the execution was created. # noqa: E501 + + :param created_at: The created_at of this AdminExecutionClosure. # noqa: E501 + :type: datetime + """ + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this AdminExecutionClosure. # noqa: E501 + + Reported time at which the execution was last updated. # noqa: E501 + + :return: The updated_at of this AdminExecutionClosure. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this AdminExecutionClosure. + + Reported time at which the execution was last updated. # noqa: E501 + + :param updated_at: The updated_at of this AdminExecutionClosure. # noqa: E501 + :type: datetime + """ + + self._updated_at = updated_at + + @property + def notifications(self): + """Gets the notifications of this AdminExecutionClosure. # noqa: E501 + + The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan. # noqa: E501 + + :return: The notifications of this AdminExecutionClosure. # noqa: E501 + :rtype: list[AdminNotification] + """ + return self._notifications + + @notifications.setter + def notifications(self, notifications): + """Sets the notifications of this AdminExecutionClosure. + + The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan. # noqa: E501 + + :param notifications: The notifications of this AdminExecutionClosure. # noqa: E501 + :type: list[AdminNotification] + """ + + self._notifications = notifications + + @property + def workflow_id(self): + """Gets the workflow_id of this AdminExecutionClosure. # noqa: E501 + + Identifies the workflow definition for this execution. # noqa: E501 + + :return: The workflow_id of this AdminExecutionClosure. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._workflow_id + + @workflow_id.setter + def workflow_id(self, workflow_id): + """Sets the workflow_id of this AdminExecutionClosure. + + Identifies the workflow definition for this execution. # noqa: E501 + + :param workflow_id: The workflow_id of this AdminExecutionClosure. # noqa: E501 + :type: CoreIdentifier + """ + + self._workflow_id = workflow_id + + @property + def state_change_details(self): + """Gets the state_change_details of this AdminExecutionClosure. # noqa: E501 + + + :return: The state_change_details of this AdminExecutionClosure. # noqa: E501 + :rtype: AdminExecutionStateChangeDetails + """ + return self._state_change_details + + @state_change_details.setter + def state_change_details(self, state_change_details): + """Sets the state_change_details of this AdminExecutionClosure. + + + :param state_change_details: The state_change_details of this AdminExecutionClosure. # noqa: E501 + :type: AdminExecutionStateChangeDetails + """ + + self._state_change_details = state_change_details + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionClosure, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionClosure): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_cluster_label.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_cluster_label.py new file mode 100644 index 000000000..974d71ed6 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_cluster_label.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminExecutionClusterLabel(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'value': 'str' + } + + attribute_map = { + 'value': 'value' + } + + def __init__(self, value=None): # noqa: E501 + """AdminExecutionClusterLabel - a model defined in Swagger""" # noqa: E501 + + self._value = None + self.discriminator = None + + if value is not None: + self.value = value + + @property + def value(self): + """Gets the value of this AdminExecutionClusterLabel. # noqa: E501 + + + :return: The value of this AdminExecutionClusterLabel. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this AdminExecutionClusterLabel. + + + :param value: The value of this AdminExecutionClusterLabel. # noqa: E501 + :type: str + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionClusterLabel, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionClusterLabel): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_request.py new file mode 100644 index 000000000..5c5373a88 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_request.py @@ -0,0 +1,222 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_execution_spec import AdminExecutionSpec # noqa: F401,E501 +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 + + +class AdminExecutionCreateRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'project': 'str', + 'domain': 'str', + 'name': 'str', + 'spec': 'AdminExecutionSpec', + 'inputs': 'CoreLiteralMap' + } + + attribute_map = { + 'project': 'project', + 'domain': 'domain', + 'name': 'name', + 'spec': 'spec', + 'inputs': 'inputs' + } + + def __init__(self, project=None, domain=None, name=None, spec=None, inputs=None): # noqa: E501 + """AdminExecutionCreateRequest - a model defined in Swagger""" # noqa: E501 + + self._project = None + self._domain = None + self._name = None + self._spec = None + self._inputs = None + self.discriminator = None + + if project is not None: + self.project = project + if domain is not None: + self.domain = domain + if name is not None: + self.name = name + if spec is not None: + self.spec = spec + if inputs is not None: + self.inputs = inputs + + @property + def project(self): + """Gets the project of this AdminExecutionCreateRequest. # noqa: E501 + + + :return: The project of this AdminExecutionCreateRequest. # noqa: E501 + :rtype: str + """ + return self._project + + @project.setter + def project(self, project): + """Sets the project of this AdminExecutionCreateRequest. + + + :param project: The project of this AdminExecutionCreateRequest. # noqa: E501 + :type: str + """ + + self._project = project + + @property + def domain(self): + """Gets the domain of this AdminExecutionCreateRequest. # noqa: E501 + + + :return: The domain of this AdminExecutionCreateRequest. # noqa: E501 + :rtype: str + """ + return self._domain + + @domain.setter + def domain(self, domain): + """Sets the domain of this AdminExecutionCreateRequest. + + + :param domain: The domain of this AdminExecutionCreateRequest. # noqa: E501 + :type: str + """ + + self._domain = domain + + @property + def name(self): + """Gets the name of this AdminExecutionCreateRequest. # noqa: E501 + + + :return: The name of this AdminExecutionCreateRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this AdminExecutionCreateRequest. + + + :param name: The name of this AdminExecutionCreateRequest. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def spec(self): + """Gets the spec of this AdminExecutionCreateRequest. # noqa: E501 + + + :return: The spec of this AdminExecutionCreateRequest. # noqa: E501 + :rtype: AdminExecutionSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this AdminExecutionCreateRequest. + + + :param spec: The spec of this AdminExecutionCreateRequest. # noqa: E501 + :type: AdminExecutionSpec + """ + + self._spec = spec + + @property + def inputs(self): + """Gets the inputs of this AdminExecutionCreateRequest. # noqa: E501 + + + :return: The inputs of this AdminExecutionCreateRequest. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._inputs + + @inputs.setter + def inputs(self, inputs): + """Sets the inputs of this AdminExecutionCreateRequest. + + + :param inputs: The inputs of this AdminExecutionCreateRequest. # noqa: E501 + :type: CoreLiteralMap + """ + + self._inputs = inputs + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionCreateRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionCreateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_response.py new file mode 100644 index 000000000..664459cde --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_response.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 + + +class AdminExecutionCreateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreWorkflowExecutionIdentifier' + } + + attribute_map = { + 'id': 'id' + } + + def __init__(self, id=None): # noqa: E501 + """AdminExecutionCreateResponse - a model defined in Swagger""" # noqa: E501 + + self._id = None + self.discriminator = None + + if id is not None: + self.id = id + + @property + def id(self): + """Gets the id of this AdminExecutionCreateResponse. # noqa: E501 + + + :return: The id of this AdminExecutionCreateResponse. # noqa: E501 + :rtype: CoreWorkflowExecutionIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminExecutionCreateResponse. + + + :param id: The id of this AdminExecutionCreateResponse. # noqa: E501 + :type: CoreWorkflowExecutionIdentifier + """ + + self._id = id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionCreateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionCreateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_list.py new file mode 100644 index 000000000..3821efb2f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_list.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_execution import AdminExecution # noqa: F401,E501 + + +class AdminExecutionList(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'executions': 'list[AdminExecution]', + 'token': 'str' + } + + attribute_map = { + 'executions': 'executions', + 'token': 'token' + } + + def __init__(self, executions=None, token=None): # noqa: E501 + """AdminExecutionList - a model defined in Swagger""" # noqa: E501 + + self._executions = None + self._token = None + self.discriminator = None + + if executions is not None: + self.executions = executions + if token is not None: + self.token = token + + @property + def executions(self): + """Gets the executions of this AdminExecutionList. # noqa: E501 + + + :return: The executions of this AdminExecutionList. # noqa: E501 + :rtype: list[AdminExecution] + """ + return self._executions + + @executions.setter + def executions(self, executions): + """Sets the executions of this AdminExecutionList. + + + :param executions: The executions of this AdminExecutionList. # noqa: E501 + :type: list[AdminExecution] + """ + + self._executions = executions + + @property + def token(self): + """Gets the token of this AdminExecutionList. # noqa: E501 + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :return: The token of this AdminExecutionList. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this AdminExecutionList. + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :param token: The token of this AdminExecutionList. # noqa: E501 + :type: str + """ + + self._token = token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionList, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py new file mode 100644 index 000000000..7deb9f109 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py @@ -0,0 +1,286 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_system_metadata import AdminSystemMetadata # noqa: F401,E501 +from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 +from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode # noqa: F401,E501 + + +class AdminExecutionMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'mode': 'ExecutionMetadataExecutionMode', + 'principal': 'str', + 'nesting': 'int', + 'scheduled_at': 'datetime', + 'parent_node_execution': 'CoreNodeExecutionIdentifier', + 'reference_execution': 'CoreWorkflowExecutionIdentifier', + 'system_metadata': 'AdminSystemMetadata' + } + + attribute_map = { + 'mode': 'mode', + 'principal': 'principal', + 'nesting': 'nesting', + 'scheduled_at': 'scheduled_at', + 'parent_node_execution': 'parent_node_execution', + 'reference_execution': 'reference_execution', + 'system_metadata': 'system_metadata' + } + + def __init__(self, mode=None, principal=None, nesting=None, scheduled_at=None, parent_node_execution=None, reference_execution=None, system_metadata=None): # noqa: E501 + """AdminExecutionMetadata - a model defined in Swagger""" # noqa: E501 + + self._mode = None + self._principal = None + self._nesting = None + self._scheduled_at = None + self._parent_node_execution = None + self._reference_execution = None + self._system_metadata = None + self.discriminator = None + + if mode is not None: + self.mode = mode + if principal is not None: + self.principal = principal + if nesting is not None: + self.nesting = nesting + if scheduled_at is not None: + self.scheduled_at = scheduled_at + if parent_node_execution is not None: + self.parent_node_execution = parent_node_execution + if reference_execution is not None: + self.reference_execution = reference_execution + if system_metadata is not None: + self.system_metadata = system_metadata + + @property + def mode(self): + """Gets the mode of this AdminExecutionMetadata. # noqa: E501 + + + :return: The mode of this AdminExecutionMetadata. # noqa: E501 + :rtype: ExecutionMetadataExecutionMode + """ + return self._mode + + @mode.setter + def mode(self, mode): + """Sets the mode of this AdminExecutionMetadata. + + + :param mode: The mode of this AdminExecutionMetadata. # noqa: E501 + :type: ExecutionMetadataExecutionMode + """ + + self._mode = mode + + @property + def principal(self): + """Gets the principal of this AdminExecutionMetadata. # noqa: E501 + + Identifier of the entity that triggered this execution. For systems using back-end authentication any value set here will be discarded in favor of the authenticated user context. # noqa: E501 + + :return: The principal of this AdminExecutionMetadata. # noqa: E501 + :rtype: str + """ + return self._principal + + @principal.setter + def principal(self, principal): + """Sets the principal of this AdminExecutionMetadata. + + Identifier of the entity that triggered this execution. For systems using back-end authentication any value set here will be discarded in favor of the authenticated user context. # noqa: E501 + + :param principal: The principal of this AdminExecutionMetadata. # noqa: E501 + :type: str + """ + + self._principal = principal + + @property + def nesting(self): + """Gets the nesting of this AdminExecutionMetadata. # noqa: E501 + + Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1. # noqa: E501 + + :return: The nesting of this AdminExecutionMetadata. # noqa: E501 + :rtype: int + """ + return self._nesting + + @nesting.setter + def nesting(self, nesting): + """Sets the nesting of this AdminExecutionMetadata. + + Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1. # noqa: E501 + + :param nesting: The nesting of this AdminExecutionMetadata. # noqa: E501 + :type: int + """ + + self._nesting = nesting + + @property + def scheduled_at(self): + """Gets the scheduled_at of this AdminExecutionMetadata. # noqa: E501 + + For scheduled executions, the requested time for execution for this specific schedule invocation. # noqa: E501 + + :return: The scheduled_at of this AdminExecutionMetadata. # noqa: E501 + :rtype: datetime + """ + return self._scheduled_at + + @scheduled_at.setter + def scheduled_at(self, scheduled_at): + """Sets the scheduled_at of this AdminExecutionMetadata. + + For scheduled executions, the requested time for execution for this specific schedule invocation. # noqa: E501 + + :param scheduled_at: The scheduled_at of this AdminExecutionMetadata. # noqa: E501 + :type: datetime + """ + + self._scheduled_at = scheduled_at + + @property + def parent_node_execution(self): + """Gets the parent_node_execution of this AdminExecutionMetadata. # noqa: E501 + + + :return: The parent_node_execution of this AdminExecutionMetadata. # noqa: E501 + :rtype: CoreNodeExecutionIdentifier + """ + return self._parent_node_execution + + @parent_node_execution.setter + def parent_node_execution(self, parent_node_execution): + """Sets the parent_node_execution of this AdminExecutionMetadata. + + + :param parent_node_execution: The parent_node_execution of this AdminExecutionMetadata. # noqa: E501 + :type: CoreNodeExecutionIdentifier + """ + + self._parent_node_execution = parent_node_execution + + @property + def reference_execution(self): + """Gets the reference_execution of this AdminExecutionMetadata. # noqa: E501 + + Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution. # noqa: E501 + + :return: The reference_execution of this AdminExecutionMetadata. # noqa: E501 + :rtype: CoreWorkflowExecutionIdentifier + """ + return self._reference_execution + + @reference_execution.setter + def reference_execution(self, reference_execution): + """Sets the reference_execution of this AdminExecutionMetadata. + + Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution. # noqa: E501 + + :param reference_execution: The reference_execution of this AdminExecutionMetadata. # noqa: E501 + :type: CoreWorkflowExecutionIdentifier + """ + + self._reference_execution = reference_execution + + @property + def system_metadata(self): + """Gets the system_metadata of this AdminExecutionMetadata. # noqa: E501 + + Optional, platform-specific metadata about the execution. In this the future this may be gated behind an ACL or some sort of authorization. # noqa: E501 + + :return: The system_metadata of this AdminExecutionMetadata. # noqa: E501 + :rtype: AdminSystemMetadata + """ + return self._system_metadata + + @system_metadata.setter + def system_metadata(self, system_metadata): + """Sets the system_metadata of this AdminExecutionMetadata. + + Optional, platform-specific metadata about the execution. In this the future this may be gated behind an ACL or some sort of authorization. # noqa: E501 + + :param system_metadata: The system_metadata of this AdminExecutionMetadata. # noqa: E501 + :type: AdminSystemMetadata + """ + + self._system_metadata = system_metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py new file mode 100644 index 000000000..c8ac3d9d2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminExecutionQueueAttributes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'tags': 'list[str]' + } + + attribute_map = { + 'tags': 'tags' + } + + def __init__(self, tags=None): # noqa: E501 + """AdminExecutionQueueAttributes - a model defined in Swagger""" # noqa: E501 + + self._tags = None + self.discriminator = None + + if tags is not None: + self.tags = tags + + @property + def tags(self): + """Gets the tags of this AdminExecutionQueueAttributes. # noqa: E501 + + Tags used for assigning execution queues for tasks defined within this project. # noqa: E501 + + :return: The tags of this AdminExecutionQueueAttributes. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this AdminExecutionQueueAttributes. + + Tags used for assigning execution queues for tasks defined within this project. # noqa: E501 + + :param tags: The tags of this AdminExecutionQueueAttributes. # noqa: E501 + :type: list[str] + """ + + self._tags = tags + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionQueueAttributes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionQueueAttributes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_recover_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_recover_request.py new file mode 100644 index 000000000..acd856ada --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_recover_request.py @@ -0,0 +1,174 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata # noqa: F401,E501 +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 + + +class AdminExecutionRecoverRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreWorkflowExecutionIdentifier', + 'name': 'str', + 'metadata': 'AdminExecutionMetadata' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'metadata': 'metadata' + } + + def __init__(self, id=None, name=None, metadata=None): # noqa: E501 + """AdminExecutionRecoverRequest - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._name = None + self._metadata = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if metadata is not None: + self.metadata = metadata + + @property + def id(self): + """Gets the id of this AdminExecutionRecoverRequest. # noqa: E501 + + Identifier of the workflow execution to recover. # noqa: E501 + + :return: The id of this AdminExecutionRecoverRequest. # noqa: E501 + :rtype: CoreWorkflowExecutionIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminExecutionRecoverRequest. + + Identifier of the workflow execution to recover. # noqa: E501 + + :param id: The id of this AdminExecutionRecoverRequest. # noqa: E501 + :type: CoreWorkflowExecutionIdentifier + """ + + self._id = id + + @property + def name(self): + """Gets the name of this AdminExecutionRecoverRequest. # noqa: E501 + + + :return: The name of this AdminExecutionRecoverRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this AdminExecutionRecoverRequest. + + + :param name: The name of this AdminExecutionRecoverRequest. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def metadata(self): + """Gets the metadata of this AdminExecutionRecoverRequest. # noqa: E501 + + Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. # noqa: E501 + + :return: The metadata of this AdminExecutionRecoverRequest. # noqa: E501 + :rtype: AdminExecutionMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this AdminExecutionRecoverRequest. + + Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. # noqa: E501 + + :param metadata: The metadata of this AdminExecutionRecoverRequest. # noqa: E501 + :type: AdminExecutionMetadata + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionRecoverRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionRecoverRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_relaunch_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_relaunch_request.py new file mode 100644 index 000000000..4fb42a38b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_relaunch_request.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 + + +class AdminExecutionRelaunchRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreWorkflowExecutionIdentifier', + 'name': 'str' + } + + attribute_map = { + 'id': 'id', + 'name': 'name' + } + + def __init__(self, id=None, name=None): # noqa: E501 + """AdminExecutionRelaunchRequest - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._name = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + + @property + def id(self): + """Gets the id of this AdminExecutionRelaunchRequest. # noqa: E501 + + + :return: The id of this AdminExecutionRelaunchRequest. # noqa: E501 + :rtype: CoreWorkflowExecutionIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminExecutionRelaunchRequest. + + + :param id: The id of this AdminExecutionRelaunchRequest. # noqa: E501 + :type: CoreWorkflowExecutionIdentifier + """ + + self._id = id + + @property + def name(self): + """Gets the name of this AdminExecutionRelaunchRequest. # noqa: E501 + + + :return: The name of this AdminExecutionRelaunchRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this AdminExecutionRelaunchRequest. + + + :param name: The name of this AdminExecutionRelaunchRequest. # noqa: E501 + :type: str + """ + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionRelaunchRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionRelaunchRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py new file mode 100644 index 000000000..ed3cbd31c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py @@ -0,0 +1,485 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: F401,E501 +from flyteadmin.models.admin_auth_role import AdminAuthRole # noqa: F401,E501 +from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment # noqa: F401,E501 +from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata # noqa: F401,E501 +from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 +from flyteadmin.models.admin_notification_list import AdminNotificationList # noqa: F401,E501 +from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 +from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: F401,E501 +from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: F401,E501 + + +class AdminExecutionSpec(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'launch_plan': 'CoreIdentifier', + 'inputs': 'CoreLiteralMap', + 'metadata': 'AdminExecutionMetadata', + 'notifications': 'AdminNotificationList', + 'disable_all': 'bool', + 'labels': 'AdminLabels', + 'annotations': 'AdminAnnotations', + 'security_context': 'CoreSecurityContext', + 'auth_role': 'AdminAuthRole', + 'quality_of_service': 'CoreQualityOfService', + 'max_parallelism': 'int', + 'raw_output_data_config': 'AdminRawOutputDataConfig', + 'cluster_assignment': 'AdminClusterAssignment', + 'interruptible': 'bool' + } + + attribute_map = { + 'launch_plan': 'launch_plan', + 'inputs': 'inputs', + 'metadata': 'metadata', + 'notifications': 'notifications', + 'disable_all': 'disable_all', + 'labels': 'labels', + 'annotations': 'annotations', + 'security_context': 'security_context', + 'auth_role': 'auth_role', + 'quality_of_service': 'quality_of_service', + 'max_parallelism': 'max_parallelism', + 'raw_output_data_config': 'raw_output_data_config', + 'cluster_assignment': 'cluster_assignment', + 'interruptible': 'interruptible' + } + + def __init__(self, launch_plan=None, inputs=None, metadata=None, notifications=None, disable_all=None, labels=None, annotations=None, security_context=None, auth_role=None, quality_of_service=None, max_parallelism=None, raw_output_data_config=None, cluster_assignment=None, interruptible=None): # noqa: E501 + """AdminExecutionSpec - a model defined in Swagger""" # noqa: E501 + + self._launch_plan = None + self._inputs = None + self._metadata = None + self._notifications = None + self._disable_all = None + self._labels = None + self._annotations = None + self._security_context = None + self._auth_role = None + self._quality_of_service = None + self._max_parallelism = None + self._raw_output_data_config = None + self._cluster_assignment = None + self._interruptible = None + self.discriminator = None + + if launch_plan is not None: + self.launch_plan = launch_plan + if inputs is not None: + self.inputs = inputs + if metadata is not None: + self.metadata = metadata + if notifications is not None: + self.notifications = notifications + if disable_all is not None: + self.disable_all = disable_all + if labels is not None: + self.labels = labels + if annotations is not None: + self.annotations = annotations + if security_context is not None: + self.security_context = security_context + if auth_role is not None: + self.auth_role = auth_role + if quality_of_service is not None: + self.quality_of_service = quality_of_service + if max_parallelism is not None: + self.max_parallelism = max_parallelism + if raw_output_data_config is not None: + self.raw_output_data_config = raw_output_data_config + if cluster_assignment is not None: + self.cluster_assignment = cluster_assignment + if interruptible is not None: + self.interruptible = interruptible + + @property + def launch_plan(self): + """Gets the launch_plan of this AdminExecutionSpec. # noqa: E501 + + + :return: The launch_plan of this AdminExecutionSpec. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._launch_plan + + @launch_plan.setter + def launch_plan(self, launch_plan): + """Sets the launch_plan of this AdminExecutionSpec. + + + :param launch_plan: The launch_plan of this AdminExecutionSpec. # noqa: E501 + :type: CoreIdentifier + """ + + self._launch_plan = launch_plan + + @property + def inputs(self): + """Gets the inputs of this AdminExecutionSpec. # noqa: E501 + + + :return: The inputs of this AdminExecutionSpec. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._inputs + + @inputs.setter + def inputs(self, inputs): + """Sets the inputs of this AdminExecutionSpec. + + + :param inputs: The inputs of this AdminExecutionSpec. # noqa: E501 + :type: CoreLiteralMap + """ + + self._inputs = inputs + + @property + def metadata(self): + """Gets the metadata of this AdminExecutionSpec. # noqa: E501 + + + :return: The metadata of this AdminExecutionSpec. # noqa: E501 + :rtype: AdminExecutionMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this AdminExecutionSpec. + + + :param metadata: The metadata of this AdminExecutionSpec. # noqa: E501 + :type: AdminExecutionMetadata + """ + + self._metadata = metadata + + @property + def notifications(self): + """Gets the notifications of this AdminExecutionSpec. # noqa: E501 + + List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied. # noqa: E501 + + :return: The notifications of this AdminExecutionSpec. # noqa: E501 + :rtype: AdminNotificationList + """ + return self._notifications + + @notifications.setter + def notifications(self, notifications): + """Sets the notifications of this AdminExecutionSpec. + + List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied. # noqa: E501 + + :param notifications: The notifications of this AdminExecutionSpec. # noqa: E501 + :type: AdminNotificationList + """ + + self._notifications = notifications + + @property + def disable_all(self): + """Gets the disable_all of this AdminExecutionSpec. # noqa: E501 + + This should be set to true if all notifications are intended to be disabled for this execution. # noqa: E501 + + :return: The disable_all of this AdminExecutionSpec. # noqa: E501 + :rtype: bool + """ + return self._disable_all + + @disable_all.setter + def disable_all(self, disable_all): + """Sets the disable_all of this AdminExecutionSpec. + + This should be set to true if all notifications are intended to be disabled for this execution. # noqa: E501 + + :param disable_all: The disable_all of this AdminExecutionSpec. # noqa: E501 + :type: bool + """ + + self._disable_all = disable_all + + @property + def labels(self): + """Gets the labels of this AdminExecutionSpec. # noqa: E501 + + Labels to apply to the execution resource. # noqa: E501 + + :return: The labels of this AdminExecutionSpec. # noqa: E501 + :rtype: AdminLabels + """ + return self._labels + + @labels.setter + def labels(self, labels): + """Sets the labels of this AdminExecutionSpec. + + Labels to apply to the execution resource. # noqa: E501 + + :param labels: The labels of this AdminExecutionSpec. # noqa: E501 + :type: AdminLabels + """ + + self._labels = labels + + @property + def annotations(self): + """Gets the annotations of this AdminExecutionSpec. # noqa: E501 + + Annotations to apply to the execution resource. # noqa: E501 + + :return: The annotations of this AdminExecutionSpec. # noqa: E501 + :rtype: AdminAnnotations + """ + return self._annotations + + @annotations.setter + def annotations(self, annotations): + """Sets the annotations of this AdminExecutionSpec. + + Annotations to apply to the execution resource. # noqa: E501 + + :param annotations: The annotations of this AdminExecutionSpec. # noqa: E501 + :type: AdminAnnotations + """ + + self._annotations = annotations + + @property + def security_context(self): + """Gets the security_context of this AdminExecutionSpec. # noqa: E501 + + Optional: security context override to apply this execution. # noqa: E501 + + :return: The security_context of this AdminExecutionSpec. # noqa: E501 + :rtype: CoreSecurityContext + """ + return self._security_context + + @security_context.setter + def security_context(self, security_context): + """Sets the security_context of this AdminExecutionSpec. + + Optional: security context override to apply this execution. # noqa: E501 + + :param security_context: The security_context of this AdminExecutionSpec. # noqa: E501 + :type: CoreSecurityContext + """ + + self._security_context = security_context + + @property + def auth_role(self): + """Gets the auth_role of this AdminExecutionSpec. # noqa: E501 + + Optional: auth override to apply this execution. # noqa: E501 + + :return: The auth_role of this AdminExecutionSpec. # noqa: E501 + :rtype: AdminAuthRole + """ + return self._auth_role + + @auth_role.setter + def auth_role(self, auth_role): + """Sets the auth_role of this AdminExecutionSpec. + + Optional: auth override to apply this execution. # noqa: E501 + + :param auth_role: The auth_role of this AdminExecutionSpec. # noqa: E501 + :type: AdminAuthRole + """ + + self._auth_role = auth_role + + @property + def quality_of_service(self): + """Gets the quality_of_service of this AdminExecutionSpec. # noqa: E501 + + Indicates the runtime priority of the execution. # noqa: E501 + + :return: The quality_of_service of this AdminExecutionSpec. # noqa: E501 + :rtype: CoreQualityOfService + """ + return self._quality_of_service + + @quality_of_service.setter + def quality_of_service(self, quality_of_service): + """Sets the quality_of_service of this AdminExecutionSpec. + + Indicates the runtime priority of the execution. # noqa: E501 + + :param quality_of_service: The quality_of_service of this AdminExecutionSpec. # noqa: E501 + :type: CoreQualityOfService + """ + + self._quality_of_service = quality_of_service + + @property + def max_parallelism(self): + """Gets the max_parallelism of this AdminExecutionSpec. # noqa: E501 + + Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. # noqa: E501 + + :return: The max_parallelism of this AdminExecutionSpec. # noqa: E501 + :rtype: int + """ + return self._max_parallelism + + @max_parallelism.setter + def max_parallelism(self, max_parallelism): + """Sets the max_parallelism of this AdminExecutionSpec. + + Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. # noqa: E501 + + :param max_parallelism: The max_parallelism of this AdminExecutionSpec. # noqa: E501 + :type: int + """ + + self._max_parallelism = max_parallelism + + @property + def raw_output_data_config(self): + """Gets the raw_output_data_config of this AdminExecutionSpec. # noqa: E501 + + + :return: The raw_output_data_config of this AdminExecutionSpec. # noqa: E501 + :rtype: AdminRawOutputDataConfig + """ + return self._raw_output_data_config + + @raw_output_data_config.setter + def raw_output_data_config(self, raw_output_data_config): + """Sets the raw_output_data_config of this AdminExecutionSpec. + + + :param raw_output_data_config: The raw_output_data_config of this AdminExecutionSpec. # noqa: E501 + :type: AdminRawOutputDataConfig + """ + + self._raw_output_data_config = raw_output_data_config + + @property + def cluster_assignment(self): + """Gets the cluster_assignment of this AdminExecutionSpec. # noqa: E501 + + Controls how to select an available cluster on which this execution should run. # noqa: E501 + + :return: The cluster_assignment of this AdminExecutionSpec. # noqa: E501 + :rtype: AdminClusterAssignment + """ + return self._cluster_assignment + + @cluster_assignment.setter + def cluster_assignment(self, cluster_assignment): + """Sets the cluster_assignment of this AdminExecutionSpec. + + Controls how to select an available cluster on which this execution should run. # noqa: E501 + + :param cluster_assignment: The cluster_assignment of this AdminExecutionSpec. # noqa: E501 + :type: AdminClusterAssignment + """ + + self._cluster_assignment = cluster_assignment + + @property + def interruptible(self): + """Gets the interruptible of this AdminExecutionSpec. # noqa: E501 + + Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 + + :return: The interruptible of this AdminExecutionSpec. # noqa: E501 + :rtype: bool + """ + return self._interruptible + + @interruptible.setter + def interruptible(self, interruptible): + """Sets the interruptible of this AdminExecutionSpec. + + Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 + + :param interruptible: The interruptible of this AdminExecutionSpec. # noqa: E501 + :type: bool + """ + + self._interruptible = interruptible + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionSpec, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionSpec): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state.py new file mode 100644 index 000000000..7f3d281b8 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminExecutionState(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ACTIVE = "EXECUTION_ACTIVE" + ARCHIVED = "EXECUTION_ARCHIVED" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminExecutionState - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionState, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionState): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state_change_details.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state_change_details.py new file mode 100644 index 000000000..a82156027 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state_change_details.py @@ -0,0 +1,173 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_execution_state import AdminExecutionState # noqa: F401,E501 + + +class AdminExecutionStateChangeDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'state': 'AdminExecutionState', + 'occurred_at': 'datetime', + 'principal': 'str' + } + + attribute_map = { + 'state': 'state', + 'occurred_at': 'occurred_at', + 'principal': 'principal' + } + + def __init__(self, state=None, occurred_at=None, principal=None): # noqa: E501 + """AdminExecutionStateChangeDetails - a model defined in Swagger""" # noqa: E501 + + self._state = None + self._occurred_at = None + self._principal = None + self.discriminator = None + + if state is not None: + self.state = state + if occurred_at is not None: + self.occurred_at = occurred_at + if principal is not None: + self.principal = principal + + @property + def state(self): + """Gets the state of this AdminExecutionStateChangeDetails. # noqa: E501 + + The state of the execution is used to control its visibility in the UI/CLI. # noqa: E501 + + :return: The state of this AdminExecutionStateChangeDetails. # noqa: E501 + :rtype: AdminExecutionState + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this AdminExecutionStateChangeDetails. + + The state of the execution is used to control its visibility in the UI/CLI. # noqa: E501 + + :param state: The state of this AdminExecutionStateChangeDetails. # noqa: E501 + :type: AdminExecutionState + """ + + self._state = state + + @property + def occurred_at(self): + """Gets the occurred_at of this AdminExecutionStateChangeDetails. # noqa: E501 + + This timestamp represents when the state changed. # noqa: E501 + + :return: The occurred_at of this AdminExecutionStateChangeDetails. # noqa: E501 + :rtype: datetime + """ + return self._occurred_at + + @occurred_at.setter + def occurred_at(self, occurred_at): + """Sets the occurred_at of this AdminExecutionStateChangeDetails. + + This timestamp represents when the state changed. # noqa: E501 + + :param occurred_at: The occurred_at of this AdminExecutionStateChangeDetails. # noqa: E501 + :type: datetime + """ + + self._occurred_at = occurred_at + + @property + def principal(self): + """Gets the principal of this AdminExecutionStateChangeDetails. # noqa: E501 + + + :return: The principal of this AdminExecutionStateChangeDetails. # noqa: E501 + :rtype: str + """ + return self._principal + + @principal.setter + def principal(self, principal): + """Sets the principal of this AdminExecutionStateChangeDetails. + + + :param principal: The principal of this AdminExecutionStateChangeDetails. # noqa: E501 + :type: str + """ + + self._principal = principal + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionStateChangeDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionStateChangeDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_request.py new file mode 100644 index 000000000..a2fb097d4 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_request.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 + + +class AdminExecutionTerminateRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreWorkflowExecutionIdentifier', + 'cause': 'str' + } + + attribute_map = { + 'id': 'id', + 'cause': 'cause' + } + + def __init__(self, id=None, cause=None): # noqa: E501 + """AdminExecutionTerminateRequest - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._cause = None + self.discriminator = None + + if id is not None: + self.id = id + if cause is not None: + self.cause = cause + + @property + def id(self): + """Gets the id of this AdminExecutionTerminateRequest. # noqa: E501 + + Uniquely identifies the individual workflow execution to be terminated. # noqa: E501 + + :return: The id of this AdminExecutionTerminateRequest. # noqa: E501 + :rtype: CoreWorkflowExecutionIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminExecutionTerminateRequest. + + Uniquely identifies the individual workflow execution to be terminated. # noqa: E501 + + :param id: The id of this AdminExecutionTerminateRequest. # noqa: E501 + :type: CoreWorkflowExecutionIdentifier + """ + + self._id = id + + @property + def cause(self): + """Gets the cause of this AdminExecutionTerminateRequest. # noqa: E501 + + Optional reason for aborting. # noqa: E501 + + :return: The cause of this AdminExecutionTerminateRequest. # noqa: E501 + :rtype: str + """ + return self._cause + + @cause.setter + def cause(self, cause): + """Sets the cause of this AdminExecutionTerminateRequest. + + Optional reason for aborting. # noqa: E501 + + :param cause: The cause of this AdminExecutionTerminateRequest. # noqa: E501 + :type: str + """ + + self._cause = cause + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionTerminateRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionTerminateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_response.py new file mode 100644 index 000000000..b7e68c83d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminExecutionTerminateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminExecutionTerminateResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionTerminateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionTerminateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_request.py new file mode 100644 index 000000000..5bbddc57b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_request.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_execution_state import AdminExecutionState # noqa: F401,E501 +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 + + +class AdminExecutionUpdateRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreWorkflowExecutionIdentifier', + 'state': 'AdminExecutionState' + } + + attribute_map = { + 'id': 'id', + 'state': 'state' + } + + def __init__(self, id=None, state=None): # noqa: E501 + """AdminExecutionUpdateRequest - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._state = None + self.discriminator = None + + if id is not None: + self.id = id + if state is not None: + self.state = state + + @property + def id(self): + """Gets the id of this AdminExecutionUpdateRequest. # noqa: E501 + + + :return: The id of this AdminExecutionUpdateRequest. # noqa: E501 + :rtype: CoreWorkflowExecutionIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminExecutionUpdateRequest. + + + :param id: The id of this AdminExecutionUpdateRequest. # noqa: E501 + :type: CoreWorkflowExecutionIdentifier + """ + + self._id = id + + @property + def state(self): + """Gets the state of this AdminExecutionUpdateRequest. # noqa: E501 + + + :return: The state of this AdminExecutionUpdateRequest. # noqa: E501 + :rtype: AdminExecutionState + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this AdminExecutionUpdateRequest. + + + :param state: The state of this AdminExecutionUpdateRequest. # noqa: E501 + :type: AdminExecutionState + """ + + self._state = state + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionUpdateRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionUpdateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_response.py new file mode 100644 index 000000000..9e9f90ee7 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminExecutionUpdateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminExecutionUpdateResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionUpdateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionUpdateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate.py new file mode 100644 index 000000000..5eacbeebc --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit # noqa: F401,E501 + + +class AdminFixedRate(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'value': 'int', + 'unit': 'AdminFixedRateUnit' + } + + attribute_map = { + 'value': 'value', + 'unit': 'unit' + } + + def __init__(self, value=None, unit=None): # noqa: E501 + """AdminFixedRate - a model defined in Swagger""" # noqa: E501 + + self._value = None + self._unit = None + self.discriminator = None + + if value is not None: + self.value = value + if unit is not None: + self.unit = unit + + @property + def value(self): + """Gets the value of this AdminFixedRate. # noqa: E501 + + + :return: The value of this AdminFixedRate. # noqa: E501 + :rtype: int + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this AdminFixedRate. + + + :param value: The value of this AdminFixedRate. # noqa: E501 + :type: int + """ + + self._value = value + + @property + def unit(self): + """Gets the unit of this AdminFixedRate. # noqa: E501 + + + :return: The unit of this AdminFixedRate. # noqa: E501 + :rtype: AdminFixedRateUnit + """ + return self._unit + + @unit.setter + def unit(self, unit): + """Sets the unit of this AdminFixedRate. + + + :param unit: The unit of this AdminFixedRate. # noqa: E501 + :type: AdminFixedRateUnit + """ + + self._unit = unit + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminFixedRate, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminFixedRate): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate_unit.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate_unit.py new file mode 100644 index 000000000..2c65b556b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate_unit.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminFixedRateUnit(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + MINUTE = "MINUTE" + HOUR = "HOUR" + DAY = "DAY" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminFixedRateUnit - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminFixedRateUnit, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminFixedRateUnit): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_get_version_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_get_version_response.py new file mode 100644 index 000000000..622a52256 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_get_version_response.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_version import AdminVersion # noqa: F401,E501 + + +class AdminGetVersionResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'control_plane_version': 'AdminVersion' + } + + attribute_map = { + 'control_plane_version': 'control_plane_version' + } + + def __init__(self, control_plane_version=None): # noqa: E501 + """AdminGetVersionResponse - a model defined in Swagger""" # noqa: E501 + + self._control_plane_version = None + self.discriminator = None + + if control_plane_version is not None: + self.control_plane_version = control_plane_version + + @property + def control_plane_version(self): + """Gets the control_plane_version of this AdminGetVersionResponse. # noqa: E501 + + + :return: The control_plane_version of this AdminGetVersionResponse. # noqa: E501 + :rtype: AdminVersion + """ + return self._control_plane_version + + @control_plane_version.setter + def control_plane_version(self, control_plane_version): + """Sets the control_plane_version of this AdminGetVersionResponse. + + + :param control_plane_version: The control_plane_version of this AdminGetVersionResponse. # noqa: E501 + :type: AdminVersion + """ + + self._control_plane_version = control_plane_version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminGetVersionResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminGetVersionResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_labels.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_labels.py new file mode 100644 index 000000000..1391051e4 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_labels.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminLabels(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'values': 'dict(str, str)' + } + + attribute_map = { + 'values': 'values' + } + + def __init__(self, values=None): # noqa: E501 + """AdminLabels - a model defined in Swagger""" # noqa: E501 + + self._values = None + self.discriminator = None + + if values is not None: + self.values = values + + @property + def values(self): + """Gets the values of this AdminLabels. # noqa: E501 + + Map of custom labels to be applied to the execution resource. # noqa: E501 + + :return: The values of this AdminLabels. # noqa: E501 + :rtype: dict(str, str) + """ + return self._values + + @values.setter + def values(self, values): + """Sets the values of this AdminLabels. + + Map of custom labels to be applied to the execution resource. # noqa: E501 + + :param values: The values of this AdminLabels. # noqa: E501 + :type: dict(str, str) + """ + + self._values = values + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminLabels, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminLabels): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan.py new file mode 100644 index 000000000..84a6eef48 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_launch_plan_closure import AdminLaunchPlanClosure # noqa: F401,E501 +from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 + + +class AdminLaunchPlan(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreIdentifier', + 'spec': 'AdminLaunchPlanSpec', + 'closure': 'AdminLaunchPlanClosure' + } + + attribute_map = { + 'id': 'id', + 'spec': 'spec', + 'closure': 'closure' + } + + def __init__(self, id=None, spec=None, closure=None): # noqa: E501 + """AdminLaunchPlan - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._spec = None + self._closure = None + self.discriminator = None + + if id is not None: + self.id = id + if spec is not None: + self.spec = spec + if closure is not None: + self.closure = closure + + @property + def id(self): + """Gets the id of this AdminLaunchPlan. # noqa: E501 + + Uniquely identifies a launch plan entity. # noqa: E501 + + :return: The id of this AdminLaunchPlan. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminLaunchPlan. + + Uniquely identifies a launch plan entity. # noqa: E501 + + :param id: The id of this AdminLaunchPlan. # noqa: E501 + :type: CoreIdentifier + """ + + self._id = id + + @property + def spec(self): + """Gets the spec of this AdminLaunchPlan. # noqa: E501 + + User-provided launch plan details, including reference workflow, inputs and other metadata. # noqa: E501 + + :return: The spec of this AdminLaunchPlan. # noqa: E501 + :rtype: AdminLaunchPlanSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this AdminLaunchPlan. + + User-provided launch plan details, including reference workflow, inputs and other metadata. # noqa: E501 + + :param spec: The spec of this AdminLaunchPlan. # noqa: E501 + :type: AdminLaunchPlanSpec + """ + + self._spec = spec + + @property + def closure(self): + """Gets the closure of this AdminLaunchPlan. # noqa: E501 + + Values computed by the flyte platform after launch plan registration. # noqa: E501 + + :return: The closure of this AdminLaunchPlan. # noqa: E501 + :rtype: AdminLaunchPlanClosure + """ + return self._closure + + @closure.setter + def closure(self, closure): + """Sets the closure of this AdminLaunchPlan. + + Values computed by the flyte platform after launch plan registration. # noqa: E501 + + :param closure: The closure of this AdminLaunchPlan. # noqa: E501 + :type: AdminLaunchPlanClosure + """ + + self._closure = closure + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminLaunchPlan, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminLaunchPlan): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_closure.py new file mode 100644 index 000000000..2464c1fa4 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_closure.py @@ -0,0 +1,229 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState # noqa: F401,E501 +from flyteadmin.models.core_parameter_map import CoreParameterMap # noqa: F401,E501 +from flyteadmin.models.core_variable_map import CoreVariableMap # noqa: F401,E501 + + +class AdminLaunchPlanClosure(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'state': 'AdminLaunchPlanState', + 'expected_inputs': 'CoreParameterMap', + 'expected_outputs': 'CoreVariableMap', + 'created_at': 'datetime', + 'updated_at': 'datetime' + } + + attribute_map = { + 'state': 'state', + 'expected_inputs': 'expected_inputs', + 'expected_outputs': 'expected_outputs', + 'created_at': 'created_at', + 'updated_at': 'updated_at' + } + + def __init__(self, state=None, expected_inputs=None, expected_outputs=None, created_at=None, updated_at=None): # noqa: E501 + """AdminLaunchPlanClosure - a model defined in Swagger""" # noqa: E501 + + self._state = None + self._expected_inputs = None + self._expected_outputs = None + self._created_at = None + self._updated_at = None + self.discriminator = None + + if state is not None: + self.state = state + if expected_inputs is not None: + self.expected_inputs = expected_inputs + if expected_outputs is not None: + self.expected_outputs = expected_outputs + if created_at is not None: + self.created_at = created_at + if updated_at is not None: + self.updated_at = updated_at + + @property + def state(self): + """Gets the state of this AdminLaunchPlanClosure. # noqa: E501 + + Indicate the Launch plan state. # noqa: E501 + + :return: The state of this AdminLaunchPlanClosure. # noqa: E501 + :rtype: AdminLaunchPlanState + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this AdminLaunchPlanClosure. + + Indicate the Launch plan state. # noqa: E501 + + :param state: The state of this AdminLaunchPlanClosure. # noqa: E501 + :type: AdminLaunchPlanState + """ + + self._state = state + + @property + def expected_inputs(self): + """Gets the expected_inputs of this AdminLaunchPlanClosure. # noqa: E501 + + + :return: The expected_inputs of this AdminLaunchPlanClosure. # noqa: E501 + :rtype: CoreParameterMap + """ + return self._expected_inputs + + @expected_inputs.setter + def expected_inputs(self, expected_inputs): + """Sets the expected_inputs of this AdminLaunchPlanClosure. + + + :param expected_inputs: The expected_inputs of this AdminLaunchPlanClosure. # noqa: E501 + :type: CoreParameterMap + """ + + self._expected_inputs = expected_inputs + + @property + def expected_outputs(self): + """Gets the expected_outputs of this AdminLaunchPlanClosure. # noqa: E501 + + + :return: The expected_outputs of this AdminLaunchPlanClosure. # noqa: E501 + :rtype: CoreVariableMap + """ + return self._expected_outputs + + @expected_outputs.setter + def expected_outputs(self, expected_outputs): + """Sets the expected_outputs of this AdminLaunchPlanClosure. + + + :param expected_outputs: The expected_outputs of this AdminLaunchPlanClosure. # noqa: E501 + :type: CoreVariableMap + """ + + self._expected_outputs = expected_outputs + + @property + def created_at(self): + """Gets the created_at of this AdminLaunchPlanClosure. # noqa: E501 + + Time at which the launch plan was created. # noqa: E501 + + :return: The created_at of this AdminLaunchPlanClosure. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this AdminLaunchPlanClosure. + + Time at which the launch plan was created. # noqa: E501 + + :param created_at: The created_at of this AdminLaunchPlanClosure. # noqa: E501 + :type: datetime + """ + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this AdminLaunchPlanClosure. # noqa: E501 + + Time at which the launch plan was last updated. # noqa: E501 + + :return: The updated_at of this AdminLaunchPlanClosure. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this AdminLaunchPlanClosure. + + Time at which the launch plan was last updated. # noqa: E501 + + :param updated_at: The updated_at of this AdminLaunchPlanClosure. # noqa: E501 + :type: datetime + """ + + self._updated_at = updated_at + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminLaunchPlanClosure, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminLaunchPlanClosure): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_request.py new file mode 100644 index 000000000..888fa5b2f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_request.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 + + +class AdminLaunchPlanCreateRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreIdentifier', + 'spec': 'AdminLaunchPlanSpec' + } + + attribute_map = { + 'id': 'id', + 'spec': 'spec' + } + + def __init__(self, id=None, spec=None): # noqa: E501 + """AdminLaunchPlanCreateRequest - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._spec = None + self.discriminator = None + + if id is not None: + self.id = id + if spec is not None: + self.spec = spec + + @property + def id(self): + """Gets the id of this AdminLaunchPlanCreateRequest. # noqa: E501 + + Uniquely identifies a launch plan entity. # noqa: E501 + + :return: The id of this AdminLaunchPlanCreateRequest. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminLaunchPlanCreateRequest. + + Uniquely identifies a launch plan entity. # noqa: E501 + + :param id: The id of this AdminLaunchPlanCreateRequest. # noqa: E501 + :type: CoreIdentifier + """ + + self._id = id + + @property + def spec(self): + """Gets the spec of this AdminLaunchPlanCreateRequest. # noqa: E501 + + User-provided launch plan details, including reference workflow, inputs and other metadata. # noqa: E501 + + :return: The spec of this AdminLaunchPlanCreateRequest. # noqa: E501 + :rtype: AdminLaunchPlanSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this AdminLaunchPlanCreateRequest. + + User-provided launch plan details, including reference workflow, inputs and other metadata. # noqa: E501 + + :param spec: The spec of this AdminLaunchPlanCreateRequest. # noqa: E501 + :type: AdminLaunchPlanSpec + """ + + self._spec = spec + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminLaunchPlanCreateRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminLaunchPlanCreateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_response.py new file mode 100644 index 000000000..8bc8d4a76 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminLaunchPlanCreateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminLaunchPlanCreateResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminLaunchPlanCreateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminLaunchPlanCreateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_list.py new file mode 100644 index 000000000..9c337f347 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_list.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_launch_plan import AdminLaunchPlan # noqa: F401,E501 + + +class AdminLaunchPlanList(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'launch_plans': 'list[AdminLaunchPlan]', + 'token': 'str' + } + + attribute_map = { + 'launch_plans': 'launch_plans', + 'token': 'token' + } + + def __init__(self, launch_plans=None, token=None): # noqa: E501 + """AdminLaunchPlanList - a model defined in Swagger""" # noqa: E501 + + self._launch_plans = None + self._token = None + self.discriminator = None + + if launch_plans is not None: + self.launch_plans = launch_plans + if token is not None: + self.token = token + + @property + def launch_plans(self): + """Gets the launch_plans of this AdminLaunchPlanList. # noqa: E501 + + + :return: The launch_plans of this AdminLaunchPlanList. # noqa: E501 + :rtype: list[AdminLaunchPlan] + """ + return self._launch_plans + + @launch_plans.setter + def launch_plans(self, launch_plans): + """Sets the launch_plans of this AdminLaunchPlanList. + + + :param launch_plans: The launch_plans of this AdminLaunchPlanList. # noqa: E501 + :type: list[AdminLaunchPlan] + """ + + self._launch_plans = launch_plans + + @property + def token(self): + """Gets the token of this AdminLaunchPlanList. # noqa: E501 + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :return: The token of this AdminLaunchPlanList. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this AdminLaunchPlanList. + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :param token: The token of this AdminLaunchPlanList. # noqa: E501 + :type: str + """ + + self._token = token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminLaunchPlanList, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminLaunchPlanList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py new file mode 100644 index 000000000..d4ebda5dc --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_notification import AdminNotification # noqa: F401,E501 +from flyteadmin.models.admin_schedule import AdminSchedule # noqa: F401,E501 + + +class AdminLaunchPlanMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'schedule': 'AdminSchedule', + 'notifications': 'list[AdminNotification]' + } + + attribute_map = { + 'schedule': 'schedule', + 'notifications': 'notifications' + } + + def __init__(self, schedule=None, notifications=None): # noqa: E501 + """AdminLaunchPlanMetadata - a model defined in Swagger""" # noqa: E501 + + self._schedule = None + self._notifications = None + self.discriminator = None + + if schedule is not None: + self.schedule = schedule + if notifications is not None: + self.notifications = notifications + + @property + def schedule(self): + """Gets the schedule of this AdminLaunchPlanMetadata. # noqa: E501 + + + :return: The schedule of this AdminLaunchPlanMetadata. # noqa: E501 + :rtype: AdminSchedule + """ + return self._schedule + + @schedule.setter + def schedule(self, schedule): + """Sets the schedule of this AdminLaunchPlanMetadata. + + + :param schedule: The schedule of this AdminLaunchPlanMetadata. # noqa: E501 + :type: AdminSchedule + """ + + self._schedule = schedule + + @property + def notifications(self): + """Gets the notifications of this AdminLaunchPlanMetadata. # noqa: E501 + + + :return: The notifications of this AdminLaunchPlanMetadata. # noqa: E501 + :rtype: list[AdminNotification] + """ + return self._notifications + + @notifications.setter + def notifications(self, notifications): + """Sets the notifications of this AdminLaunchPlanMetadata. + + + :param notifications: The notifications of this AdminLaunchPlanMetadata. # noqa: E501 + :type: list[AdminNotification] + """ + + self._notifications = notifications + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminLaunchPlanMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminLaunchPlanMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py new file mode 100644 index 000000000..710d5a414 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py @@ -0,0 +1,483 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: F401,E501 +from flyteadmin.models.admin_auth import AdminAuth # noqa: F401,E501 +from flyteadmin.models.admin_auth_role import AdminAuthRole # noqa: F401,E501 +from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 +from flyteadmin.models.admin_launch_plan_metadata import AdminLaunchPlanMetadata # noqa: F401,E501 +from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 +from flyteadmin.models.core_parameter_map import CoreParameterMap # noqa: F401,E501 +from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: F401,E501 +from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: F401,E501 + + +class AdminLaunchPlanSpec(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'workflow_id': 'CoreIdentifier', + 'entity_metadata': 'AdminLaunchPlanMetadata', + 'default_inputs': 'CoreParameterMap', + 'fixed_inputs': 'CoreLiteralMap', + 'role': 'str', + 'labels': 'AdminLabels', + 'annotations': 'AdminAnnotations', + 'auth': 'AdminAuth', + 'auth_role': 'AdminAuthRole', + 'security_context': 'CoreSecurityContext', + 'quality_of_service': 'CoreQualityOfService', + 'raw_output_data_config': 'AdminRawOutputDataConfig', + 'max_parallelism': 'int', + 'interruptible': 'bool' + } + + attribute_map = { + 'workflow_id': 'workflow_id', + 'entity_metadata': 'entity_metadata', + 'default_inputs': 'default_inputs', + 'fixed_inputs': 'fixed_inputs', + 'role': 'role', + 'labels': 'labels', + 'annotations': 'annotations', + 'auth': 'auth', + 'auth_role': 'auth_role', + 'security_context': 'security_context', + 'quality_of_service': 'quality_of_service', + 'raw_output_data_config': 'raw_output_data_config', + 'max_parallelism': 'max_parallelism', + 'interruptible': 'interruptible' + } + + def __init__(self, workflow_id=None, entity_metadata=None, default_inputs=None, fixed_inputs=None, role=None, labels=None, annotations=None, auth=None, auth_role=None, security_context=None, quality_of_service=None, raw_output_data_config=None, max_parallelism=None, interruptible=None): # noqa: E501 + """AdminLaunchPlanSpec - a model defined in Swagger""" # noqa: E501 + + self._workflow_id = None + self._entity_metadata = None + self._default_inputs = None + self._fixed_inputs = None + self._role = None + self._labels = None + self._annotations = None + self._auth = None + self._auth_role = None + self._security_context = None + self._quality_of_service = None + self._raw_output_data_config = None + self._max_parallelism = None + self._interruptible = None + self.discriminator = None + + if workflow_id is not None: + self.workflow_id = workflow_id + if entity_metadata is not None: + self.entity_metadata = entity_metadata + if default_inputs is not None: + self.default_inputs = default_inputs + if fixed_inputs is not None: + self.fixed_inputs = fixed_inputs + if role is not None: + self.role = role + if labels is not None: + self.labels = labels + if annotations is not None: + self.annotations = annotations + if auth is not None: + self.auth = auth + if auth_role is not None: + self.auth_role = auth_role + if security_context is not None: + self.security_context = security_context + if quality_of_service is not None: + self.quality_of_service = quality_of_service + if raw_output_data_config is not None: + self.raw_output_data_config = raw_output_data_config + if max_parallelism is not None: + self.max_parallelism = max_parallelism + if interruptible is not None: + self.interruptible = interruptible + + @property + def workflow_id(self): + """Gets the workflow_id of this AdminLaunchPlanSpec. # noqa: E501 + + + :return: The workflow_id of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._workflow_id + + @workflow_id.setter + def workflow_id(self, workflow_id): + """Sets the workflow_id of this AdminLaunchPlanSpec. + + + :param workflow_id: The workflow_id of this AdminLaunchPlanSpec. # noqa: E501 + :type: CoreIdentifier + """ + + self._workflow_id = workflow_id + + @property + def entity_metadata(self): + """Gets the entity_metadata of this AdminLaunchPlanSpec. # noqa: E501 + + + :return: The entity_metadata of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: AdminLaunchPlanMetadata + """ + return self._entity_metadata + + @entity_metadata.setter + def entity_metadata(self, entity_metadata): + """Sets the entity_metadata of this AdminLaunchPlanSpec. + + + :param entity_metadata: The entity_metadata of this AdminLaunchPlanSpec. # noqa: E501 + :type: AdminLaunchPlanMetadata + """ + + self._entity_metadata = entity_metadata + + @property + def default_inputs(self): + """Gets the default_inputs of this AdminLaunchPlanSpec. # noqa: E501 + + Input values to be passed for the execution. These can be overriden when an execution is created with this launch plan. # noqa: E501 + + :return: The default_inputs of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: CoreParameterMap + """ + return self._default_inputs + + @default_inputs.setter + def default_inputs(self, default_inputs): + """Sets the default_inputs of this AdminLaunchPlanSpec. + + Input values to be passed for the execution. These can be overriden when an execution is created with this launch plan. # noqa: E501 + + :param default_inputs: The default_inputs of this AdminLaunchPlanSpec. # noqa: E501 + :type: CoreParameterMap + """ + + self._default_inputs = default_inputs + + @property + def fixed_inputs(self): + """Gets the fixed_inputs of this AdminLaunchPlanSpec. # noqa: E501 + + Fixed, non-overridable inputs for the Launch Plan. These can not be overriden when an execution is created with this launch plan. # noqa: E501 + + :return: The fixed_inputs of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._fixed_inputs + + @fixed_inputs.setter + def fixed_inputs(self, fixed_inputs): + """Sets the fixed_inputs of this AdminLaunchPlanSpec. + + Fixed, non-overridable inputs for the Launch Plan. These can not be overriden when an execution is created with this launch plan. # noqa: E501 + + :param fixed_inputs: The fixed_inputs of this AdminLaunchPlanSpec. # noqa: E501 + :type: CoreLiteralMap + """ + + self._fixed_inputs = fixed_inputs + + @property + def role(self): + """Gets the role of this AdminLaunchPlanSpec. # noqa: E501 + + + :return: The role of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: str + """ + return self._role + + @role.setter + def role(self, role): + """Sets the role of this AdminLaunchPlanSpec. + + + :param role: The role of this AdminLaunchPlanSpec. # noqa: E501 + :type: str + """ + + self._role = role + + @property + def labels(self): + """Gets the labels of this AdminLaunchPlanSpec. # noqa: E501 + + Custom labels to be applied to the execution resource. # noqa: E501 + + :return: The labels of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: AdminLabels + """ + return self._labels + + @labels.setter + def labels(self, labels): + """Sets the labels of this AdminLaunchPlanSpec. + + Custom labels to be applied to the execution resource. # noqa: E501 + + :param labels: The labels of this AdminLaunchPlanSpec. # noqa: E501 + :type: AdminLabels + """ + + self._labels = labels + + @property + def annotations(self): + """Gets the annotations of this AdminLaunchPlanSpec. # noqa: E501 + + Custom annotations to be applied to the execution resource. # noqa: E501 + + :return: The annotations of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: AdminAnnotations + """ + return self._annotations + + @annotations.setter + def annotations(self, annotations): + """Sets the annotations of this AdminLaunchPlanSpec. + + Custom annotations to be applied to the execution resource. # noqa: E501 + + :param annotations: The annotations of this AdminLaunchPlanSpec. # noqa: E501 + :type: AdminAnnotations + """ + + self._annotations = annotations + + @property + def auth(self): + """Gets the auth of this AdminLaunchPlanSpec. # noqa: E501 + + Indicates the permission associated with workflow executions triggered with this launch plan. # noqa: E501 + + :return: The auth of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: AdminAuth + """ + return self._auth + + @auth.setter + def auth(self, auth): + """Sets the auth of this AdminLaunchPlanSpec. + + Indicates the permission associated with workflow executions triggered with this launch plan. # noqa: E501 + + :param auth: The auth of this AdminLaunchPlanSpec. # noqa: E501 + :type: AdminAuth + """ + + self._auth = auth + + @property + def auth_role(self): + """Gets the auth_role of this AdminLaunchPlanSpec. # noqa: E501 + + + :return: The auth_role of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: AdminAuthRole + """ + return self._auth_role + + @auth_role.setter + def auth_role(self, auth_role): + """Sets the auth_role of this AdminLaunchPlanSpec. + + + :param auth_role: The auth_role of this AdminLaunchPlanSpec. # noqa: E501 + :type: AdminAuthRole + """ + + self._auth_role = auth_role + + @property + def security_context(self): + """Gets the security_context of this AdminLaunchPlanSpec. # noqa: E501 + + + :return: The security_context of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: CoreSecurityContext + """ + return self._security_context + + @security_context.setter + def security_context(self, security_context): + """Sets the security_context of this AdminLaunchPlanSpec. + + + :param security_context: The security_context of this AdminLaunchPlanSpec. # noqa: E501 + :type: CoreSecurityContext + """ + + self._security_context = security_context + + @property + def quality_of_service(self): + """Gets the quality_of_service of this AdminLaunchPlanSpec. # noqa: E501 + + Indicates the runtime priority of the execution. # noqa: E501 + + :return: The quality_of_service of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: CoreQualityOfService + """ + return self._quality_of_service + + @quality_of_service.setter + def quality_of_service(self, quality_of_service): + """Sets the quality_of_service of this AdminLaunchPlanSpec. + + Indicates the runtime priority of the execution. # noqa: E501 + + :param quality_of_service: The quality_of_service of this AdminLaunchPlanSpec. # noqa: E501 + :type: CoreQualityOfService + """ + + self._quality_of_service = quality_of_service + + @property + def raw_output_data_config(self): + """Gets the raw_output_data_config of this AdminLaunchPlanSpec. # noqa: E501 + + Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). # noqa: E501 + + :return: The raw_output_data_config of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: AdminRawOutputDataConfig + """ + return self._raw_output_data_config + + @raw_output_data_config.setter + def raw_output_data_config(self, raw_output_data_config): + """Sets the raw_output_data_config of this AdminLaunchPlanSpec. + + Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). # noqa: E501 + + :param raw_output_data_config: The raw_output_data_config of this AdminLaunchPlanSpec. # noqa: E501 + :type: AdminRawOutputDataConfig + """ + + self._raw_output_data_config = raw_output_data_config + + @property + def max_parallelism(self): + """Gets the max_parallelism of this AdminLaunchPlanSpec. # noqa: E501 + + Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. # noqa: E501 + + :return: The max_parallelism of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: int + """ + return self._max_parallelism + + @max_parallelism.setter + def max_parallelism(self, max_parallelism): + """Sets the max_parallelism of this AdminLaunchPlanSpec. + + Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. # noqa: E501 + + :param max_parallelism: The max_parallelism of this AdminLaunchPlanSpec. # noqa: E501 + :type: int + """ + + self._max_parallelism = max_parallelism + + @property + def interruptible(self): + """Gets the interruptible of this AdminLaunchPlanSpec. # noqa: E501 + + Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 + + :return: The interruptible of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: bool + """ + return self._interruptible + + @interruptible.setter + def interruptible(self, interruptible): + """Sets the interruptible of this AdminLaunchPlanSpec. + + Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 + + :param interruptible: The interruptible of this AdminLaunchPlanSpec. # noqa: E501 + :type: bool + """ + + self._interruptible = interruptible + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminLaunchPlanSpec, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminLaunchPlanSpec): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_state.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_state.py new file mode 100644 index 000000000..49b1828a8 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_state.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminLaunchPlanState(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + INACTIVE = "INACTIVE" + ACTIVE = "ACTIVE" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminLaunchPlanState - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminLaunchPlanState, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminLaunchPlanState): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_request.py new file mode 100644 index 000000000..bfd79c3a1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_request.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 + + +class AdminLaunchPlanUpdateRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreIdentifier', + 'state': 'AdminLaunchPlanState' + } + + attribute_map = { + 'id': 'id', + 'state': 'state' + } + + def __init__(self, id=None, state=None): # noqa: E501 + """AdminLaunchPlanUpdateRequest - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._state = None + self.discriminator = None + + if id is not None: + self.id = id + if state is not None: + self.state = state + + @property + def id(self): + """Gets the id of this AdminLaunchPlanUpdateRequest. # noqa: E501 + + Identifier of launch plan for which to change state. +required. # noqa: E501 + + :return: The id of this AdminLaunchPlanUpdateRequest. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminLaunchPlanUpdateRequest. + + Identifier of launch plan for which to change state. +required. # noqa: E501 + + :param id: The id of this AdminLaunchPlanUpdateRequest. # noqa: E501 + :type: CoreIdentifier + """ + + self._id = id + + @property + def state(self): + """Gets the state of this AdminLaunchPlanUpdateRequest. # noqa: E501 + + Desired state to apply to the launch plan. +required. # noqa: E501 + + :return: The state of this AdminLaunchPlanUpdateRequest. # noqa: E501 + :rtype: AdminLaunchPlanState + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this AdminLaunchPlanUpdateRequest. + + Desired state to apply to the launch plan. +required. # noqa: E501 + + :param state: The state of this AdminLaunchPlanUpdateRequest. # noqa: E501 + :type: AdminLaunchPlanState + """ + + self._state = state + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminLaunchPlanUpdateRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminLaunchPlanUpdateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_response.py new file mode 100644 index 000000000..03932d5cd --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminLaunchPlanUpdateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminLaunchPlanUpdateResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminLaunchPlanUpdateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminLaunchPlanUpdateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_list_matchable_attributes_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_list_matchable_attributes_response.py new file mode 100644 index 000000000..c1efcb34b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_list_matchable_attributes_response.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_matchable_attributes_configuration import AdminMatchableAttributesConfiguration # noqa: F401,E501 + + +class AdminListMatchableAttributesResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'configurations': 'list[AdminMatchableAttributesConfiguration]' + } + + attribute_map = { + 'configurations': 'configurations' + } + + def __init__(self, configurations=None): # noqa: E501 + """AdminListMatchableAttributesResponse - a model defined in Swagger""" # noqa: E501 + + self._configurations = None + self.discriminator = None + + if configurations is not None: + self.configurations = configurations + + @property + def configurations(self): + """Gets the configurations of this AdminListMatchableAttributesResponse. # noqa: E501 + + + :return: The configurations of this AdminListMatchableAttributesResponse. # noqa: E501 + :rtype: list[AdminMatchableAttributesConfiguration] + """ + return self._configurations + + @configurations.setter + def configurations(self, configurations): + """Sets the configurations of this AdminListMatchableAttributesResponse. + + + :param configurations: The configurations of this AdminListMatchableAttributesResponse. # noqa: E501 + :type: list[AdminMatchableAttributesConfiguration] + """ + + self._configurations = configurations + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminListMatchableAttributesResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminListMatchableAttributesResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_literal_map_blob.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_literal_map_blob.py new file mode 100644 index 000000000..6d7c78b49 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_literal_map_blob.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 + + +class AdminLiteralMapBlob(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'values': 'CoreLiteralMap', + 'uri': 'str' + } + + attribute_map = { + 'values': 'values', + 'uri': 'uri' + } + + def __init__(self, values=None, uri=None): # noqa: E501 + """AdminLiteralMapBlob - a model defined in Swagger""" # noqa: E501 + + self._values = None + self._uri = None + self.discriminator = None + + if values is not None: + self.values = values + if uri is not None: + self.uri = uri + + @property + def values(self): + """Gets the values of this AdminLiteralMapBlob. # noqa: E501 + + + :return: The values of this AdminLiteralMapBlob. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._values + + @values.setter + def values(self, values): + """Sets the values of this AdminLiteralMapBlob. + + + :param values: The values of this AdminLiteralMapBlob. # noqa: E501 + :type: CoreLiteralMap + """ + + self._values = values + + @property + def uri(self): + """Gets the uri of this AdminLiteralMapBlob. # noqa: E501 + + + :return: The uri of this AdminLiteralMapBlob. # noqa: E501 + :rtype: str + """ + return self._uri + + @uri.setter + def uri(self, uri): + """Sets the uri of this AdminLiteralMapBlob. + + + :param uri: The uri of this AdminLiteralMapBlob. # noqa: E501 + :type: str + """ + + self._uri = uri + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminLiteralMapBlob, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminLiteralMapBlob): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_attributes_configuration.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_attributes_configuration.py new file mode 100644 index 000000000..a9be455f2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_attributes_configuration.py @@ -0,0 +1,221 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: F401,E501 + + +class AdminMatchableAttributesConfiguration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attributes': 'AdminMatchingAttributes', + 'domain': 'str', + 'project': 'str', + 'workflow': 'str', + 'launch_plan': 'str' + } + + attribute_map = { + 'attributes': 'attributes', + 'domain': 'domain', + 'project': 'project', + 'workflow': 'workflow', + 'launch_plan': 'launch_plan' + } + + def __init__(self, attributes=None, domain=None, project=None, workflow=None, launch_plan=None): # noqa: E501 + """AdminMatchableAttributesConfiguration - a model defined in Swagger""" # noqa: E501 + + self._attributes = None + self._domain = None + self._project = None + self._workflow = None + self._launch_plan = None + self.discriminator = None + + if attributes is not None: + self.attributes = attributes + if domain is not None: + self.domain = domain + if project is not None: + self.project = project + if workflow is not None: + self.workflow = workflow + if launch_plan is not None: + self.launch_plan = launch_plan + + @property + def attributes(self): + """Gets the attributes of this AdminMatchableAttributesConfiguration. # noqa: E501 + + + :return: The attributes of this AdminMatchableAttributesConfiguration. # noqa: E501 + :rtype: AdminMatchingAttributes + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this AdminMatchableAttributesConfiguration. + + + :param attributes: The attributes of this AdminMatchableAttributesConfiguration. # noqa: E501 + :type: AdminMatchingAttributes + """ + + self._attributes = attributes + + @property + def domain(self): + """Gets the domain of this AdminMatchableAttributesConfiguration. # noqa: E501 + + + :return: The domain of this AdminMatchableAttributesConfiguration. # noqa: E501 + :rtype: str + """ + return self._domain + + @domain.setter + def domain(self, domain): + """Sets the domain of this AdminMatchableAttributesConfiguration. + + + :param domain: The domain of this AdminMatchableAttributesConfiguration. # noqa: E501 + :type: str + """ + + self._domain = domain + + @property + def project(self): + """Gets the project of this AdminMatchableAttributesConfiguration. # noqa: E501 + + + :return: The project of this AdminMatchableAttributesConfiguration. # noqa: E501 + :rtype: str + """ + return self._project + + @project.setter + def project(self, project): + """Sets the project of this AdminMatchableAttributesConfiguration. + + + :param project: The project of this AdminMatchableAttributesConfiguration. # noqa: E501 + :type: str + """ + + self._project = project + + @property + def workflow(self): + """Gets the workflow of this AdminMatchableAttributesConfiguration. # noqa: E501 + + + :return: The workflow of this AdminMatchableAttributesConfiguration. # noqa: E501 + :rtype: str + """ + return self._workflow + + @workflow.setter + def workflow(self, workflow): + """Sets the workflow of this AdminMatchableAttributesConfiguration. + + + :param workflow: The workflow of this AdminMatchableAttributesConfiguration. # noqa: E501 + :type: str + """ + + self._workflow = workflow + + @property + def launch_plan(self): + """Gets the launch_plan of this AdminMatchableAttributesConfiguration. # noqa: E501 + + + :return: The launch_plan of this AdminMatchableAttributesConfiguration. # noqa: E501 + :rtype: str + """ + return self._launch_plan + + @launch_plan.setter + def launch_plan(self, launch_plan): + """Sets the launch_plan of this AdminMatchableAttributesConfiguration. + + + :param launch_plan: The launch_plan of this AdminMatchableAttributesConfiguration. # noqa: E501 + :type: str + """ + + self._launch_plan = launch_plan + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminMatchableAttributesConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminMatchableAttributesConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_resource.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_resource.py new file mode 100644 index 000000000..2c234614f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_resource.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminMatchableResource(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + TASK_RESOURCE = "TASK_RESOURCE" + CLUSTER_RESOURCE = "CLUSTER_RESOURCE" + EXECUTION_QUEUE = "EXECUTION_QUEUE" + EXECUTION_CLUSTER_LABEL = "EXECUTION_CLUSTER_LABEL" + QUALITY_OF_SERVICE_SPECIFICATION = "QUALITY_OF_SERVICE_SPECIFICATION" + PLUGIN_OVERRIDE = "PLUGIN_OVERRIDE" + WORKFLOW_EXECUTION_CONFIG = "WORKFLOW_EXECUTION_CONFIG" + CLUSTER_ASSIGNMENT = "CLUSTER_ASSIGNMENT" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminMatchableResource - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminMatchableResource, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminMatchableResource): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py new file mode 100644 index 000000000..aadcc1d21 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py @@ -0,0 +1,306 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment # noqa: F401,E501 +from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes # noqa: F401,E501 +from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel # noqa: F401,E501 +from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes # noqa: F401,E501 +from flyteadmin.models.admin_plugin_overrides import AdminPluginOverrides # noqa: F401,E501 +from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes # noqa: F401,E501 +from flyteadmin.models.admin_workflow_execution_config import AdminWorkflowExecutionConfig # noqa: F401,E501 +from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: F401,E501 + + +class AdminMatchingAttributes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'task_resource_attributes': 'AdminTaskResourceAttributes', + 'cluster_resource_attributes': 'AdminClusterResourceAttributes', + 'execution_queue_attributes': 'AdminExecutionQueueAttributes', + 'execution_cluster_label': 'AdminExecutionClusterLabel', + 'quality_of_service': 'CoreQualityOfService', + 'plugin_overrides': 'AdminPluginOverrides', + 'workflow_execution_config': 'AdminWorkflowExecutionConfig', + 'cluster_assignment': 'AdminClusterAssignment' + } + + attribute_map = { + 'task_resource_attributes': 'task_resource_attributes', + 'cluster_resource_attributes': 'cluster_resource_attributes', + 'execution_queue_attributes': 'execution_queue_attributes', + 'execution_cluster_label': 'execution_cluster_label', + 'quality_of_service': 'quality_of_service', + 'plugin_overrides': 'plugin_overrides', + 'workflow_execution_config': 'workflow_execution_config', + 'cluster_assignment': 'cluster_assignment' + } + + def __init__(self, task_resource_attributes=None, cluster_resource_attributes=None, execution_queue_attributes=None, execution_cluster_label=None, quality_of_service=None, plugin_overrides=None, workflow_execution_config=None, cluster_assignment=None): # noqa: E501 + """AdminMatchingAttributes - a model defined in Swagger""" # noqa: E501 + + self._task_resource_attributes = None + self._cluster_resource_attributes = None + self._execution_queue_attributes = None + self._execution_cluster_label = None + self._quality_of_service = None + self._plugin_overrides = None + self._workflow_execution_config = None + self._cluster_assignment = None + self.discriminator = None + + if task_resource_attributes is not None: + self.task_resource_attributes = task_resource_attributes + if cluster_resource_attributes is not None: + self.cluster_resource_attributes = cluster_resource_attributes + if execution_queue_attributes is not None: + self.execution_queue_attributes = execution_queue_attributes + if execution_cluster_label is not None: + self.execution_cluster_label = execution_cluster_label + if quality_of_service is not None: + self.quality_of_service = quality_of_service + if plugin_overrides is not None: + self.plugin_overrides = plugin_overrides + if workflow_execution_config is not None: + self.workflow_execution_config = workflow_execution_config + if cluster_assignment is not None: + self.cluster_assignment = cluster_assignment + + @property + def task_resource_attributes(self): + """Gets the task_resource_attributes of this AdminMatchingAttributes. # noqa: E501 + + + :return: The task_resource_attributes of this AdminMatchingAttributes. # noqa: E501 + :rtype: AdminTaskResourceAttributes + """ + return self._task_resource_attributes + + @task_resource_attributes.setter + def task_resource_attributes(self, task_resource_attributes): + """Sets the task_resource_attributes of this AdminMatchingAttributes. + + + :param task_resource_attributes: The task_resource_attributes of this AdminMatchingAttributes. # noqa: E501 + :type: AdminTaskResourceAttributes + """ + + self._task_resource_attributes = task_resource_attributes + + @property + def cluster_resource_attributes(self): + """Gets the cluster_resource_attributes of this AdminMatchingAttributes. # noqa: E501 + + + :return: The cluster_resource_attributes of this AdminMatchingAttributes. # noqa: E501 + :rtype: AdminClusterResourceAttributes + """ + return self._cluster_resource_attributes + + @cluster_resource_attributes.setter + def cluster_resource_attributes(self, cluster_resource_attributes): + """Sets the cluster_resource_attributes of this AdminMatchingAttributes. + + + :param cluster_resource_attributes: The cluster_resource_attributes of this AdminMatchingAttributes. # noqa: E501 + :type: AdminClusterResourceAttributes + """ + + self._cluster_resource_attributes = cluster_resource_attributes + + @property + def execution_queue_attributes(self): + """Gets the execution_queue_attributes of this AdminMatchingAttributes. # noqa: E501 + + + :return: The execution_queue_attributes of this AdminMatchingAttributes. # noqa: E501 + :rtype: AdminExecutionQueueAttributes + """ + return self._execution_queue_attributes + + @execution_queue_attributes.setter + def execution_queue_attributes(self, execution_queue_attributes): + """Sets the execution_queue_attributes of this AdminMatchingAttributes. + + + :param execution_queue_attributes: The execution_queue_attributes of this AdminMatchingAttributes. # noqa: E501 + :type: AdminExecutionQueueAttributes + """ + + self._execution_queue_attributes = execution_queue_attributes + + @property + def execution_cluster_label(self): + """Gets the execution_cluster_label of this AdminMatchingAttributes. # noqa: E501 + + + :return: The execution_cluster_label of this AdminMatchingAttributes. # noqa: E501 + :rtype: AdminExecutionClusterLabel + """ + return self._execution_cluster_label + + @execution_cluster_label.setter + def execution_cluster_label(self, execution_cluster_label): + """Sets the execution_cluster_label of this AdminMatchingAttributes. + + + :param execution_cluster_label: The execution_cluster_label of this AdminMatchingAttributes. # noqa: E501 + :type: AdminExecutionClusterLabel + """ + + self._execution_cluster_label = execution_cluster_label + + @property + def quality_of_service(self): + """Gets the quality_of_service of this AdminMatchingAttributes. # noqa: E501 + + + :return: The quality_of_service of this AdminMatchingAttributes. # noqa: E501 + :rtype: CoreQualityOfService + """ + return self._quality_of_service + + @quality_of_service.setter + def quality_of_service(self, quality_of_service): + """Sets the quality_of_service of this AdminMatchingAttributes. + + + :param quality_of_service: The quality_of_service of this AdminMatchingAttributes. # noqa: E501 + :type: CoreQualityOfService + """ + + self._quality_of_service = quality_of_service + + @property + def plugin_overrides(self): + """Gets the plugin_overrides of this AdminMatchingAttributes. # noqa: E501 + + + :return: The plugin_overrides of this AdminMatchingAttributes. # noqa: E501 + :rtype: AdminPluginOverrides + """ + return self._plugin_overrides + + @plugin_overrides.setter + def plugin_overrides(self, plugin_overrides): + """Sets the plugin_overrides of this AdminMatchingAttributes. + + + :param plugin_overrides: The plugin_overrides of this AdminMatchingAttributes. # noqa: E501 + :type: AdminPluginOverrides + """ + + self._plugin_overrides = plugin_overrides + + @property + def workflow_execution_config(self): + """Gets the workflow_execution_config of this AdminMatchingAttributes. # noqa: E501 + + + :return: The workflow_execution_config of this AdminMatchingAttributes. # noqa: E501 + :rtype: AdminWorkflowExecutionConfig + """ + return self._workflow_execution_config + + @workflow_execution_config.setter + def workflow_execution_config(self, workflow_execution_config): + """Sets the workflow_execution_config of this AdminMatchingAttributes. + + + :param workflow_execution_config: The workflow_execution_config of this AdminMatchingAttributes. # noqa: E501 + :type: AdminWorkflowExecutionConfig + """ + + self._workflow_execution_config = workflow_execution_config + + @property + def cluster_assignment(self): + """Gets the cluster_assignment of this AdminMatchingAttributes. # noqa: E501 + + + :return: The cluster_assignment of this AdminMatchingAttributes. # noqa: E501 + :rtype: AdminClusterAssignment + """ + return self._cluster_assignment + + @cluster_assignment.setter + def cluster_assignment(self, cluster_assignment): + """Sets the cluster_assignment of this AdminMatchingAttributes. + + + :param cluster_assignment: The cluster_assignment of this AdminMatchingAttributes. # noqa: E501 + :type: AdminClusterAssignment + """ + + self._cluster_assignment = cluster_assignment + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminMatchingAttributes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminMatchingAttributes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity.py new file mode 100644 index 000000000..9a8600de9 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier # noqa: F401,E501 +from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata # noqa: F401,E501 +from flyteadmin.models.core_resource_type import CoreResourceType # noqa: F401,E501 + + +class AdminNamedEntity(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'resource_type': 'CoreResourceType', + 'id': 'AdminNamedEntityIdentifier', + 'metadata': 'AdminNamedEntityMetadata' + } + + attribute_map = { + 'resource_type': 'resource_type', + 'id': 'id', + 'metadata': 'metadata' + } + + def __init__(self, resource_type=None, id=None, metadata=None): # noqa: E501 + """AdminNamedEntity - a model defined in Swagger""" # noqa: E501 + + self._resource_type = None + self._id = None + self._metadata = None + self.discriminator = None + + if resource_type is not None: + self.resource_type = resource_type + if id is not None: + self.id = id + if metadata is not None: + self.metadata = metadata + + @property + def resource_type(self): + """Gets the resource_type of this AdminNamedEntity. # noqa: E501 + + Resource type of the named entity. One of Task, Workflow or LaunchPlan. # noqa: E501 + + :return: The resource_type of this AdminNamedEntity. # noqa: E501 + :rtype: CoreResourceType + """ + return self._resource_type + + @resource_type.setter + def resource_type(self, resource_type): + """Sets the resource_type of this AdminNamedEntity. + + Resource type of the named entity. One of Task, Workflow or LaunchPlan. # noqa: E501 + + :param resource_type: The resource_type of this AdminNamedEntity. # noqa: E501 + :type: CoreResourceType + """ + + self._resource_type = resource_type + + @property + def id(self): + """Gets the id of this AdminNamedEntity. # noqa: E501 + + + :return: The id of this AdminNamedEntity. # noqa: E501 + :rtype: AdminNamedEntityIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminNamedEntity. + + + :param id: The id of this AdminNamedEntity. # noqa: E501 + :type: AdminNamedEntityIdentifier + """ + + self._id = id + + @property + def metadata(self): + """Gets the metadata of this AdminNamedEntity. # noqa: E501 + + Additional metadata around a named entity. # noqa: E501 + + :return: The metadata of this AdminNamedEntity. # noqa: E501 + :rtype: AdminNamedEntityMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this AdminNamedEntity. + + Additional metadata around a named entity. # noqa: E501 + + :param metadata: The metadata of this AdminNamedEntity. # noqa: E501 + :type: AdminNamedEntityMetadata + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNamedEntity, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNamedEntity): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier.py new file mode 100644 index 000000000..8a0624140 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier.py @@ -0,0 +1,171 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminNamedEntityIdentifier(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'project': 'str', + 'domain': 'str', + 'name': 'str' + } + + attribute_map = { + 'project': 'project', + 'domain': 'domain', + 'name': 'name' + } + + def __init__(self, project=None, domain=None, name=None): # noqa: E501 + """AdminNamedEntityIdentifier - a model defined in Swagger""" # noqa: E501 + + self._project = None + self._domain = None + self._name = None + self.discriminator = None + + if project is not None: + self.project = project + if domain is not None: + self.domain = domain + if name is not None: + self.name = name + + @property + def project(self): + """Gets the project of this AdminNamedEntityIdentifier. # noqa: E501 + + Name of the project the resource belongs to. # noqa: E501 + + :return: The project of this AdminNamedEntityIdentifier. # noqa: E501 + :rtype: str + """ + return self._project + + @project.setter + def project(self, project): + """Sets the project of this AdminNamedEntityIdentifier. + + Name of the project the resource belongs to. # noqa: E501 + + :param project: The project of this AdminNamedEntityIdentifier. # noqa: E501 + :type: str + """ + + self._project = project + + @property + def domain(self): + """Gets the domain of this AdminNamedEntityIdentifier. # noqa: E501 + + Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 + + :return: The domain of this AdminNamedEntityIdentifier. # noqa: E501 + :rtype: str + """ + return self._domain + + @domain.setter + def domain(self, domain): + """Sets the domain of this AdminNamedEntityIdentifier. + + Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 + + :param domain: The domain of this AdminNamedEntityIdentifier. # noqa: E501 + :type: str + """ + + self._domain = domain + + @property + def name(self): + """Gets the name of this AdminNamedEntityIdentifier. # noqa: E501 + + + :return: The name of this AdminNamedEntityIdentifier. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this AdminNamedEntityIdentifier. + + + :param name: The name of this AdminNamedEntityIdentifier. # noqa: E501 + :type: str + """ + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNamedEntityIdentifier, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNamedEntityIdentifier): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier_list.py new file mode 100644 index 000000000..04a4ad028 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier_list.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier # noqa: F401,E501 + + +class AdminNamedEntityIdentifierList(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'entities': 'list[AdminNamedEntityIdentifier]', + 'token': 'str' + } + + attribute_map = { + 'entities': 'entities', + 'token': 'token' + } + + def __init__(self, entities=None, token=None): # noqa: E501 + """AdminNamedEntityIdentifierList - a model defined in Swagger""" # noqa: E501 + + self._entities = None + self._token = None + self.discriminator = None + + if entities is not None: + self.entities = entities + if token is not None: + self.token = token + + @property + def entities(self): + """Gets the entities of this AdminNamedEntityIdentifierList. # noqa: E501 + + A list of identifiers. # noqa: E501 + + :return: The entities of this AdminNamedEntityIdentifierList. # noqa: E501 + :rtype: list[AdminNamedEntityIdentifier] + """ + return self._entities + + @entities.setter + def entities(self, entities): + """Sets the entities of this AdminNamedEntityIdentifierList. + + A list of identifiers. # noqa: E501 + + :param entities: The entities of this AdminNamedEntityIdentifierList. # noqa: E501 + :type: list[AdminNamedEntityIdentifier] + """ + + self._entities = entities + + @property + def token(self): + """Gets the token of this AdminNamedEntityIdentifierList. # noqa: E501 + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :return: The token of this AdminNamedEntityIdentifierList. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this AdminNamedEntityIdentifierList. + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :param token: The token of this AdminNamedEntityIdentifierList. # noqa: E501 + :type: str + """ + + self._token = token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNamedEntityIdentifierList, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNamedEntityIdentifierList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_list.py new file mode 100644 index 000000000..6a9769988 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_list.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_named_entity import AdminNamedEntity # noqa: F401,E501 + + +class AdminNamedEntityList(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'entities': 'list[AdminNamedEntity]', + 'token': 'str' + } + + attribute_map = { + 'entities': 'entities', + 'token': 'token' + } + + def __init__(self, entities=None, token=None): # noqa: E501 + """AdminNamedEntityList - a model defined in Swagger""" # noqa: E501 + + self._entities = None + self._token = None + self.discriminator = None + + if entities is not None: + self.entities = entities + if token is not None: + self.token = token + + @property + def entities(self): + """Gets the entities of this AdminNamedEntityList. # noqa: E501 + + + :return: The entities of this AdminNamedEntityList. # noqa: E501 + :rtype: list[AdminNamedEntity] + """ + return self._entities + + @entities.setter + def entities(self, entities): + """Sets the entities of this AdminNamedEntityList. + + + :param entities: The entities of this AdminNamedEntityList. # noqa: E501 + :type: list[AdminNamedEntity] + """ + + self._entities = entities + + @property + def token(self): + """Gets the token of this AdminNamedEntityList. # noqa: E501 + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :return: The token of this AdminNamedEntityList. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this AdminNamedEntityList. + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :param token: The token of this AdminNamedEntityList. # noqa: E501 + :type: str + """ + + self._token = token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNamedEntityList, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNamedEntityList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_metadata.py new file mode 100644 index 000000000..e7e538e04 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_metadata.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_named_entity_state import AdminNamedEntityState # noqa: F401,E501 + + +class AdminNamedEntityMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'description': 'str', + 'state': 'AdminNamedEntityState' + } + + attribute_map = { + 'description': 'description', + 'state': 'state' + } + + def __init__(self, description=None, state=None): # noqa: E501 + """AdminNamedEntityMetadata - a model defined in Swagger""" # noqa: E501 + + self._description = None + self._state = None + self.discriminator = None + + if description is not None: + self.description = description + if state is not None: + self.state = state + + @property + def description(self): + """Gets the description of this AdminNamedEntityMetadata. # noqa: E501 + + + :return: The description of this AdminNamedEntityMetadata. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this AdminNamedEntityMetadata. + + + :param description: The description of this AdminNamedEntityMetadata. # noqa: E501 + :type: str + """ + + self._description = description + + @property + def state(self): + """Gets the state of this AdminNamedEntityMetadata. # noqa: E501 + + Shared state across all version of the entity At this point in time, only workflow entities can have their state archived. # noqa: E501 + + :return: The state of this AdminNamedEntityMetadata. # noqa: E501 + :rtype: AdminNamedEntityState + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this AdminNamedEntityMetadata. + + Shared state across all version of the entity At this point in time, only workflow entities can have their state archived. # noqa: E501 + + :param state: The state of this AdminNamedEntityMetadata. # noqa: E501 + :type: AdminNamedEntityState + """ + + self._state = state + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNamedEntityMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNamedEntityMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_state.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_state.py new file mode 100644 index 000000000..c2739d233 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_state.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminNamedEntityState(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + NAMED_ENTITY_ACTIVE = "NAMED_ENTITY_ACTIVE" + NAMED_ENTITY_ARCHIVED = "NAMED_ENTITY_ARCHIVED" + SYSTEM_GENERATED = "SYSTEM_GENERATED" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminNamedEntityState - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNamedEntityState, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNamedEntityState): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_request.py new file mode 100644 index 000000000..92b851213 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_request.py @@ -0,0 +1,171 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier # noqa: F401,E501 +from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata # noqa: F401,E501 +from flyteadmin.models.core_resource_type import CoreResourceType # noqa: F401,E501 + + +class AdminNamedEntityUpdateRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'resource_type': 'CoreResourceType', + 'id': 'AdminNamedEntityIdentifier', + 'metadata': 'AdminNamedEntityMetadata' + } + + attribute_map = { + 'resource_type': 'resource_type', + 'id': 'id', + 'metadata': 'metadata' + } + + def __init__(self, resource_type=None, id=None, metadata=None): # noqa: E501 + """AdminNamedEntityUpdateRequest - a model defined in Swagger""" # noqa: E501 + + self._resource_type = None + self._id = None + self._metadata = None + self.discriminator = None + + if resource_type is not None: + self.resource_type = resource_type + if id is not None: + self.id = id + if metadata is not None: + self.metadata = metadata + + @property + def resource_type(self): + """Gets the resource_type of this AdminNamedEntityUpdateRequest. # noqa: E501 + + + :return: The resource_type of this AdminNamedEntityUpdateRequest. # noqa: E501 + :rtype: CoreResourceType + """ + return self._resource_type + + @resource_type.setter + def resource_type(self, resource_type): + """Sets the resource_type of this AdminNamedEntityUpdateRequest. + + + :param resource_type: The resource_type of this AdminNamedEntityUpdateRequest. # noqa: E501 + :type: CoreResourceType + """ + + self._resource_type = resource_type + + @property + def id(self): + """Gets the id of this AdminNamedEntityUpdateRequest. # noqa: E501 + + + :return: The id of this AdminNamedEntityUpdateRequest. # noqa: E501 + :rtype: AdminNamedEntityIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminNamedEntityUpdateRequest. + + + :param id: The id of this AdminNamedEntityUpdateRequest. # noqa: E501 + :type: AdminNamedEntityIdentifier + """ + + self._id = id + + @property + def metadata(self): + """Gets the metadata of this AdminNamedEntityUpdateRequest. # noqa: E501 + + + :return: The metadata of this AdminNamedEntityUpdateRequest. # noqa: E501 + :rtype: AdminNamedEntityMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this AdminNamedEntityUpdateRequest. + + + :param metadata: The metadata of this AdminNamedEntityUpdateRequest. # noqa: E501 + :type: AdminNamedEntityMetadata + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNamedEntityUpdateRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNamedEntityUpdateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_response.py new file mode 100644 index 000000000..fc86d9ea8 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminNamedEntityUpdateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminNamedEntityUpdateResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNamedEntityUpdateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNamedEntityUpdateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py new file mode 100644 index 000000000..48c933218 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py @@ -0,0 +1,395 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 +from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase # noqa: F401,E501 +from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata # noqa: F401,E501 +from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata # noqa: F401,E501 + + +class AdminNodeExecutionClosure(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'output_uri': 'str', + 'error': 'CoreExecutionError', + 'output_data': 'CoreLiteralMap', + 'phase': 'CoreNodeExecutionPhase', + 'started_at': 'datetime', + 'duration': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', + 'workflow_node_metadata': 'FlyteidladminWorkflowNodeMetadata', + 'task_node_metadata': 'FlyteidladminTaskNodeMetadata', + 'deck_uri': 'str' + } + + attribute_map = { + 'output_uri': 'output_uri', + 'error': 'error', + 'output_data': 'output_data', + 'phase': 'phase', + 'started_at': 'started_at', + 'duration': 'duration', + 'created_at': 'created_at', + 'updated_at': 'updated_at', + 'workflow_node_metadata': 'workflow_node_metadata', + 'task_node_metadata': 'task_node_metadata', + 'deck_uri': 'deck_uri' + } + + def __init__(self, output_uri=None, error=None, output_data=None, phase=None, started_at=None, duration=None, created_at=None, updated_at=None, workflow_node_metadata=None, task_node_metadata=None, deck_uri=None): # noqa: E501 + """AdminNodeExecutionClosure - a model defined in Swagger""" # noqa: E501 + + self._output_uri = None + self._error = None + self._output_data = None + self._phase = None + self._started_at = None + self._duration = None + self._created_at = None + self._updated_at = None + self._workflow_node_metadata = None + self._task_node_metadata = None + self._deck_uri = None + self.discriminator = None + + if output_uri is not None: + self.output_uri = output_uri + if error is not None: + self.error = error + if output_data is not None: + self.output_data = output_data + if phase is not None: + self.phase = phase + if started_at is not None: + self.started_at = started_at + if duration is not None: + self.duration = duration + if created_at is not None: + self.created_at = created_at + if updated_at is not None: + self.updated_at = updated_at + if workflow_node_metadata is not None: + self.workflow_node_metadata = workflow_node_metadata + if task_node_metadata is not None: + self.task_node_metadata = task_node_metadata + if deck_uri is not None: + self.deck_uri = deck_uri + + @property + def output_uri(self): + """Gets the output_uri of this AdminNodeExecutionClosure. # noqa: E501 + + Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. # noqa: E501 + + :return: The output_uri of this AdminNodeExecutionClosure. # noqa: E501 + :rtype: str + """ + return self._output_uri + + @output_uri.setter + def output_uri(self, output_uri): + """Sets the output_uri of this AdminNodeExecutionClosure. + + Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. # noqa: E501 + + :param output_uri: The output_uri of this AdminNodeExecutionClosure. # noqa: E501 + :type: str + """ + + self._output_uri = output_uri + + @property + def error(self): + """Gets the error of this AdminNodeExecutionClosure. # noqa: E501 + + + :return: The error of this AdminNodeExecutionClosure. # noqa: E501 + :rtype: CoreExecutionError + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this AdminNodeExecutionClosure. + + + :param error: The error of this AdminNodeExecutionClosure. # noqa: E501 + :type: CoreExecutionError + """ + + self._error = error + + @property + def output_data(self): + """Gets the output_data of this AdminNodeExecutionClosure. # noqa: E501 + + Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. # noqa: E501 + + :return: The output_data of this AdminNodeExecutionClosure. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._output_data + + @output_data.setter + def output_data(self, output_data): + """Sets the output_data of this AdminNodeExecutionClosure. + + Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. # noqa: E501 + + :param output_data: The output_data of this AdminNodeExecutionClosure. # noqa: E501 + :type: CoreLiteralMap + """ + + self._output_data = output_data + + @property + def phase(self): + """Gets the phase of this AdminNodeExecutionClosure. # noqa: E501 + + The last recorded phase for this node execution. # noqa: E501 + + :return: The phase of this AdminNodeExecutionClosure. # noqa: E501 + :rtype: CoreNodeExecutionPhase + """ + return self._phase + + @phase.setter + def phase(self, phase): + """Sets the phase of this AdminNodeExecutionClosure. + + The last recorded phase for this node execution. # noqa: E501 + + :param phase: The phase of this AdminNodeExecutionClosure. # noqa: E501 + :type: CoreNodeExecutionPhase + """ + + self._phase = phase + + @property + def started_at(self): + """Gets the started_at of this AdminNodeExecutionClosure. # noqa: E501 + + Time at which the node execution began running. # noqa: E501 + + :return: The started_at of this AdminNodeExecutionClosure. # noqa: E501 + :rtype: datetime + """ + return self._started_at + + @started_at.setter + def started_at(self, started_at): + """Sets the started_at of this AdminNodeExecutionClosure. + + Time at which the node execution began running. # noqa: E501 + + :param started_at: The started_at of this AdminNodeExecutionClosure. # noqa: E501 + :type: datetime + """ + + self._started_at = started_at + + @property + def duration(self): + """Gets the duration of this AdminNodeExecutionClosure. # noqa: E501 + + The amount of time the node execution spent running. # noqa: E501 + + :return: The duration of this AdminNodeExecutionClosure. # noqa: E501 + :rtype: str + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this AdminNodeExecutionClosure. + + The amount of time the node execution spent running. # noqa: E501 + + :param duration: The duration of this AdminNodeExecutionClosure. # noqa: E501 + :type: str + """ + + self._duration = duration + + @property + def created_at(self): + """Gets the created_at of this AdminNodeExecutionClosure. # noqa: E501 + + Time at which the node execution was created. # noqa: E501 + + :return: The created_at of this AdminNodeExecutionClosure. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this AdminNodeExecutionClosure. + + Time at which the node execution was created. # noqa: E501 + + :param created_at: The created_at of this AdminNodeExecutionClosure. # noqa: E501 + :type: datetime + """ + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this AdminNodeExecutionClosure. # noqa: E501 + + Time at which the node execution was last updated. # noqa: E501 + + :return: The updated_at of this AdminNodeExecutionClosure. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this AdminNodeExecutionClosure. + + Time at which the node execution was last updated. # noqa: E501 + + :param updated_at: The updated_at of this AdminNodeExecutionClosure. # noqa: E501 + :type: datetime + """ + + self._updated_at = updated_at + + @property + def workflow_node_metadata(self): + """Gets the workflow_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 + + + :return: The workflow_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 + :rtype: FlyteidladminWorkflowNodeMetadata + """ + return self._workflow_node_metadata + + @workflow_node_metadata.setter + def workflow_node_metadata(self, workflow_node_metadata): + """Sets the workflow_node_metadata of this AdminNodeExecutionClosure. + + + :param workflow_node_metadata: The workflow_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 + :type: FlyteidladminWorkflowNodeMetadata + """ + + self._workflow_node_metadata = workflow_node_metadata + + @property + def task_node_metadata(self): + """Gets the task_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 + + + :return: The task_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 + :rtype: FlyteidladminTaskNodeMetadata + """ + return self._task_node_metadata + + @task_node_metadata.setter + def task_node_metadata(self, task_node_metadata): + """Sets the task_node_metadata of this AdminNodeExecutionClosure. + + + :param task_node_metadata: The task_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 + :type: FlyteidladminTaskNodeMetadata + """ + + self._task_node_metadata = task_node_metadata + + @property + def deck_uri(self): + """Gets the deck_uri of this AdminNodeExecutionClosure. # noqa: E501 + + + :return: The deck_uri of this AdminNodeExecutionClosure. # noqa: E501 + :rtype: str + """ + return self._deck_uri + + @deck_uri.setter + def deck_uri(self, deck_uri): + """Sets the deck_uri of this AdminNodeExecutionClosure. + + + :param deck_uri: The deck_uri of this AdminNodeExecutionClosure. # noqa: E501 + :type: str + """ + + self._deck_uri = deck_uri + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNodeExecutionClosure, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNodeExecutionClosure): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_request.py new file mode 100644 index 000000000..1b0555a03 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_request.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.event_node_execution_event import EventNodeExecutionEvent # noqa: F401,E501 + + +class AdminNodeExecutionEventRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'request_id': 'str', + 'event': 'EventNodeExecutionEvent' + } + + attribute_map = { + 'request_id': 'request_id', + 'event': 'event' + } + + def __init__(self, request_id=None, event=None): # noqa: E501 + """AdminNodeExecutionEventRequest - a model defined in Swagger""" # noqa: E501 + + self._request_id = None + self._event = None + self.discriminator = None + + if request_id is not None: + self.request_id = request_id + if event is not None: + self.event = event + + @property + def request_id(self): + """Gets the request_id of this AdminNodeExecutionEventRequest. # noqa: E501 + + + :return: The request_id of this AdminNodeExecutionEventRequest. # noqa: E501 + :rtype: str + """ + return self._request_id + + @request_id.setter + def request_id(self, request_id): + """Sets the request_id of this AdminNodeExecutionEventRequest. + + + :param request_id: The request_id of this AdminNodeExecutionEventRequest. # noqa: E501 + :type: str + """ + + self._request_id = request_id + + @property + def event(self): + """Gets the event of this AdminNodeExecutionEventRequest. # noqa: E501 + + Details about the event that occurred. # noqa: E501 + + :return: The event of this AdminNodeExecutionEventRequest. # noqa: E501 + :rtype: EventNodeExecutionEvent + """ + return self._event + + @event.setter + def event(self, event): + """Sets the event of this AdminNodeExecutionEventRequest. + + Details about the event that occurred. # noqa: E501 + + :param event: The event of this AdminNodeExecutionEventRequest. # noqa: E501 + :type: EventNodeExecutionEvent + """ + + self._event = event + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNodeExecutionEventRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNodeExecutionEventRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_response.py new file mode 100644 index 000000000..bc409dd13 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminNodeExecutionEventResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminNodeExecutionEventResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNodeExecutionEventResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNodeExecutionEventResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py new file mode 100644 index 000000000..3f6a52845 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py @@ -0,0 +1,233 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: F401,E501 +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 +from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata # noqa: F401,E501 + + +class AdminNodeExecutionGetDataResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'inputs': 'AdminUrlBlob', + 'outputs': 'AdminUrlBlob', + 'full_inputs': 'CoreLiteralMap', + 'full_outputs': 'CoreLiteralMap', + 'dynamic_workflow': 'FlyteidladminDynamicWorkflowNodeMetadata' + } + + attribute_map = { + 'inputs': 'inputs', + 'outputs': 'outputs', + 'full_inputs': 'full_inputs', + 'full_outputs': 'full_outputs', + 'dynamic_workflow': 'dynamic_workflow' + } + + def __init__(self, inputs=None, outputs=None, full_inputs=None, full_outputs=None, dynamic_workflow=None): # noqa: E501 + """AdminNodeExecutionGetDataResponse - a model defined in Swagger""" # noqa: E501 + + self._inputs = None + self._outputs = None + self._full_inputs = None + self._full_outputs = None + self._dynamic_workflow = None + self.discriminator = None + + if inputs is not None: + self.inputs = inputs + if outputs is not None: + self.outputs = outputs + if full_inputs is not None: + self.full_inputs = full_inputs + if full_outputs is not None: + self.full_outputs = full_outputs + if dynamic_workflow is not None: + self.dynamic_workflow = dynamic_workflow + + @property + def inputs(self): + """Gets the inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 + + Signed url to fetch a core.LiteralMap of node execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 + + :return: The inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 + :rtype: AdminUrlBlob + """ + return self._inputs + + @inputs.setter + def inputs(self, inputs): + """Sets the inputs of this AdminNodeExecutionGetDataResponse. + + Signed url to fetch a core.LiteralMap of node execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 + + :param inputs: The inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 + :type: AdminUrlBlob + """ + + self._inputs = inputs + + @property + def outputs(self): + """Gets the outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 + + Signed url to fetch a core.LiteralMap of node execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 + + :return: The outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 + :rtype: AdminUrlBlob + """ + return self._outputs + + @outputs.setter + def outputs(self, outputs): + """Sets the outputs of this AdminNodeExecutionGetDataResponse. + + Signed url to fetch a core.LiteralMap of node execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 + + :param outputs: The outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 + :type: AdminUrlBlob + """ + + self._outputs = outputs + + @property + def full_inputs(self): + """Gets the full_inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 + + Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 + + :return: The full_inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._full_inputs + + @full_inputs.setter + def full_inputs(self, full_inputs): + """Sets the full_inputs of this AdminNodeExecutionGetDataResponse. + + Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 + + :param full_inputs: The full_inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 + :type: CoreLiteralMap + """ + + self._full_inputs = full_inputs + + @property + def full_outputs(self): + """Gets the full_outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 + + Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 + + :return: The full_outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._full_outputs + + @full_outputs.setter + def full_outputs(self, full_outputs): + """Sets the full_outputs of this AdminNodeExecutionGetDataResponse. + + Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 + + :param full_outputs: The full_outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 + :type: CoreLiteralMap + """ + + self._full_outputs = full_outputs + + @property + def dynamic_workflow(self): + """Gets the dynamic_workflow of this AdminNodeExecutionGetDataResponse. # noqa: E501 + + Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. # noqa: E501 + + :return: The dynamic_workflow of this AdminNodeExecutionGetDataResponse. # noqa: E501 + :rtype: FlyteidladminDynamicWorkflowNodeMetadata + """ + return self._dynamic_workflow + + @dynamic_workflow.setter + def dynamic_workflow(self, dynamic_workflow): + """Sets the dynamic_workflow of this AdminNodeExecutionGetDataResponse. + + Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. # noqa: E501 + + :param dynamic_workflow: The dynamic_workflow of this AdminNodeExecutionGetDataResponse. # noqa: E501 + :type: FlyteidladminDynamicWorkflowNodeMetadata + """ + + self._dynamic_workflow = dynamic_workflow + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNodeExecutionGetDataResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNodeExecutionGetDataResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_list.py new file mode 100644 index 000000000..8f23e8cd4 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_list.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution # noqa: F401,E501 + + +class AdminNodeExecutionList(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'node_executions': 'list[FlyteidladminNodeExecution]', + 'token': 'str' + } + + attribute_map = { + 'node_executions': 'node_executions', + 'token': 'token' + } + + def __init__(self, node_executions=None, token=None): # noqa: E501 + """AdminNodeExecutionList - a model defined in Swagger""" # noqa: E501 + + self._node_executions = None + self._token = None + self.discriminator = None + + if node_executions is not None: + self.node_executions = node_executions + if token is not None: + self.token = token + + @property + def node_executions(self): + """Gets the node_executions of this AdminNodeExecutionList. # noqa: E501 + + + :return: The node_executions of this AdminNodeExecutionList. # noqa: E501 + :rtype: list[FlyteidladminNodeExecution] + """ + return self._node_executions + + @node_executions.setter + def node_executions(self, node_executions): + """Sets the node_executions of this AdminNodeExecutionList. + + + :param node_executions: The node_executions of this AdminNodeExecutionList. # noqa: E501 + :type: list[FlyteidladminNodeExecution] + """ + + self._node_executions = node_executions + + @property + def token(self): + """Gets the token of this AdminNodeExecutionList. # noqa: E501 + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :return: The token of this AdminNodeExecutionList. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this AdminNodeExecutionList. + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :param token: The token of this AdminNodeExecutionList. # noqa: E501 + :type: str + """ + + self._token = token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNodeExecutionList, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNodeExecutionList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_meta_data.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_meta_data.py new file mode 100644 index 000000000..659ad1f3c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_meta_data.py @@ -0,0 +1,199 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminNodeExecutionMetaData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'retry_group': 'str', + 'is_parent_node': 'bool', + 'spec_node_id': 'str', + 'is_dynamic': 'bool' + } + + attribute_map = { + 'retry_group': 'retry_group', + 'is_parent_node': 'is_parent_node', + 'spec_node_id': 'spec_node_id', + 'is_dynamic': 'is_dynamic' + } + + def __init__(self, retry_group=None, is_parent_node=None, spec_node_id=None, is_dynamic=None): # noqa: E501 + """AdminNodeExecutionMetaData - a model defined in Swagger""" # noqa: E501 + + self._retry_group = None + self._is_parent_node = None + self._spec_node_id = None + self._is_dynamic = None + self.discriminator = None + + if retry_group is not None: + self.retry_group = retry_group + if is_parent_node is not None: + self.is_parent_node = is_parent_node + if spec_node_id is not None: + self.spec_node_id = spec_node_id + if is_dynamic is not None: + self.is_dynamic = is_dynamic + + @property + def retry_group(self): + """Gets the retry_group of this AdminNodeExecutionMetaData. # noqa: E501 + + Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node. # noqa: E501 + + :return: The retry_group of this AdminNodeExecutionMetaData. # noqa: E501 + :rtype: str + """ + return self._retry_group + + @retry_group.setter + def retry_group(self, retry_group): + """Sets the retry_group of this AdminNodeExecutionMetaData. + + Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node. # noqa: E501 + + :param retry_group: The retry_group of this AdminNodeExecutionMetaData. # noqa: E501 + :type: str + """ + + self._retry_group = retry_group + + @property + def is_parent_node(self): + """Gets the is_parent_node of this AdminNodeExecutionMetaData. # noqa: E501 + + Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes. # noqa: E501 + + :return: The is_parent_node of this AdminNodeExecutionMetaData. # noqa: E501 + :rtype: bool + """ + return self._is_parent_node + + @is_parent_node.setter + def is_parent_node(self, is_parent_node): + """Sets the is_parent_node of this AdminNodeExecutionMetaData. + + Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes. # noqa: E501 + + :param is_parent_node: The is_parent_node of this AdminNodeExecutionMetaData. # noqa: E501 + :type: bool + """ + + self._is_parent_node = is_parent_node + + @property + def spec_node_id(self): + """Gets the spec_node_id of this AdminNodeExecutionMetaData. # noqa: E501 + + + :return: The spec_node_id of this AdminNodeExecutionMetaData. # noqa: E501 + :rtype: str + """ + return self._spec_node_id + + @spec_node_id.setter + def spec_node_id(self, spec_node_id): + """Sets the spec_node_id of this AdminNodeExecutionMetaData. + + + :param spec_node_id: The spec_node_id of this AdminNodeExecutionMetaData. # noqa: E501 + :type: str + """ + + self._spec_node_id = spec_node_id + + @property + def is_dynamic(self): + """Gets the is_dynamic of this AdminNodeExecutionMetaData. # noqa: E501 + + Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true. # noqa: E501 + + :return: The is_dynamic of this AdminNodeExecutionMetaData. # noqa: E501 + :rtype: bool + """ + return self._is_dynamic + + @is_dynamic.setter + def is_dynamic(self, is_dynamic): + """Sets the is_dynamic of this AdminNodeExecutionMetaData. + + Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true. # noqa: E501 + + :param is_dynamic: The is_dynamic of this AdminNodeExecutionMetaData. # noqa: E501 + :type: bool + """ + + self._is_dynamic = is_dynamic + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNodeExecutionMetaData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNodeExecutionMetaData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification.py new file mode 100644 index 000000000..8232eed6b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification.py @@ -0,0 +1,198 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_email_notification import AdminEmailNotification # noqa: F401,E501 +from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification # noqa: F401,E501 +from flyteadmin.models.admin_slack_notification import AdminSlackNotification # noqa: F401,E501 +from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase # noqa: F401,E501 + + +class AdminNotification(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'phases': 'list[CoreWorkflowExecutionPhase]', + 'email': 'AdminEmailNotification', + 'pager_duty': 'AdminPagerDutyNotification', + 'slack': 'AdminSlackNotification' + } + + attribute_map = { + 'phases': 'phases', + 'email': 'email', + 'pager_duty': 'pager_duty', + 'slack': 'slack' + } + + def __init__(self, phases=None, email=None, pager_duty=None, slack=None): # noqa: E501 + """AdminNotification - a model defined in Swagger""" # noqa: E501 + + self._phases = None + self._email = None + self._pager_duty = None + self._slack = None + self.discriminator = None + + if phases is not None: + self.phases = phases + if email is not None: + self.email = email + if pager_duty is not None: + self.pager_duty = pager_duty + if slack is not None: + self.slack = slack + + @property + def phases(self): + """Gets the phases of this AdminNotification. # noqa: E501 + + + :return: The phases of this AdminNotification. # noqa: E501 + :rtype: list[CoreWorkflowExecutionPhase] + """ + return self._phases + + @phases.setter + def phases(self, phases): + """Sets the phases of this AdminNotification. + + + :param phases: The phases of this AdminNotification. # noqa: E501 + :type: list[CoreWorkflowExecutionPhase] + """ + + self._phases = phases + + @property + def email(self): + """Gets the email of this AdminNotification. # noqa: E501 + + + :return: The email of this AdminNotification. # noqa: E501 + :rtype: AdminEmailNotification + """ + return self._email + + @email.setter + def email(self, email): + """Sets the email of this AdminNotification. + + + :param email: The email of this AdminNotification. # noqa: E501 + :type: AdminEmailNotification + """ + + self._email = email + + @property + def pager_duty(self): + """Gets the pager_duty of this AdminNotification. # noqa: E501 + + + :return: The pager_duty of this AdminNotification. # noqa: E501 + :rtype: AdminPagerDutyNotification + """ + return self._pager_duty + + @pager_duty.setter + def pager_duty(self, pager_duty): + """Sets the pager_duty of this AdminNotification. + + + :param pager_duty: The pager_duty of this AdminNotification. # noqa: E501 + :type: AdminPagerDutyNotification + """ + + self._pager_duty = pager_duty + + @property + def slack(self): + """Gets the slack of this AdminNotification. # noqa: E501 + + + :return: The slack of this AdminNotification. # noqa: E501 + :rtype: AdminSlackNotification + """ + return self._slack + + @slack.setter + def slack(self, slack): + """Sets the slack of this AdminNotification. + + + :param slack: The slack of this AdminNotification. # noqa: E501 + :type: AdminSlackNotification + """ + + self._slack = slack + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNotification, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNotification): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification_list.py new file mode 100644 index 000000000..200a0b1fe --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification_list.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_notification import AdminNotification # noqa: F401,E501 + + +class AdminNotificationList(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'notifications': 'list[AdminNotification]' + } + + attribute_map = { + 'notifications': 'notifications' + } + + def __init__(self, notifications=None): # noqa: E501 + """AdminNotificationList - a model defined in Swagger""" # noqa: E501 + + self._notifications = None + self.discriminator = None + + if notifications is not None: + self.notifications = notifications + + @property + def notifications(self): + """Gets the notifications of this AdminNotificationList. # noqa: E501 + + + :return: The notifications of this AdminNotificationList. # noqa: E501 + :rtype: list[AdminNotification] + """ + return self._notifications + + @notifications.setter + def notifications(self, notifications): + """Sets the notifications of this AdminNotificationList. + + + :param notifications: The notifications of this AdminNotificationList. # noqa: E501 + :type: list[AdminNotification] + """ + + self._notifications = notifications + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminNotificationList, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminNotificationList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_pager_duty_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_pager_duty_notification.py new file mode 100644 index 000000000..4dccfa645 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_pager_duty_notification.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminPagerDutyNotification(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'recipients_email': 'list[str]' + } + + attribute_map = { + 'recipients_email': 'recipients_email' + } + + def __init__(self, recipients_email=None): # noqa: E501 + """AdminPagerDutyNotification - a model defined in Swagger""" # noqa: E501 + + self._recipients_email = None + self.discriminator = None + + if recipients_email is not None: + self.recipients_email = recipients_email + + @property + def recipients_email(self): + """Gets the recipients_email of this AdminPagerDutyNotification. # noqa: E501 + + + :return: The recipients_email of this AdminPagerDutyNotification. # noqa: E501 + :rtype: list[str] + """ + return self._recipients_email + + @recipients_email.setter + def recipients_email(self, recipients_email): + """Sets the recipients_email of this AdminPagerDutyNotification. + + + :param recipients_email: The recipients_email of this AdminPagerDutyNotification. # noqa: E501 + :type: list[str] + """ + + self._recipients_email = recipients_email + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminPagerDutyNotification, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminPagerDutyNotification): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_override.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_override.py new file mode 100644 index 000000000..b339f7c51 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_override.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior # noqa: F401,E501 + + +class AdminPluginOverride(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'task_type': 'str', + 'plugin_id': 'list[str]', + 'missing_plugin_behavior': 'PluginOverrideMissingPluginBehavior' + } + + attribute_map = { + 'task_type': 'task_type', + 'plugin_id': 'plugin_id', + 'missing_plugin_behavior': 'missing_plugin_behavior' + } + + def __init__(self, task_type=None, plugin_id=None, missing_plugin_behavior=None): # noqa: E501 + """AdminPluginOverride - a model defined in Swagger""" # noqa: E501 + + self._task_type = None + self._plugin_id = None + self._missing_plugin_behavior = None + self.discriminator = None + + if task_type is not None: + self.task_type = task_type + if plugin_id is not None: + self.plugin_id = plugin_id + if missing_plugin_behavior is not None: + self.missing_plugin_behavior = missing_plugin_behavior + + @property + def task_type(self): + """Gets the task_type of this AdminPluginOverride. # noqa: E501 + + A predefined yet extensible Task type identifier. # noqa: E501 + + :return: The task_type of this AdminPluginOverride. # noqa: E501 + :rtype: str + """ + return self._task_type + + @task_type.setter + def task_type(self, task_type): + """Sets the task_type of this AdminPluginOverride. + + A predefined yet extensible Task type identifier. # noqa: E501 + + :param task_type: The task_type of this AdminPluginOverride. # noqa: E501 + :type: str + """ + + self._task_type = task_type + + @property + def plugin_id(self): + """Gets the plugin_id of this AdminPluginOverride. # noqa: E501 + + A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id. # noqa: E501 + + :return: The plugin_id of this AdminPluginOverride. # noqa: E501 + :rtype: list[str] + """ + return self._plugin_id + + @plugin_id.setter + def plugin_id(self, plugin_id): + """Sets the plugin_id of this AdminPluginOverride. + + A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id. # noqa: E501 + + :param plugin_id: The plugin_id of this AdminPluginOverride. # noqa: E501 + :type: list[str] + """ + + self._plugin_id = plugin_id + + @property + def missing_plugin_behavior(self): + """Gets the missing_plugin_behavior of this AdminPluginOverride. # noqa: E501 + + Defines the behavior when no plugin from the plugin_id list is not found. # noqa: E501 + + :return: The missing_plugin_behavior of this AdminPluginOverride. # noqa: E501 + :rtype: PluginOverrideMissingPluginBehavior + """ + return self._missing_plugin_behavior + + @missing_plugin_behavior.setter + def missing_plugin_behavior(self, missing_plugin_behavior): + """Sets the missing_plugin_behavior of this AdminPluginOverride. + + Defines the behavior when no plugin from the plugin_id list is not found. # noqa: E501 + + :param missing_plugin_behavior: The missing_plugin_behavior of this AdminPluginOverride. # noqa: E501 + :type: PluginOverrideMissingPluginBehavior + """ + + self._missing_plugin_behavior = missing_plugin_behavior + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminPluginOverride, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminPluginOverride): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_overrides.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_overrides.py new file mode 100644 index 000000000..3831ab8d7 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_overrides.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_plugin_override import AdminPluginOverride # noqa: F401,E501 + + +class AdminPluginOverrides(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'overrides': 'list[AdminPluginOverride]' + } + + attribute_map = { + 'overrides': 'overrides' + } + + def __init__(self, overrides=None): # noqa: E501 + """AdminPluginOverrides - a model defined in Swagger""" # noqa: E501 + + self._overrides = None + self.discriminator = None + + if overrides is not None: + self.overrides = overrides + + @property + def overrides(self): + """Gets the overrides of this AdminPluginOverrides. # noqa: E501 + + + :return: The overrides of this AdminPluginOverrides. # noqa: E501 + :rtype: list[AdminPluginOverride] + """ + return self._overrides + + @overrides.setter + def overrides(self, overrides): + """Sets the overrides of this AdminPluginOverrides. + + + :param overrides: The overrides of this AdminPluginOverrides. # noqa: E501 + :type: list[AdminPluginOverride] + """ + + self._overrides = overrides + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminPluginOverrides, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminPluginOverrides): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project.py new file mode 100644 index 000000000..325d97fd8 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project.py @@ -0,0 +1,255 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_domain import AdminDomain # noqa: F401,E501 +from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 +from flyteadmin.models.project_project_state import ProjectProjectState # noqa: F401,E501 + + +class AdminProject(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'str', + 'name': 'str', + 'domains': 'list[AdminDomain]', + 'description': 'str', + 'labels': 'AdminLabels', + 'state': 'ProjectProjectState' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'domains': 'domains', + 'description': 'description', + 'labels': 'labels', + 'state': 'state' + } + + def __init__(self, id=None, name=None, domains=None, description=None, labels=None, state=None): # noqa: E501 + """AdminProject - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._name = None + self._domains = None + self._description = None + self._labels = None + self._state = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if domains is not None: + self.domains = domains + if description is not None: + self.description = description + if labels is not None: + self.labels = labels + if state is not None: + self.state = state + + @property + def id(self): + """Gets the id of this AdminProject. # noqa: E501 + + Globally unique project name. # noqa: E501 + + :return: The id of this AdminProject. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminProject. + + Globally unique project name. # noqa: E501 + + :param id: The id of this AdminProject. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def name(self): + """Gets the name of this AdminProject. # noqa: E501 + + Display name. # noqa: E501 + + :return: The name of this AdminProject. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this AdminProject. + + Display name. # noqa: E501 + + :param name: The name of this AdminProject. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def domains(self): + """Gets the domains of this AdminProject. # noqa: E501 + + + :return: The domains of this AdminProject. # noqa: E501 + :rtype: list[AdminDomain] + """ + return self._domains + + @domains.setter + def domains(self, domains): + """Sets the domains of this AdminProject. + + + :param domains: The domains of this AdminProject. # noqa: E501 + :type: list[AdminDomain] + """ + + self._domains = domains + + @property + def description(self): + """Gets the description of this AdminProject. # noqa: E501 + + + :return: The description of this AdminProject. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this AdminProject. + + + :param description: The description of this AdminProject. # noqa: E501 + :type: str + """ + + self._description = description + + @property + def labels(self): + """Gets the labels of this AdminProject. # noqa: E501 + + Leverage Labels from flyteidel.admin.common.proto to tag projects with ownership information. # noqa: E501 + + :return: The labels of this AdminProject. # noqa: E501 + :rtype: AdminLabels + """ + return self._labels + + @labels.setter + def labels(self, labels): + """Sets the labels of this AdminProject. + + Leverage Labels from flyteidel.admin.common.proto to tag projects with ownership information. # noqa: E501 + + :param labels: The labels of this AdminProject. # noqa: E501 + :type: AdminLabels + """ + + self._labels = labels + + @property + def state(self): + """Gets the state of this AdminProject. # noqa: E501 + + + :return: The state of this AdminProject. # noqa: E501 + :rtype: ProjectProjectState + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this AdminProject. + + + :param state: The state of this AdminProject. # noqa: E501 + :type: ProjectProjectState + """ + + self._state = state + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProject, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProject): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py new file mode 100644 index 000000000..0c7d6e455 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py @@ -0,0 +1,173 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: F401,E501 + + +class AdminProjectDomainAttributes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'project': 'str', + 'domain': 'str', + 'matching_attributes': 'AdminMatchingAttributes' + } + + attribute_map = { + 'project': 'project', + 'domain': 'domain', + 'matching_attributes': 'matching_attributes' + } + + def __init__(self, project=None, domain=None, matching_attributes=None): # noqa: E501 + """AdminProjectDomainAttributes - a model defined in Swagger""" # noqa: E501 + + self._project = None + self._domain = None + self._matching_attributes = None + self.discriminator = None + + if project is not None: + self.project = project + if domain is not None: + self.domain = domain + if matching_attributes is not None: + self.matching_attributes = matching_attributes + + @property + def project(self): + """Gets the project of this AdminProjectDomainAttributes. # noqa: E501 + + Unique project id for which this set of attributes will be applied. # noqa: E501 + + :return: The project of this AdminProjectDomainAttributes. # noqa: E501 + :rtype: str + """ + return self._project + + @project.setter + def project(self, project): + """Sets the project of this AdminProjectDomainAttributes. + + Unique project id for which this set of attributes will be applied. # noqa: E501 + + :param project: The project of this AdminProjectDomainAttributes. # noqa: E501 + :type: str + """ + + self._project = project + + @property + def domain(self): + """Gets the domain of this AdminProjectDomainAttributes. # noqa: E501 + + Unique domain id for which this set of attributes will be applied. # noqa: E501 + + :return: The domain of this AdminProjectDomainAttributes. # noqa: E501 + :rtype: str + """ + return self._domain + + @domain.setter + def domain(self, domain): + """Sets the domain of this AdminProjectDomainAttributes. + + Unique domain id for which this set of attributes will be applied. # noqa: E501 + + :param domain: The domain of this AdminProjectDomainAttributes. # noqa: E501 + :type: str + """ + + self._domain = domain + + @property + def matching_attributes(self): + """Gets the matching_attributes of this AdminProjectDomainAttributes. # noqa: E501 + + + :return: The matching_attributes of this AdminProjectDomainAttributes. # noqa: E501 + :rtype: AdminMatchingAttributes + """ + return self._matching_attributes + + @matching_attributes.setter + def matching_attributes(self, matching_attributes): + """Sets the matching_attributes of this AdminProjectDomainAttributes. + + + :param matching_attributes: The matching_attributes of this AdminProjectDomainAttributes. # noqa: E501 + :type: AdminMatchingAttributes + """ + + self._matching_attributes = matching_attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProjectDomainAttributes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProjectDomainAttributes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_request.py new file mode 100644 index 000000000..aef8bfa14 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_request.py @@ -0,0 +1,169 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_matchable_resource import AdminMatchableResource # noqa: F401,E501 + + +class AdminProjectDomainAttributesDeleteRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'project': 'str', + 'domain': 'str', + 'resource_type': 'AdminMatchableResource' + } + + attribute_map = { + 'project': 'project', + 'domain': 'domain', + 'resource_type': 'resource_type' + } + + def __init__(self, project=None, domain=None, resource_type=None): # noqa: E501 + """AdminProjectDomainAttributesDeleteRequest - a model defined in Swagger""" # noqa: E501 + + self._project = None + self._domain = None + self._resource_type = None + self.discriminator = None + + if project is not None: + self.project = project + if domain is not None: + self.domain = domain + if resource_type is not None: + self.resource_type = resource_type + + @property + def project(self): + """Gets the project of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 + + + :return: The project of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 + :rtype: str + """ + return self._project + + @project.setter + def project(self, project): + """Sets the project of this AdminProjectDomainAttributesDeleteRequest. + + + :param project: The project of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 + :type: str + """ + + self._project = project + + @property + def domain(self): + """Gets the domain of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 + + + :return: The domain of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 + :rtype: str + """ + return self._domain + + @domain.setter + def domain(self, domain): + """Sets the domain of this AdminProjectDomainAttributesDeleteRequest. + + + :param domain: The domain of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 + :type: str + """ + + self._domain = domain + + @property + def resource_type(self): + """Gets the resource_type of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 + + + :return: The resource_type of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 + :rtype: AdminMatchableResource + """ + return self._resource_type + + @resource_type.setter + def resource_type(self, resource_type): + """Sets the resource_type of this AdminProjectDomainAttributesDeleteRequest. + + + :param resource_type: The resource_type of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 + :type: AdminMatchableResource + """ + + self._resource_type = resource_type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProjectDomainAttributesDeleteRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProjectDomainAttributesDeleteRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_response.py new file mode 100644 index 000000000..7226075a0 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminProjectDomainAttributesDeleteResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminProjectDomainAttributesDeleteResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProjectDomainAttributesDeleteResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProjectDomainAttributesDeleteResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_get_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_get_response.py new file mode 100644 index 000000000..e73d95a82 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_get_response.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes # noqa: F401,E501 + + +class AdminProjectDomainAttributesGetResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attributes': 'AdminProjectDomainAttributes' + } + + attribute_map = { + 'attributes': 'attributes' + } + + def __init__(self, attributes=None): # noqa: E501 + """AdminProjectDomainAttributesGetResponse - a model defined in Swagger""" # noqa: E501 + + self._attributes = None + self.discriminator = None + + if attributes is not None: + self.attributes = attributes + + @property + def attributes(self): + """Gets the attributes of this AdminProjectDomainAttributesGetResponse. # noqa: E501 + + + :return: The attributes of this AdminProjectDomainAttributesGetResponse. # noqa: E501 + :rtype: AdminProjectDomainAttributes + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this AdminProjectDomainAttributesGetResponse. + + + :param attributes: The attributes of this AdminProjectDomainAttributesGetResponse. # noqa: E501 + :type: AdminProjectDomainAttributes + """ + + self._attributes = attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProjectDomainAttributesGetResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProjectDomainAttributesGetResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_request.py new file mode 100644 index 000000000..983e8d3ae --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_request.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes # noqa: F401,E501 + + +class AdminProjectDomainAttributesUpdateRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attributes': 'AdminProjectDomainAttributes' + } + + attribute_map = { + 'attributes': 'attributes' + } + + def __init__(self, attributes=None): # noqa: E501 + """AdminProjectDomainAttributesUpdateRequest - a model defined in Swagger""" # noqa: E501 + + self._attributes = None + self.discriminator = None + + if attributes is not None: + self.attributes = attributes + + @property + def attributes(self): + """Gets the attributes of this AdminProjectDomainAttributesUpdateRequest. # noqa: E501 + + + :return: The attributes of this AdminProjectDomainAttributesUpdateRequest. # noqa: E501 + :rtype: AdminProjectDomainAttributes + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this AdminProjectDomainAttributesUpdateRequest. + + + :param attributes: The attributes of this AdminProjectDomainAttributesUpdateRequest. # noqa: E501 + :type: AdminProjectDomainAttributes + """ + + self._attributes = attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProjectDomainAttributesUpdateRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProjectDomainAttributesUpdateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_response.py new file mode 100644 index 000000000..aa2ed8327 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminProjectDomainAttributesUpdateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminProjectDomainAttributesUpdateResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProjectDomainAttributesUpdateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProjectDomainAttributesUpdateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_request.py new file mode 100644 index 000000000..bbc2a0d94 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_request.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_project import AdminProject # noqa: F401,E501 + + +class AdminProjectRegisterRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'project': 'AdminProject' + } + + attribute_map = { + 'project': 'project' + } + + def __init__(self, project=None): # noqa: E501 + """AdminProjectRegisterRequest - a model defined in Swagger""" # noqa: E501 + + self._project = None + self.discriminator = None + + if project is not None: + self.project = project + + @property + def project(self): + """Gets the project of this AdminProjectRegisterRequest. # noqa: E501 + + + :return: The project of this AdminProjectRegisterRequest. # noqa: E501 + :rtype: AdminProject + """ + return self._project + + @project.setter + def project(self, project): + """Sets the project of this AdminProjectRegisterRequest. + + + :param project: The project of this AdminProjectRegisterRequest. # noqa: E501 + :type: AdminProject + """ + + self._project = project + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProjectRegisterRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProjectRegisterRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_response.py new file mode 100644 index 000000000..e6868b051 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminProjectRegisterResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminProjectRegisterResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProjectRegisterResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProjectRegisterResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_update_response.py new file mode 100644 index 000000000..4b48a4ac2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_update_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminProjectUpdateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminProjectUpdateResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProjectUpdateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProjectUpdateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_projects.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_projects.py new file mode 100644 index 000000000..cff2ec408 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_projects.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_project import AdminProject # noqa: F401,E501 + + +class AdminProjects(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'projects': 'list[AdminProject]', + 'token': 'str' + } + + attribute_map = { + 'projects': 'projects', + 'token': 'token' + } + + def __init__(self, projects=None, token=None): # noqa: E501 + """AdminProjects - a model defined in Swagger""" # noqa: E501 + + self._projects = None + self._token = None + self.discriminator = None + + if projects is not None: + self.projects = projects + if token is not None: + self.token = token + + @property + def projects(self): + """Gets the projects of this AdminProjects. # noqa: E501 + + + :return: The projects of this AdminProjects. # noqa: E501 + :rtype: list[AdminProject] + """ + return self._projects + + @projects.setter + def projects(self, projects): + """Sets the projects of this AdminProjects. + + + :param projects: The projects of this AdminProjects. # noqa: E501 + :type: list[AdminProject] + """ + + self._projects = projects + + @property + def token(self): + """Gets the token of this AdminProjects. # noqa: E501 + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :return: The token of this AdminProjects. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this AdminProjects. + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :param token: The token of this AdminProjects. # noqa: E501 + :type: str + """ + + self._token = token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProjects, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProjects): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_raw_output_data_config.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_raw_output_data_config.py new file mode 100644 index 000000000..4d7e20966 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_raw_output_data_config.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminRawOutputDataConfig(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'output_location_prefix': 'str' + } + + attribute_map = { + 'output_location_prefix': 'output_location_prefix' + } + + def __init__(self, output_location_prefix=None): # noqa: E501 + """AdminRawOutputDataConfig - a model defined in Swagger""" # noqa: E501 + + self._output_location_prefix = None + self.discriminator = None + + if output_location_prefix is not None: + self.output_location_prefix = output_location_prefix + + @property + def output_location_prefix(self): + """Gets the output_location_prefix of this AdminRawOutputDataConfig. # noqa: E501 + + + :return: The output_location_prefix of this AdminRawOutputDataConfig. # noqa: E501 + :rtype: str + """ + return self._output_location_prefix + + @output_location_prefix.setter + def output_location_prefix(self, output_location_prefix): + """Sets the output_location_prefix of this AdminRawOutputDataConfig. + + + :param output_location_prefix: The output_location_prefix of this AdminRawOutputDataConfig. # noqa: E501 + :type: str + """ + + self._output_location_prefix = output_location_prefix + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminRawOutputDataConfig, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminRawOutputDataConfig): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_schedule.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_schedule.py new file mode 100644 index 000000000..835766fa8 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_schedule.py @@ -0,0 +1,198 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_cron_schedule import AdminCronSchedule # noqa: F401,E501 +from flyteadmin.models.admin_fixed_rate import AdminFixedRate # noqa: F401,E501 + + +class AdminSchedule(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cron_expression': 'str', + 'rate': 'AdminFixedRate', + 'cron_schedule': 'AdminCronSchedule', + 'kickoff_time_input_arg': 'str' + } + + attribute_map = { + 'cron_expression': 'cron_expression', + 'rate': 'rate', + 'cron_schedule': 'cron_schedule', + 'kickoff_time_input_arg': 'kickoff_time_input_arg' + } + + def __init__(self, cron_expression=None, rate=None, cron_schedule=None, kickoff_time_input_arg=None): # noqa: E501 + """AdminSchedule - a model defined in Swagger""" # noqa: E501 + + self._cron_expression = None + self._rate = None + self._cron_schedule = None + self._kickoff_time_input_arg = None + self.discriminator = None + + if cron_expression is not None: + self.cron_expression = cron_expression + if rate is not None: + self.rate = rate + if cron_schedule is not None: + self.cron_schedule = cron_schedule + if kickoff_time_input_arg is not None: + self.kickoff_time_input_arg = kickoff_time_input_arg + + @property + def cron_expression(self): + """Gets the cron_expression of this AdminSchedule. # noqa: E501 + + + :return: The cron_expression of this AdminSchedule. # noqa: E501 + :rtype: str + """ + return self._cron_expression + + @cron_expression.setter + def cron_expression(self, cron_expression): + """Sets the cron_expression of this AdminSchedule. + + + :param cron_expression: The cron_expression of this AdminSchedule. # noqa: E501 + :type: str + """ + + self._cron_expression = cron_expression + + @property + def rate(self): + """Gets the rate of this AdminSchedule. # noqa: E501 + + + :return: The rate of this AdminSchedule. # noqa: E501 + :rtype: AdminFixedRate + """ + return self._rate + + @rate.setter + def rate(self, rate): + """Sets the rate of this AdminSchedule. + + + :param rate: The rate of this AdminSchedule. # noqa: E501 + :type: AdminFixedRate + """ + + self._rate = rate + + @property + def cron_schedule(self): + """Gets the cron_schedule of this AdminSchedule. # noqa: E501 + + + :return: The cron_schedule of this AdminSchedule. # noqa: E501 + :rtype: AdminCronSchedule + """ + return self._cron_schedule + + @cron_schedule.setter + def cron_schedule(self, cron_schedule): + """Sets the cron_schedule of this AdminSchedule. + + + :param cron_schedule: The cron_schedule of this AdminSchedule. # noqa: E501 + :type: AdminCronSchedule + """ + + self._cron_schedule = cron_schedule + + @property + def kickoff_time_input_arg(self): + """Gets the kickoff_time_input_arg of this AdminSchedule. # noqa: E501 + + Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. # noqa: E501 + + :return: The kickoff_time_input_arg of this AdminSchedule. # noqa: E501 + :rtype: str + """ + return self._kickoff_time_input_arg + + @kickoff_time_input_arg.setter + def kickoff_time_input_arg(self, kickoff_time_input_arg): + """Sets the kickoff_time_input_arg of this AdminSchedule. + + Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. # noqa: E501 + + :param kickoff_time_input_arg: The kickoff_time_input_arg of this AdminSchedule. # noqa: E501 + :type: str + """ + + self._kickoff_time_input_arg = kickoff_time_input_arg + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminSchedule, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminSchedule): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_slack_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_slack_notification.py new file mode 100644 index 000000000..d282c7f68 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_slack_notification.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminSlackNotification(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'recipients_email': 'list[str]' + } + + attribute_map = { + 'recipients_email': 'recipients_email' + } + + def __init__(self, recipients_email=None): # noqa: E501 + """AdminSlackNotification - a model defined in Swagger""" # noqa: E501 + + self._recipients_email = None + self.discriminator = None + + if recipients_email is not None: + self.recipients_email = recipients_email + + @property + def recipients_email(self): + """Gets the recipients_email of this AdminSlackNotification. # noqa: E501 + + + :return: The recipients_email of this AdminSlackNotification. # noqa: E501 + :rtype: list[str] + """ + return self._recipients_email + + @recipients_email.setter + def recipients_email(self, recipients_email): + """Sets the recipients_email of this AdminSlackNotification. + + + :param recipients_email: The recipients_email of this AdminSlackNotification. # noqa: E501 + :type: list[str] + """ + + self._recipients_email = recipients_email + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminSlackNotification, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminSlackNotification): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_sort.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_sort.py new file mode 100644 index 000000000..98d6a62bc --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_sort.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.sort_direction import SortDirection # noqa: F401,E501 + + +class AdminSort(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'key': 'str', + 'direction': 'SortDirection' + } + + attribute_map = { + 'key': 'key', + 'direction': 'direction' + } + + def __init__(self, key=None, direction=None): # noqa: E501 + """AdminSort - a model defined in Swagger""" # noqa: E501 + + self._key = None + self._direction = None + self.discriminator = None + + if key is not None: + self.key = key + if direction is not None: + self.direction = direction + + @property + def key(self): + """Gets the key of this AdminSort. # noqa: E501 + + + :return: The key of this AdminSort. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this AdminSort. + + + :param key: The key of this AdminSort. # noqa: E501 + :type: str + """ + + self._key = key + + @property + def direction(self): + """Gets the direction of this AdminSort. # noqa: E501 + + + :return: The direction of this AdminSort. # noqa: E501 + :rtype: SortDirection + """ + return self._direction + + @direction.setter + def direction(self, direction): + """Sets the direction of this AdminSort. + + + :param direction: The direction of this AdminSort. # noqa: E501 + :type: SortDirection + """ + + self._direction = direction + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminSort, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminSort): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_system_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_system_metadata.py new file mode 100644 index 000000000..c365a56be --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_system_metadata.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminSystemMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'execution_cluster': 'str' + } + + attribute_map = { + 'execution_cluster': 'execution_cluster' + } + + def __init__(self, execution_cluster=None): # noqa: E501 + """AdminSystemMetadata - a model defined in Swagger""" # noqa: E501 + + self._execution_cluster = None + self.discriminator = None + + if execution_cluster is not None: + self.execution_cluster = execution_cluster + + @property + def execution_cluster(self): + """Gets the execution_cluster of this AdminSystemMetadata. # noqa: E501 + + Which execution cluster this execution ran on. # noqa: E501 + + :return: The execution_cluster of this AdminSystemMetadata. # noqa: E501 + :rtype: str + """ + return self._execution_cluster + + @execution_cluster.setter + def execution_cluster(self, execution_cluster): + """Sets the execution_cluster of this AdminSystemMetadata. + + Which execution cluster this execution ran on. # noqa: E501 + + :param execution_cluster: The execution_cluster of this AdminSystemMetadata. # noqa: E501 + :type: str + """ + + self._execution_cluster = execution_cluster + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminSystemMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminSystemMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task.py new file mode 100644 index 000000000..cae8fe3e3 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_task_closure import AdminTaskClosure # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 + + +class AdminTask(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreIdentifier', + 'closure': 'AdminTaskClosure' + } + + attribute_map = { + 'id': 'id', + 'closure': 'closure' + } + + def __init__(self, id=None, closure=None): # noqa: E501 + """AdminTask - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._closure = None + self.discriminator = None + + if id is not None: + self.id = id + if closure is not None: + self.closure = closure + + @property + def id(self): + """Gets the id of this AdminTask. # noqa: E501 + + id represents the unique identifier of the task. # noqa: E501 + + :return: The id of this AdminTask. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminTask. + + id represents the unique identifier of the task. # noqa: E501 + + :param id: The id of this AdminTask. # noqa: E501 + :type: CoreIdentifier + """ + + self._id = id + + @property + def closure(self): + """Gets the closure of this AdminTask. # noqa: E501 + + closure encapsulates all the fields that maps to a compiled version of the task. # noqa: E501 + + :return: The closure of this AdminTask. # noqa: E501 + :rtype: AdminTaskClosure + """ + return self._closure + + @closure.setter + def closure(self, closure): + """Sets the closure of this AdminTask. + + closure encapsulates all the fields that maps to a compiled version of the task. # noqa: E501 + + :param closure: The closure of this AdminTask. # noqa: E501 + :type: AdminTaskClosure + """ + + self._closure = closure + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTask, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTask): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_closure.py new file mode 100644 index 000000000..d43a09630 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_closure.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_compiled_task import CoreCompiledTask # noqa: F401,E501 + + +class AdminTaskClosure(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'compiled_task': 'CoreCompiledTask', + 'created_at': 'datetime' + } + + attribute_map = { + 'compiled_task': 'compiled_task', + 'created_at': 'created_at' + } + + def __init__(self, compiled_task=None, created_at=None): # noqa: E501 + """AdminTaskClosure - a model defined in Swagger""" # noqa: E501 + + self._compiled_task = None + self._created_at = None + self.discriminator = None + + if compiled_task is not None: + self.compiled_task = compiled_task + if created_at is not None: + self.created_at = created_at + + @property + def compiled_task(self): + """Gets the compiled_task of this AdminTaskClosure. # noqa: E501 + + Represents the compiled representation of the task from the specification provided. # noqa: E501 + + :return: The compiled_task of this AdminTaskClosure. # noqa: E501 + :rtype: CoreCompiledTask + """ + return self._compiled_task + + @compiled_task.setter + def compiled_task(self, compiled_task): + """Sets the compiled_task of this AdminTaskClosure. + + Represents the compiled representation of the task from the specification provided. # noqa: E501 + + :param compiled_task: The compiled_task of this AdminTaskClosure. # noqa: E501 + :type: CoreCompiledTask + """ + + self._compiled_task = compiled_task + + @property + def created_at(self): + """Gets the created_at of this AdminTaskClosure. # noqa: E501 + + Time at which the task was created. # noqa: E501 + + :return: The created_at of this AdminTaskClosure. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this AdminTaskClosure. + + Time at which the task was created. # noqa: E501 + + :param created_at: The created_at of this AdminTaskClosure. # noqa: E501 + :type: datetime + """ + + self._created_at = created_at + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskClosure, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskClosure): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_request.py new file mode 100644 index 000000000..8eddeb420 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_request.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_task_spec import AdminTaskSpec # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 + + +class AdminTaskCreateRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreIdentifier', + 'spec': 'AdminTaskSpec' + } + + attribute_map = { + 'id': 'id', + 'spec': 'spec' + } + + def __init__(self, id=None, spec=None): # noqa: E501 + """AdminTaskCreateRequest - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._spec = None + self.discriminator = None + + if id is not None: + self.id = id + if spec is not None: + self.spec = spec + + @property + def id(self): + """Gets the id of this AdminTaskCreateRequest. # noqa: E501 + + + :return: The id of this AdminTaskCreateRequest. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminTaskCreateRequest. + + + :param id: The id of this AdminTaskCreateRequest. # noqa: E501 + :type: CoreIdentifier + """ + + self._id = id + + @property + def spec(self): + """Gets the spec of this AdminTaskCreateRequest. # noqa: E501 + + + :return: The spec of this AdminTaskCreateRequest. # noqa: E501 + :rtype: AdminTaskSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this AdminTaskCreateRequest. + + + :param spec: The spec of this AdminTaskCreateRequest. # noqa: E501 + :type: AdminTaskSpec + """ + + self._spec = spec + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskCreateRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskCreateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_response.py new file mode 100644 index 000000000..de1ecdf4d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminTaskCreateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminTaskCreateResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskCreateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskCreateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py new file mode 100644 index 000000000..d840e190b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py @@ -0,0 +1,488 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 +from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase # noqa: F401,E501 +from flyteadmin.models.core_task_log import CoreTaskLog # noqa: F401,E501 +from flyteadmin.models.event_task_execution_metadata import EventTaskExecutionMetadata # noqa: F401,E501 +from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 + + +class AdminTaskExecutionClosure(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'output_uri': 'str', + 'error': 'CoreExecutionError', + 'output_data': 'CoreLiteralMap', + 'phase': 'CoreTaskExecutionPhase', + 'logs': 'list[CoreTaskLog]', + 'started_at': 'datetime', + 'duration': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', + 'custom_info': 'ProtobufStruct', + 'reason': 'str', + 'task_type': 'str', + 'metadata': 'EventTaskExecutionMetadata', + 'event_version': 'int' + } + + attribute_map = { + 'output_uri': 'output_uri', + 'error': 'error', + 'output_data': 'output_data', + 'phase': 'phase', + 'logs': 'logs', + 'started_at': 'started_at', + 'duration': 'duration', + 'created_at': 'created_at', + 'updated_at': 'updated_at', + 'custom_info': 'custom_info', + 'reason': 'reason', + 'task_type': 'task_type', + 'metadata': 'metadata', + 'event_version': 'event_version' + } + + def __init__(self, output_uri=None, error=None, output_data=None, phase=None, logs=None, started_at=None, duration=None, created_at=None, updated_at=None, custom_info=None, reason=None, task_type=None, metadata=None, event_version=None): # noqa: E501 + """AdminTaskExecutionClosure - a model defined in Swagger""" # noqa: E501 + + self._output_uri = None + self._error = None + self._output_data = None + self._phase = None + self._logs = None + self._started_at = None + self._duration = None + self._created_at = None + self._updated_at = None + self._custom_info = None + self._reason = None + self._task_type = None + self._metadata = None + self._event_version = None + self.discriminator = None + + if output_uri is not None: + self.output_uri = output_uri + if error is not None: + self.error = error + if output_data is not None: + self.output_data = output_data + if phase is not None: + self.phase = phase + if logs is not None: + self.logs = logs + if started_at is not None: + self.started_at = started_at + if duration is not None: + self.duration = duration + if created_at is not None: + self.created_at = created_at + if updated_at is not None: + self.updated_at = updated_at + if custom_info is not None: + self.custom_info = custom_info + if reason is not None: + self.reason = reason + if task_type is not None: + self.task_type = task_type + if metadata is not None: + self.metadata = metadata + if event_version is not None: + self.event_version = event_version + + @property + def output_uri(self): + """Gets the output_uri of this AdminTaskExecutionClosure. # noqa: E501 + + Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead. # noqa: E501 + + :return: The output_uri of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: str + """ + return self._output_uri + + @output_uri.setter + def output_uri(self, output_uri): + """Sets the output_uri of this AdminTaskExecutionClosure. + + Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead. # noqa: E501 + + :param output_uri: The output_uri of this AdminTaskExecutionClosure. # noqa: E501 + :type: str + """ + + self._output_uri = output_uri + + @property + def error(self): + """Gets the error of this AdminTaskExecutionClosure. # noqa: E501 + + Error information for the task execution. Populated if the execution failed. # noqa: E501 + + :return: The error of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: CoreExecutionError + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this AdminTaskExecutionClosure. + + Error information for the task execution. Populated if the execution failed. # noqa: E501 + + :param error: The error of this AdminTaskExecutionClosure. # noqa: E501 + :type: CoreExecutionError + """ + + self._error = error + + @property + def output_data(self): + """Gets the output_data of this AdminTaskExecutionClosure. # noqa: E501 + + Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead. # noqa: E501 + + :return: The output_data of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._output_data + + @output_data.setter + def output_data(self, output_data): + """Sets the output_data of this AdminTaskExecutionClosure. + + Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead. # noqa: E501 + + :param output_data: The output_data of this AdminTaskExecutionClosure. # noqa: E501 + :type: CoreLiteralMap + """ + + self._output_data = output_data + + @property + def phase(self): + """Gets the phase of this AdminTaskExecutionClosure. # noqa: E501 + + The last recorded phase for this task execution. # noqa: E501 + + :return: The phase of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: CoreTaskExecutionPhase + """ + return self._phase + + @phase.setter + def phase(self, phase): + """Sets the phase of this AdminTaskExecutionClosure. + + The last recorded phase for this task execution. # noqa: E501 + + :param phase: The phase of this AdminTaskExecutionClosure. # noqa: E501 + :type: CoreTaskExecutionPhase + """ + + self._phase = phase + + @property + def logs(self): + """Gets the logs of this AdminTaskExecutionClosure. # noqa: E501 + + Detailed log information output by the task execution. # noqa: E501 + + :return: The logs of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: list[CoreTaskLog] + """ + return self._logs + + @logs.setter + def logs(self, logs): + """Sets the logs of this AdminTaskExecutionClosure. + + Detailed log information output by the task execution. # noqa: E501 + + :param logs: The logs of this AdminTaskExecutionClosure. # noqa: E501 + :type: list[CoreTaskLog] + """ + + self._logs = logs + + @property + def started_at(self): + """Gets the started_at of this AdminTaskExecutionClosure. # noqa: E501 + + Time at which the task execution began running. # noqa: E501 + + :return: The started_at of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: datetime + """ + return self._started_at + + @started_at.setter + def started_at(self, started_at): + """Sets the started_at of this AdminTaskExecutionClosure. + + Time at which the task execution began running. # noqa: E501 + + :param started_at: The started_at of this AdminTaskExecutionClosure. # noqa: E501 + :type: datetime + """ + + self._started_at = started_at + + @property + def duration(self): + """Gets the duration of this AdminTaskExecutionClosure. # noqa: E501 + + The amount of time the task execution spent running. # noqa: E501 + + :return: The duration of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: str + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this AdminTaskExecutionClosure. + + The amount of time the task execution spent running. # noqa: E501 + + :param duration: The duration of this AdminTaskExecutionClosure. # noqa: E501 + :type: str + """ + + self._duration = duration + + @property + def created_at(self): + """Gets the created_at of this AdminTaskExecutionClosure. # noqa: E501 + + Time at which the task execution was created. # noqa: E501 + + :return: The created_at of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this AdminTaskExecutionClosure. + + Time at which the task execution was created. # noqa: E501 + + :param created_at: The created_at of this AdminTaskExecutionClosure. # noqa: E501 + :type: datetime + """ + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this AdminTaskExecutionClosure. # noqa: E501 + + Time at which the task execution was last updated. # noqa: E501 + + :return: The updated_at of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this AdminTaskExecutionClosure. + + Time at which the task execution was last updated. # noqa: E501 + + :param updated_at: The updated_at of this AdminTaskExecutionClosure. # noqa: E501 + :type: datetime + """ + + self._updated_at = updated_at + + @property + def custom_info(self): + """Gets the custom_info of this AdminTaskExecutionClosure. # noqa: E501 + + Custom data specific to the task plugin. # noqa: E501 + + :return: The custom_info of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: ProtobufStruct + """ + return self._custom_info + + @custom_info.setter + def custom_info(self, custom_info): + """Sets the custom_info of this AdminTaskExecutionClosure. + + Custom data specific to the task plugin. # noqa: E501 + + :param custom_info: The custom_info of this AdminTaskExecutionClosure. # noqa: E501 + :type: ProtobufStruct + """ + + self._custom_info = custom_info + + @property + def reason(self): + """Gets the reason of this AdminTaskExecutionClosure. # noqa: E501 + + If there is an explanation for the most recent phase transition, the reason will capture it. # noqa: E501 + + :return: The reason of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this AdminTaskExecutionClosure. + + If there is an explanation for the most recent phase transition, the reason will capture it. # noqa: E501 + + :param reason: The reason of this AdminTaskExecutionClosure. # noqa: E501 + :type: str + """ + + self._reason = reason + + @property + def task_type(self): + """Gets the task_type of this AdminTaskExecutionClosure. # noqa: E501 + + A predefined yet extensible Task type identifier. # noqa: E501 + + :return: The task_type of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: str + """ + return self._task_type + + @task_type.setter + def task_type(self, task_type): + """Sets the task_type of this AdminTaskExecutionClosure. + + A predefined yet extensible Task type identifier. # noqa: E501 + + :param task_type: The task_type of this AdminTaskExecutionClosure. # noqa: E501 + :type: str + """ + + self._task_type = task_type + + @property + def metadata(self): + """Gets the metadata of this AdminTaskExecutionClosure. # noqa: E501 + + Metadata around how a task was executed. # noqa: E501 + + :return: The metadata of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: EventTaskExecutionMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this AdminTaskExecutionClosure. + + Metadata around how a task was executed. # noqa: E501 + + :param metadata: The metadata of this AdminTaskExecutionClosure. # noqa: E501 + :type: EventTaskExecutionMetadata + """ + + self._metadata = metadata + + @property + def event_version(self): + """Gets the event_version of this AdminTaskExecutionClosure. # noqa: E501 + + The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. # noqa: E501 + + :return: The event_version of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: int + """ + return self._event_version + + @event_version.setter + def event_version(self, event_version): + """Sets the event_version of this AdminTaskExecutionClosure. + + The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. # noqa: E501 + + :param event_version: The event_version of this AdminTaskExecutionClosure. # noqa: E501 + :type: int + """ + + self._event_version = event_version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskExecutionClosure, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskExecutionClosure): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_request.py new file mode 100644 index 000000000..d8d650d41 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_request.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.event_task_execution_event import EventTaskExecutionEvent # noqa: F401,E501 + + +class AdminTaskExecutionEventRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'request_id': 'str', + 'event': 'EventTaskExecutionEvent' + } + + attribute_map = { + 'request_id': 'request_id', + 'event': 'event' + } + + def __init__(self, request_id=None, event=None): # noqa: E501 + """AdminTaskExecutionEventRequest - a model defined in Swagger""" # noqa: E501 + + self._request_id = None + self._event = None + self.discriminator = None + + if request_id is not None: + self.request_id = request_id + if event is not None: + self.event = event + + @property + def request_id(self): + """Gets the request_id of this AdminTaskExecutionEventRequest. # noqa: E501 + + + :return: The request_id of this AdminTaskExecutionEventRequest. # noqa: E501 + :rtype: str + """ + return self._request_id + + @request_id.setter + def request_id(self, request_id): + """Sets the request_id of this AdminTaskExecutionEventRequest. + + + :param request_id: The request_id of this AdminTaskExecutionEventRequest. # noqa: E501 + :type: str + """ + + self._request_id = request_id + + @property + def event(self): + """Gets the event of this AdminTaskExecutionEventRequest. # noqa: E501 + + Details about the event that occurred. # noqa: E501 + + :return: The event of this AdminTaskExecutionEventRequest. # noqa: E501 + :rtype: EventTaskExecutionEvent + """ + return self._event + + @event.setter + def event(self, event): + """Sets the event of this AdminTaskExecutionEventRequest. + + Details about the event that occurred. # noqa: E501 + + :param event: The event of this AdminTaskExecutionEventRequest. # noqa: E501 + :type: EventTaskExecutionEvent + """ + + self._event = event + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskExecutionEventRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskExecutionEventRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_response.py new file mode 100644 index 000000000..9e8bd3882 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminTaskExecutionEventResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminTaskExecutionEventResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskExecutionEventResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskExecutionEventResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py new file mode 100644 index 000000000..cfb7c545a --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py @@ -0,0 +1,204 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: F401,E501 +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 + + +class AdminTaskExecutionGetDataResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'inputs': 'AdminUrlBlob', + 'outputs': 'AdminUrlBlob', + 'full_inputs': 'CoreLiteralMap', + 'full_outputs': 'CoreLiteralMap' + } + + attribute_map = { + 'inputs': 'inputs', + 'outputs': 'outputs', + 'full_inputs': 'full_inputs', + 'full_outputs': 'full_outputs' + } + + def __init__(self, inputs=None, outputs=None, full_inputs=None, full_outputs=None): # noqa: E501 + """AdminTaskExecutionGetDataResponse - a model defined in Swagger""" # noqa: E501 + + self._inputs = None + self._outputs = None + self._full_inputs = None + self._full_outputs = None + self.discriminator = None + + if inputs is not None: + self.inputs = inputs + if outputs is not None: + self.outputs = outputs + if full_inputs is not None: + self.full_inputs = full_inputs + if full_outputs is not None: + self.full_outputs = full_outputs + + @property + def inputs(self): + """Gets the inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 + + Signed url to fetch a core.LiteralMap of task execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 + + :return: The inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 + :rtype: AdminUrlBlob + """ + return self._inputs + + @inputs.setter + def inputs(self, inputs): + """Sets the inputs of this AdminTaskExecutionGetDataResponse. + + Signed url to fetch a core.LiteralMap of task execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 + + :param inputs: The inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 + :type: AdminUrlBlob + """ + + self._inputs = inputs + + @property + def outputs(self): + """Gets the outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 + + Signed url to fetch a core.LiteralMap of task execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 + + :return: The outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 + :rtype: AdminUrlBlob + """ + return self._outputs + + @outputs.setter + def outputs(self, outputs): + """Sets the outputs of this AdminTaskExecutionGetDataResponse. + + Signed url to fetch a core.LiteralMap of task execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 + + :param outputs: The outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 + :type: AdminUrlBlob + """ + + self._outputs = outputs + + @property + def full_inputs(self): + """Gets the full_inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 + + Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 + + :return: The full_inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._full_inputs + + @full_inputs.setter + def full_inputs(self, full_inputs): + """Sets the full_inputs of this AdminTaskExecutionGetDataResponse. + + Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 + + :param full_inputs: The full_inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 + :type: CoreLiteralMap + """ + + self._full_inputs = full_inputs + + @property + def full_outputs(self): + """Gets the full_outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 + + Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 + + :return: The full_outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._full_outputs + + @full_outputs.setter + def full_outputs(self, full_outputs): + """Sets the full_outputs of this AdminTaskExecutionGetDataResponse. + + Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 + + :param full_outputs: The full_outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 + :type: CoreLiteralMap + """ + + self._full_outputs = full_outputs + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskExecutionGetDataResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskExecutionGetDataResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_list.py new file mode 100644 index 000000000..4c3a8e7c1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_list.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution # noqa: F401,E501 + + +class AdminTaskExecutionList(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'task_executions': 'list[FlyteidladminTaskExecution]', + 'token': 'str' + } + + attribute_map = { + 'task_executions': 'task_executions', + 'token': 'token' + } + + def __init__(self, task_executions=None, token=None): # noqa: E501 + """AdminTaskExecutionList - a model defined in Swagger""" # noqa: E501 + + self._task_executions = None + self._token = None + self.discriminator = None + + if task_executions is not None: + self.task_executions = task_executions + if token is not None: + self.token = token + + @property + def task_executions(self): + """Gets the task_executions of this AdminTaskExecutionList. # noqa: E501 + + + :return: The task_executions of this AdminTaskExecutionList. # noqa: E501 + :rtype: list[FlyteidladminTaskExecution] + """ + return self._task_executions + + @task_executions.setter + def task_executions(self, task_executions): + """Sets the task_executions of this AdminTaskExecutionList. + + + :param task_executions: The task_executions of this AdminTaskExecutionList. # noqa: E501 + :type: list[FlyteidladminTaskExecution] + """ + + self._task_executions = task_executions + + @property + def token(self): + """Gets the token of this AdminTaskExecutionList. # noqa: E501 + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :return: The token of this AdminTaskExecutionList. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this AdminTaskExecutionList. + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :param token: The token of this AdminTaskExecutionList. # noqa: E501 + :type: str + """ + + self._token = token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskExecutionList, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskExecutionList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_list.py new file mode 100644 index 000000000..ea9212b92 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_list.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_task import AdminTask # noqa: F401,E501 + + +class AdminTaskList(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'tasks': 'list[AdminTask]', + 'token': 'str' + } + + attribute_map = { + 'tasks': 'tasks', + 'token': 'token' + } + + def __init__(self, tasks=None, token=None): # noqa: E501 + """AdminTaskList - a model defined in Swagger""" # noqa: E501 + + self._tasks = None + self._token = None + self.discriminator = None + + if tasks is not None: + self.tasks = tasks + if token is not None: + self.token = token + + @property + def tasks(self): + """Gets the tasks of this AdminTaskList. # noqa: E501 + + A list of tasks returned based on the request. # noqa: E501 + + :return: The tasks of this AdminTaskList. # noqa: E501 + :rtype: list[AdminTask] + """ + return self._tasks + + @tasks.setter + def tasks(self, tasks): + """Sets the tasks of this AdminTaskList. + + A list of tasks returned based on the request. # noqa: E501 + + :param tasks: The tasks of this AdminTaskList. # noqa: E501 + :type: list[AdminTask] + """ + + self._tasks = tasks + + @property + def token(self): + """Gets the token of this AdminTaskList. # noqa: E501 + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :return: The token of this AdminTaskList. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this AdminTaskList. + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :param token: The token of this AdminTaskList. # noqa: E501 + :type: str + """ + + self._token = token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskList, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py new file mode 100644 index 000000000..664761775 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec # noqa: F401,E501 + + +class AdminTaskResourceAttributes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'defaults': 'AdminTaskResourceSpec', + 'limits': 'AdminTaskResourceSpec' + } + + attribute_map = { + 'defaults': 'defaults', + 'limits': 'limits' + } + + def __init__(self, defaults=None, limits=None): # noqa: E501 + """AdminTaskResourceAttributes - a model defined in Swagger""" # noqa: E501 + + self._defaults = None + self._limits = None + self.discriminator = None + + if defaults is not None: + self.defaults = defaults + if limits is not None: + self.limits = limits + + @property + def defaults(self): + """Gets the defaults of this AdminTaskResourceAttributes. # noqa: E501 + + + :return: The defaults of this AdminTaskResourceAttributes. # noqa: E501 + :rtype: AdminTaskResourceSpec + """ + return self._defaults + + @defaults.setter + def defaults(self, defaults): + """Sets the defaults of this AdminTaskResourceAttributes. + + + :param defaults: The defaults of this AdminTaskResourceAttributes. # noqa: E501 + :type: AdminTaskResourceSpec + """ + + self._defaults = defaults + + @property + def limits(self): + """Gets the limits of this AdminTaskResourceAttributes. # noqa: E501 + + + :return: The limits of this AdminTaskResourceAttributes. # noqa: E501 + :rtype: AdminTaskResourceSpec + """ + return self._limits + + @limits.setter + def limits(self, limits): + """Sets the limits of this AdminTaskResourceAttributes. + + + :param limits: The limits of this AdminTaskResourceAttributes. # noqa: E501 + :type: AdminTaskResourceSpec + """ + + self._limits = limits + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskResourceAttributes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskResourceAttributes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py new file mode 100644 index 000000000..1b13a28ec --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py @@ -0,0 +1,219 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminTaskResourceSpec(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cpu': 'str', + 'gpu': 'str', + 'memory': 'str', + 'storage': 'str', + 'ephemeral_storage': 'str' + } + + attribute_map = { + 'cpu': 'cpu', + 'gpu': 'gpu', + 'memory': 'memory', + 'storage': 'storage', + 'ephemeral_storage': 'ephemeral_storage' + } + + def __init__(self, cpu=None, gpu=None, memory=None, storage=None, ephemeral_storage=None): # noqa: E501 + """AdminTaskResourceSpec - a model defined in Swagger""" # noqa: E501 + + self._cpu = None + self._gpu = None + self._memory = None + self._storage = None + self._ephemeral_storage = None + self.discriminator = None + + if cpu is not None: + self.cpu = cpu + if gpu is not None: + self.gpu = gpu + if memory is not None: + self.memory = memory + if storage is not None: + self.storage = storage + if ephemeral_storage is not None: + self.ephemeral_storage = ephemeral_storage + + @property + def cpu(self): + """Gets the cpu of this AdminTaskResourceSpec. # noqa: E501 + + + :return: The cpu of this AdminTaskResourceSpec. # noqa: E501 + :rtype: str + """ + return self._cpu + + @cpu.setter + def cpu(self, cpu): + """Sets the cpu of this AdminTaskResourceSpec. + + + :param cpu: The cpu of this AdminTaskResourceSpec. # noqa: E501 + :type: str + """ + + self._cpu = cpu + + @property + def gpu(self): + """Gets the gpu of this AdminTaskResourceSpec. # noqa: E501 + + + :return: The gpu of this AdminTaskResourceSpec. # noqa: E501 + :rtype: str + """ + return self._gpu + + @gpu.setter + def gpu(self, gpu): + """Sets the gpu of this AdminTaskResourceSpec. + + + :param gpu: The gpu of this AdminTaskResourceSpec. # noqa: E501 + :type: str + """ + + self._gpu = gpu + + @property + def memory(self): + """Gets the memory of this AdminTaskResourceSpec. # noqa: E501 + + + :return: The memory of this AdminTaskResourceSpec. # noqa: E501 + :rtype: str + """ + return self._memory + + @memory.setter + def memory(self, memory): + """Sets the memory of this AdminTaskResourceSpec. + + + :param memory: The memory of this AdminTaskResourceSpec. # noqa: E501 + :type: str + """ + + self._memory = memory + + @property + def storage(self): + """Gets the storage of this AdminTaskResourceSpec. # noqa: E501 + + + :return: The storage of this AdminTaskResourceSpec. # noqa: E501 + :rtype: str + """ + return self._storage + + @storage.setter + def storage(self, storage): + """Sets the storage of this AdminTaskResourceSpec. + + + :param storage: The storage of this AdminTaskResourceSpec. # noqa: E501 + :type: str + """ + + self._storage = storage + + @property + def ephemeral_storage(self): + """Gets the ephemeral_storage of this AdminTaskResourceSpec. # noqa: E501 + + + :return: The ephemeral_storage of this AdminTaskResourceSpec. # noqa: E501 + :rtype: str + """ + return self._ephemeral_storage + + @ephemeral_storage.setter + def ephemeral_storage(self, ephemeral_storage): + """Sets the ephemeral_storage of this AdminTaskResourceSpec. + + + :param ephemeral_storage: The ephemeral_storage of this AdminTaskResourceSpec. # noqa: E501 + :type: str + """ + + self._ephemeral_storage = ephemeral_storage + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskResourceSpec, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskResourceSpec): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_spec.py new file mode 100644 index 000000000..b9fa4fddc --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_spec.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_task_template import CoreTaskTemplate # noqa: F401,E501 + + +class AdminTaskSpec(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'template': 'CoreTaskTemplate' + } + + attribute_map = { + 'template': 'template' + } + + def __init__(self, template=None): # noqa: E501 + """AdminTaskSpec - a model defined in Swagger""" # noqa: E501 + + self._template = None + self.discriminator = None + + if template is not None: + self.template = template + + @property + def template(self): + """Gets the template of this AdminTaskSpec. # noqa: E501 + + Template of the task that encapsulates all the metadata of the task. # noqa: E501 + + :return: The template of this AdminTaskSpec. # noqa: E501 + :rtype: CoreTaskTemplate + """ + return self._template + + @template.setter + def template(self, template): + """Sets the template of this AdminTaskSpec. + + Template of the task that encapsulates all the metadata of the task. # noqa: E501 + + :param template: The template of this AdminTaskSpec. # noqa: E501 + :type: CoreTaskTemplate + """ + + self._template = template + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskSpec, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskSpec): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_url_blob.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_url_blob.py new file mode 100644 index 000000000..7d0bb6ef9 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_url_blob.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminUrlBlob(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'url': 'str', + 'bytes': 'str' + } + + attribute_map = { + 'url': 'url', + 'bytes': 'bytes' + } + + def __init__(self, url=None, bytes=None): # noqa: E501 + """AdminUrlBlob - a model defined in Swagger""" # noqa: E501 + + self._url = None + self._bytes = None + self.discriminator = None + + if url is not None: + self.url = url + if bytes is not None: + self.bytes = bytes + + @property + def url(self): + """Gets the url of this AdminUrlBlob. # noqa: E501 + + Actual url value. # noqa: E501 + + :return: The url of this AdminUrlBlob. # noqa: E501 + :rtype: str + """ + return self._url + + @url.setter + def url(self, url): + """Sets the url of this AdminUrlBlob. + + Actual url value. # noqa: E501 + + :param url: The url of this AdminUrlBlob. # noqa: E501 + :type: str + """ + + self._url = url + + @property + def bytes(self): + """Gets the bytes of this AdminUrlBlob. # noqa: E501 + + Represents the size of the file accessible at the above url. # noqa: E501 + + :return: The bytes of this AdminUrlBlob. # noqa: E501 + :rtype: str + """ + return self._bytes + + @bytes.setter + def bytes(self, bytes): + """Sets the bytes of this AdminUrlBlob. + + Represents the size of the file accessible at the above url. # noqa: E501 + + :param bytes: The bytes of this AdminUrlBlob. # noqa: E501 + :type: str + """ + + self._bytes = bytes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminUrlBlob, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminUrlBlob): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_version.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_version.py new file mode 100644 index 000000000..bdbad41bb --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_version.py @@ -0,0 +1,167 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminVersion(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'build': 'str', + 'version': 'str', + 'build_time': 'str' + } + + attribute_map = { + 'build': 'Build', + 'version': 'Version', + 'build_time': 'BuildTime' + } + + def __init__(self, build=None, version=None, build_time=None): # noqa: E501 + """AdminVersion - a model defined in Swagger""" # noqa: E501 + + self._build = None + self._version = None + self._build_time = None + self.discriminator = None + + if build is not None: + self.build = build + if version is not None: + self.version = version + if build_time is not None: + self.build_time = build_time + + @property + def build(self): + """Gets the build of this AdminVersion. # noqa: E501 + + + :return: The build of this AdminVersion. # noqa: E501 + :rtype: str + """ + return self._build + + @build.setter + def build(self, build): + """Sets the build of this AdminVersion. + + + :param build: The build of this AdminVersion. # noqa: E501 + :type: str + """ + + self._build = build + + @property + def version(self): + """Gets the version of this AdminVersion. # noqa: E501 + + + :return: The version of this AdminVersion. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this AdminVersion. + + + :param version: The version of this AdminVersion. # noqa: E501 + :type: str + """ + + self._version = version + + @property + def build_time(self): + """Gets the build_time of this AdminVersion. # noqa: E501 + + + :return: The build_time of this AdminVersion. # noqa: E501 + :rtype: str + """ + return self._build_time + + @build_time.setter + def build_time(self, build_time): + """Sets the build_time of this AdminVersion. + + + :param build_time: The build_time of this AdminVersion. # noqa: E501 + :type: str + """ + + self._build_time = build_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminVersion, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminVersion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow.py new file mode 100644 index 000000000..244e9cda0 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 + + +class AdminWorkflow(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreIdentifier', + 'closure': 'AdminWorkflowClosure' + } + + attribute_map = { + 'id': 'id', + 'closure': 'closure' + } + + def __init__(self, id=None, closure=None): # noqa: E501 + """AdminWorkflow - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._closure = None + self.discriminator = None + + if id is not None: + self.id = id + if closure is not None: + self.closure = closure + + @property + def id(self): + """Gets the id of this AdminWorkflow. # noqa: E501 + + id represents the unique identifier of the workflow. # noqa: E501 + + :return: The id of this AdminWorkflow. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminWorkflow. + + id represents the unique identifier of the workflow. # noqa: E501 + + :param id: The id of this AdminWorkflow. # noqa: E501 + :type: CoreIdentifier + """ + + self._id = id + + @property + def closure(self): + """Gets the closure of this AdminWorkflow. # noqa: E501 + + closure encapsulates all the fields that maps to a compiled version of the workflow. # noqa: E501 + + :return: The closure of this AdminWorkflow. # noqa: E501 + :rtype: AdminWorkflowClosure + """ + return self._closure + + @closure.setter + def closure(self, closure): + """Sets the closure of this AdminWorkflow. + + closure encapsulates all the fields that maps to a compiled version of the workflow. # noqa: E501 + + :param closure: The closure of this AdminWorkflow. # noqa: E501 + :type: AdminWorkflowClosure + """ + + self._closure = closure + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflow, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflow): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py new file mode 100644 index 000000000..e5dc38907 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py @@ -0,0 +1,201 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: F401,E501 + + +class AdminWorkflowAttributes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'project': 'str', + 'domain': 'str', + 'workflow': 'str', + 'matching_attributes': 'AdminMatchingAttributes' + } + + attribute_map = { + 'project': 'project', + 'domain': 'domain', + 'workflow': 'workflow', + 'matching_attributes': 'matching_attributes' + } + + def __init__(self, project=None, domain=None, workflow=None, matching_attributes=None): # noqa: E501 + """AdminWorkflowAttributes - a model defined in Swagger""" # noqa: E501 + + self._project = None + self._domain = None + self._workflow = None + self._matching_attributes = None + self.discriminator = None + + if project is not None: + self.project = project + if domain is not None: + self.domain = domain + if workflow is not None: + self.workflow = workflow + if matching_attributes is not None: + self.matching_attributes = matching_attributes + + @property + def project(self): + """Gets the project of this AdminWorkflowAttributes. # noqa: E501 + + Unique project id for which this set of attributes will be applied. # noqa: E501 + + :return: The project of this AdminWorkflowAttributes. # noqa: E501 + :rtype: str + """ + return self._project + + @project.setter + def project(self, project): + """Sets the project of this AdminWorkflowAttributes. + + Unique project id for which this set of attributes will be applied. # noqa: E501 + + :param project: The project of this AdminWorkflowAttributes. # noqa: E501 + :type: str + """ + + self._project = project + + @property + def domain(self): + """Gets the domain of this AdminWorkflowAttributes. # noqa: E501 + + Unique domain id for which this set of attributes will be applied. # noqa: E501 + + :return: The domain of this AdminWorkflowAttributes. # noqa: E501 + :rtype: str + """ + return self._domain + + @domain.setter + def domain(self, domain): + """Sets the domain of this AdminWorkflowAttributes. + + Unique domain id for which this set of attributes will be applied. # noqa: E501 + + :param domain: The domain of this AdminWorkflowAttributes. # noqa: E501 + :type: str + """ + + self._domain = domain + + @property + def workflow(self): + """Gets the workflow of this AdminWorkflowAttributes. # noqa: E501 + + Workflow name for which this set of attributes will be applied. # noqa: E501 + + :return: The workflow of this AdminWorkflowAttributes. # noqa: E501 + :rtype: str + """ + return self._workflow + + @workflow.setter + def workflow(self, workflow): + """Sets the workflow of this AdminWorkflowAttributes. + + Workflow name for which this set of attributes will be applied. # noqa: E501 + + :param workflow: The workflow of this AdminWorkflowAttributes. # noqa: E501 + :type: str + """ + + self._workflow = workflow + + @property + def matching_attributes(self): + """Gets the matching_attributes of this AdminWorkflowAttributes. # noqa: E501 + + + :return: The matching_attributes of this AdminWorkflowAttributes. # noqa: E501 + :rtype: AdminMatchingAttributes + """ + return self._matching_attributes + + @matching_attributes.setter + def matching_attributes(self, matching_attributes): + """Sets the matching_attributes of this AdminWorkflowAttributes. + + + :param matching_attributes: The matching_attributes of this AdminWorkflowAttributes. # noqa: E501 + :type: AdminMatchingAttributes + """ + + self._matching_attributes = matching_attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowAttributes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowAttributes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_request.py new file mode 100644 index 000000000..348cd9821 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_request.py @@ -0,0 +1,195 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_matchable_resource import AdminMatchableResource # noqa: F401,E501 + + +class AdminWorkflowAttributesDeleteRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'project': 'str', + 'domain': 'str', + 'workflow': 'str', + 'resource_type': 'AdminMatchableResource' + } + + attribute_map = { + 'project': 'project', + 'domain': 'domain', + 'workflow': 'workflow', + 'resource_type': 'resource_type' + } + + def __init__(self, project=None, domain=None, workflow=None, resource_type=None): # noqa: E501 + """AdminWorkflowAttributesDeleteRequest - a model defined in Swagger""" # noqa: E501 + + self._project = None + self._domain = None + self._workflow = None + self._resource_type = None + self.discriminator = None + + if project is not None: + self.project = project + if domain is not None: + self.domain = domain + if workflow is not None: + self.workflow = workflow + if resource_type is not None: + self.resource_type = resource_type + + @property + def project(self): + """Gets the project of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 + + + :return: The project of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 + :rtype: str + """ + return self._project + + @project.setter + def project(self, project): + """Sets the project of this AdminWorkflowAttributesDeleteRequest. + + + :param project: The project of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 + :type: str + """ + + self._project = project + + @property + def domain(self): + """Gets the domain of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 + + + :return: The domain of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 + :rtype: str + """ + return self._domain + + @domain.setter + def domain(self, domain): + """Sets the domain of this AdminWorkflowAttributesDeleteRequest. + + + :param domain: The domain of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 + :type: str + """ + + self._domain = domain + + @property + def workflow(self): + """Gets the workflow of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 + + + :return: The workflow of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 + :rtype: str + """ + return self._workflow + + @workflow.setter + def workflow(self, workflow): + """Sets the workflow of this AdminWorkflowAttributesDeleteRequest. + + + :param workflow: The workflow of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 + :type: str + """ + + self._workflow = workflow + + @property + def resource_type(self): + """Gets the resource_type of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 + + + :return: The resource_type of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 + :rtype: AdminMatchableResource + """ + return self._resource_type + + @resource_type.setter + def resource_type(self, resource_type): + """Sets the resource_type of this AdminWorkflowAttributesDeleteRequest. + + + :param resource_type: The resource_type of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 + :type: AdminMatchableResource + """ + + self._resource_type = resource_type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowAttributesDeleteRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowAttributesDeleteRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_response.py new file mode 100644 index 000000000..7d2f277cb --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminWorkflowAttributesDeleteResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminWorkflowAttributesDeleteResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowAttributesDeleteResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowAttributesDeleteResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_get_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_get_response.py new file mode 100644 index 000000000..6d0b4971d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_get_response.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes # noqa: F401,E501 + + +class AdminWorkflowAttributesGetResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attributes': 'AdminWorkflowAttributes' + } + + attribute_map = { + 'attributes': 'attributes' + } + + def __init__(self, attributes=None): # noqa: E501 + """AdminWorkflowAttributesGetResponse - a model defined in Swagger""" # noqa: E501 + + self._attributes = None + self.discriminator = None + + if attributes is not None: + self.attributes = attributes + + @property + def attributes(self): + """Gets the attributes of this AdminWorkflowAttributesGetResponse. # noqa: E501 + + + :return: The attributes of this AdminWorkflowAttributesGetResponse. # noqa: E501 + :rtype: AdminWorkflowAttributes + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this AdminWorkflowAttributesGetResponse. + + + :param attributes: The attributes of this AdminWorkflowAttributesGetResponse. # noqa: E501 + :type: AdminWorkflowAttributes + """ + + self._attributes = attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowAttributesGetResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowAttributesGetResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py new file mode 100644 index 000000000..2f5ae0956 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes # noqa: F401,E501 + + +class AdminWorkflowAttributesUpdateRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attributes': 'AdminWorkflowAttributes' + } + + attribute_map = { + 'attributes': 'attributes' + } + + def __init__(self, attributes=None): # noqa: E501 + """AdminWorkflowAttributesUpdateRequest - a model defined in Swagger""" # noqa: E501 + + self._attributes = None + self.discriminator = None + + if attributes is not None: + self.attributes = attributes + + @property + def attributes(self): + """Gets the attributes of this AdminWorkflowAttributesUpdateRequest. # noqa: E501 + + + :return: The attributes of this AdminWorkflowAttributesUpdateRequest. # noqa: E501 + :rtype: AdminWorkflowAttributes + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this AdminWorkflowAttributesUpdateRequest. + + + :param attributes: The attributes of this AdminWorkflowAttributesUpdateRequest. # noqa: E501 + :type: AdminWorkflowAttributes + """ + + self._attributes = attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowAttributesUpdateRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowAttributesUpdateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py new file mode 100644 index 000000000..871461df5 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminWorkflowAttributesUpdateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminWorkflowAttributesUpdateResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowAttributesUpdateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowAttributesUpdateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_closure.py new file mode 100644 index 000000000..41b674b65 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_closure.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure # noqa: F401,E501 + + +class AdminWorkflowClosure(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'compiled_workflow': 'CoreCompiledWorkflowClosure', + 'created_at': 'datetime' + } + + attribute_map = { + 'compiled_workflow': 'compiled_workflow', + 'created_at': 'created_at' + } + + def __init__(self, compiled_workflow=None, created_at=None): # noqa: E501 + """AdminWorkflowClosure - a model defined in Swagger""" # noqa: E501 + + self._compiled_workflow = None + self._created_at = None + self.discriminator = None + + if compiled_workflow is not None: + self.compiled_workflow = compiled_workflow + if created_at is not None: + self.created_at = created_at + + @property + def compiled_workflow(self): + """Gets the compiled_workflow of this AdminWorkflowClosure. # noqa: E501 + + Represents the compiled representation of the workflow from the specification provided. # noqa: E501 + + :return: The compiled_workflow of this AdminWorkflowClosure. # noqa: E501 + :rtype: CoreCompiledWorkflowClosure + """ + return self._compiled_workflow + + @compiled_workflow.setter + def compiled_workflow(self, compiled_workflow): + """Sets the compiled_workflow of this AdminWorkflowClosure. + + Represents the compiled representation of the workflow from the specification provided. # noqa: E501 + + :param compiled_workflow: The compiled_workflow of this AdminWorkflowClosure. # noqa: E501 + :type: CoreCompiledWorkflowClosure + """ + + self._compiled_workflow = compiled_workflow + + @property + def created_at(self): + """Gets the created_at of this AdminWorkflowClosure. # noqa: E501 + + Time at which the workflow was created. # noqa: E501 + + :return: The created_at of this AdminWorkflowClosure. # noqa: E501 + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this AdminWorkflowClosure. + + Time at which the workflow was created. # noqa: E501 + + :param created_at: The created_at of this AdminWorkflowClosure. # noqa: E501 + :type: datetime + """ + + self._created_at = created_at + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowClosure, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowClosure): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_request.py new file mode 100644 index 000000000..d806cd1b6 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_request.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 + + +class AdminWorkflowCreateRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreIdentifier', + 'spec': 'AdminWorkflowSpec' + } + + attribute_map = { + 'id': 'id', + 'spec': 'spec' + } + + def __init__(self, id=None, spec=None): # noqa: E501 + """AdminWorkflowCreateRequest - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._spec = None + self.discriminator = None + + if id is not None: + self.id = id + if spec is not None: + self.spec = spec + + @property + def id(self): + """Gets the id of this AdminWorkflowCreateRequest. # noqa: E501 + + + :return: The id of this AdminWorkflowCreateRequest. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this AdminWorkflowCreateRequest. + + + :param id: The id of this AdminWorkflowCreateRequest. # noqa: E501 + :type: CoreIdentifier + """ + + self._id = id + + @property + def spec(self): + """Gets the spec of this AdminWorkflowCreateRequest. # noqa: E501 + + + :return: The spec of this AdminWorkflowCreateRequest. # noqa: E501 + :rtype: AdminWorkflowSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this AdminWorkflowCreateRequest. + + + :param spec: The spec of this AdminWorkflowCreateRequest. # noqa: E501 + :type: AdminWorkflowSpec + """ + + self._spec = spec + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowCreateRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowCreateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_response.py new file mode 100644 index 000000000..63dfaa032 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminWorkflowCreateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminWorkflowCreateResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowCreateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowCreateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py new file mode 100644 index 000000000..3e9fc6722 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py @@ -0,0 +1,262 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: F401,E501 +from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 +from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: F401,E501 +from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: F401,E501 + + +class AdminWorkflowExecutionConfig(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'max_parallelism': 'int', + 'security_context': 'CoreSecurityContext', + 'raw_output_data_config': 'AdminRawOutputDataConfig', + 'labels': 'AdminLabels', + 'annotations': 'AdminAnnotations', + 'interruptible': 'bool' + } + + attribute_map = { + 'max_parallelism': 'max_parallelism', + 'security_context': 'security_context', + 'raw_output_data_config': 'raw_output_data_config', + 'labels': 'labels', + 'annotations': 'annotations', + 'interruptible': 'interruptible' + } + + def __init__(self, max_parallelism=None, security_context=None, raw_output_data_config=None, labels=None, annotations=None, interruptible=None): # noqa: E501 + """AdminWorkflowExecutionConfig - a model defined in Swagger""" # noqa: E501 + + self._max_parallelism = None + self._security_context = None + self._raw_output_data_config = None + self._labels = None + self._annotations = None + self._interruptible = None + self.discriminator = None + + if max_parallelism is not None: + self.max_parallelism = max_parallelism + if security_context is not None: + self.security_context = security_context + if raw_output_data_config is not None: + self.raw_output_data_config = raw_output_data_config + if labels is not None: + self.labels = labels + if annotations is not None: + self.annotations = annotations + if interruptible is not None: + self.interruptible = interruptible + + @property + def max_parallelism(self): + """Gets the max_parallelism of this AdminWorkflowExecutionConfig. # noqa: E501 + + Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness. # noqa: E501 + + :return: The max_parallelism of this AdminWorkflowExecutionConfig. # noqa: E501 + :rtype: int + """ + return self._max_parallelism + + @max_parallelism.setter + def max_parallelism(self, max_parallelism): + """Sets the max_parallelism of this AdminWorkflowExecutionConfig. + + Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness. # noqa: E501 + + :param max_parallelism: The max_parallelism of this AdminWorkflowExecutionConfig. # noqa: E501 + :type: int + """ + + self._max_parallelism = max_parallelism + + @property + def security_context(self): + """Gets the security_context of this AdminWorkflowExecutionConfig. # noqa: E501 + + Indicates security context permissions for executions triggered with this matchable attribute. # noqa: E501 + + :return: The security_context of this AdminWorkflowExecutionConfig. # noqa: E501 + :rtype: CoreSecurityContext + """ + return self._security_context + + @security_context.setter + def security_context(self, security_context): + """Sets the security_context of this AdminWorkflowExecutionConfig. + + Indicates security context permissions for executions triggered with this matchable attribute. # noqa: E501 + + :param security_context: The security_context of this AdminWorkflowExecutionConfig. # noqa: E501 + :type: CoreSecurityContext + """ + + self._security_context = security_context + + @property + def raw_output_data_config(self): + """Gets the raw_output_data_config of this AdminWorkflowExecutionConfig. # noqa: E501 + + Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). # noqa: E501 + + :return: The raw_output_data_config of this AdminWorkflowExecutionConfig. # noqa: E501 + :rtype: AdminRawOutputDataConfig + """ + return self._raw_output_data_config + + @raw_output_data_config.setter + def raw_output_data_config(self, raw_output_data_config): + """Sets the raw_output_data_config of this AdminWorkflowExecutionConfig. + + Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). # noqa: E501 + + :param raw_output_data_config: The raw_output_data_config of this AdminWorkflowExecutionConfig. # noqa: E501 + :type: AdminRawOutputDataConfig + """ + + self._raw_output_data_config = raw_output_data_config + + @property + def labels(self): + """Gets the labels of this AdminWorkflowExecutionConfig. # noqa: E501 + + Custom labels to be applied to a triggered execution resource. # noqa: E501 + + :return: The labels of this AdminWorkflowExecutionConfig. # noqa: E501 + :rtype: AdminLabels + """ + return self._labels + + @labels.setter + def labels(self, labels): + """Sets the labels of this AdminWorkflowExecutionConfig. + + Custom labels to be applied to a triggered execution resource. # noqa: E501 + + :param labels: The labels of this AdminWorkflowExecutionConfig. # noqa: E501 + :type: AdminLabels + """ + + self._labels = labels + + @property + def annotations(self): + """Gets the annotations of this AdminWorkflowExecutionConfig. # noqa: E501 + + Custom annotations to be applied to a triggered execution resource. # noqa: E501 + + :return: The annotations of this AdminWorkflowExecutionConfig. # noqa: E501 + :rtype: AdminAnnotations + """ + return self._annotations + + @annotations.setter + def annotations(self, annotations): + """Sets the annotations of this AdminWorkflowExecutionConfig. + + Custom annotations to be applied to a triggered execution resource. # noqa: E501 + + :param annotations: The annotations of this AdminWorkflowExecutionConfig. # noqa: E501 + :type: AdminAnnotations + """ + + self._annotations = annotations + + @property + def interruptible(self): + """Gets the interruptible of this AdminWorkflowExecutionConfig. # noqa: E501 + + Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 + + :return: The interruptible of this AdminWorkflowExecutionConfig. # noqa: E501 + :rtype: bool + """ + return self._interruptible + + @interruptible.setter + def interruptible(self, interruptible): + """Sets the interruptible of this AdminWorkflowExecutionConfig. + + Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 + + :param interruptible: The interruptible of this AdminWorkflowExecutionConfig. # noqa: E501 + :type: bool + """ + + self._interruptible = interruptible + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowExecutionConfig, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowExecutionConfig): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_request.py new file mode 100644 index 000000000..5b49fb363 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_request.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.event_workflow_execution_event import EventWorkflowExecutionEvent # noqa: F401,E501 + + +class AdminWorkflowExecutionEventRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'request_id': 'str', + 'event': 'EventWorkflowExecutionEvent' + } + + attribute_map = { + 'request_id': 'request_id', + 'event': 'event' + } + + def __init__(self, request_id=None, event=None): # noqa: E501 + """AdminWorkflowExecutionEventRequest - a model defined in Swagger""" # noqa: E501 + + self._request_id = None + self._event = None + self.discriminator = None + + if request_id is not None: + self.request_id = request_id + if event is not None: + self.event = event + + @property + def request_id(self): + """Gets the request_id of this AdminWorkflowExecutionEventRequest. # noqa: E501 + + + :return: The request_id of this AdminWorkflowExecutionEventRequest. # noqa: E501 + :rtype: str + """ + return self._request_id + + @request_id.setter + def request_id(self, request_id): + """Sets the request_id of this AdminWorkflowExecutionEventRequest. + + + :param request_id: The request_id of this AdminWorkflowExecutionEventRequest. # noqa: E501 + :type: str + """ + + self._request_id = request_id + + @property + def event(self): + """Gets the event of this AdminWorkflowExecutionEventRequest. # noqa: E501 + + Details about the event that occurred. # noqa: E501 + + :return: The event of this AdminWorkflowExecutionEventRequest. # noqa: E501 + :rtype: EventWorkflowExecutionEvent + """ + return self._event + + @event.setter + def event(self, event): + """Sets the event of this AdminWorkflowExecutionEventRequest. + + Details about the event that occurred. # noqa: E501 + + :param event: The event of this AdminWorkflowExecutionEventRequest. # noqa: E501 + :type: EventWorkflowExecutionEvent + """ + + self._event = event + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowExecutionEventRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowExecutionEventRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_response.py new file mode 100644 index 000000000..e4ddc78b6 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminWorkflowExecutionEventResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminWorkflowExecutionEventResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowExecutionEventResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowExecutionEventResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_data_response.py new file mode 100644 index 000000000..7b08ce32c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_data_response.py @@ -0,0 +1,204 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: F401,E501 +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 + + +class AdminWorkflowExecutionGetDataResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'outputs': 'AdminUrlBlob', + 'inputs': 'AdminUrlBlob', + 'full_inputs': 'CoreLiteralMap', + 'full_outputs': 'CoreLiteralMap' + } + + attribute_map = { + 'outputs': 'outputs', + 'inputs': 'inputs', + 'full_inputs': 'full_inputs', + 'full_outputs': 'full_outputs' + } + + def __init__(self, outputs=None, inputs=None, full_inputs=None, full_outputs=None): # noqa: E501 + """AdminWorkflowExecutionGetDataResponse - a model defined in Swagger""" # noqa: E501 + + self._outputs = None + self._inputs = None + self._full_inputs = None + self._full_outputs = None + self.discriminator = None + + if outputs is not None: + self.outputs = outputs + if inputs is not None: + self.inputs = inputs + if full_inputs is not None: + self.full_inputs = full_inputs + if full_outputs is not None: + self.full_outputs = full_outputs + + @property + def outputs(self): + """Gets the outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 + + Signed url to fetch a core.LiteralMap of execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 + + :return: The outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 + :rtype: AdminUrlBlob + """ + return self._outputs + + @outputs.setter + def outputs(self, outputs): + """Sets the outputs of this AdminWorkflowExecutionGetDataResponse. + + Signed url to fetch a core.LiteralMap of execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 + + :param outputs: The outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 + :type: AdminUrlBlob + """ + + self._outputs = outputs + + @property + def inputs(self): + """Gets the inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 + + Signed url to fetch a core.LiteralMap of execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 + + :return: The inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 + :rtype: AdminUrlBlob + """ + return self._inputs + + @inputs.setter + def inputs(self, inputs): + """Sets the inputs of this AdminWorkflowExecutionGetDataResponse. + + Signed url to fetch a core.LiteralMap of execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 + + :param inputs: The inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 + :type: AdminUrlBlob + """ + + self._inputs = inputs + + @property + def full_inputs(self): + """Gets the full_inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 + + Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 + + :return: The full_inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._full_inputs + + @full_inputs.setter + def full_inputs(self, full_inputs): + """Sets the full_inputs of this AdminWorkflowExecutionGetDataResponse. + + Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 + + :param full_inputs: The full_inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 + :type: CoreLiteralMap + """ + + self._full_inputs = full_inputs + + @property + def full_outputs(self): + """Gets the full_outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 + + Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 + + :return: The full_outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._full_outputs + + @full_outputs.setter + def full_outputs(self, full_outputs): + """Sets the full_outputs of this AdminWorkflowExecutionGetDataResponse. + + Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 + + :param full_outputs: The full_outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 + :type: CoreLiteralMap + """ + + self._full_outputs = full_outputs + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowExecutionGetDataResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowExecutionGetDataResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_list.py new file mode 100644 index 000000000..65fe9fb33 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_list.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_workflow import AdminWorkflow # noqa: F401,E501 + + +class AdminWorkflowList(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'workflows': 'list[AdminWorkflow]', + 'token': 'str' + } + + attribute_map = { + 'workflows': 'workflows', + 'token': 'token' + } + + def __init__(self, workflows=None, token=None): # noqa: E501 + """AdminWorkflowList - a model defined in Swagger""" # noqa: E501 + + self._workflows = None + self._token = None + self.discriminator = None + + if workflows is not None: + self.workflows = workflows + if token is not None: + self.token = token + + @property + def workflows(self): + """Gets the workflows of this AdminWorkflowList. # noqa: E501 + + A list of workflows returned based on the request. # noqa: E501 + + :return: The workflows of this AdminWorkflowList. # noqa: E501 + :rtype: list[AdminWorkflow] + """ + return self._workflows + + @workflows.setter + def workflows(self, workflows): + """Sets the workflows of this AdminWorkflowList. + + A list of workflows returned based on the request. # noqa: E501 + + :param workflows: The workflows of this AdminWorkflowList. # noqa: E501 + :type: list[AdminWorkflow] + """ + + self._workflows = workflows + + @property + def token(self): + """Gets the token of this AdminWorkflowList. # noqa: E501 + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :return: The token of this AdminWorkflowList. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this AdminWorkflowList. + + In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 + + :param token: The token of this AdminWorkflowList. # noqa: E501 + :type: str + """ + + self._token = token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowList, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_spec.py new file mode 100644 index 000000000..d49a6db68 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_spec.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate # noqa: F401,E501 + + +class AdminWorkflowSpec(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'template': 'CoreWorkflowTemplate', + 'sub_workflows': 'list[CoreWorkflowTemplate]' + } + + attribute_map = { + 'template': 'template', + 'sub_workflows': 'sub_workflows' + } + + def __init__(self, template=None, sub_workflows=None): # noqa: E501 + """AdminWorkflowSpec - a model defined in Swagger""" # noqa: E501 + + self._template = None + self._sub_workflows = None + self.discriminator = None + + if template is not None: + self.template = template + if sub_workflows is not None: + self.sub_workflows = sub_workflows + + @property + def template(self): + """Gets the template of this AdminWorkflowSpec. # noqa: E501 + + Template of the task that encapsulates all the metadata of the workflow. # noqa: E501 + + :return: The template of this AdminWorkflowSpec. # noqa: E501 + :rtype: CoreWorkflowTemplate + """ + return self._template + + @template.setter + def template(self, template): + """Sets the template of this AdminWorkflowSpec. + + Template of the task that encapsulates all the metadata of the workflow. # noqa: E501 + + :param template: The template of this AdminWorkflowSpec. # noqa: E501 + :type: CoreWorkflowTemplate + """ + + self._template = template + + @property + def sub_workflows(self): + """Gets the sub_workflows of this AdminWorkflowSpec. # noqa: E501 + + Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered. # noqa: E501 + + :return: The sub_workflows of this AdminWorkflowSpec. # noqa: E501 + :rtype: list[CoreWorkflowTemplate] + """ + return self._sub_workflows + + @sub_workflows.setter + def sub_workflows(self, sub_workflows): + """Sets the sub_workflows of this AdminWorkflowSpec. + + Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered. # noqa: E501 + + :param sub_workflows: The sub_workflows of this AdminWorkflowSpec. # noqa: E501 + :type: list[CoreWorkflowTemplate] + """ + + self._sub_workflows = sub_workflows + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowSpec, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowSpec): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/blob_type_blob_dimensionality.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/blob_type_blob_dimensionality.py new file mode 100644 index 000000000..94a5d768f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/blob_type_blob_dimensionality.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class BlobTypeBlobDimensionality(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + SINGLE = "SINGLE" + MULTIPART = "MULTIPART" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """BlobTypeBlobDimensionality - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(BlobTypeBlobDimensionality, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, BlobTypeBlobDimensionality): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/catalog_reservation_status.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/catalog_reservation_status.py new file mode 100644 index 000000000..f51859542 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/catalog_reservation_status.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CatalogReservationStatus(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DISABLED = "RESERVATION_DISABLED" + ACQUIRED = "RESERVATION_ACQUIRED" + EXISTS = "RESERVATION_EXISTS" + RELEASED = "RESERVATION_RELEASED" + FAILURE = "RESERVATION_FAILURE" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """CatalogReservationStatus - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CatalogReservationStatus, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CatalogReservationStatus): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py new file mode 100644 index 000000000..b14151518 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ComparisonExpressionOperator(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + EQ = "EQ" + NEQ = "NEQ" + GT = "GT" + GTE = "GTE" + LT = "LT" + LTE = "LTE" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ComparisonExpressionOperator - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ComparisonExpressionOperator, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ComparisonExpressionOperator): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/conjunction_expression_logical_operator.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/conjunction_expression_logical_operator.py new file mode 100644 index 000000000..95bbfe714 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/conjunction_expression_logical_operator.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ConjunctionExpressionLogicalOperator(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + AND = "AND" + OR = "OR" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ConjunctionExpressionLogicalOperator - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ConjunctionExpressionLogicalOperator, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ConjunctionExpressionLogicalOperator): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/connection_set_id_list.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/connection_set_id_list.py new file mode 100644 index 000000000..75c023248 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/connection_set_id_list.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ConnectionSetIdList(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ids': 'list[str]' + } + + attribute_map = { + 'ids': 'ids' + } + + def __init__(self, ids=None): # noqa: E501 + """ConnectionSetIdList - a model defined in Swagger""" # noqa: E501 + + self._ids = None + self.discriminator = None + + if ids is not None: + self.ids = ids + + @property + def ids(self): + """Gets the ids of this ConnectionSetIdList. # noqa: E501 + + + :return: The ids of this ConnectionSetIdList. # noqa: E501 + :rtype: list[str] + """ + return self._ids + + @ids.setter + def ids(self, ids): + """Sets the ids of this ConnectionSetIdList. + + + :param ids: The ids of this ConnectionSetIdList. # noqa: E501 + :type: list[str] + """ + + self._ids = ids + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ConnectionSetIdList, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ConnectionSetIdList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/container_architecture.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/container_architecture.py new file mode 100644 index 000000000..eb0f6d398 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/container_architecture.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ContainerArchitecture(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UNKNOWN = "UNKNOWN" + AMD64 = "AMD64" + ARM64 = "ARM64" + ARM_V6 = "ARM_V6" + ARM_V7 = "ARM_V7" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ContainerArchitecture - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ContainerArchitecture, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ContainerArchitecture): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_alias.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_alias.py new file mode 100644 index 000000000..e838fed4e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_alias.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreAlias(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'var': 'str', + 'alias': 'str' + } + + attribute_map = { + 'var': 'var', + 'alias': 'alias' + } + + def __init__(self, var=None, alias=None): # noqa: E501 + """CoreAlias - a model defined in Swagger""" # noqa: E501 + + self._var = None + self._alias = None + self.discriminator = None + + if var is not None: + self.var = var + if alias is not None: + self.alias = alias + + @property + def var(self): + """Gets the var of this CoreAlias. # noqa: E501 + + Must match one of the output variable names on a node. # noqa: E501 + + :return: The var of this CoreAlias. # noqa: E501 + :rtype: str + """ + return self._var + + @var.setter + def var(self, var): + """Sets the var of this CoreAlias. + + Must match one of the output variable names on a node. # noqa: E501 + + :param var: The var of this CoreAlias. # noqa: E501 + :type: str + """ + + self._var = var + + @property + def alias(self): + """Gets the alias of this CoreAlias. # noqa: E501 + + A workflow-level unique alias that downstream nodes can refer to in their input. # noqa: E501 + + :return: The alias of this CoreAlias. # noqa: E501 + :rtype: str + """ + return self._alias + + @alias.setter + def alias(self, alias): + """Sets the alias of this CoreAlias. + + A workflow-level unique alias that downstream nodes can refer to in their input. # noqa: E501 + + :param alias: The alias of this CoreAlias. # noqa: E501 + :type: str + """ + + self._alias = alias + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreAlias, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreAlias): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binary.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binary.py new file mode 100644 index 000000000..371292819 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binary.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreBinary(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'value': 'str', + 'tag': 'str' + } + + attribute_map = { + 'value': 'value', + 'tag': 'tag' + } + + def __init__(self, value=None, tag=None): # noqa: E501 + """CoreBinary - a model defined in Swagger""" # noqa: E501 + + self._value = None + self._tag = None + self.discriminator = None + + if value is not None: + self.value = value + if tag is not None: + self.tag = tag + + @property + def value(self): + """Gets the value of this CoreBinary. # noqa: E501 + + + :return: The value of this CoreBinary. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this CoreBinary. + + + :param value: The value of this CoreBinary. # noqa: E501 + :type: str + """ + if value is not None and not re.search(r'^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', value): # noqa: E501 + raise ValueError(r"Invalid value for `value`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") # noqa: E501 + + self._value = value + + @property + def tag(self): + """Gets the tag of this CoreBinary. # noqa: E501 + + + :return: The tag of this CoreBinary. # noqa: E501 + :rtype: str + """ + return self._tag + + @tag.setter + def tag(self, tag): + """Sets the tag of this CoreBinary. + + + :param tag: The tag of this CoreBinary. # noqa: E501 + :type: str + """ + + self._tag = tag + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreBinary, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreBinary): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding.py new file mode 100644 index 000000000..e865a23dc --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_binding_data import CoreBindingData # noqa: F401,E501 + + +class CoreBinding(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'var': 'str', + 'binding': 'CoreBindingData' + } + + attribute_map = { + 'var': 'var', + 'binding': 'binding' + } + + def __init__(self, var=None, binding=None): # noqa: E501 + """CoreBinding - a model defined in Swagger""" # noqa: E501 + + self._var = None + self._binding = None + self.discriminator = None + + if var is not None: + self.var = var + if binding is not None: + self.binding = binding + + @property + def var(self): + """Gets the var of this CoreBinding. # noqa: E501 + + Variable name must match an input/output variable of the node. # noqa: E501 + + :return: The var of this CoreBinding. # noqa: E501 + :rtype: str + """ + return self._var + + @var.setter + def var(self, var): + """Sets the var of this CoreBinding. + + Variable name must match an input/output variable of the node. # noqa: E501 + + :param var: The var of this CoreBinding. # noqa: E501 + :type: str + """ + + self._var = var + + @property + def binding(self): + """Gets the binding of this CoreBinding. # noqa: E501 + + Data to use to bind this variable. # noqa: E501 + + :return: The binding of this CoreBinding. # noqa: E501 + :rtype: CoreBindingData + """ + return self._binding + + @binding.setter + def binding(self, binding): + """Sets the binding of this CoreBinding. + + Data to use to bind this variable. # noqa: E501 + + :param binding: The binding of this CoreBinding. # noqa: E501 + :type: CoreBindingData + """ + + self._binding = binding + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreBinding, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreBinding): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data.py new file mode 100644 index 000000000..611a1aca5 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data.py @@ -0,0 +1,233 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_binding_data_collection import CoreBindingDataCollection # noqa: F401,E501 +from flyteadmin.models.core_binding_data_map import CoreBindingDataMap # noqa: F401,E501 +from flyteadmin.models.core_output_reference import CoreOutputReference # noqa: F401,E501 +from flyteadmin.models.core_scalar import CoreScalar # noqa: F401,E501 +from flyteadmin.models.core_union_info import CoreUnionInfo # noqa: F401,E501 + + +class CoreBindingData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'scalar': 'CoreScalar', + 'collection': 'CoreBindingDataCollection', + 'promise': 'CoreOutputReference', + 'map': 'CoreBindingDataMap', + 'union': 'CoreUnionInfo' + } + + attribute_map = { + 'scalar': 'scalar', + 'collection': 'collection', + 'promise': 'promise', + 'map': 'map', + 'union': 'union' + } + + def __init__(self, scalar=None, collection=None, promise=None, map=None, union=None): # noqa: E501 + """CoreBindingData - a model defined in Swagger""" # noqa: E501 + + self._scalar = None + self._collection = None + self._promise = None + self._map = None + self._union = None + self.discriminator = None + + if scalar is not None: + self.scalar = scalar + if collection is not None: + self.collection = collection + if promise is not None: + self.promise = promise + if map is not None: + self.map = map + if union is not None: + self.union = union + + @property + def scalar(self): + """Gets the scalar of this CoreBindingData. # noqa: E501 + + A simple scalar value. # noqa: E501 + + :return: The scalar of this CoreBindingData. # noqa: E501 + :rtype: CoreScalar + """ + return self._scalar + + @scalar.setter + def scalar(self, scalar): + """Sets the scalar of this CoreBindingData. + + A simple scalar value. # noqa: E501 + + :param scalar: The scalar of this CoreBindingData. # noqa: E501 + :type: CoreScalar + """ + + self._scalar = scalar + + @property + def collection(self): + """Gets the collection of this CoreBindingData. # noqa: E501 + + A collection of binding data. This allows nesting of binding data to any number of levels. # noqa: E501 + + :return: The collection of this CoreBindingData. # noqa: E501 + :rtype: CoreBindingDataCollection + """ + return self._collection + + @collection.setter + def collection(self, collection): + """Sets the collection of this CoreBindingData. + + A collection of binding data. This allows nesting of binding data to any number of levels. # noqa: E501 + + :param collection: The collection of this CoreBindingData. # noqa: E501 + :type: CoreBindingDataCollection + """ + + self._collection = collection + + @property + def promise(self): + """Gets the promise of this CoreBindingData. # noqa: E501 + + References an output promised by another node. # noqa: E501 + + :return: The promise of this CoreBindingData. # noqa: E501 + :rtype: CoreOutputReference + """ + return self._promise + + @promise.setter + def promise(self, promise): + """Sets the promise of this CoreBindingData. + + References an output promised by another node. # noqa: E501 + + :param promise: The promise of this CoreBindingData. # noqa: E501 + :type: CoreOutputReference + """ + + self._promise = promise + + @property + def map(self): + """Gets the map of this CoreBindingData. # noqa: E501 + + A map of bindings. The key is always a string. # noqa: E501 + + :return: The map of this CoreBindingData. # noqa: E501 + :rtype: CoreBindingDataMap + """ + return self._map + + @map.setter + def map(self, map): + """Sets the map of this CoreBindingData. + + A map of bindings. The key is always a string. # noqa: E501 + + :param map: The map of this CoreBindingData. # noqa: E501 + :type: CoreBindingDataMap + """ + + self._map = map + + @property + def union(self): + """Gets the union of this CoreBindingData. # noqa: E501 + + + :return: The union of this CoreBindingData. # noqa: E501 + :rtype: CoreUnionInfo + """ + return self._union + + @union.setter + def union(self, union): + """Sets the union of this CoreBindingData. + + + :param union: The union of this CoreBindingData. # noqa: E501 + :type: CoreUnionInfo + """ + + self._union = union + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreBindingData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreBindingData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_collection.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_collection.py new file mode 100644 index 000000000..a2e765d7f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_collection.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_binding_data import CoreBindingData # noqa: F401,E501 + + +class CoreBindingDataCollection(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bindings': 'list[CoreBindingData]' + } + + attribute_map = { + 'bindings': 'bindings' + } + + def __init__(self, bindings=None): # noqa: E501 + """CoreBindingDataCollection - a model defined in Swagger""" # noqa: E501 + + self._bindings = None + self.discriminator = None + + if bindings is not None: + self.bindings = bindings + + @property + def bindings(self): + """Gets the bindings of this CoreBindingDataCollection. # noqa: E501 + + + :return: The bindings of this CoreBindingDataCollection. # noqa: E501 + :rtype: list[CoreBindingData] + """ + return self._bindings + + @bindings.setter + def bindings(self, bindings): + """Sets the bindings of this CoreBindingDataCollection. + + + :param bindings: The bindings of this CoreBindingDataCollection. # noqa: E501 + :type: list[CoreBindingData] + """ + + self._bindings = bindings + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreBindingDataCollection, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreBindingDataCollection): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_map.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_map.py new file mode 100644 index 000000000..d3d00d404 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_map.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_binding_data import CoreBindingData # noqa: F401,E501 + + +class CoreBindingDataMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bindings': 'dict(str, CoreBindingData)' + } + + attribute_map = { + 'bindings': 'bindings' + } + + def __init__(self, bindings=None): # noqa: E501 + """CoreBindingDataMap - a model defined in Swagger""" # noqa: E501 + + self._bindings = None + self.discriminator = None + + if bindings is not None: + self.bindings = bindings + + @property + def bindings(self): + """Gets the bindings of this CoreBindingDataMap. # noqa: E501 + + + :return: The bindings of this CoreBindingDataMap. # noqa: E501 + :rtype: dict(str, CoreBindingData) + """ + return self._bindings + + @bindings.setter + def bindings(self, bindings): + """Sets the bindings of this CoreBindingDataMap. + + + :param bindings: The bindings of this CoreBindingDataMap. # noqa: E501 + :type: dict(str, CoreBindingData) + """ + + self._bindings = bindings + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreBindingDataMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreBindingDataMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob.py new file mode 100644 index 000000000..270ae7060 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_blob_metadata import CoreBlobMetadata # noqa: F401,E501 + + +class CoreBlob(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'metadata': 'CoreBlobMetadata', + 'uri': 'str' + } + + attribute_map = { + 'metadata': 'metadata', + 'uri': 'uri' + } + + def __init__(self, metadata=None, uri=None): # noqa: E501 + """CoreBlob - a model defined in Swagger""" # noqa: E501 + + self._metadata = None + self._uri = None + self.discriminator = None + + if metadata is not None: + self.metadata = metadata + if uri is not None: + self.uri = uri + + @property + def metadata(self): + """Gets the metadata of this CoreBlob. # noqa: E501 + + + :return: The metadata of this CoreBlob. # noqa: E501 + :rtype: CoreBlobMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this CoreBlob. + + + :param metadata: The metadata of this CoreBlob. # noqa: E501 + :type: CoreBlobMetadata + """ + + self._metadata = metadata + + @property + def uri(self): + """Gets the uri of this CoreBlob. # noqa: E501 + + + :return: The uri of this CoreBlob. # noqa: E501 + :rtype: str + """ + return self._uri + + @uri.setter + def uri(self, uri): + """Sets the uri of this CoreBlob. + + + :param uri: The uri of this CoreBlob. # noqa: E501 + :type: str + """ + + self._uri = uri + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreBlob, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreBlob): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_metadata.py new file mode 100644 index 000000000..3a12b7f98 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_metadata.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_blob_type import CoreBlobType # noqa: F401,E501 + + +class CoreBlobMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'type': 'CoreBlobType' + } + + attribute_map = { + 'type': 'type' + } + + def __init__(self, type=None): # noqa: E501 + """CoreBlobMetadata - a model defined in Swagger""" # noqa: E501 + + self._type = None + self.discriminator = None + + if type is not None: + self.type = type + + @property + def type(self): + """Gets the type of this CoreBlobMetadata. # noqa: E501 + + + :return: The type of this CoreBlobMetadata. # noqa: E501 + :rtype: CoreBlobType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this CoreBlobMetadata. + + + :param type: The type of this CoreBlobMetadata. # noqa: E501 + :type: CoreBlobType + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreBlobMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreBlobMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_type.py new file mode 100644 index 000000000..a81b58c44 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_type.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality # noqa: F401,E501 + + +class CoreBlobType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'format': 'str', + 'dimensionality': 'BlobTypeBlobDimensionality' + } + + attribute_map = { + 'format': 'format', + 'dimensionality': 'dimensionality' + } + + def __init__(self, format=None, dimensionality=None): # noqa: E501 + """CoreBlobType - a model defined in Swagger""" # noqa: E501 + + self._format = None + self._dimensionality = None + self.discriminator = None + + if format is not None: + self.format = format + if dimensionality is not None: + self.dimensionality = dimensionality + + @property + def format(self): + """Gets the format of this CoreBlobType. # noqa: E501 + + + :return: The format of this CoreBlobType. # noqa: E501 + :rtype: str + """ + return self._format + + @format.setter + def format(self, format): + """Sets the format of this CoreBlobType. + + + :param format: The format of this CoreBlobType. # noqa: E501 + :type: str + """ + + self._format = format + + @property + def dimensionality(self): + """Gets the dimensionality of this CoreBlobType. # noqa: E501 + + + :return: The dimensionality of this CoreBlobType. # noqa: E501 + :rtype: BlobTypeBlobDimensionality + """ + return self._dimensionality + + @dimensionality.setter + def dimensionality(self, dimensionality): + """Sets the dimensionality of this CoreBlobType. + + + :param dimensionality: The dimensionality of this CoreBlobType. # noqa: E501 + :type: BlobTypeBlobDimensionality + """ + + self._dimensionality = dimensionality + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreBlobType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreBlobType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_boolean_expression.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_boolean_expression.py new file mode 100644 index 000000000..f7eaff613 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_boolean_expression.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_comparison_expression import CoreComparisonExpression # noqa: F401,E501 +from flyteadmin.models.core_conjunction_expression import CoreConjunctionExpression # noqa: F401,E501 + + +class CoreBooleanExpression(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'conjunction': 'CoreConjunctionExpression', + 'comparison': 'CoreComparisonExpression' + } + + attribute_map = { + 'conjunction': 'conjunction', + 'comparison': 'comparison' + } + + def __init__(self, conjunction=None, comparison=None): # noqa: E501 + """CoreBooleanExpression - a model defined in Swagger""" # noqa: E501 + + self._conjunction = None + self._comparison = None + self.discriminator = None + + if conjunction is not None: + self.conjunction = conjunction + if comparison is not None: + self.comparison = comparison + + @property + def conjunction(self): + """Gets the conjunction of this CoreBooleanExpression. # noqa: E501 + + + :return: The conjunction of this CoreBooleanExpression. # noqa: E501 + :rtype: CoreConjunctionExpression + """ + return self._conjunction + + @conjunction.setter + def conjunction(self, conjunction): + """Sets the conjunction of this CoreBooleanExpression. + + + :param conjunction: The conjunction of this CoreBooleanExpression. # noqa: E501 + :type: CoreConjunctionExpression + """ + + self._conjunction = conjunction + + @property + def comparison(self): + """Gets the comparison of this CoreBooleanExpression. # noqa: E501 + + + :return: The comparison of this CoreBooleanExpression. # noqa: E501 + :rtype: CoreComparisonExpression + """ + return self._comparison + + @comparison.setter + def comparison(self, comparison): + """Sets the comparison of this CoreBooleanExpression. + + + :param comparison: The comparison of this CoreBooleanExpression. # noqa: E501 + :type: CoreComparisonExpression + """ + + self._comparison = comparison + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreBooleanExpression, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreBooleanExpression): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_branch_node.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_branch_node.py new file mode 100644 index 000000000..db7cc3c71 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_branch_node.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_if_else_block import CoreIfElseBlock # noqa: F401,E501 + + +class CoreBranchNode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'if_else': 'CoreIfElseBlock' + } + + attribute_map = { + 'if_else': 'if_else' + } + + def __init__(self, if_else=None): # noqa: E501 + """CoreBranchNode - a model defined in Swagger""" # noqa: E501 + + self._if_else = None + self.discriminator = None + + if if_else is not None: + self.if_else = if_else + + @property + def if_else(self): + """Gets the if_else of this CoreBranchNode. # noqa: E501 + + + :return: The if_else of this CoreBranchNode. # noqa: E501 + :rtype: CoreIfElseBlock + """ + return self._if_else + + @if_else.setter + def if_else(self, if_else): + """Sets the if_else of this CoreBranchNode. + + + :param if_else: The if_else of this CoreBranchNode. # noqa: E501 + :type: CoreIfElseBlock + """ + + self._if_else = if_else + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreBranchNode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreBranchNode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_artifact_tag.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_artifact_tag.py new file mode 100644 index 000000000..77fb0a950 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_artifact_tag.py @@ -0,0 +1,141 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreCatalogArtifactTag(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'artifact_id': 'str', + 'name': 'str' + } + + attribute_map = { + 'artifact_id': 'artifact_id', + 'name': 'name' + } + + def __init__(self, artifact_id=None, name=None): # noqa: E501 + """CoreCatalogArtifactTag - a model defined in Swagger""" # noqa: E501 + + self._artifact_id = None + self._name = None + self.discriminator = None + + if artifact_id is not None: + self.artifact_id = artifact_id + if name is not None: + self.name = name + + @property + def artifact_id(self): + """Gets the artifact_id of this CoreCatalogArtifactTag. # noqa: E501 + + + :return: The artifact_id of this CoreCatalogArtifactTag. # noqa: E501 + :rtype: str + """ + return self._artifact_id + + @artifact_id.setter + def artifact_id(self, artifact_id): + """Sets the artifact_id of this CoreCatalogArtifactTag. + + + :param artifact_id: The artifact_id of this CoreCatalogArtifactTag. # noqa: E501 + :type: str + """ + + self._artifact_id = artifact_id + + @property + def name(self): + """Gets the name of this CoreCatalogArtifactTag. # noqa: E501 + + + :return: The name of this CoreCatalogArtifactTag. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CoreCatalogArtifactTag. + + + :param name: The name of this CoreCatalogArtifactTag. # noqa: E501 + :type: str + """ + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreCatalogArtifactTag, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreCatalogArtifactTag): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_cache_status.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_cache_status.py new file mode 100644 index 000000000..95d2dc313 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_cache_status.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreCatalogCacheStatus(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DISABLED = "CACHE_DISABLED" + MISS = "CACHE_MISS" + HIT = "CACHE_HIT" + POPULATED = "CACHE_POPULATED" + LOOKUP_FAILURE = "CACHE_LOOKUP_FAILURE" + PUT_FAILURE = "CACHE_PUT_FAILURE" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """CoreCatalogCacheStatus - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreCatalogCacheStatus, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreCatalogCacheStatus): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_metadata.py new file mode 100644 index 000000000..ae3d5f81f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_metadata.py @@ -0,0 +1,171 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_catalog_artifact_tag import CoreCatalogArtifactTag # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 +from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: F401,E501 + + +class CoreCatalogMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'dataset_id': 'CoreIdentifier', + 'artifact_tag': 'CoreCatalogArtifactTag', + 'source_task_execution': 'CoreTaskExecutionIdentifier' + } + + attribute_map = { + 'dataset_id': 'dataset_id', + 'artifact_tag': 'artifact_tag', + 'source_task_execution': 'source_task_execution' + } + + def __init__(self, dataset_id=None, artifact_tag=None, source_task_execution=None): # noqa: E501 + """CoreCatalogMetadata - a model defined in Swagger""" # noqa: E501 + + self._dataset_id = None + self._artifact_tag = None + self._source_task_execution = None + self.discriminator = None + + if dataset_id is not None: + self.dataset_id = dataset_id + if artifact_tag is not None: + self.artifact_tag = artifact_tag + if source_task_execution is not None: + self.source_task_execution = source_task_execution + + @property + def dataset_id(self): + """Gets the dataset_id of this CoreCatalogMetadata. # noqa: E501 + + + :return: The dataset_id of this CoreCatalogMetadata. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._dataset_id + + @dataset_id.setter + def dataset_id(self, dataset_id): + """Sets the dataset_id of this CoreCatalogMetadata. + + + :param dataset_id: The dataset_id of this CoreCatalogMetadata. # noqa: E501 + :type: CoreIdentifier + """ + + self._dataset_id = dataset_id + + @property + def artifact_tag(self): + """Gets the artifact_tag of this CoreCatalogMetadata. # noqa: E501 + + + :return: The artifact_tag of this CoreCatalogMetadata. # noqa: E501 + :rtype: CoreCatalogArtifactTag + """ + return self._artifact_tag + + @artifact_tag.setter + def artifact_tag(self, artifact_tag): + """Sets the artifact_tag of this CoreCatalogMetadata. + + + :param artifact_tag: The artifact_tag of this CoreCatalogMetadata. # noqa: E501 + :type: CoreCatalogArtifactTag + """ + + self._artifact_tag = artifact_tag + + @property + def source_task_execution(self): + """Gets the source_task_execution of this CoreCatalogMetadata. # noqa: E501 + + + :return: The source_task_execution of this CoreCatalogMetadata. # noqa: E501 + :rtype: CoreTaskExecutionIdentifier + """ + return self._source_task_execution + + @source_task_execution.setter + def source_task_execution(self, source_task_execution): + """Sets the source_task_execution of this CoreCatalogMetadata. + + + :param source_task_execution: The source_task_execution of this CoreCatalogMetadata. # noqa: E501 + :type: CoreTaskExecutionIdentifier + """ + + self._source_task_execution = source_task_execution + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreCatalogMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreCatalogMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py new file mode 100644 index 000000000..76e06e75c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator # noqa: F401,E501 +from flyteadmin.models.core_operand import CoreOperand # noqa: F401,E501 + + +class CoreComparisonExpression(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'operator': 'ComparisonExpressionOperator', + 'left_value': 'CoreOperand', + 'right_value': 'CoreOperand' + } + + attribute_map = { + 'operator': 'operator', + 'left_value': 'left_value', + 'right_value': 'right_value' + } + + def __init__(self, operator=None, left_value=None, right_value=None): # noqa: E501 + """CoreComparisonExpression - a model defined in Swagger""" # noqa: E501 + + self._operator = None + self._left_value = None + self._right_value = None + self.discriminator = None + + if operator is not None: + self.operator = operator + if left_value is not None: + self.left_value = left_value + if right_value is not None: + self.right_value = right_value + + @property + def operator(self): + """Gets the operator of this CoreComparisonExpression. # noqa: E501 + + + :return: The operator of this CoreComparisonExpression. # noqa: E501 + :rtype: ComparisonExpressionOperator + """ + return self._operator + + @operator.setter + def operator(self, operator): + """Sets the operator of this CoreComparisonExpression. + + + :param operator: The operator of this CoreComparisonExpression. # noqa: E501 + :type: ComparisonExpressionOperator + """ + + self._operator = operator + + @property + def left_value(self): + """Gets the left_value of this CoreComparisonExpression. # noqa: E501 + + + :return: The left_value of this CoreComparisonExpression. # noqa: E501 + :rtype: CoreOperand + """ + return self._left_value + + @left_value.setter + def left_value(self, left_value): + """Sets the left_value of this CoreComparisonExpression. + + + :param left_value: The left_value of this CoreComparisonExpression. # noqa: E501 + :type: CoreOperand + """ + + self._left_value = left_value + + @property + def right_value(self): + """Gets the right_value of this CoreComparisonExpression. # noqa: E501 + + + :return: The right_value of this CoreComparisonExpression. # noqa: E501 + :rtype: CoreOperand + """ + return self._right_value + + @right_value.setter + def right_value(self, right_value): + """Sets the right_value of this CoreComparisonExpression. + + + :param right_value: The right_value of this CoreComparisonExpression. # noqa: E501 + :type: CoreOperand + """ + + self._right_value = right_value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreComparisonExpression, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreComparisonExpression): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_task.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_task.py new file mode 100644 index 000000000..e7bb749c0 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_task.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_task_template import CoreTaskTemplate # noqa: F401,E501 + + +class CoreCompiledTask(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'template': 'CoreTaskTemplate' + } + + attribute_map = { + 'template': 'template' + } + + def __init__(self, template=None): # noqa: E501 + """CoreCompiledTask - a model defined in Swagger""" # noqa: E501 + + self._template = None + self.discriminator = None + + if template is not None: + self.template = template + + @property + def template(self): + """Gets the template of this CoreCompiledTask. # noqa: E501 + + + :return: The template of this CoreCompiledTask. # noqa: E501 + :rtype: CoreTaskTemplate + """ + return self._template + + @template.setter + def template(self, template): + """Sets the template of this CoreCompiledTask. + + + :param template: The template of this CoreCompiledTask. # noqa: E501 + :type: CoreTaskTemplate + """ + + self._template = template + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreCompiledTask, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreCompiledTask): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow.py new file mode 100644 index 000000000..2b7de1f25 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow.py @@ -0,0 +1,146 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_connection_set import CoreConnectionSet # noqa: F401,E501 +from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate # noqa: F401,E501 + + +class CoreCompiledWorkflow(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'template': 'CoreWorkflowTemplate', + 'connections': 'CoreConnectionSet' + } + + attribute_map = { + 'template': 'template', + 'connections': 'connections' + } + + def __init__(self, template=None, connections=None): # noqa: E501 + """CoreCompiledWorkflow - a model defined in Swagger""" # noqa: E501 + + self._template = None + self._connections = None + self.discriminator = None + + if template is not None: + self.template = template + if connections is not None: + self.connections = connections + + @property + def template(self): + """Gets the template of this CoreCompiledWorkflow. # noqa: E501 + + + :return: The template of this CoreCompiledWorkflow. # noqa: E501 + :rtype: CoreWorkflowTemplate + """ + return self._template + + @template.setter + def template(self, template): + """Sets the template of this CoreCompiledWorkflow. + + + :param template: The template of this CoreCompiledWorkflow. # noqa: E501 + :type: CoreWorkflowTemplate + """ + + self._template = template + + @property + def connections(self): + """Gets the connections of this CoreCompiledWorkflow. # noqa: E501 + + For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored. # noqa: E501 + + :return: The connections of this CoreCompiledWorkflow. # noqa: E501 + :rtype: CoreConnectionSet + """ + return self._connections + + @connections.setter + def connections(self, connections): + """Sets the connections of this CoreCompiledWorkflow. + + For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored. # noqa: E501 + + :param connections: The connections of this CoreCompiledWorkflow. # noqa: E501 + :type: CoreConnectionSet + """ + + self._connections = connections + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreCompiledWorkflow, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreCompiledWorkflow): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow_closure.py new file mode 100644 index 000000000..48afd2e2c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow_closure.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_compiled_task import CoreCompiledTask # noqa: F401,E501 +from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow # noqa: F401,E501 + + +class CoreCompiledWorkflowClosure(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'primary': 'CoreCompiledWorkflow', + 'sub_workflows': 'list[CoreCompiledWorkflow]', + 'tasks': 'list[CoreCompiledTask]' + } + + attribute_map = { + 'primary': 'primary', + 'sub_workflows': 'sub_workflows', + 'tasks': 'tasks' + } + + def __init__(self, primary=None, sub_workflows=None, tasks=None): # noqa: E501 + """CoreCompiledWorkflowClosure - a model defined in Swagger""" # noqa: E501 + + self._primary = None + self._sub_workflows = None + self._tasks = None + self.discriminator = None + + if primary is not None: + self.primary = primary + if sub_workflows is not None: + self.sub_workflows = sub_workflows + if tasks is not None: + self.tasks = tasks + + @property + def primary(self): + """Gets the primary of this CoreCompiledWorkflowClosure. # noqa: E501 + + + :return: The primary of this CoreCompiledWorkflowClosure. # noqa: E501 + :rtype: CoreCompiledWorkflow + """ + return self._primary + + @primary.setter + def primary(self, primary): + """Sets the primary of this CoreCompiledWorkflowClosure. + + + :param primary: The primary of this CoreCompiledWorkflowClosure. # noqa: E501 + :type: CoreCompiledWorkflow + """ + + self._primary = primary + + @property + def sub_workflows(self): + """Gets the sub_workflows of this CoreCompiledWorkflowClosure. # noqa: E501 + + + :return: The sub_workflows of this CoreCompiledWorkflowClosure. # noqa: E501 + :rtype: list[CoreCompiledWorkflow] + """ + return self._sub_workflows + + @sub_workflows.setter + def sub_workflows(self, sub_workflows): + """Sets the sub_workflows of this CoreCompiledWorkflowClosure. + + + :param sub_workflows: The sub_workflows of this CoreCompiledWorkflowClosure. # noqa: E501 + :type: list[CoreCompiledWorkflow] + """ + + self._sub_workflows = sub_workflows + + @property + def tasks(self): + """Gets the tasks of this CoreCompiledWorkflowClosure. # noqa: E501 + + + :return: The tasks of this CoreCompiledWorkflowClosure. # noqa: E501 + :rtype: list[CoreCompiledTask] + """ + return self._tasks + + @tasks.setter + def tasks(self, tasks): + """Sets the tasks of this CoreCompiledWorkflowClosure. + + + :param tasks: The tasks of this CoreCompiledWorkflowClosure. # noqa: E501 + :type: list[CoreCompiledTask] + """ + + self._tasks = tasks + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreCompiledWorkflowClosure, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreCompiledWorkflowClosure): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_conjunction_expression.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_conjunction_expression.py new file mode 100644 index 000000000..d28a2ac83 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_conjunction_expression.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator # noqa: F401,E501 +from flyteadmin.models.core_boolean_expression import CoreBooleanExpression # noqa: F401,E501 + + +class CoreConjunctionExpression(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'operator': 'ConjunctionExpressionLogicalOperator', + 'left_expression': 'CoreBooleanExpression', + 'right_expression': 'CoreBooleanExpression' + } + + attribute_map = { + 'operator': 'operator', + 'left_expression': 'left_expression', + 'right_expression': 'right_expression' + } + + def __init__(self, operator=None, left_expression=None, right_expression=None): # noqa: E501 + """CoreConjunctionExpression - a model defined in Swagger""" # noqa: E501 + + self._operator = None + self._left_expression = None + self._right_expression = None + self.discriminator = None + + if operator is not None: + self.operator = operator + if left_expression is not None: + self.left_expression = left_expression + if right_expression is not None: + self.right_expression = right_expression + + @property + def operator(self): + """Gets the operator of this CoreConjunctionExpression. # noqa: E501 + + + :return: The operator of this CoreConjunctionExpression. # noqa: E501 + :rtype: ConjunctionExpressionLogicalOperator + """ + return self._operator + + @operator.setter + def operator(self, operator): + """Sets the operator of this CoreConjunctionExpression. + + + :param operator: The operator of this CoreConjunctionExpression. # noqa: E501 + :type: ConjunctionExpressionLogicalOperator + """ + + self._operator = operator + + @property + def left_expression(self): + """Gets the left_expression of this CoreConjunctionExpression. # noqa: E501 + + + :return: The left_expression of this CoreConjunctionExpression. # noqa: E501 + :rtype: CoreBooleanExpression + """ + return self._left_expression + + @left_expression.setter + def left_expression(self, left_expression): + """Sets the left_expression of this CoreConjunctionExpression. + + + :param left_expression: The left_expression of this CoreConjunctionExpression. # noqa: E501 + :type: CoreBooleanExpression + """ + + self._left_expression = left_expression + + @property + def right_expression(self): + """Gets the right_expression of this CoreConjunctionExpression. # noqa: E501 + + + :return: The right_expression of this CoreConjunctionExpression. # noqa: E501 + :rtype: CoreBooleanExpression + """ + return self._right_expression + + @right_expression.setter + def right_expression(self, right_expression): + """Sets the right_expression of this CoreConjunctionExpression. + + + :param right_expression: The right_expression of this CoreConjunctionExpression. # noqa: E501 + :type: CoreBooleanExpression + """ + + self._right_expression = right_expression + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreConjunctionExpression, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreConjunctionExpression): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_connection_set.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_connection_set.py new file mode 100644 index 000000000..05361c4a1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_connection_set.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.connection_set_id_list import ConnectionSetIdList # noqa: F401,E501 + + +class CoreConnectionSet(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'downstream': 'dict(str, ConnectionSetIdList)', + 'upstream': 'dict(str, ConnectionSetIdList)' + } + + attribute_map = { + 'downstream': 'downstream', + 'upstream': 'upstream' + } + + def __init__(self, downstream=None, upstream=None): # noqa: E501 + """CoreConnectionSet - a model defined in Swagger""" # noqa: E501 + + self._downstream = None + self._upstream = None + self.discriminator = None + + if downstream is not None: + self.downstream = downstream + if upstream is not None: + self.upstream = upstream + + @property + def downstream(self): + """Gets the downstream of this CoreConnectionSet. # noqa: E501 + + + :return: The downstream of this CoreConnectionSet. # noqa: E501 + :rtype: dict(str, ConnectionSetIdList) + """ + return self._downstream + + @downstream.setter + def downstream(self, downstream): + """Sets the downstream of this CoreConnectionSet. + + + :param downstream: The downstream of this CoreConnectionSet. # noqa: E501 + :type: dict(str, ConnectionSetIdList) + """ + + self._downstream = downstream + + @property + def upstream(self): + """Gets the upstream of this CoreConnectionSet. # noqa: E501 + + + :return: The upstream of this CoreConnectionSet. # noqa: E501 + :rtype: dict(str, ConnectionSetIdList) + """ + return self._upstream + + @upstream.setter + def upstream(self, upstream): + """Sets the upstream of this CoreConnectionSet. + + + :param upstream: The upstream of this CoreConnectionSet. # noqa: E501 + :type: dict(str, ConnectionSetIdList) + """ + + self._upstream = upstream + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreConnectionSet, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreConnectionSet): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container.py new file mode 100644 index 000000000..d62eb0797 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container.py @@ -0,0 +1,339 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.container_architecture import ContainerArchitecture # noqa: F401,E501 +from flyteadmin.models.core_container_port import CoreContainerPort # noqa: F401,E501 +from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig # noqa: F401,E501 +from flyteadmin.models.core_key_value_pair import CoreKeyValuePair # noqa: F401,E501 +from flyteadmin.models.core_resources import CoreResources # noqa: F401,E501 + + +class CoreContainer(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'image': 'str', + 'command': 'list[str]', + 'args': 'list[str]', + 'resources': 'CoreResources', + 'env': 'list[CoreKeyValuePair]', + 'config': 'list[CoreKeyValuePair]', + 'ports': 'list[CoreContainerPort]', + 'data_config': 'CoreDataLoadingConfig', + 'architecture': 'ContainerArchitecture' + } + + attribute_map = { + 'image': 'image', + 'command': 'command', + 'args': 'args', + 'resources': 'resources', + 'env': 'env', + 'config': 'config', + 'ports': 'ports', + 'data_config': 'data_config', + 'architecture': 'architecture' + } + + def __init__(self, image=None, command=None, args=None, resources=None, env=None, config=None, ports=None, data_config=None, architecture=None): # noqa: E501 + """CoreContainer - a model defined in Swagger""" # noqa: E501 + + self._image = None + self._command = None + self._args = None + self._resources = None + self._env = None + self._config = None + self._ports = None + self._data_config = None + self._architecture = None + self.discriminator = None + + if image is not None: + self.image = image + if command is not None: + self.command = command + if args is not None: + self.args = args + if resources is not None: + self.resources = resources + if env is not None: + self.env = env + if config is not None: + self.config = config + if ports is not None: + self.ports = ports + if data_config is not None: + self.data_config = data_config + if architecture is not None: + self.architecture = architecture + + @property + def image(self): + """Gets the image of this CoreContainer. # noqa: E501 + + + :return: The image of this CoreContainer. # noqa: E501 + :rtype: str + """ + return self._image + + @image.setter + def image(self, image): + """Sets the image of this CoreContainer. + + + :param image: The image of this CoreContainer. # noqa: E501 + :type: str + """ + + self._image = image + + @property + def command(self): + """Gets the command of this CoreContainer. # noqa: E501 + + Command to be executed, if not provided, the default entrypoint in the container image will be used. # noqa: E501 + + :return: The command of this CoreContainer. # noqa: E501 + :rtype: list[str] + """ + return self._command + + @command.setter + def command(self, command): + """Sets the command of this CoreContainer. + + Command to be executed, if not provided, the default entrypoint in the container image will be used. # noqa: E501 + + :param command: The command of this CoreContainer. # noqa: E501 + :type: list[str] + """ + + self._command = command + + @property + def args(self): + """Gets the args of this CoreContainer. # noqa: E501 + + These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container. # noqa: E501 + + :return: The args of this CoreContainer. # noqa: E501 + :rtype: list[str] + """ + return self._args + + @args.setter + def args(self, args): + """Sets the args of this CoreContainer. + + These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container. # noqa: E501 + + :param args: The args of this CoreContainer. # noqa: E501 + :type: list[str] + """ + + self._args = args + + @property + def resources(self): + """Gets the resources of this CoreContainer. # noqa: E501 + + Container resources requirement as specified by the container engine. # noqa: E501 + + :return: The resources of this CoreContainer. # noqa: E501 + :rtype: CoreResources + """ + return self._resources + + @resources.setter + def resources(self, resources): + """Sets the resources of this CoreContainer. + + Container resources requirement as specified by the container engine. # noqa: E501 + + :param resources: The resources of this CoreContainer. # noqa: E501 + :type: CoreResources + """ + + self._resources = resources + + @property + def env(self): + """Gets the env of this CoreContainer. # noqa: E501 + + Environment variables will be set as the container is starting up. # noqa: E501 + + :return: The env of this CoreContainer. # noqa: E501 + :rtype: list[CoreKeyValuePair] + """ + return self._env + + @env.setter + def env(self, env): + """Sets the env of this CoreContainer. + + Environment variables will be set as the container is starting up. # noqa: E501 + + :param env: The env of this CoreContainer. # noqa: E501 + :type: list[CoreKeyValuePair] + """ + + self._env = env + + @property + def config(self): + """Gets the config of this CoreContainer. # noqa: E501 + + Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead. # noqa: E501 + + :return: The config of this CoreContainer. # noqa: E501 + :rtype: list[CoreKeyValuePair] + """ + return self._config + + @config.setter + def config(self, config): + """Sets the config of this CoreContainer. + + Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead. # noqa: E501 + + :param config: The config of this CoreContainer. # noqa: E501 + :type: list[CoreKeyValuePair] + """ + + self._config = config + + @property + def ports(self): + """Gets the ports of this CoreContainer. # noqa: E501 + + + :return: The ports of this CoreContainer. # noqa: E501 + :rtype: list[CoreContainerPort] + """ + return self._ports + + @ports.setter + def ports(self, ports): + """Sets the ports of this CoreContainer. + + + :param ports: The ports of this CoreContainer. # noqa: E501 + :type: list[CoreContainerPort] + """ + + self._ports = ports + + @property + def data_config(self): + """Gets the data_config of this CoreContainer. # noqa: E501 + + + :return: The data_config of this CoreContainer. # noqa: E501 + :rtype: CoreDataLoadingConfig + """ + return self._data_config + + @data_config.setter + def data_config(self, data_config): + """Sets the data_config of this CoreContainer. + + + :param data_config: The data_config of this CoreContainer. # noqa: E501 + :type: CoreDataLoadingConfig + """ + + self._data_config = data_config + + @property + def architecture(self): + """Gets the architecture of this CoreContainer. # noqa: E501 + + + :return: The architecture of this CoreContainer. # noqa: E501 + :rtype: ContainerArchitecture + """ + return self._architecture + + @architecture.setter + def architecture(self, architecture): + """Sets the architecture of this CoreContainer. + + + :param architecture: The architecture of this CoreContainer. # noqa: E501 + :type: ContainerArchitecture + """ + + self._architecture = architecture + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreContainer, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreContainer): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container_port.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container_port.py new file mode 100644 index 000000000..812da5c31 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container_port.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreContainerPort(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'container_port': 'int' + } + + attribute_map = { + 'container_port': 'container_port' + } + + def __init__(self, container_port=None): # noqa: E501 + """CoreContainerPort - a model defined in Swagger""" # noqa: E501 + + self._container_port = None + self.discriminator = None + + if container_port is not None: + self.container_port = container_port + + @property + def container_port(self): + """Gets the container_port of this CoreContainerPort. # noqa: E501 + + Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. # noqa: E501 + + :return: The container_port of this CoreContainerPort. # noqa: E501 + :rtype: int + """ + return self._container_port + + @container_port.setter + def container_port(self, container_port): + """Sets the container_port of this CoreContainerPort. + + Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. # noqa: E501 + + :param container_port: The container_port of this CoreContainerPort. # noqa: E501 + :type: int + """ + + self._container_port = container_port + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreContainerPort, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreContainerPort): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_data_loading_config.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_data_loading_config.py new file mode 100644 index 000000000..83e4629d4 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_data_loading_config.py @@ -0,0 +1,222 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_io_strategy import CoreIOStrategy # noqa: F401,E501 +from flyteadmin.models.data_loading_config_literal_map_format import DataLoadingConfigLiteralMapFormat # noqa: F401,E501 + + +class CoreDataLoadingConfig(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'enabled': 'bool', + 'input_path': 'str', + 'output_path': 'str', + 'format': 'DataLoadingConfigLiteralMapFormat', + 'io_strategy': 'CoreIOStrategy' + } + + attribute_map = { + 'enabled': 'enabled', + 'input_path': 'input_path', + 'output_path': 'output_path', + 'format': 'format', + 'io_strategy': 'io_strategy' + } + + def __init__(self, enabled=None, input_path=None, output_path=None, format=None, io_strategy=None): # noqa: E501 + """CoreDataLoadingConfig - a model defined in Swagger""" # noqa: E501 + + self._enabled = None + self._input_path = None + self._output_path = None + self._format = None + self._io_strategy = None + self.discriminator = None + + if enabled is not None: + self.enabled = enabled + if input_path is not None: + self.input_path = input_path + if output_path is not None: + self.output_path = output_path + if format is not None: + self.format = format + if io_strategy is not None: + self.io_strategy = io_strategy + + @property + def enabled(self): + """Gets the enabled of this CoreDataLoadingConfig. # noqa: E501 + + + :return: The enabled of this CoreDataLoadingConfig. # noqa: E501 + :rtype: bool + """ + return self._enabled + + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this CoreDataLoadingConfig. + + + :param enabled: The enabled of this CoreDataLoadingConfig. # noqa: E501 + :type: bool + """ + + self._enabled = enabled + + @property + def input_path(self): + """Gets the input_path of this CoreDataLoadingConfig. # noqa: E501 + + + :return: The input_path of this CoreDataLoadingConfig. # noqa: E501 + :rtype: str + """ + return self._input_path + + @input_path.setter + def input_path(self, input_path): + """Sets the input_path of this CoreDataLoadingConfig. + + + :param input_path: The input_path of this CoreDataLoadingConfig. # noqa: E501 + :type: str + """ + + self._input_path = input_path + + @property + def output_path(self): + """Gets the output_path of this CoreDataLoadingConfig. # noqa: E501 + + + :return: The output_path of this CoreDataLoadingConfig. # noqa: E501 + :rtype: str + """ + return self._output_path + + @output_path.setter + def output_path(self, output_path): + """Sets the output_path of this CoreDataLoadingConfig. + + + :param output_path: The output_path of this CoreDataLoadingConfig. # noqa: E501 + :type: str + """ + + self._output_path = output_path + + @property + def format(self): + """Gets the format of this CoreDataLoadingConfig. # noqa: E501 + + + :return: The format of this CoreDataLoadingConfig. # noqa: E501 + :rtype: DataLoadingConfigLiteralMapFormat + """ + return self._format + + @format.setter + def format(self, format): + """Sets the format of this CoreDataLoadingConfig. + + + :param format: The format of this CoreDataLoadingConfig. # noqa: E501 + :type: DataLoadingConfigLiteralMapFormat + """ + + self._format = format + + @property + def io_strategy(self): + """Gets the io_strategy of this CoreDataLoadingConfig. # noqa: E501 + + + :return: The io_strategy of this CoreDataLoadingConfig. # noqa: E501 + :rtype: CoreIOStrategy + """ + return self._io_strategy + + @io_strategy.setter + def io_strategy(self, io_strategy): + """Sets the io_strategy of this CoreDataLoadingConfig. + + + :param io_strategy: The io_strategy of this CoreDataLoadingConfig. # noqa: E501 + :type: CoreIOStrategy + """ + + self._io_strategy = io_strategy + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreDataLoadingConfig, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreDataLoadingConfig): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_enum_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_enum_type.py new file mode 100644 index 000000000..bf9e6f85c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_enum_type.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreEnumType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'values': 'list[str]' + } + + attribute_map = { + 'values': 'values' + } + + def __init__(self, values=None): # noqa: E501 + """CoreEnumType - a model defined in Swagger""" # noqa: E501 + + self._values = None + self.discriminator = None + + if values is not None: + self.values = values + + @property + def values(self): + """Gets the values of this CoreEnumType. # noqa: E501 + + Predefined set of enum values. # noqa: E501 + + :return: The values of this CoreEnumType. # noqa: E501 + :rtype: list[str] + """ + return self._values + + @values.setter + def values(self, values): + """Sets the values of this CoreEnumType. + + Predefined set of enum values. # noqa: E501 + + :param values: The values of this CoreEnumType. # noqa: E501 + :type: list[str] + """ + + self._values = values + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreEnumType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreEnumType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_error.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_error.py new file mode 100644 index 000000000..50537e11d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_error.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreError(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'failed_node_id': 'str', + 'message': 'str' + } + + attribute_map = { + 'failed_node_id': 'failed_node_id', + 'message': 'message' + } + + def __init__(self, failed_node_id=None, message=None): # noqa: E501 + """CoreError - a model defined in Swagger""" # noqa: E501 + + self._failed_node_id = None + self._message = None + self.discriminator = None + + if failed_node_id is not None: + self.failed_node_id = failed_node_id + if message is not None: + self.message = message + + @property + def failed_node_id(self): + """Gets the failed_node_id of this CoreError. # noqa: E501 + + The node id that threw the error. # noqa: E501 + + :return: The failed_node_id of this CoreError. # noqa: E501 + :rtype: str + """ + return self._failed_node_id + + @failed_node_id.setter + def failed_node_id(self, failed_node_id): + """Sets the failed_node_id of this CoreError. + + The node id that threw the error. # noqa: E501 + + :param failed_node_id: The failed_node_id of this CoreError. # noqa: E501 + :type: str + """ + + self._failed_node_id = failed_node_id + + @property + def message(self): + """Gets the message of this CoreError. # noqa: E501 + + Error message thrown. # noqa: E501 + + :return: The message of this CoreError. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this CoreError. + + Error message thrown. # noqa: E501 + + :param message: The message of this CoreError. # noqa: E501 + :type: str + """ + + self._message = message + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreError, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreError): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_execution_error.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_execution_error.py new file mode 100644 index 000000000..b71cd287d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_execution_error.py @@ -0,0 +1,197 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.execution_error_error_kind import ExecutionErrorErrorKind # noqa: F401,E501 + + +class CoreExecutionError(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'code': 'str', + 'message': 'str', + 'error_uri': 'str', + 'kind': 'ExecutionErrorErrorKind' + } + + attribute_map = { + 'code': 'code', + 'message': 'message', + 'error_uri': 'error_uri', + 'kind': 'kind' + } + + def __init__(self, code=None, message=None, error_uri=None, kind=None): # noqa: E501 + """CoreExecutionError - a model defined in Swagger""" # noqa: E501 + + self._code = None + self._message = None + self._error_uri = None + self._kind = None + self.discriminator = None + + if code is not None: + self.code = code + if message is not None: + self.message = message + if error_uri is not None: + self.error_uri = error_uri + if kind is not None: + self.kind = kind + + @property + def code(self): + """Gets the code of this CoreExecutionError. # noqa: E501 + + + :return: The code of this CoreExecutionError. # noqa: E501 + :rtype: str + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this CoreExecutionError. + + + :param code: The code of this CoreExecutionError. # noqa: E501 + :type: str + """ + + self._code = code + + @property + def message(self): + """Gets the message of this CoreExecutionError. # noqa: E501 + + Detailed description of the error - including stack trace. # noqa: E501 + + :return: The message of this CoreExecutionError. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this CoreExecutionError. + + Detailed description of the error - including stack trace. # noqa: E501 + + :param message: The message of this CoreExecutionError. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def error_uri(self): + """Gets the error_uri of this CoreExecutionError. # noqa: E501 + + + :return: The error_uri of this CoreExecutionError. # noqa: E501 + :rtype: str + """ + return self._error_uri + + @error_uri.setter + def error_uri(self, error_uri): + """Sets the error_uri of this CoreExecutionError. + + + :param error_uri: The error_uri of this CoreExecutionError. # noqa: E501 + :type: str + """ + + self._error_uri = error_uri + + @property + def kind(self): + """Gets the kind of this CoreExecutionError. # noqa: E501 + + + :return: The kind of this CoreExecutionError. # noqa: E501 + :rtype: ExecutionErrorErrorKind + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this CoreExecutionError. + + + :param kind: The kind of this CoreExecutionError. # noqa: E501 + :type: ExecutionErrorErrorKind + """ + + self._kind = kind + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreExecutionError, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreExecutionError): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identifier.py new file mode 100644 index 000000000..ae03fc69e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identifier.py @@ -0,0 +1,231 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_resource_type import CoreResourceType # noqa: F401,E501 + + +class CoreIdentifier(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'resource_type': 'CoreResourceType', + 'project': 'str', + 'domain': 'str', + 'name': 'str', + 'version': 'str' + } + + attribute_map = { + 'resource_type': 'resource_type', + 'project': 'project', + 'domain': 'domain', + 'name': 'name', + 'version': 'version' + } + + def __init__(self, resource_type=None, project=None, domain=None, name=None, version=None): # noqa: E501 + """CoreIdentifier - a model defined in Swagger""" # noqa: E501 + + self._resource_type = None + self._project = None + self._domain = None + self._name = None + self._version = None + self.discriminator = None + + if resource_type is not None: + self.resource_type = resource_type + if project is not None: + self.project = project + if domain is not None: + self.domain = domain + if name is not None: + self.name = name + if version is not None: + self.version = version + + @property + def resource_type(self): + """Gets the resource_type of this CoreIdentifier. # noqa: E501 + + Identifies the specific type of resource that this identifier corresponds to. # noqa: E501 + + :return: The resource_type of this CoreIdentifier. # noqa: E501 + :rtype: CoreResourceType + """ + return self._resource_type + + @resource_type.setter + def resource_type(self, resource_type): + """Sets the resource_type of this CoreIdentifier. + + Identifies the specific type of resource that this identifier corresponds to. # noqa: E501 + + :param resource_type: The resource_type of this CoreIdentifier. # noqa: E501 + :type: CoreResourceType + """ + + self._resource_type = resource_type + + @property + def project(self): + """Gets the project of this CoreIdentifier. # noqa: E501 + + Name of the project the resource belongs to. # noqa: E501 + + :return: The project of this CoreIdentifier. # noqa: E501 + :rtype: str + """ + return self._project + + @project.setter + def project(self, project): + """Sets the project of this CoreIdentifier. + + Name of the project the resource belongs to. # noqa: E501 + + :param project: The project of this CoreIdentifier. # noqa: E501 + :type: str + """ + + self._project = project + + @property + def domain(self): + """Gets the domain of this CoreIdentifier. # noqa: E501 + + Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 + + :return: The domain of this CoreIdentifier. # noqa: E501 + :rtype: str + """ + return self._domain + + @domain.setter + def domain(self, domain): + """Sets the domain of this CoreIdentifier. + + Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 + + :param domain: The domain of this CoreIdentifier. # noqa: E501 + :type: str + """ + + self._domain = domain + + @property + def name(self): + """Gets the name of this CoreIdentifier. # noqa: E501 + + User provided value for the resource. # noqa: E501 + + :return: The name of this CoreIdentifier. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CoreIdentifier. + + User provided value for the resource. # noqa: E501 + + :param name: The name of this CoreIdentifier. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def version(self): + """Gets the version of this CoreIdentifier. # noqa: E501 + + Specific version of the resource. # noqa: E501 + + :return: The version of this CoreIdentifier. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this CoreIdentifier. + + Specific version of the resource. # noqa: E501 + + :param version: The version of this CoreIdentifier. # noqa: E501 + :type: str + """ + + self._version = version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreIdentifier, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreIdentifier): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py new file mode 100644 index 000000000..d3a43ecc2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client # noqa: F401,E501 + + +class CoreIdentity(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'iam_role': 'str', + 'k8s_service_account': 'str', + 'oauth2_client': 'CoreOAuth2Client' + } + + attribute_map = { + 'iam_role': 'iam_role', + 'k8s_service_account': 'k8s_service_account', + 'oauth2_client': 'oauth2_client' + } + + def __init__(self, iam_role=None, k8s_service_account=None, oauth2_client=None): # noqa: E501 + """CoreIdentity - a model defined in Swagger""" # noqa: E501 + + self._iam_role = None + self._k8s_service_account = None + self._oauth2_client = None + self.discriminator = None + + if iam_role is not None: + self.iam_role = iam_role + if k8s_service_account is not None: + self.k8s_service_account = k8s_service_account + if oauth2_client is not None: + self.oauth2_client = oauth2_client + + @property + def iam_role(self): + """Gets the iam_role of this CoreIdentity. # noqa: E501 + + iam_role references the fully qualified name of Identity & Access Management role to impersonate. # noqa: E501 + + :return: The iam_role of this CoreIdentity. # noqa: E501 + :rtype: str + """ + return self._iam_role + + @iam_role.setter + def iam_role(self, iam_role): + """Sets the iam_role of this CoreIdentity. + + iam_role references the fully qualified name of Identity & Access Management role to impersonate. # noqa: E501 + + :param iam_role: The iam_role of this CoreIdentity. # noqa: E501 + :type: str + """ + + self._iam_role = iam_role + + @property + def k8s_service_account(self): + """Gets the k8s_service_account of this CoreIdentity. # noqa: E501 + + k8s_service_account references a kubernetes service account to impersonate. # noqa: E501 + + :return: The k8s_service_account of this CoreIdentity. # noqa: E501 + :rtype: str + """ + return self._k8s_service_account + + @k8s_service_account.setter + def k8s_service_account(self, k8s_service_account): + """Sets the k8s_service_account of this CoreIdentity. + + k8s_service_account references a kubernetes service account to impersonate. # noqa: E501 + + :param k8s_service_account: The k8s_service_account of this CoreIdentity. # noqa: E501 + :type: str + """ + + self._k8s_service_account = k8s_service_account + + @property + def oauth2_client(self): + """Gets the oauth2_client of this CoreIdentity. # noqa: E501 + + oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls. # noqa: E501 + + :return: The oauth2_client of this CoreIdentity. # noqa: E501 + :rtype: CoreOAuth2Client + """ + return self._oauth2_client + + @oauth2_client.setter + def oauth2_client(self, oauth2_client): + """Sets the oauth2_client of this CoreIdentity. + + oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls. # noqa: E501 + + :param oauth2_client: The oauth2_client of this CoreIdentity. # noqa: E501 + :type: CoreOAuth2Client + """ + + self._oauth2_client = oauth2_client + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreIdentity, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreIdentity): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_block.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_block.py new file mode 100644 index 000000000..5368a7036 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_block.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_boolean_expression import CoreBooleanExpression # noqa: F401,E501 +from flyteadmin.models.core_node import CoreNode # noqa: F401,E501 + + +class CoreIfBlock(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'condition': 'CoreBooleanExpression', + 'then_node': 'CoreNode' + } + + attribute_map = { + 'condition': 'condition', + 'then_node': 'then_node' + } + + def __init__(self, condition=None, then_node=None): # noqa: E501 + """CoreIfBlock - a model defined in Swagger""" # noqa: E501 + + self._condition = None + self._then_node = None + self.discriminator = None + + if condition is not None: + self.condition = condition + if then_node is not None: + self.then_node = then_node + + @property + def condition(self): + """Gets the condition of this CoreIfBlock. # noqa: E501 + + + :return: The condition of this CoreIfBlock. # noqa: E501 + :rtype: CoreBooleanExpression + """ + return self._condition + + @condition.setter + def condition(self, condition): + """Sets the condition of this CoreIfBlock. + + + :param condition: The condition of this CoreIfBlock. # noqa: E501 + :type: CoreBooleanExpression + """ + + self._condition = condition + + @property + def then_node(self): + """Gets the then_node of this CoreIfBlock. # noqa: E501 + + + :return: The then_node of this CoreIfBlock. # noqa: E501 + :rtype: CoreNode + """ + return self._then_node + + @then_node.setter + def then_node(self, then_node): + """Sets the then_node of this CoreIfBlock. + + + :param then_node: The then_node of this CoreIfBlock. # noqa: E501 + :type: CoreNode + """ + + self._then_node = then_node + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreIfBlock, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreIfBlock): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_else_block.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_else_block.py new file mode 100644 index 000000000..bff092a8a --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_else_block.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_error import CoreError # noqa: F401,E501 +from flyteadmin.models.core_if_block import CoreIfBlock # noqa: F401,E501 +from flyteadmin.models.core_node import CoreNode # noqa: F401,E501 + + +class CoreIfElseBlock(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'case': 'CoreIfBlock', + 'other': 'list[CoreIfBlock]', + 'else_node': 'CoreNode', + 'error': 'CoreError' + } + + attribute_map = { + 'case': 'case', + 'other': 'other', + 'else_node': 'else_node', + 'error': 'error' + } + + def __init__(self, case=None, other=None, else_node=None, error=None): # noqa: E501 + """CoreIfElseBlock - a model defined in Swagger""" # noqa: E501 + + self._case = None + self._other = None + self._else_node = None + self._error = None + self.discriminator = None + + if case is not None: + self.case = case + if other is not None: + self.other = other + if else_node is not None: + self.else_node = else_node + if error is not None: + self.error = error + + @property + def case(self): + """Gets the case of this CoreIfElseBlock. # noqa: E501 + + +required. First condition to evaluate. # noqa: E501 + + :return: The case of this CoreIfElseBlock. # noqa: E501 + :rtype: CoreIfBlock + """ + return self._case + + @case.setter + def case(self, case): + """Sets the case of this CoreIfElseBlock. + + +required. First condition to evaluate. # noqa: E501 + + :param case: The case of this CoreIfElseBlock. # noqa: E501 + :type: CoreIfBlock + """ + + self._case = case + + @property + def other(self): + """Gets the other of this CoreIfElseBlock. # noqa: E501 + + +optional. Additional branches to evaluate. # noqa: E501 + + :return: The other of this CoreIfElseBlock. # noqa: E501 + :rtype: list[CoreIfBlock] + """ + return self._other + + @other.setter + def other(self, other): + """Sets the other of this CoreIfElseBlock. + + +optional. Additional branches to evaluate. # noqa: E501 + + :param other: The other of this CoreIfElseBlock. # noqa: E501 + :type: list[CoreIfBlock] + """ + + self._other = other + + @property + def else_node(self): + """Gets the else_node of this CoreIfElseBlock. # noqa: E501 + + The node to execute in case none of the branches were taken. # noqa: E501 + + :return: The else_node of this CoreIfElseBlock. # noqa: E501 + :rtype: CoreNode + """ + return self._else_node + + @else_node.setter + def else_node(self, else_node): + """Sets the else_node of this CoreIfElseBlock. + + The node to execute in case none of the branches were taken. # noqa: E501 + + :param else_node: The else_node of this CoreIfElseBlock. # noqa: E501 + :type: CoreNode + """ + + self._else_node = else_node + + @property + def error(self): + """Gets the error of this CoreIfElseBlock. # noqa: E501 + + An error to throw in case none of the branches were taken. # noqa: E501 + + :return: The error of this CoreIfElseBlock. # noqa: E501 + :rtype: CoreError + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this CoreIfElseBlock. + + An error to throw in case none of the branches were taken. # noqa: E501 + + :param error: The error of this CoreIfElseBlock. # noqa: E501 + :type: CoreError + """ + + self._error = error + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreIfElseBlock, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreIfElseBlock): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_io_strategy.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_io_strategy.py new file mode 100644 index 000000000..8260e8eb1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_io_strategy.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.io_strategy_download_mode import IOStrategyDownloadMode # noqa: F401,E501 +from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode # noqa: F401,E501 + + +class CoreIOStrategy(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'download_mode': 'IOStrategyDownloadMode', + 'upload_mode': 'IOStrategyUploadMode' + } + + attribute_map = { + 'download_mode': 'download_mode', + 'upload_mode': 'upload_mode' + } + + def __init__(self, download_mode=None, upload_mode=None): # noqa: E501 + """CoreIOStrategy - a model defined in Swagger""" # noqa: E501 + + self._download_mode = None + self._upload_mode = None + self.discriminator = None + + if download_mode is not None: + self.download_mode = download_mode + if upload_mode is not None: + self.upload_mode = upload_mode + + @property + def download_mode(self): + """Gets the download_mode of this CoreIOStrategy. # noqa: E501 + + + :return: The download_mode of this CoreIOStrategy. # noqa: E501 + :rtype: IOStrategyDownloadMode + """ + return self._download_mode + + @download_mode.setter + def download_mode(self, download_mode): + """Sets the download_mode of this CoreIOStrategy. + + + :param download_mode: The download_mode of this CoreIOStrategy. # noqa: E501 + :type: IOStrategyDownloadMode + """ + + self._download_mode = download_mode + + @property + def upload_mode(self): + """Gets the upload_mode of this CoreIOStrategy. # noqa: E501 + + + :return: The upload_mode of this CoreIOStrategy. # noqa: E501 + :rtype: IOStrategyUploadMode + """ + return self._upload_mode + + @upload_mode.setter + def upload_mode(self, upload_mode): + """Sets the upload_mode of this CoreIOStrategy. + + + :param upload_mode: The upload_mode of this CoreIOStrategy. # noqa: E501 + :type: IOStrategyUploadMode + """ + + self._upload_mode = upload_mode + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreIOStrategy, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreIOStrategy): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_object_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_object_metadata.py new file mode 100644 index 000000000..439e7a5db --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_object_metadata.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreK8sObjectMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'labels': 'dict(str, str)', + 'annotations': 'dict(str, str)' + } + + attribute_map = { + 'labels': 'labels', + 'annotations': 'annotations' + } + + def __init__(self, labels=None, annotations=None): # noqa: E501 + """CoreK8sObjectMetadata - a model defined in Swagger""" # noqa: E501 + + self._labels = None + self._annotations = None + self.discriminator = None + + if labels is not None: + self.labels = labels + if annotations is not None: + self.annotations = annotations + + @property + def labels(self): + """Gets the labels of this CoreK8sObjectMetadata. # noqa: E501 + + Optional labels to add to the pod definition. # noqa: E501 + + :return: The labels of this CoreK8sObjectMetadata. # noqa: E501 + :rtype: dict(str, str) + """ + return self._labels + + @labels.setter + def labels(self, labels): + """Sets the labels of this CoreK8sObjectMetadata. + + Optional labels to add to the pod definition. # noqa: E501 + + :param labels: The labels of this CoreK8sObjectMetadata. # noqa: E501 + :type: dict(str, str) + """ + + self._labels = labels + + @property + def annotations(self): + """Gets the annotations of this CoreK8sObjectMetadata. # noqa: E501 + + Optional annotations to add to the pod definition. # noqa: E501 + + :return: The annotations of this CoreK8sObjectMetadata. # noqa: E501 + :rtype: dict(str, str) + """ + return self._annotations + + @annotations.setter + def annotations(self, annotations): + """Sets the annotations of this CoreK8sObjectMetadata. + + Optional annotations to add to the pod definition. # noqa: E501 + + :param annotations: The annotations of this CoreK8sObjectMetadata. # noqa: E501 + :type: dict(str, str) + """ + + self._annotations = annotations + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreK8sObjectMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreK8sObjectMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py new file mode 100644 index 000000000..16eb2cf51 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py @@ -0,0 +1,146 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata # noqa: F401,E501 +from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 + + +class CoreK8sPod(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'metadata': 'CoreK8sObjectMetadata', + 'pod_spec': 'ProtobufStruct' + } + + attribute_map = { + 'metadata': 'metadata', + 'pod_spec': 'pod_spec' + } + + def __init__(self, metadata=None, pod_spec=None): # noqa: E501 + """CoreK8sPod - a model defined in Swagger""" # noqa: E501 + + self._metadata = None + self._pod_spec = None + self.discriminator = None + + if metadata is not None: + self.metadata = metadata + if pod_spec is not None: + self.pod_spec = pod_spec + + @property + def metadata(self): + """Gets the metadata of this CoreK8sPod. # noqa: E501 + + Contains additional metadata for building a kubernetes pod. # noqa: E501 + + :return: The metadata of this CoreK8sPod. # noqa: E501 + :rtype: CoreK8sObjectMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this CoreK8sPod. + + Contains additional metadata for building a kubernetes pod. # noqa: E501 + + :param metadata: The metadata of this CoreK8sPod. # noqa: E501 + :type: CoreK8sObjectMetadata + """ + + self._metadata = metadata + + @property + def pod_spec(self): + """Gets the pod_spec of this CoreK8sPod. # noqa: E501 + + + :return: The pod_spec of this CoreK8sPod. # noqa: E501 + :rtype: ProtobufStruct + """ + return self._pod_spec + + @pod_spec.setter + def pod_spec(self, pod_spec): + """Sets the pod_spec of this CoreK8sPod. + + + :param pod_spec: The pod_spec of this CoreK8sPod. # noqa: E501 + :type: ProtobufStruct + """ + + self._pod_spec = pod_spec + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreK8sPod, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreK8sPod): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_key_value_pair.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_key_value_pair.py new file mode 100644 index 000000000..cd985c0fe --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_key_value_pair.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreKeyValuePair(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'key': 'str', + 'value': 'str' + } + + attribute_map = { + 'key': 'key', + 'value': 'value' + } + + def __init__(self, key=None, value=None): # noqa: E501 + """CoreKeyValuePair - a model defined in Swagger""" # noqa: E501 + + self._key = None + self._value = None + self.discriminator = None + + if key is not None: + self.key = key + if value is not None: + self.value = value + + @property + def key(self): + """Gets the key of this CoreKeyValuePair. # noqa: E501 + + required. # noqa: E501 + + :return: The key of this CoreKeyValuePair. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this CoreKeyValuePair. + + required. # noqa: E501 + + :param key: The key of this CoreKeyValuePair. # noqa: E501 + :type: str + """ + + self._key = key + + @property + def value(self): + """Gets the value of this CoreKeyValuePair. # noqa: E501 + + +optional. # noqa: E501 + + :return: The value of this CoreKeyValuePair. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this CoreKeyValuePair. + + +optional. # noqa: E501 + + :param value: The value of this CoreKeyValuePair. # noqa: E501 + :type: str + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreKeyValuePair, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreKeyValuePair): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py new file mode 100644 index 000000000..a0099dacf --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_literal_collection import CoreLiteralCollection # noqa: F401,E501 +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 +from flyteadmin.models.core_scalar import CoreScalar # noqa: F401,E501 + + +class CoreLiteral(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'scalar': 'CoreScalar', + 'collection': 'CoreLiteralCollection', + 'map': 'CoreLiteralMap', + 'hash': 'str' + } + + attribute_map = { + 'scalar': 'scalar', + 'collection': 'collection', + 'map': 'map', + 'hash': 'hash' + } + + def __init__(self, scalar=None, collection=None, map=None, hash=None): # noqa: E501 + """CoreLiteral - a model defined in Swagger""" # noqa: E501 + + self._scalar = None + self._collection = None + self._map = None + self._hash = None + self.discriminator = None + + if scalar is not None: + self.scalar = scalar + if collection is not None: + self.collection = collection + if map is not None: + self.map = map + if hash is not None: + self.hash = hash + + @property + def scalar(self): + """Gets the scalar of this CoreLiteral. # noqa: E501 + + A simple value. # noqa: E501 + + :return: The scalar of this CoreLiteral. # noqa: E501 + :rtype: CoreScalar + """ + return self._scalar + + @scalar.setter + def scalar(self, scalar): + """Sets the scalar of this CoreLiteral. + + A simple value. # noqa: E501 + + :param scalar: The scalar of this CoreLiteral. # noqa: E501 + :type: CoreScalar + """ + + self._scalar = scalar + + @property + def collection(self): + """Gets the collection of this CoreLiteral. # noqa: E501 + + A collection of literals to allow nesting. # noqa: E501 + + :return: The collection of this CoreLiteral. # noqa: E501 + :rtype: CoreLiteralCollection + """ + return self._collection + + @collection.setter + def collection(self, collection): + """Sets the collection of this CoreLiteral. + + A collection of literals to allow nesting. # noqa: E501 + + :param collection: The collection of this CoreLiteral. # noqa: E501 + :type: CoreLiteralCollection + """ + + self._collection = collection + + @property + def map(self): + """Gets the map of this CoreLiteral. # noqa: E501 + + A map of strings to literals. # noqa: E501 + + :return: The map of this CoreLiteral. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._map + + @map.setter + def map(self, map): + """Sets the map of this CoreLiteral. + + A map of strings to literals. # noqa: E501 + + :param map: The map of this CoreLiteral. # noqa: E501 + :type: CoreLiteralMap + """ + + self._map = map + + @property + def hash(self): + """Gets the hash of this CoreLiteral. # noqa: E501 + + + :return: The hash of this CoreLiteral. # noqa: E501 + :rtype: str + """ + return self._hash + + @hash.setter + def hash(self, hash): + """Sets the hash of this CoreLiteral. + + + :param hash: The hash of this CoreLiteral. # noqa: E501 + :type: str + """ + + self._hash = hash + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreLiteral, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreLiteral): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_collection.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_collection.py new file mode 100644 index 000000000..325550f74 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_collection.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_literal import CoreLiteral # noqa: F401,E501 + + +class CoreLiteralCollection(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'literals': 'list[CoreLiteral]' + } + + attribute_map = { + 'literals': 'literals' + } + + def __init__(self, literals=None): # noqa: E501 + """CoreLiteralCollection - a model defined in Swagger""" # noqa: E501 + + self._literals = None + self.discriminator = None + + if literals is not None: + self.literals = literals + + @property + def literals(self): + """Gets the literals of this CoreLiteralCollection. # noqa: E501 + + + :return: The literals of this CoreLiteralCollection. # noqa: E501 + :rtype: list[CoreLiteral] + """ + return self._literals + + @literals.setter + def literals(self, literals): + """Sets the literals of this CoreLiteralCollection. + + + :param literals: The literals of this CoreLiteralCollection. # noqa: E501 + :type: list[CoreLiteral] + """ + + self._literals = literals + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreLiteralCollection, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreLiteralCollection): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_map.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_map.py new file mode 100644 index 000000000..bdcf7cc37 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_map.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_literal import CoreLiteral # noqa: F401,E501 + + +class CoreLiteralMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'literals': 'dict(str, CoreLiteral)' + } + + attribute_map = { + 'literals': 'literals' + } + + def __init__(self, literals=None): # noqa: E501 + """CoreLiteralMap - a model defined in Swagger""" # noqa: E501 + + self._literals = None + self.discriminator = None + + if literals is not None: + self.literals = literals + + @property + def literals(self): + """Gets the literals of this CoreLiteralMap. # noqa: E501 + + + :return: The literals of this CoreLiteralMap. # noqa: E501 + :rtype: dict(str, CoreLiteral) + """ + return self._literals + + @literals.setter + def literals(self, literals): + """Sets the literals of this CoreLiteralMap. + + + :param literals: The literals of this CoreLiteralMap. # noqa: E501 + :type: dict(str, CoreLiteral) + """ + + self._literals = literals + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreLiteralMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreLiteralMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_type.py new file mode 100644 index 000000000..efa49c9ce --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_type.py @@ -0,0 +1,406 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_blob_type import CoreBlobType # noqa: F401,E501 +from flyteadmin.models.core_enum_type import CoreEnumType # noqa: F401,E501 +from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 +from flyteadmin.models.core_schema_type import CoreSchemaType # noqa: F401,E501 +from flyteadmin.models.core_simple_type import CoreSimpleType # noqa: F401,E501 +from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType # noqa: F401,E501 +from flyteadmin.models.core_type_annotation import CoreTypeAnnotation # noqa: F401,E501 +from flyteadmin.models.core_type_structure import CoreTypeStructure # noqa: F401,E501 +from flyteadmin.models.core_union_type import CoreUnionType # noqa: F401,E501 +from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 + + +class CoreLiteralType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'simple': 'CoreSimpleType', + 'schema': 'CoreSchemaType', + 'collection_type': 'CoreLiteralType', + 'map_value_type': 'CoreLiteralType', + 'blob': 'CoreBlobType', + 'enum_type': 'CoreEnumType', + 'structured_dataset_type': 'CoreStructuredDatasetType', + 'union_type': 'CoreUnionType', + 'metadata': 'ProtobufStruct', + 'annotation': 'CoreTypeAnnotation', + 'structure': 'CoreTypeStructure' + } + + attribute_map = { + 'simple': 'simple', + 'schema': 'schema', + 'collection_type': 'collection_type', + 'map_value_type': 'map_value_type', + 'blob': 'blob', + 'enum_type': 'enum_type', + 'structured_dataset_type': 'structured_dataset_type', + 'union_type': 'union_type', + 'metadata': 'metadata', + 'annotation': 'annotation', + 'structure': 'structure' + } + + def __init__(self, simple=None, schema=None, collection_type=None, map_value_type=None, blob=None, enum_type=None, structured_dataset_type=None, union_type=None, metadata=None, annotation=None, structure=None): # noqa: E501 + """CoreLiteralType - a model defined in Swagger""" # noqa: E501 + + self._simple = None + self._schema = None + self._collection_type = None + self._map_value_type = None + self._blob = None + self._enum_type = None + self._structured_dataset_type = None + self._union_type = None + self._metadata = None + self._annotation = None + self._structure = None + self.discriminator = None + + if simple is not None: + self.simple = simple + if schema is not None: + self.schema = schema + if collection_type is not None: + self.collection_type = collection_type + if map_value_type is not None: + self.map_value_type = map_value_type + if blob is not None: + self.blob = blob + if enum_type is not None: + self.enum_type = enum_type + if structured_dataset_type is not None: + self.structured_dataset_type = structured_dataset_type + if union_type is not None: + self.union_type = union_type + if metadata is not None: + self.metadata = metadata + if annotation is not None: + self.annotation = annotation + if structure is not None: + self.structure = structure + + @property + def simple(self): + """Gets the simple of this CoreLiteralType. # noqa: E501 + + A simple type that can be compared one-to-one with another. # noqa: E501 + + :return: The simple of this CoreLiteralType. # noqa: E501 + :rtype: CoreSimpleType + """ + return self._simple + + @simple.setter + def simple(self, simple): + """Sets the simple of this CoreLiteralType. + + A simple type that can be compared one-to-one with another. # noqa: E501 + + :param simple: The simple of this CoreLiteralType. # noqa: E501 + :type: CoreSimpleType + """ + + self._simple = simple + + @property + def schema(self): + """Gets the schema of this CoreLiteralType. # noqa: E501 + + A complex type that requires matching of inner fields. # noqa: E501 + + :return: The schema of this CoreLiteralType. # noqa: E501 + :rtype: CoreSchemaType + """ + return self._schema + + @schema.setter + def schema(self, schema): + """Sets the schema of this CoreLiteralType. + + A complex type that requires matching of inner fields. # noqa: E501 + + :param schema: The schema of this CoreLiteralType. # noqa: E501 + :type: CoreSchemaType + """ + + self._schema = schema + + @property + def collection_type(self): + """Gets the collection_type of this CoreLiteralType. # noqa: E501 + + Defines the type of the value of a collection. Only homogeneous collections are allowed. # noqa: E501 + + :return: The collection_type of this CoreLiteralType. # noqa: E501 + :rtype: CoreLiteralType + """ + return self._collection_type + + @collection_type.setter + def collection_type(self, collection_type): + """Sets the collection_type of this CoreLiteralType. + + Defines the type of the value of a collection. Only homogeneous collections are allowed. # noqa: E501 + + :param collection_type: The collection_type of this CoreLiteralType. # noqa: E501 + :type: CoreLiteralType + """ + + self._collection_type = collection_type + + @property + def map_value_type(self): + """Gets the map_value_type of this CoreLiteralType. # noqa: E501 + + Defines the type of the value of a map type. The type of the key is always a string. # noqa: E501 + + :return: The map_value_type of this CoreLiteralType. # noqa: E501 + :rtype: CoreLiteralType + """ + return self._map_value_type + + @map_value_type.setter + def map_value_type(self, map_value_type): + """Sets the map_value_type of this CoreLiteralType. + + Defines the type of the value of a map type. The type of the key is always a string. # noqa: E501 + + :param map_value_type: The map_value_type of this CoreLiteralType. # noqa: E501 + :type: CoreLiteralType + """ + + self._map_value_type = map_value_type + + @property + def blob(self): + """Gets the blob of this CoreLiteralType. # noqa: E501 + + A blob might have specialized implementation details depending on associated metadata. # noqa: E501 + + :return: The blob of this CoreLiteralType. # noqa: E501 + :rtype: CoreBlobType + """ + return self._blob + + @blob.setter + def blob(self, blob): + """Sets the blob of this CoreLiteralType. + + A blob might have specialized implementation details depending on associated metadata. # noqa: E501 + + :param blob: The blob of this CoreLiteralType. # noqa: E501 + :type: CoreBlobType + """ + + self._blob = blob + + @property + def enum_type(self): + """Gets the enum_type of this CoreLiteralType. # noqa: E501 + + Defines an enum with pre-defined string values. # noqa: E501 + + :return: The enum_type of this CoreLiteralType. # noqa: E501 + :rtype: CoreEnumType + """ + return self._enum_type + + @enum_type.setter + def enum_type(self, enum_type): + """Sets the enum_type of this CoreLiteralType. + + Defines an enum with pre-defined string values. # noqa: E501 + + :param enum_type: The enum_type of this CoreLiteralType. # noqa: E501 + :type: CoreEnumType + """ + + self._enum_type = enum_type + + @property + def structured_dataset_type(self): + """Gets the structured_dataset_type of this CoreLiteralType. # noqa: E501 + + + :return: The structured_dataset_type of this CoreLiteralType. # noqa: E501 + :rtype: CoreStructuredDatasetType + """ + return self._structured_dataset_type + + @structured_dataset_type.setter + def structured_dataset_type(self, structured_dataset_type): + """Sets the structured_dataset_type of this CoreLiteralType. + + + :param structured_dataset_type: The structured_dataset_type of this CoreLiteralType. # noqa: E501 + :type: CoreStructuredDatasetType + """ + + self._structured_dataset_type = structured_dataset_type + + @property + def union_type(self): + """Gets the union_type of this CoreLiteralType. # noqa: E501 + + Defines an union type with pre-defined LiteralTypes. # noqa: E501 + + :return: The union_type of this CoreLiteralType. # noqa: E501 + :rtype: CoreUnionType + """ + return self._union_type + + @union_type.setter + def union_type(self, union_type): + """Sets the union_type of this CoreLiteralType. + + Defines an union type with pre-defined LiteralTypes. # noqa: E501 + + :param union_type: The union_type of this CoreLiteralType. # noqa: E501 + :type: CoreUnionType + """ + + self._union_type = union_type + + @property + def metadata(self): + """Gets the metadata of this CoreLiteralType. # noqa: E501 + + This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type. # noqa: E501 + + :return: The metadata of this CoreLiteralType. # noqa: E501 + :rtype: ProtobufStruct + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this CoreLiteralType. + + This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type. # noqa: E501 + + :param metadata: The metadata of this CoreLiteralType. # noqa: E501 + :type: ProtobufStruct + """ + + self._metadata = metadata + + @property + def annotation(self): + """Gets the annotation of this CoreLiteralType. # noqa: E501 + + This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior. # noqa: E501 + + :return: The annotation of this CoreLiteralType. # noqa: E501 + :rtype: CoreTypeAnnotation + """ + return self._annotation + + @annotation.setter + def annotation(self, annotation): + """Sets the annotation of this CoreLiteralType. + + This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior. # noqa: E501 + + :param annotation: The annotation of this CoreLiteralType. # noqa: E501 + :type: CoreTypeAnnotation + """ + + self._annotation = annotation + + @property + def structure(self): + """Gets the structure of this CoreLiteralType. # noqa: E501 + + Hints to improve type matching. # noqa: E501 + + :return: The structure of this CoreLiteralType. # noqa: E501 + :rtype: CoreTypeStructure + """ + return self._structure + + @structure.setter + def structure(self, structure): + """Sets the structure of this CoreLiteralType. + + Hints to improve type matching. # noqa: E501 + + :param structure: The structure of this CoreLiteralType. # noqa: E501 + :type: CoreTypeStructure + """ + + self._structure = structure + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreLiteralType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreLiteralType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node.py new file mode 100644 index 000000000..96d375c98 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node.py @@ -0,0 +1,320 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_alias import CoreAlias # noqa: F401,E501 +from flyteadmin.models.core_binding import CoreBinding # noqa: F401,E501 +from flyteadmin.models.core_branch_node import CoreBranchNode # noqa: F401,E501 +from flyteadmin.models.core_node_metadata import CoreNodeMetadata # noqa: F401,E501 +from flyteadmin.models.core_task_node import CoreTaskNode # noqa: F401,E501 +from flyteadmin.models.core_workflow_node import CoreWorkflowNode # noqa: F401,E501 + + +class CoreNode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'str', + 'metadata': 'CoreNodeMetadata', + 'inputs': 'list[CoreBinding]', + 'upstream_node_ids': 'list[str]', + 'output_aliases': 'list[CoreAlias]', + 'task_node': 'CoreTaskNode', + 'workflow_node': 'CoreWorkflowNode', + 'branch_node': 'CoreBranchNode' + } + + attribute_map = { + 'id': 'id', + 'metadata': 'metadata', + 'inputs': 'inputs', + 'upstream_node_ids': 'upstream_node_ids', + 'output_aliases': 'output_aliases', + 'task_node': 'task_node', + 'workflow_node': 'workflow_node', + 'branch_node': 'branch_node' + } + + def __init__(self, id=None, metadata=None, inputs=None, upstream_node_ids=None, output_aliases=None, task_node=None, workflow_node=None, branch_node=None): # noqa: E501 + """CoreNode - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._metadata = None + self._inputs = None + self._upstream_node_ids = None + self._output_aliases = None + self._task_node = None + self._workflow_node = None + self._branch_node = None + self.discriminator = None + + if id is not None: + self.id = id + if metadata is not None: + self.metadata = metadata + if inputs is not None: + self.inputs = inputs + if upstream_node_ids is not None: + self.upstream_node_ids = upstream_node_ids + if output_aliases is not None: + self.output_aliases = output_aliases + if task_node is not None: + self.task_node = task_node + if workflow_node is not None: + self.workflow_node = workflow_node + if branch_node is not None: + self.branch_node = branch_node + + @property + def id(self): + """Gets the id of this CoreNode. # noqa: E501 + + A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes. # noqa: E501 + + :return: The id of this CoreNode. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CoreNode. + + A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes. # noqa: E501 + + :param id: The id of this CoreNode. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def metadata(self): + """Gets the metadata of this CoreNode. # noqa: E501 + + Extra metadata about the node. # noqa: E501 + + :return: The metadata of this CoreNode. # noqa: E501 + :rtype: CoreNodeMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this CoreNode. + + Extra metadata about the node. # noqa: E501 + + :param metadata: The metadata of this CoreNode. # noqa: E501 + :type: CoreNodeMetadata + """ + + self._metadata = metadata + + @property + def inputs(self): + """Gets the inputs of this CoreNode. # noqa: E501 + + Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled. # noqa: E501 + + :return: The inputs of this CoreNode. # noqa: E501 + :rtype: list[CoreBinding] + """ + return self._inputs + + @inputs.setter + def inputs(self, inputs): + """Sets the inputs of this CoreNode. + + Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled. # noqa: E501 + + :param inputs: The inputs of this CoreNode. # noqa: E501 + :type: list[CoreBinding] + """ + + self._inputs = inputs + + @property + def upstream_node_ids(self): + """Gets the upstream_node_ids of this CoreNode. # noqa: E501 + + +optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field. # noqa: E501 + + :return: The upstream_node_ids of this CoreNode. # noqa: E501 + :rtype: list[str] + """ + return self._upstream_node_ids + + @upstream_node_ids.setter + def upstream_node_ids(self, upstream_node_ids): + """Sets the upstream_node_ids of this CoreNode. + + +optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field. # noqa: E501 + + :param upstream_node_ids: The upstream_node_ids of this CoreNode. # noqa: E501 + :type: list[str] + """ + + self._upstream_node_ids = upstream_node_ids + + @property + def output_aliases(self): + """Gets the output_aliases of this CoreNode. # noqa: E501 + + +optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified. # noqa: E501 + + :return: The output_aliases of this CoreNode. # noqa: E501 + :rtype: list[CoreAlias] + """ + return self._output_aliases + + @output_aliases.setter + def output_aliases(self, output_aliases): + """Sets the output_aliases of this CoreNode. + + +optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified. # noqa: E501 + + :param output_aliases: The output_aliases of this CoreNode. # noqa: E501 + :type: list[CoreAlias] + """ + + self._output_aliases = output_aliases + + @property + def task_node(self): + """Gets the task_node of this CoreNode. # noqa: E501 + + Information about the Task to execute in this node. # noqa: E501 + + :return: The task_node of this CoreNode. # noqa: E501 + :rtype: CoreTaskNode + """ + return self._task_node + + @task_node.setter + def task_node(self, task_node): + """Sets the task_node of this CoreNode. + + Information about the Task to execute in this node. # noqa: E501 + + :param task_node: The task_node of this CoreNode. # noqa: E501 + :type: CoreTaskNode + """ + + self._task_node = task_node + + @property + def workflow_node(self): + """Gets the workflow_node of this CoreNode. # noqa: E501 + + Information about the Workflow to execute in this mode. # noqa: E501 + + :return: The workflow_node of this CoreNode. # noqa: E501 + :rtype: CoreWorkflowNode + """ + return self._workflow_node + + @workflow_node.setter + def workflow_node(self, workflow_node): + """Sets the workflow_node of this CoreNode. + + Information about the Workflow to execute in this mode. # noqa: E501 + + :param workflow_node: The workflow_node of this CoreNode. # noqa: E501 + :type: CoreWorkflowNode + """ + + self._workflow_node = workflow_node + + @property + def branch_node(self): + """Gets the branch_node of this CoreNode. # noqa: E501 + + Information about the branch node to evaluate in this node. # noqa: E501 + + :return: The branch_node of this CoreNode. # noqa: E501 + :rtype: CoreBranchNode + """ + return self._branch_node + + @branch_node.setter + def branch_node(self, branch_node): + """Sets the branch_node of this CoreNode. + + Information about the branch node to evaluate in this node. # noqa: E501 + + :param branch_node: The branch_node of this CoreNode. # noqa: E501 + :type: CoreBranchNode + """ + + self._branch_node = branch_node + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreNode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreNode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_identifier.py new file mode 100644 index 000000000..0c3ea4e60 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_identifier.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 + + +class CoreNodeExecutionIdentifier(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'node_id': 'str', + 'execution_id': 'CoreWorkflowExecutionIdentifier' + } + + attribute_map = { + 'node_id': 'node_id', + 'execution_id': 'execution_id' + } + + def __init__(self, node_id=None, execution_id=None): # noqa: E501 + """CoreNodeExecutionIdentifier - a model defined in Swagger""" # noqa: E501 + + self._node_id = None + self._execution_id = None + self.discriminator = None + + if node_id is not None: + self.node_id = node_id + if execution_id is not None: + self.execution_id = execution_id + + @property + def node_id(self): + """Gets the node_id of this CoreNodeExecutionIdentifier. # noqa: E501 + + + :return: The node_id of this CoreNodeExecutionIdentifier. # noqa: E501 + :rtype: str + """ + return self._node_id + + @node_id.setter + def node_id(self, node_id): + """Sets the node_id of this CoreNodeExecutionIdentifier. + + + :param node_id: The node_id of this CoreNodeExecutionIdentifier. # noqa: E501 + :type: str + """ + + self._node_id = node_id + + @property + def execution_id(self): + """Gets the execution_id of this CoreNodeExecutionIdentifier. # noqa: E501 + + + :return: The execution_id of this CoreNodeExecutionIdentifier. # noqa: E501 + :rtype: CoreWorkflowExecutionIdentifier + """ + return self._execution_id + + @execution_id.setter + def execution_id(self, execution_id): + """Sets the execution_id of this CoreNodeExecutionIdentifier. + + + :param execution_id: The execution_id of this CoreNodeExecutionIdentifier. # noqa: E501 + :type: CoreWorkflowExecutionIdentifier + """ + + self._execution_id = execution_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreNodeExecutionIdentifier, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreNodeExecutionIdentifier): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_phase.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_phase.py new file mode 100644 index 000000000..5b03e7e48 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_phase.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreNodeExecutionPhase(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UNDEFINED = "UNDEFINED" + QUEUED = "QUEUED" + RUNNING = "RUNNING" + SUCCEEDED = "SUCCEEDED" + FAILING = "FAILING" + FAILED = "FAILED" + ABORTED = "ABORTED" + SKIPPED = "SKIPPED" + TIMED_OUT = "TIMED_OUT" + DYNAMIC_RUNNING = "DYNAMIC_RUNNING" + RECOVERED = "RECOVERED" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """CoreNodeExecutionPhase - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreNodeExecutionPhase, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreNodeExecutionPhase): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_metadata.py new file mode 100644 index 000000000..d23c04290 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_metadata.py @@ -0,0 +1,199 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_retry_strategy import CoreRetryStrategy # noqa: F401,E501 + + +class CoreNodeMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'name': 'str', + 'timeout': 'str', + 'retries': 'CoreRetryStrategy', + 'interruptible': 'bool' + } + + attribute_map = { + 'name': 'name', + 'timeout': 'timeout', + 'retries': 'retries', + 'interruptible': 'interruptible' + } + + def __init__(self, name=None, timeout=None, retries=None, interruptible=None): # noqa: E501 + """CoreNodeMetadata - a model defined in Swagger""" # noqa: E501 + + self._name = None + self._timeout = None + self._retries = None + self._interruptible = None + self.discriminator = None + + if name is not None: + self.name = name + if timeout is not None: + self.timeout = timeout + if retries is not None: + self.retries = retries + if interruptible is not None: + self.interruptible = interruptible + + @property + def name(self): + """Gets the name of this CoreNodeMetadata. # noqa: E501 + + + :return: The name of this CoreNodeMetadata. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CoreNodeMetadata. + + + :param name: The name of this CoreNodeMetadata. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def timeout(self): + """Gets the timeout of this CoreNodeMetadata. # noqa: E501 + + The overall timeout of a task. # noqa: E501 + + :return: The timeout of this CoreNodeMetadata. # noqa: E501 + :rtype: str + """ + return self._timeout + + @timeout.setter + def timeout(self, timeout): + """Sets the timeout of this CoreNodeMetadata. + + The overall timeout of a task. # noqa: E501 + + :param timeout: The timeout of this CoreNodeMetadata. # noqa: E501 + :type: str + """ + + self._timeout = timeout + + @property + def retries(self): + """Gets the retries of this CoreNodeMetadata. # noqa: E501 + + Number of retries per task. # noqa: E501 + + :return: The retries of this CoreNodeMetadata. # noqa: E501 + :rtype: CoreRetryStrategy + """ + return self._retries + + @retries.setter + def retries(self, retries): + """Sets the retries of this CoreNodeMetadata. + + Number of retries per task. # noqa: E501 + + :param retries: The retries of this CoreNodeMetadata. # noqa: E501 + :type: CoreRetryStrategy + """ + + self._retries = retries + + @property + def interruptible(self): + """Gets the interruptible of this CoreNodeMetadata. # noqa: E501 + + + :return: The interruptible of this CoreNodeMetadata. # noqa: E501 + :rtype: bool + """ + return self._interruptible + + @interruptible.setter + def interruptible(self, interruptible): + """Sets the interruptible of this CoreNodeMetadata. + + + :param interruptible: The interruptible of this CoreNodeMetadata. # noqa: E501 + :type: bool + """ + + self._interruptible = interruptible + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreNodeMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreNodeMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_client.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_client.py new file mode 100644 index 000000000..520dfdee3 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_client.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_secret import CoreSecret # noqa: F401,E501 + + +class CoreOAuth2Client(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'client_id': 'str', + 'client_secret': 'CoreSecret' + } + + attribute_map = { + 'client_id': 'client_id', + 'client_secret': 'client_secret' + } + + def __init__(self, client_id=None, client_secret=None): # noqa: E501 + """CoreOAuth2Client - a model defined in Swagger""" # noqa: E501 + + self._client_id = None + self._client_secret = None + self.discriminator = None + + if client_id is not None: + self.client_id = client_id + if client_secret is not None: + self.client_secret = client_secret + + @property + def client_id(self): + """Gets the client_id of this CoreOAuth2Client. # noqa: E501 + + + :return: The client_id of this CoreOAuth2Client. # noqa: E501 + :rtype: str + """ + return self._client_id + + @client_id.setter + def client_id(self, client_id): + """Sets the client_id of this CoreOAuth2Client. + + + :param client_id: The client_id of this CoreOAuth2Client. # noqa: E501 + :type: str + """ + + self._client_id = client_id + + @property + def client_secret(self): + """Gets the client_secret of this CoreOAuth2Client. # noqa: E501 + + + :return: The client_secret of this CoreOAuth2Client. # noqa: E501 + :rtype: CoreSecret + """ + return self._client_secret + + @client_secret.setter + def client_secret(self, client_secret): + """Sets the client_secret of this CoreOAuth2Client. + + + :param client_secret: The client_secret of this CoreOAuth2Client. # noqa: E501 + :type: CoreSecret + """ + + self._client_secret = client_secret + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreOAuth2Client, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreOAuth2Client): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request.py new file mode 100644 index 000000000..22ea5676c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request.py @@ -0,0 +1,222 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client # noqa: F401,E501 +from flyteadmin.models.core_o_auth2_token_request_type import CoreOAuth2TokenRequestType # noqa: F401,E501 + + +class CoreOAuth2TokenRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'name': 'str', + 'type': 'CoreOAuth2TokenRequestType', + 'client': 'CoreOAuth2Client', + 'idp_discovery_endpoint': 'str', + 'token_endpoint': 'str' + } + + attribute_map = { + 'name': 'name', + 'type': 'type', + 'client': 'client', + 'idp_discovery_endpoint': 'idp_discovery_endpoint', + 'token_endpoint': 'token_endpoint' + } + + def __init__(self, name=None, type=None, client=None, idp_discovery_endpoint=None, token_endpoint=None): # noqa: E501 + """CoreOAuth2TokenRequest - a model defined in Swagger""" # noqa: E501 + + self._name = None + self._type = None + self._client = None + self._idp_discovery_endpoint = None + self._token_endpoint = None + self.discriminator = None + + if name is not None: + self.name = name + if type is not None: + self.type = type + if client is not None: + self.client = client + if idp_discovery_endpoint is not None: + self.idp_discovery_endpoint = idp_discovery_endpoint + if token_endpoint is not None: + self.token_endpoint = token_endpoint + + @property + def name(self): + """Gets the name of this CoreOAuth2TokenRequest. # noqa: E501 + + + :return: The name of this CoreOAuth2TokenRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CoreOAuth2TokenRequest. + + + :param name: The name of this CoreOAuth2TokenRequest. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def type(self): + """Gets the type of this CoreOAuth2TokenRequest. # noqa: E501 + + + :return: The type of this CoreOAuth2TokenRequest. # noqa: E501 + :rtype: CoreOAuth2TokenRequestType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this CoreOAuth2TokenRequest. + + + :param type: The type of this CoreOAuth2TokenRequest. # noqa: E501 + :type: CoreOAuth2TokenRequestType + """ + + self._type = type + + @property + def client(self): + """Gets the client of this CoreOAuth2TokenRequest. # noqa: E501 + + + :return: The client of this CoreOAuth2TokenRequest. # noqa: E501 + :rtype: CoreOAuth2Client + """ + return self._client + + @client.setter + def client(self, client): + """Sets the client of this CoreOAuth2TokenRequest. + + + :param client: The client of this CoreOAuth2TokenRequest. # noqa: E501 + :type: CoreOAuth2Client + """ + + self._client = client + + @property + def idp_discovery_endpoint(self): + """Gets the idp_discovery_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 + + + :return: The idp_discovery_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 + :rtype: str + """ + return self._idp_discovery_endpoint + + @idp_discovery_endpoint.setter + def idp_discovery_endpoint(self, idp_discovery_endpoint): + """Sets the idp_discovery_endpoint of this CoreOAuth2TokenRequest. + + + :param idp_discovery_endpoint: The idp_discovery_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 + :type: str + """ + + self._idp_discovery_endpoint = idp_discovery_endpoint + + @property + def token_endpoint(self): + """Gets the token_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 + + + :return: The token_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 + :rtype: str + """ + return self._token_endpoint + + @token_endpoint.setter + def token_endpoint(self, token_endpoint): + """Sets the token_endpoint of this CoreOAuth2TokenRequest. + + + :param token_endpoint: The token_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 + :type: str + """ + + self._token_endpoint = token_endpoint + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreOAuth2TokenRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreOAuth2TokenRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request_type.py new file mode 100644 index 000000000..39f87fb6f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request_type.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreOAuth2TokenRequestType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + CLIENT_CREDENTIALS = "CLIENT_CREDENTIALS" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """CoreOAuth2TokenRequestType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreOAuth2TokenRequestType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreOAuth2TokenRequestType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_operand.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_operand.py new file mode 100644 index 000000000..fad1d9ea4 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_operand.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_primitive import CorePrimitive # noqa: F401,E501 + + +class CoreOperand(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'primitive': 'CorePrimitive', + 'var': 'str' + } + + attribute_map = { + 'primitive': 'primitive', + 'var': 'var' + } + + def __init__(self, primitive=None, var=None): # noqa: E501 + """CoreOperand - a model defined in Swagger""" # noqa: E501 + + self._primitive = None + self._var = None + self.discriminator = None + + if primitive is not None: + self.primitive = primitive + if var is not None: + self.var = var + + @property + def primitive(self): + """Gets the primitive of this CoreOperand. # noqa: E501 + + + :return: The primitive of this CoreOperand. # noqa: E501 + :rtype: CorePrimitive + """ + return self._primitive + + @primitive.setter + def primitive(self, primitive): + """Sets the primitive of this CoreOperand. + + + :param primitive: The primitive of this CoreOperand. # noqa: E501 + :type: CorePrimitive + """ + + self._primitive = primitive + + @property + def var(self): + """Gets the var of this CoreOperand. # noqa: E501 + + + :return: The var of this CoreOperand. # noqa: E501 + :rtype: str + """ + return self._var + + @var.setter + def var(self, var): + """Sets the var of this CoreOperand. + + + :param var: The var of this CoreOperand. # noqa: E501 + :type: str + """ + + self._var = var + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreOperand, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreOperand): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_output_reference.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_output_reference.py new file mode 100644 index 000000000..801fd4552 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_output_reference.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreOutputReference(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'node_id': 'str', + 'var': 'str' + } + + attribute_map = { + 'node_id': 'node_id', + 'var': 'var' + } + + def __init__(self, node_id=None, var=None): # noqa: E501 + """CoreOutputReference - a model defined in Swagger""" # noqa: E501 + + self._node_id = None + self._var = None + self.discriminator = None + + if node_id is not None: + self.node_id = node_id + if var is not None: + self.var = var + + @property + def node_id(self): + """Gets the node_id of this CoreOutputReference. # noqa: E501 + + Node id must exist at the graph layer. # noqa: E501 + + :return: The node_id of this CoreOutputReference. # noqa: E501 + :rtype: str + """ + return self._node_id + + @node_id.setter + def node_id(self, node_id): + """Sets the node_id of this CoreOutputReference. + + Node id must exist at the graph layer. # noqa: E501 + + :param node_id: The node_id of this CoreOutputReference. # noqa: E501 + :type: str + """ + + self._node_id = node_id + + @property + def var(self): + """Gets the var of this CoreOutputReference. # noqa: E501 + + Variable name must refer to an output variable for the node. # noqa: E501 + + :return: The var of this CoreOutputReference. # noqa: E501 + :rtype: str + """ + return self._var + + @var.setter + def var(self, var): + """Sets the var of this CoreOutputReference. + + Variable name must refer to an output variable for the node. # noqa: E501 + + :param var: The var of this CoreOutputReference. # noqa: E501 + :type: str + """ + + self._var = var + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreOutputReference, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreOutputReference): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py new file mode 100644 index 000000000..a6e71104f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py @@ -0,0 +1,176 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_literal import CoreLiteral # noqa: F401,E501 +from flyteadmin.models.core_variable import CoreVariable # noqa: F401,E501 + + +class CoreParameter(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'var': 'CoreVariable', + 'default': 'CoreLiteral', + 'required': 'bool' + } + + attribute_map = { + 'var': 'var', + 'default': 'default', + 'required': 'required' + } + + def __init__(self, var=None, default=None, required=None): # noqa: E501 + """CoreParameter - a model defined in Swagger""" # noqa: E501 + + self._var = None + self._default = None + self._required = None + self.discriminator = None + + if var is not None: + self.var = var + if default is not None: + self.default = default + if required is not None: + self.required = required + + @property + def var(self): + """Gets the var of this CoreParameter. # noqa: E501 + + +required Variable. Defines the type of the variable backing this parameter. # noqa: E501 + + :return: The var of this CoreParameter. # noqa: E501 + :rtype: CoreVariable + """ + return self._var + + @var.setter + def var(self, var): + """Sets the var of this CoreParameter. + + +required Variable. Defines the type of the variable backing this parameter. # noqa: E501 + + :param var: The var of this CoreParameter. # noqa: E501 + :type: CoreVariable + """ + + self._var = var + + @property + def default(self): + """Gets the default of this CoreParameter. # noqa: E501 + + Defines a default value that has to match the variable type defined. # noqa: E501 + + :return: The default of this CoreParameter. # noqa: E501 + :rtype: CoreLiteral + """ + return self._default + + @default.setter + def default(self, default): + """Sets the default of this CoreParameter. + + Defines a default value that has to match the variable type defined. # noqa: E501 + + :param default: The default of this CoreParameter. # noqa: E501 + :type: CoreLiteral + """ + + self._default = default + + @property + def required(self): + """Gets the required of this CoreParameter. # noqa: E501 + + +optional, is this value required to be filled. # noqa: E501 + + :return: The required of this CoreParameter. # noqa: E501 + :rtype: bool + """ + return self._required + + @required.setter + def required(self, required): + """Sets the required of this CoreParameter. + + +optional, is this value required to be filled. # noqa: E501 + + :param required: The required of this CoreParameter. # noqa: E501 + :type: bool + """ + + self._required = required + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreParameter, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreParameter): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter_map.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter_map.py new file mode 100644 index 000000000..f2ca84c2e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter_map.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_parameter import CoreParameter # noqa: F401,E501 + + +class CoreParameterMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'parameters': 'dict(str, CoreParameter)' + } + + attribute_map = { + 'parameters': 'parameters' + } + + def __init__(self, parameters=None): # noqa: E501 + """CoreParameterMap - a model defined in Swagger""" # noqa: E501 + + self._parameters = None + self.discriminator = None + + if parameters is not None: + self.parameters = parameters + + @property + def parameters(self): + """Gets the parameters of this CoreParameterMap. # noqa: E501 + + Defines a map of parameter names to parameters. # noqa: E501 + + :return: The parameters of this CoreParameterMap. # noqa: E501 + :rtype: dict(str, CoreParameter) + """ + return self._parameters + + @parameters.setter + def parameters(self, parameters): + """Sets the parameters of this CoreParameterMap. + + Defines a map of parameter names to parameters. # noqa: E501 + + :param parameters: The parameters of this CoreParameterMap. # noqa: E501 + :type: dict(str, CoreParameter) + """ + + self._parameters = parameters + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreParameterMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreParameterMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_primitive.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_primitive.py new file mode 100644 index 000000000..8a834e28d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_primitive.py @@ -0,0 +1,245 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CorePrimitive(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'integer': 'str', + 'float_value': 'float', + 'string_value': 'str', + 'boolean': 'bool', + '_datetime': 'datetime', + 'duration': 'str' + } + + attribute_map = { + 'integer': 'integer', + 'float_value': 'float_value', + 'string_value': 'string_value', + 'boolean': 'boolean', + '_datetime': 'datetime', + 'duration': 'duration' + } + + def __init__(self, integer=None, float_value=None, string_value=None, boolean=None, _datetime=None, duration=None): # noqa: E501 + """CorePrimitive - a model defined in Swagger""" # noqa: E501 + + self._integer = None + self._float_value = None + self._string_value = None + self._boolean = None + self.__datetime = None + self._duration = None + self.discriminator = None + + if integer is not None: + self.integer = integer + if float_value is not None: + self.float_value = float_value + if string_value is not None: + self.string_value = string_value + if boolean is not None: + self.boolean = boolean + if _datetime is not None: + self._datetime = _datetime + if duration is not None: + self.duration = duration + + @property + def integer(self): + """Gets the integer of this CorePrimitive. # noqa: E501 + + + :return: The integer of this CorePrimitive. # noqa: E501 + :rtype: str + """ + return self._integer + + @integer.setter + def integer(self, integer): + """Sets the integer of this CorePrimitive. + + + :param integer: The integer of this CorePrimitive. # noqa: E501 + :type: str + """ + + self._integer = integer + + @property + def float_value(self): + """Gets the float_value of this CorePrimitive. # noqa: E501 + + + :return: The float_value of this CorePrimitive. # noqa: E501 + :rtype: float + """ + return self._float_value + + @float_value.setter + def float_value(self, float_value): + """Sets the float_value of this CorePrimitive. + + + :param float_value: The float_value of this CorePrimitive. # noqa: E501 + :type: float + """ + + self._float_value = float_value + + @property + def string_value(self): + """Gets the string_value of this CorePrimitive. # noqa: E501 + + + :return: The string_value of this CorePrimitive. # noqa: E501 + :rtype: str + """ + return self._string_value + + @string_value.setter + def string_value(self, string_value): + """Sets the string_value of this CorePrimitive. + + + :param string_value: The string_value of this CorePrimitive. # noqa: E501 + :type: str + """ + + self._string_value = string_value + + @property + def boolean(self): + """Gets the boolean of this CorePrimitive. # noqa: E501 + + + :return: The boolean of this CorePrimitive. # noqa: E501 + :rtype: bool + """ + return self._boolean + + @boolean.setter + def boolean(self, boolean): + """Sets the boolean of this CorePrimitive. + + + :param boolean: The boolean of this CorePrimitive. # noqa: E501 + :type: bool + """ + + self._boolean = boolean + + @property + def _datetime(self): + """Gets the _datetime of this CorePrimitive. # noqa: E501 + + + :return: The _datetime of this CorePrimitive. # noqa: E501 + :rtype: datetime + """ + return self.__datetime + + @_datetime.setter + def _datetime(self, _datetime): + """Sets the _datetime of this CorePrimitive. + + + :param _datetime: The _datetime of this CorePrimitive. # noqa: E501 + :type: datetime + """ + + self.__datetime = _datetime + + @property + def duration(self): + """Gets the duration of this CorePrimitive. # noqa: E501 + + + :return: The duration of this CorePrimitive. # noqa: E501 + :rtype: str + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this CorePrimitive. + + + :param duration: The duration of this CorePrimitive. # noqa: E501 + :type: str + """ + + self._duration = duration + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CorePrimitive, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CorePrimitive): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service.py new file mode 100644 index 000000000..b9bb2aadb --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_quality_of_service_spec import CoreQualityOfServiceSpec # noqa: F401,E501 +from flyteadmin.models.quality_of_service_tier import QualityOfServiceTier # noqa: F401,E501 + + +class CoreQualityOfService(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'tier': 'QualityOfServiceTier', + 'spec': 'CoreQualityOfServiceSpec' + } + + attribute_map = { + 'tier': 'tier', + 'spec': 'spec' + } + + def __init__(self, tier=None, spec=None): # noqa: E501 + """CoreQualityOfService - a model defined in Swagger""" # noqa: E501 + + self._tier = None + self._spec = None + self.discriminator = None + + if tier is not None: + self.tier = tier + if spec is not None: + self.spec = spec + + @property + def tier(self): + """Gets the tier of this CoreQualityOfService. # noqa: E501 + + + :return: The tier of this CoreQualityOfService. # noqa: E501 + :rtype: QualityOfServiceTier + """ + return self._tier + + @tier.setter + def tier(self, tier): + """Sets the tier of this CoreQualityOfService. + + + :param tier: The tier of this CoreQualityOfService. # noqa: E501 + :type: QualityOfServiceTier + """ + + self._tier = tier + + @property + def spec(self): + """Gets the spec of this CoreQualityOfService. # noqa: E501 + + + :return: The spec of this CoreQualityOfService. # noqa: E501 + :rtype: CoreQualityOfServiceSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this CoreQualityOfService. + + + :param spec: The spec of this CoreQualityOfService. # noqa: E501 + :type: CoreQualityOfServiceSpec + """ + + self._spec = spec + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreQualityOfService, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreQualityOfService): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service_spec.py new file mode 100644 index 000000000..070989b16 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service_spec.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreQualityOfServiceSpec(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'queueing_budget': 'str' + } + + attribute_map = { + 'queueing_budget': 'queueing_budget' + } + + def __init__(self, queueing_budget=None): # noqa: E501 + """CoreQualityOfServiceSpec - a model defined in Swagger""" # noqa: E501 + + self._queueing_budget = None + self.discriminator = None + + if queueing_budget is not None: + self.queueing_budget = queueing_budget + + @property + def queueing_budget(self): + """Gets the queueing_budget of this CoreQualityOfServiceSpec. # noqa: E501 + + Indicates how much queueing delay an execution can tolerate. # noqa: E501 + + :return: The queueing_budget of this CoreQualityOfServiceSpec. # noqa: E501 + :rtype: str + """ + return self._queueing_budget + + @queueing_budget.setter + def queueing_budget(self, queueing_budget): + """Sets the queueing_budget of this CoreQualityOfServiceSpec. + + Indicates how much queueing delay an execution can tolerate. # noqa: E501 + + :param queueing_budget: The queueing_budget of this CoreQualityOfServiceSpec. # noqa: E501 + :type: str + """ + + self._queueing_budget = queueing_budget + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreQualityOfServiceSpec, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreQualityOfServiceSpec): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resource_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resource_type.py new file mode 100644 index 000000000..4a748c106 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resource_type.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreResourceType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UNSPECIFIED = "UNSPECIFIED" + TASK = "TASK" + WORKFLOW = "WORKFLOW" + LAUNCH_PLAN = "LAUNCH_PLAN" + DATASET = "DATASET" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """CoreResourceType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreResourceType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreResourceType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resources.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resources.py new file mode 100644 index 000000000..0e14879b0 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resources.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.resources_resource_entry import ResourcesResourceEntry # noqa: F401,E501 + + +class CoreResources(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'requests': 'list[ResourcesResourceEntry]', + 'limits': 'list[ResourcesResourceEntry]' + } + + attribute_map = { + 'requests': 'requests', + 'limits': 'limits' + } + + def __init__(self, requests=None, limits=None): # noqa: E501 + """CoreResources - a model defined in Swagger""" # noqa: E501 + + self._requests = None + self._limits = None + self.discriminator = None + + if requests is not None: + self.requests = requests + if limits is not None: + self.limits = limits + + @property + def requests(self): + """Gets the requests of this CoreResources. # noqa: E501 + + The desired set of resources requested. ResourceNames must be unique within the list. # noqa: E501 + + :return: The requests of this CoreResources. # noqa: E501 + :rtype: list[ResourcesResourceEntry] + """ + return self._requests + + @requests.setter + def requests(self, requests): + """Sets the requests of this CoreResources. + + The desired set of resources requested. ResourceNames must be unique within the list. # noqa: E501 + + :param requests: The requests of this CoreResources. # noqa: E501 + :type: list[ResourcesResourceEntry] + """ + + self._requests = requests + + @property + def limits(self): + """Gets the limits of this CoreResources. # noqa: E501 + + Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique within the list. # noqa: E501 + + :return: The limits of this CoreResources. # noqa: E501 + :rtype: list[ResourcesResourceEntry] + """ + return self._limits + + @limits.setter + def limits(self, limits): + """Sets the limits of this CoreResources. + + Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique within the list. # noqa: E501 + + :param limits: The limits of this CoreResources. # noqa: E501 + :type: list[ResourcesResourceEntry] + """ + + self._limits = limits + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreResources, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreResources): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_retry_strategy.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_retry_strategy.py new file mode 100644 index 000000000..45ba6d22f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_retry_strategy.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreRetryStrategy(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'retries': 'int' + } + + attribute_map = { + 'retries': 'retries' + } + + def __init__(self, retries=None): # noqa: E501 + """CoreRetryStrategy - a model defined in Swagger""" # noqa: E501 + + self._retries = None + self.discriminator = None + + if retries is not None: + self.retries = retries + + @property + def retries(self): + """Gets the retries of this CoreRetryStrategy. # noqa: E501 + + Number of retries. Retries will be consumed when the job fails with a recoverable error. The number of retries must be less than or equals to 10. # noqa: E501 + + :return: The retries of this CoreRetryStrategy. # noqa: E501 + :rtype: int + """ + return self._retries + + @retries.setter + def retries(self, retries): + """Sets the retries of this CoreRetryStrategy. + + Number of retries. Retries will be consumed when the job fails with a recoverable error. The number of retries must be less than or equals to 10. # noqa: E501 + + :param retries: The retries of this CoreRetryStrategy. # noqa: E501 + :type: int + """ + + self._retries = retries + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreRetryStrategy, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreRetryStrategy): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_runtime_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_runtime_metadata.py new file mode 100644 index 000000000..b14a33029 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_runtime_metadata.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.runtime_metadata_runtime_type import RuntimeMetadataRuntimeType # noqa: F401,E501 + + +class CoreRuntimeMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'type': 'RuntimeMetadataRuntimeType', + 'version': 'str', + 'flavor': 'str' + } + + attribute_map = { + 'type': 'type', + 'version': 'version', + 'flavor': 'flavor' + } + + def __init__(self, type=None, version=None, flavor=None): # noqa: E501 + """CoreRuntimeMetadata - a model defined in Swagger""" # noqa: E501 + + self._type = None + self._version = None + self._flavor = None + self.discriminator = None + + if type is not None: + self.type = type + if version is not None: + self.version = version + if flavor is not None: + self.flavor = flavor + + @property + def type(self): + """Gets the type of this CoreRuntimeMetadata. # noqa: E501 + + Type of runtime. # noqa: E501 + + :return: The type of this CoreRuntimeMetadata. # noqa: E501 + :rtype: RuntimeMetadataRuntimeType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this CoreRuntimeMetadata. + + Type of runtime. # noqa: E501 + + :param type: The type of this CoreRuntimeMetadata. # noqa: E501 + :type: RuntimeMetadataRuntimeType + """ + + self._type = type + + @property + def version(self): + """Gets the version of this CoreRuntimeMetadata. # noqa: E501 + + Version of the runtime. All versions should be backward compatible. However, certain cases call for version checks to ensure tighter validation or setting expectations. # noqa: E501 + + :return: The version of this CoreRuntimeMetadata. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this CoreRuntimeMetadata. + + Version of the runtime. All versions should be backward compatible. However, certain cases call for version checks to ensure tighter validation or setting expectations. # noqa: E501 + + :param version: The version of this CoreRuntimeMetadata. # noqa: E501 + :type: str + """ + + self._version = version + + @property + def flavor(self): + """Gets the flavor of this CoreRuntimeMetadata. # noqa: E501 + + +optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.). # noqa: E501 + + :return: The flavor of this CoreRuntimeMetadata. # noqa: E501 + :rtype: str + """ + return self._flavor + + @flavor.setter + def flavor(self, flavor): + """Sets the flavor of this CoreRuntimeMetadata. + + +optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.). # noqa: E501 + + :param flavor: The flavor of this CoreRuntimeMetadata. # noqa: E501 + :type: str + """ + + self._flavor = flavor + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreRuntimeMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreRuntimeMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_scalar.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_scalar.py new file mode 100644 index 000000000..2de23ef35 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_scalar.py @@ -0,0 +1,333 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_binary import CoreBinary # noqa: F401,E501 +from flyteadmin.models.core_blob import CoreBlob # noqa: F401,E501 +from flyteadmin.models.core_error import CoreError # noqa: F401,E501 +from flyteadmin.models.core_primitive import CorePrimitive # noqa: F401,E501 +from flyteadmin.models.core_structured_dataset import CoreStructuredDataset # noqa: F401,E501 +from flyteadmin.models.core_union import CoreUnion # noqa: F401,E501 +from flyteadmin.models.core_void import CoreVoid # noqa: F401,E501 +from flyteadmin.models.flyteidlcore_schema import FlyteidlcoreSchema # noqa: F401,E501 +from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 + + +class CoreScalar(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'primitive': 'CorePrimitive', + 'blob': 'CoreBlob', + 'binary': 'CoreBinary', + 'schema': 'FlyteidlcoreSchema', + 'none_type': 'CoreVoid', + 'error': 'CoreError', + 'generic': 'ProtobufStruct', + 'structured_dataset': 'CoreStructuredDataset', + 'union': 'CoreUnion' + } + + attribute_map = { + 'primitive': 'primitive', + 'blob': 'blob', + 'binary': 'binary', + 'schema': 'schema', + 'none_type': 'none_type', + 'error': 'error', + 'generic': 'generic', + 'structured_dataset': 'structured_dataset', + 'union': 'union' + } + + def __init__(self, primitive=None, blob=None, binary=None, schema=None, none_type=None, error=None, generic=None, structured_dataset=None, union=None): # noqa: E501 + """CoreScalar - a model defined in Swagger""" # noqa: E501 + + self._primitive = None + self._blob = None + self._binary = None + self._schema = None + self._none_type = None + self._error = None + self._generic = None + self._structured_dataset = None + self._union = None + self.discriminator = None + + if primitive is not None: + self.primitive = primitive + if blob is not None: + self.blob = blob + if binary is not None: + self.binary = binary + if schema is not None: + self.schema = schema + if none_type is not None: + self.none_type = none_type + if error is not None: + self.error = error + if generic is not None: + self.generic = generic + if structured_dataset is not None: + self.structured_dataset = structured_dataset + if union is not None: + self.union = union + + @property + def primitive(self): + """Gets the primitive of this CoreScalar. # noqa: E501 + + + :return: The primitive of this CoreScalar. # noqa: E501 + :rtype: CorePrimitive + """ + return self._primitive + + @primitive.setter + def primitive(self, primitive): + """Sets the primitive of this CoreScalar. + + + :param primitive: The primitive of this CoreScalar. # noqa: E501 + :type: CorePrimitive + """ + + self._primitive = primitive + + @property + def blob(self): + """Gets the blob of this CoreScalar. # noqa: E501 + + + :return: The blob of this CoreScalar. # noqa: E501 + :rtype: CoreBlob + """ + return self._blob + + @blob.setter + def blob(self, blob): + """Sets the blob of this CoreScalar. + + + :param blob: The blob of this CoreScalar. # noqa: E501 + :type: CoreBlob + """ + + self._blob = blob + + @property + def binary(self): + """Gets the binary of this CoreScalar. # noqa: E501 + + + :return: The binary of this CoreScalar. # noqa: E501 + :rtype: CoreBinary + """ + return self._binary + + @binary.setter + def binary(self, binary): + """Sets the binary of this CoreScalar. + + + :param binary: The binary of this CoreScalar. # noqa: E501 + :type: CoreBinary + """ + + self._binary = binary + + @property + def schema(self): + """Gets the schema of this CoreScalar. # noqa: E501 + + + :return: The schema of this CoreScalar. # noqa: E501 + :rtype: FlyteidlcoreSchema + """ + return self._schema + + @schema.setter + def schema(self, schema): + """Sets the schema of this CoreScalar. + + + :param schema: The schema of this CoreScalar. # noqa: E501 + :type: FlyteidlcoreSchema + """ + + self._schema = schema + + @property + def none_type(self): + """Gets the none_type of this CoreScalar. # noqa: E501 + + + :return: The none_type of this CoreScalar. # noqa: E501 + :rtype: CoreVoid + """ + return self._none_type + + @none_type.setter + def none_type(self, none_type): + """Sets the none_type of this CoreScalar. + + + :param none_type: The none_type of this CoreScalar. # noqa: E501 + :type: CoreVoid + """ + + self._none_type = none_type + + @property + def error(self): + """Gets the error of this CoreScalar. # noqa: E501 + + + :return: The error of this CoreScalar. # noqa: E501 + :rtype: CoreError + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this CoreScalar. + + + :param error: The error of this CoreScalar. # noqa: E501 + :type: CoreError + """ + + self._error = error + + @property + def generic(self): + """Gets the generic of this CoreScalar. # noqa: E501 + + + :return: The generic of this CoreScalar. # noqa: E501 + :rtype: ProtobufStruct + """ + return self._generic + + @generic.setter + def generic(self, generic): + """Sets the generic of this CoreScalar. + + + :param generic: The generic of this CoreScalar. # noqa: E501 + :type: ProtobufStruct + """ + + self._generic = generic + + @property + def structured_dataset(self): + """Gets the structured_dataset of this CoreScalar. # noqa: E501 + + + :return: The structured_dataset of this CoreScalar. # noqa: E501 + :rtype: CoreStructuredDataset + """ + return self._structured_dataset + + @structured_dataset.setter + def structured_dataset(self, structured_dataset): + """Sets the structured_dataset of this CoreScalar. + + + :param structured_dataset: The structured_dataset of this CoreScalar. # noqa: E501 + :type: CoreStructuredDataset + """ + + self._structured_dataset = structured_dataset + + @property + def union(self): + """Gets the union of this CoreScalar. # noqa: E501 + + + :return: The union of this CoreScalar. # noqa: E501 + :rtype: CoreUnion + """ + return self._union + + @union.setter + def union(self, union): + """Sets the union of this CoreScalar. + + + :param union: The union of this CoreScalar. # noqa: E501 + :type: CoreUnion + """ + + self._union = union + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreScalar, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreScalar): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema_type.py new file mode 100644 index 000000000..679e617a9 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema_type.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.schema_type_schema_column import SchemaTypeSchemaColumn # noqa: F401,E501 + + +class CoreSchemaType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'columns': 'list[SchemaTypeSchemaColumn]' + } + + attribute_map = { + 'columns': 'columns' + } + + def __init__(self, columns=None): # noqa: E501 + """CoreSchemaType - a model defined in Swagger""" # noqa: E501 + + self._columns = None + self.discriminator = None + + if columns is not None: + self.columns = columns + + @property + def columns(self): + """Gets the columns of this CoreSchemaType. # noqa: E501 + + A list of ordered columns this schema comprises of. # noqa: E501 + + :return: The columns of this CoreSchemaType. # noqa: E501 + :rtype: list[SchemaTypeSchemaColumn] + """ + return self._columns + + @columns.setter + def columns(self, columns): + """Sets the columns of this CoreSchemaType. + + A list of ordered columns this schema comprises of. # noqa: E501 + + :param columns: The columns of this CoreSchemaType. # noqa: E501 + :type: list[SchemaTypeSchemaColumn] + """ + + self._columns = columns + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreSchemaType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreSchemaType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_secret.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_secret.py new file mode 100644 index 000000000..378c51c4b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_secret.py @@ -0,0 +1,195 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.secret_mount_type import SecretMountType # noqa: F401,E501 + + +class CoreSecret(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'group': 'str', + 'group_version': 'str', + 'key': 'str', + 'mount_requirement': 'SecretMountType' + } + + attribute_map = { + 'group': 'group', + 'group_version': 'group_version', + 'key': 'key', + 'mount_requirement': 'mount_requirement' + } + + def __init__(self, group=None, group_version=None, key=None, mount_requirement=None): # noqa: E501 + """CoreSecret - a model defined in Swagger""" # noqa: E501 + + self._group = None + self._group_version = None + self._key = None + self._mount_requirement = None + self.discriminator = None + + if group is not None: + self.group = group + if group_version is not None: + self.group_version = group_version + if key is not None: + self.key = key + if mount_requirement is not None: + self.mount_requirement = mount_requirement + + @property + def group(self): + """Gets the group of this CoreSecret. # noqa: E501 + + + :return: The group of this CoreSecret. # noqa: E501 + :rtype: str + """ + return self._group + + @group.setter + def group(self, group): + """Sets the group of this CoreSecret. + + + :param group: The group of this CoreSecret. # noqa: E501 + :type: str + """ + + self._group = group + + @property + def group_version(self): + """Gets the group_version of this CoreSecret. # noqa: E501 + + + :return: The group_version of this CoreSecret. # noqa: E501 + :rtype: str + """ + return self._group_version + + @group_version.setter + def group_version(self, group_version): + """Sets the group_version of this CoreSecret. + + + :param group_version: The group_version of this CoreSecret. # noqa: E501 + :type: str + """ + + self._group_version = group_version + + @property + def key(self): + """Gets the key of this CoreSecret. # noqa: E501 + + + :return: The key of this CoreSecret. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this CoreSecret. + + + :param key: The key of this CoreSecret. # noqa: E501 + :type: str + """ + + self._key = key + + @property + def mount_requirement(self): + """Gets the mount_requirement of this CoreSecret. # noqa: E501 + + + :return: The mount_requirement of this CoreSecret. # noqa: E501 + :rtype: SecretMountType + """ + return self._mount_requirement + + @mount_requirement.setter + def mount_requirement(self, mount_requirement): + """Sets the mount_requirement of this CoreSecret. + + + :param mount_requirement: The mount_requirement of this CoreSecret. # noqa: E501 + :type: SecretMountType + """ + + self._mount_requirement = mount_requirement + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreSecret, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreSecret): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_security_context.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_security_context.py new file mode 100644 index 000000000..c6df3b44f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_security_context.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_identity import CoreIdentity # noqa: F401,E501 +from flyteadmin.models.core_o_auth2_token_request import CoreOAuth2TokenRequest # noqa: F401,E501 +from flyteadmin.models.core_secret import CoreSecret # noqa: F401,E501 + + +class CoreSecurityContext(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'run_as': 'CoreIdentity', + 'secrets': 'list[CoreSecret]', + 'tokens': 'list[CoreOAuth2TokenRequest]' + } + + attribute_map = { + 'run_as': 'run_as', + 'secrets': 'secrets', + 'tokens': 'tokens' + } + + def __init__(self, run_as=None, secrets=None, tokens=None): # noqa: E501 + """CoreSecurityContext - a model defined in Swagger""" # noqa: E501 + + self._run_as = None + self._secrets = None + self._tokens = None + self.discriminator = None + + if run_as is not None: + self.run_as = run_as + if secrets is not None: + self.secrets = secrets + if tokens is not None: + self.tokens = tokens + + @property + def run_as(self): + """Gets the run_as of this CoreSecurityContext. # noqa: E501 + + run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on. # noqa: E501 + + :return: The run_as of this CoreSecurityContext. # noqa: E501 + :rtype: CoreIdentity + """ + return self._run_as + + @run_as.setter + def run_as(self, run_as): + """Sets the run_as of this CoreSecurityContext. + + run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on. # noqa: E501 + + :param run_as: The run_as of this CoreSecurityContext. # noqa: E501 + :type: CoreIdentity + """ + + self._run_as = run_as + + @property + def secrets(self): + """Gets the secrets of this CoreSecurityContext. # noqa: E501 + + secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. # noqa: E501 + + :return: The secrets of this CoreSecurityContext. # noqa: E501 + :rtype: list[CoreSecret] + """ + return self._secrets + + @secrets.setter + def secrets(self, secrets): + """Sets the secrets of this CoreSecurityContext. + + secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. # noqa: E501 + + :param secrets: The secrets of this CoreSecurityContext. # noqa: E501 + :type: list[CoreSecret] + """ + + self._secrets = secrets + + @property + def tokens(self): + """Gets the tokens of this CoreSecurityContext. # noqa: E501 + + tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. # noqa: E501 + + :return: The tokens of this CoreSecurityContext. # noqa: E501 + :rtype: list[CoreOAuth2TokenRequest] + """ + return self._tokens + + @tokens.setter + def tokens(self, tokens): + """Sets the tokens of this CoreSecurityContext. + + tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. # noqa: E501 + + :param tokens: The tokens of this CoreSecurityContext. # noqa: E501 + :type: list[CoreOAuth2TokenRequest] + """ + + self._tokens = tokens + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreSecurityContext, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreSecurityContext): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_simple_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_simple_type.py new file mode 100644 index 000000000..1a98e893f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_simple_type.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreSimpleType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + NONE = "NONE" + INTEGER = "INTEGER" + FLOAT = "FLOAT" + STRING = "STRING" + BOOLEAN = "BOOLEAN" + DATETIME = "DATETIME" + DURATION = "DURATION" + BINARY = "BINARY" + ERROR = "ERROR" + STRUCT = "STRUCT" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """CoreSimpleType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreSimpleType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreSimpleType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sql.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sql.py new file mode 100644 index 000000000..e688a0836 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sql.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.sql_dialect import SqlDialect # noqa: F401,E501 + + +class CoreSql(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'statement': 'str', + 'dialect': 'SqlDialect' + } + + attribute_map = { + 'statement': 'statement', + 'dialect': 'dialect' + } + + def __init__(self, statement=None, dialect=None): # noqa: E501 + """CoreSql - a model defined in Swagger""" # noqa: E501 + + self._statement = None + self._dialect = None + self.discriminator = None + + if statement is not None: + self.statement = statement + if dialect is not None: + self.dialect = dialect + + @property + def statement(self): + """Gets the statement of this CoreSql. # noqa: E501 + + + :return: The statement of this CoreSql. # noqa: E501 + :rtype: str + """ + return self._statement + + @statement.setter + def statement(self, statement): + """Sets the statement of this CoreSql. + + + :param statement: The statement of this CoreSql. # noqa: E501 + :type: str + """ + + self._statement = statement + + @property + def dialect(self): + """Gets the dialect of this CoreSql. # noqa: E501 + + + :return: The dialect of this CoreSql. # noqa: E501 + :rtype: SqlDialect + """ + return self._dialect + + @dialect.setter + def dialect(self, dialect): + """Sets the dialect of this CoreSql. + + + :param dialect: The dialect of this CoreSql. # noqa: E501 + :type: SqlDialect + """ + + self._dialect = dialect + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreSql, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreSql): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset.py new file mode 100644 index 000000000..af3e3c7a0 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata # noqa: F401,E501 + + +class CoreStructuredDataset(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'uri': 'str', + 'metadata': 'CoreStructuredDatasetMetadata' + } + + attribute_map = { + 'uri': 'uri', + 'metadata': 'metadata' + } + + def __init__(self, uri=None, metadata=None): # noqa: E501 + """CoreStructuredDataset - a model defined in Swagger""" # noqa: E501 + + self._uri = None + self._metadata = None + self.discriminator = None + + if uri is not None: + self.uri = uri + if metadata is not None: + self.metadata = metadata + + @property + def uri(self): + """Gets the uri of this CoreStructuredDataset. # noqa: E501 + + + :return: The uri of this CoreStructuredDataset. # noqa: E501 + :rtype: str + """ + return self._uri + + @uri.setter + def uri(self, uri): + """Sets the uri of this CoreStructuredDataset. + + + :param uri: The uri of this CoreStructuredDataset. # noqa: E501 + :type: str + """ + + self._uri = uri + + @property + def metadata(self): + """Gets the metadata of this CoreStructuredDataset. # noqa: E501 + + + :return: The metadata of this CoreStructuredDataset. # noqa: E501 + :rtype: CoreStructuredDatasetMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this CoreStructuredDataset. + + + :param metadata: The metadata of this CoreStructuredDataset. # noqa: E501 + :type: CoreStructuredDatasetMetadata + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreStructuredDataset, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreStructuredDataset): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_metadata.py new file mode 100644 index 000000000..100da8fd5 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_metadata.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType # noqa: F401,E501 + + +class CoreStructuredDatasetMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'structured_dataset_type': 'CoreStructuredDatasetType' + } + + attribute_map = { + 'structured_dataset_type': 'structured_dataset_type' + } + + def __init__(self, structured_dataset_type=None): # noqa: E501 + """CoreStructuredDatasetMetadata - a model defined in Swagger""" # noqa: E501 + + self._structured_dataset_type = None + self.discriminator = None + + if structured_dataset_type is not None: + self.structured_dataset_type = structured_dataset_type + + @property + def structured_dataset_type(self): + """Gets the structured_dataset_type of this CoreStructuredDatasetMetadata. # noqa: E501 + + Bundle the type information along with the literal. This is here because StructuredDatasets can often be more defined at run time than at compile time. That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset, without any column information, but at run time, you might have that column information. flytekit python will copy this type information into the literal, from the type information, if not provided by the various plugins (encoders). Since this field is run time generated, it's not used for any type checking. # noqa: E501 + + :return: The structured_dataset_type of this CoreStructuredDatasetMetadata. # noqa: E501 + :rtype: CoreStructuredDatasetType + """ + return self._structured_dataset_type + + @structured_dataset_type.setter + def structured_dataset_type(self, structured_dataset_type): + """Sets the structured_dataset_type of this CoreStructuredDatasetMetadata. + + Bundle the type information along with the literal. This is here because StructuredDatasets can often be more defined at run time than at compile time. That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset, without any column information, but at run time, you might have that column information. flytekit python will copy this type information into the literal, from the type information, if not provided by the various plugins (encoders). Since this field is run time generated, it's not used for any type checking. # noqa: E501 + + :param structured_dataset_type: The structured_dataset_type of this CoreStructuredDatasetMetadata. # noqa: E501 + :type: CoreStructuredDatasetType + """ + + self._structured_dataset_type = structured_dataset_type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreStructuredDatasetMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreStructuredDatasetMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_type.py new file mode 100644 index 000000000..86e742794 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_type.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.structured_dataset_type_dataset_column import StructuredDatasetTypeDatasetColumn # noqa: F401,E501 + + +class CoreStructuredDatasetType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'columns': 'list[StructuredDatasetTypeDatasetColumn]', + 'format': 'str', + 'external_schema_type': 'str', + 'external_schema_bytes': 'str' + } + + attribute_map = { + 'columns': 'columns', + 'format': 'format', + 'external_schema_type': 'external_schema_type', + 'external_schema_bytes': 'external_schema_bytes' + } + + def __init__(self, columns=None, format=None, external_schema_type=None, external_schema_bytes=None): # noqa: E501 + """CoreStructuredDatasetType - a model defined in Swagger""" # noqa: E501 + + self._columns = None + self._format = None + self._external_schema_type = None + self._external_schema_bytes = None + self.discriminator = None + + if columns is not None: + self.columns = columns + if format is not None: + self.format = format + if external_schema_type is not None: + self.external_schema_type = external_schema_type + if external_schema_bytes is not None: + self.external_schema_bytes = external_schema_bytes + + @property + def columns(self): + """Gets the columns of this CoreStructuredDatasetType. # noqa: E501 + + A list of ordered columns this schema comprises of. # noqa: E501 + + :return: The columns of this CoreStructuredDatasetType. # noqa: E501 + :rtype: list[StructuredDatasetTypeDatasetColumn] + """ + return self._columns + + @columns.setter + def columns(self, columns): + """Sets the columns of this CoreStructuredDatasetType. + + A list of ordered columns this schema comprises of. # noqa: E501 + + :param columns: The columns of this CoreStructuredDatasetType. # noqa: E501 + :type: list[StructuredDatasetTypeDatasetColumn] + """ + + self._columns = columns + + @property + def format(self): + """Gets the format of this CoreStructuredDatasetType. # noqa: E501 + + This is the storage format, the format of the bits at rest parquet, feather, csv, etc. For two types to be compatible, the format will need to be an exact match. # noqa: E501 + + :return: The format of this CoreStructuredDatasetType. # noqa: E501 + :rtype: str + """ + return self._format + + @format.setter + def format(self, format): + """Sets the format of this CoreStructuredDatasetType. + + This is the storage format, the format of the bits at rest parquet, feather, csv, etc. For two types to be compatible, the format will need to be an exact match. # noqa: E501 + + :param format: The format of this CoreStructuredDatasetType. # noqa: E501 + :type: str + """ + + self._format = format + + @property + def external_schema_type(self): + """Gets the external_schema_type of this CoreStructuredDatasetType. # noqa: E501 + + This is a string representing the type that the bytes in external_schema_bytes are formatted in. This is an optional field that will not be used for type checking. # noqa: E501 + + :return: The external_schema_type of this CoreStructuredDatasetType. # noqa: E501 + :rtype: str + """ + return self._external_schema_type + + @external_schema_type.setter + def external_schema_type(self, external_schema_type): + """Sets the external_schema_type of this CoreStructuredDatasetType. + + This is a string representing the type that the bytes in external_schema_bytes are formatted in. This is an optional field that will not be used for type checking. # noqa: E501 + + :param external_schema_type: The external_schema_type of this CoreStructuredDatasetType. # noqa: E501 + :type: str + """ + + self._external_schema_type = external_schema_type + + @property + def external_schema_bytes(self): + """Gets the external_schema_bytes of this CoreStructuredDatasetType. # noqa: E501 + + The serialized bytes of a third-party schema library like Arrow. This is an optional field that will not be used for type checking. # noqa: E501 + + :return: The external_schema_bytes of this CoreStructuredDatasetType. # noqa: E501 + :rtype: str + """ + return self._external_schema_bytes + + @external_schema_bytes.setter + def external_schema_bytes(self, external_schema_bytes): + """Sets the external_schema_bytes of this CoreStructuredDatasetType. + + The serialized bytes of a third-party schema library like Arrow. This is an optional field that will not be used for type checking. # noqa: E501 + + :param external_schema_bytes: The external_schema_bytes of this CoreStructuredDatasetType. # noqa: E501 + :type: str + """ + if external_schema_bytes is not None and not re.search(r'^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', external_schema_bytes): # noqa: E501 + raise ValueError(r"Invalid value for `external_schema_bytes`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") # noqa: E501 + + self._external_schema_bytes = external_schema_bytes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreStructuredDatasetType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreStructuredDatasetType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_identifier.py new file mode 100644 index 000000000..766ccccee --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_identifier.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 +from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 + + +class CoreTaskExecutionIdentifier(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'task_id': 'CoreIdentifier', + 'node_execution_id': 'CoreNodeExecutionIdentifier', + 'retry_attempt': 'int' + } + + attribute_map = { + 'task_id': 'task_id', + 'node_execution_id': 'node_execution_id', + 'retry_attempt': 'retry_attempt' + } + + def __init__(self, task_id=None, node_execution_id=None, retry_attempt=None): # noqa: E501 + """CoreTaskExecutionIdentifier - a model defined in Swagger""" # noqa: E501 + + self._task_id = None + self._node_execution_id = None + self._retry_attempt = None + self.discriminator = None + + if task_id is not None: + self.task_id = task_id + if node_execution_id is not None: + self.node_execution_id = node_execution_id + if retry_attempt is not None: + self.retry_attempt = retry_attempt + + @property + def task_id(self): + """Gets the task_id of this CoreTaskExecutionIdentifier. # noqa: E501 + + + :return: The task_id of this CoreTaskExecutionIdentifier. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._task_id + + @task_id.setter + def task_id(self, task_id): + """Sets the task_id of this CoreTaskExecutionIdentifier. + + + :param task_id: The task_id of this CoreTaskExecutionIdentifier. # noqa: E501 + :type: CoreIdentifier + """ + + self._task_id = task_id + + @property + def node_execution_id(self): + """Gets the node_execution_id of this CoreTaskExecutionIdentifier. # noqa: E501 + + + :return: The node_execution_id of this CoreTaskExecutionIdentifier. # noqa: E501 + :rtype: CoreNodeExecutionIdentifier + """ + return self._node_execution_id + + @node_execution_id.setter + def node_execution_id(self, node_execution_id): + """Sets the node_execution_id of this CoreTaskExecutionIdentifier. + + + :param node_execution_id: The node_execution_id of this CoreTaskExecutionIdentifier. # noqa: E501 + :type: CoreNodeExecutionIdentifier + """ + + self._node_execution_id = node_execution_id + + @property + def retry_attempt(self): + """Gets the retry_attempt of this CoreTaskExecutionIdentifier. # noqa: E501 + + + :return: The retry_attempt of this CoreTaskExecutionIdentifier. # noqa: E501 + :rtype: int + """ + return self._retry_attempt + + @retry_attempt.setter + def retry_attempt(self, retry_attempt): + """Sets the retry_attempt of this CoreTaskExecutionIdentifier. + + + :param retry_attempt: The retry_attempt of this CoreTaskExecutionIdentifier. # noqa: E501 + :type: int + """ + + self._retry_attempt = retry_attempt + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreTaskExecutionIdentifier, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreTaskExecutionIdentifier): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_phase.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_phase.py new file mode 100644 index 000000000..5a8dbce0d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_phase.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreTaskExecutionPhase(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UNDEFINED = "UNDEFINED" + QUEUED = "QUEUED" + RUNNING = "RUNNING" + SUCCEEDED = "SUCCEEDED" + ABORTED = "ABORTED" + FAILED = "FAILED" + INITIALIZING = "INITIALIZING" + WAITING_FOR_RESOURCES = "WAITING_FOR_RESOURCES" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """CoreTaskExecutionPhase - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreTaskExecutionPhase, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreTaskExecutionPhase): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_log.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_log.py new file mode 100644 index 000000000..a219028ae --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_log.py @@ -0,0 +1,195 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.task_log_message_format import TaskLogMessageFormat # noqa: F401,E501 + + +class CoreTaskLog(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'uri': 'str', + 'name': 'str', + 'message_format': 'TaskLogMessageFormat', + 'ttl': 'str' + } + + attribute_map = { + 'uri': 'uri', + 'name': 'name', + 'message_format': 'message_format', + 'ttl': 'ttl' + } + + def __init__(self, uri=None, name=None, message_format=None, ttl=None): # noqa: E501 + """CoreTaskLog - a model defined in Swagger""" # noqa: E501 + + self._uri = None + self._name = None + self._message_format = None + self._ttl = None + self.discriminator = None + + if uri is not None: + self.uri = uri + if name is not None: + self.name = name + if message_format is not None: + self.message_format = message_format + if ttl is not None: + self.ttl = ttl + + @property + def uri(self): + """Gets the uri of this CoreTaskLog. # noqa: E501 + + + :return: The uri of this CoreTaskLog. # noqa: E501 + :rtype: str + """ + return self._uri + + @uri.setter + def uri(self, uri): + """Sets the uri of this CoreTaskLog. + + + :param uri: The uri of this CoreTaskLog. # noqa: E501 + :type: str + """ + + self._uri = uri + + @property + def name(self): + """Gets the name of this CoreTaskLog. # noqa: E501 + + + :return: The name of this CoreTaskLog. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CoreTaskLog. + + + :param name: The name of this CoreTaskLog. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def message_format(self): + """Gets the message_format of this CoreTaskLog. # noqa: E501 + + + :return: The message_format of this CoreTaskLog. # noqa: E501 + :rtype: TaskLogMessageFormat + """ + return self._message_format + + @message_format.setter + def message_format(self, message_format): + """Sets the message_format of this CoreTaskLog. + + + :param message_format: The message_format of this CoreTaskLog. # noqa: E501 + :type: TaskLogMessageFormat + """ + + self._message_format = message_format + + @property + def ttl(self): + """Gets the ttl of this CoreTaskLog. # noqa: E501 + + + :return: The ttl of this CoreTaskLog. # noqa: E501 + :rtype: str + """ + return self._ttl + + @ttl.setter + def ttl(self, ttl): + """Sets the ttl of this CoreTaskLog. + + + :param ttl: The ttl of this CoreTaskLog. # noqa: E501 + :type: str + """ + + self._ttl = ttl + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreTaskLog, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreTaskLog): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_metadata.py new file mode 100644 index 000000000..f270005d6 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_metadata.py @@ -0,0 +1,312 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_retry_strategy import CoreRetryStrategy # noqa: F401,E501 +from flyteadmin.models.core_runtime_metadata import CoreRuntimeMetadata # noqa: F401,E501 + + +class CoreTaskMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'discoverable': 'bool', + 'runtime': 'CoreRuntimeMetadata', + 'timeout': 'str', + 'retries': 'CoreRetryStrategy', + 'discovery_version': 'str', + 'deprecated_error_message': 'str', + 'interruptible': 'bool', + 'cache_serializable': 'bool' + } + + attribute_map = { + 'discoverable': 'discoverable', + 'runtime': 'runtime', + 'timeout': 'timeout', + 'retries': 'retries', + 'discovery_version': 'discovery_version', + 'deprecated_error_message': 'deprecated_error_message', + 'interruptible': 'interruptible', + 'cache_serializable': 'cache_serializable' + } + + def __init__(self, discoverable=None, runtime=None, timeout=None, retries=None, discovery_version=None, deprecated_error_message=None, interruptible=None, cache_serializable=None): # noqa: E501 + """CoreTaskMetadata - a model defined in Swagger""" # noqa: E501 + + self._discoverable = None + self._runtime = None + self._timeout = None + self._retries = None + self._discovery_version = None + self._deprecated_error_message = None + self._interruptible = None + self._cache_serializable = None + self.discriminator = None + + if discoverable is not None: + self.discoverable = discoverable + if runtime is not None: + self.runtime = runtime + if timeout is not None: + self.timeout = timeout + if retries is not None: + self.retries = retries + if discovery_version is not None: + self.discovery_version = discovery_version + if deprecated_error_message is not None: + self.deprecated_error_message = deprecated_error_message + if interruptible is not None: + self.interruptible = interruptible + if cache_serializable is not None: + self.cache_serializable = cache_serializable + + @property + def discoverable(self): + """Gets the discoverable of this CoreTaskMetadata. # noqa: E501 + + Indicates whether the system should attempt to lookup this task's output to avoid duplication of work. # noqa: E501 + + :return: The discoverable of this CoreTaskMetadata. # noqa: E501 + :rtype: bool + """ + return self._discoverable + + @discoverable.setter + def discoverable(self, discoverable): + """Sets the discoverable of this CoreTaskMetadata. + + Indicates whether the system should attempt to lookup this task's output to avoid duplication of work. # noqa: E501 + + :param discoverable: The discoverable of this CoreTaskMetadata. # noqa: E501 + :type: bool + """ + + self._discoverable = discoverable + + @property + def runtime(self): + """Gets the runtime of this CoreTaskMetadata. # noqa: E501 + + Runtime information about the task. # noqa: E501 + + :return: The runtime of this CoreTaskMetadata. # noqa: E501 + :rtype: CoreRuntimeMetadata + """ + return self._runtime + + @runtime.setter + def runtime(self, runtime): + """Sets the runtime of this CoreTaskMetadata. + + Runtime information about the task. # noqa: E501 + + :param runtime: The runtime of this CoreTaskMetadata. # noqa: E501 + :type: CoreRuntimeMetadata + """ + + self._runtime = runtime + + @property + def timeout(self): + """Gets the timeout of this CoreTaskMetadata. # noqa: E501 + + The overall timeout of a task including user-triggered retries. # noqa: E501 + + :return: The timeout of this CoreTaskMetadata. # noqa: E501 + :rtype: str + """ + return self._timeout + + @timeout.setter + def timeout(self, timeout): + """Sets the timeout of this CoreTaskMetadata. + + The overall timeout of a task including user-triggered retries. # noqa: E501 + + :param timeout: The timeout of this CoreTaskMetadata. # noqa: E501 + :type: str + """ + + self._timeout = timeout + + @property + def retries(self): + """Gets the retries of this CoreTaskMetadata. # noqa: E501 + + Number of retries per task. # noqa: E501 + + :return: The retries of this CoreTaskMetadata. # noqa: E501 + :rtype: CoreRetryStrategy + """ + return self._retries + + @retries.setter + def retries(self, retries): + """Sets the retries of this CoreTaskMetadata. + + Number of retries per task. # noqa: E501 + + :param retries: The retries of this CoreTaskMetadata. # noqa: E501 + :type: CoreRetryStrategy + """ + + self._retries = retries + + @property + def discovery_version(self): + """Gets the discovery_version of this CoreTaskMetadata. # noqa: E501 + + Indicates a logical version to apply to this task for the purpose of discovery. # noqa: E501 + + :return: The discovery_version of this CoreTaskMetadata. # noqa: E501 + :rtype: str + """ + return self._discovery_version + + @discovery_version.setter + def discovery_version(self, discovery_version): + """Sets the discovery_version of this CoreTaskMetadata. + + Indicates a logical version to apply to this task for the purpose of discovery. # noqa: E501 + + :param discovery_version: The discovery_version of this CoreTaskMetadata. # noqa: E501 + :type: str + """ + + self._discovery_version = discovery_version + + @property + def deprecated_error_message(self): + """Gets the deprecated_error_message of this CoreTaskMetadata. # noqa: E501 + + If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task. # noqa: E501 + + :return: The deprecated_error_message of this CoreTaskMetadata. # noqa: E501 + :rtype: str + """ + return self._deprecated_error_message + + @deprecated_error_message.setter + def deprecated_error_message(self, deprecated_error_message): + """Sets the deprecated_error_message of this CoreTaskMetadata. + + If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task. # noqa: E501 + + :param deprecated_error_message: The deprecated_error_message of this CoreTaskMetadata. # noqa: E501 + :type: str + """ + + self._deprecated_error_message = deprecated_error_message + + @property + def interruptible(self): + """Gets the interruptible of this CoreTaskMetadata. # noqa: E501 + + + :return: The interruptible of this CoreTaskMetadata. # noqa: E501 + :rtype: bool + """ + return self._interruptible + + @interruptible.setter + def interruptible(self, interruptible): + """Sets the interruptible of this CoreTaskMetadata. + + + :param interruptible: The interruptible of this CoreTaskMetadata. # noqa: E501 + :type: bool + """ + + self._interruptible = interruptible + + @property + def cache_serializable(self): + """Gets the cache_serializable of this CoreTaskMetadata. # noqa: E501 + + + :return: The cache_serializable of this CoreTaskMetadata. # noqa: E501 + :rtype: bool + """ + return self._cache_serializable + + @cache_serializable.setter + def cache_serializable(self, cache_serializable): + """Sets the cache_serializable of this CoreTaskMetadata. + + + :param cache_serializable: The cache_serializable of this CoreTaskMetadata. # noqa: E501 + :type: bool + """ + + self._cache_serializable = cache_serializable + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreTaskMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreTaskMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node.py new file mode 100644 index 000000000..db307f740 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 +from flyteadmin.models.core_task_node_overrides import CoreTaskNodeOverrides # noqa: F401,E501 + + +class CoreTaskNode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'reference_id': 'CoreIdentifier', + 'overrides': 'CoreTaskNodeOverrides' + } + + attribute_map = { + 'reference_id': 'reference_id', + 'overrides': 'overrides' + } + + def __init__(self, reference_id=None, overrides=None): # noqa: E501 + """CoreTaskNode - a model defined in Swagger""" # noqa: E501 + + self._reference_id = None + self._overrides = None + self.discriminator = None + + if reference_id is not None: + self.reference_id = reference_id + if overrides is not None: + self.overrides = overrides + + @property + def reference_id(self): + """Gets the reference_id of this CoreTaskNode. # noqa: E501 + + A globally unique identifier for the task. # noqa: E501 + + :return: The reference_id of this CoreTaskNode. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._reference_id + + @reference_id.setter + def reference_id(self, reference_id): + """Sets the reference_id of this CoreTaskNode. + + A globally unique identifier for the task. # noqa: E501 + + :param reference_id: The reference_id of this CoreTaskNode. # noqa: E501 + :type: CoreIdentifier + """ + + self._reference_id = reference_id + + @property + def overrides(self): + """Gets the overrides of this CoreTaskNode. # noqa: E501 + + Optional overrides applied at task execution time. # noqa: E501 + + :return: The overrides of this CoreTaskNode. # noqa: E501 + :rtype: CoreTaskNodeOverrides + """ + return self._overrides + + @overrides.setter + def overrides(self, overrides): + """Sets the overrides of this CoreTaskNode. + + Optional overrides applied at task execution time. # noqa: E501 + + :param overrides: The overrides of this CoreTaskNode. # noqa: E501 + :type: CoreTaskNodeOverrides + """ + + self._overrides = overrides + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreTaskNode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreTaskNode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node_overrides.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node_overrides.py new file mode 100644 index 000000000..7320a6d6e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node_overrides.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_resources import CoreResources # noqa: F401,E501 + + +class CoreTaskNodeOverrides(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'resources': 'CoreResources' + } + + attribute_map = { + 'resources': 'resources' + } + + def __init__(self, resources=None): # noqa: E501 + """CoreTaskNodeOverrides - a model defined in Swagger""" # noqa: E501 + + self._resources = None + self.discriminator = None + + if resources is not None: + self.resources = resources + + @property + def resources(self): + """Gets the resources of this CoreTaskNodeOverrides. # noqa: E501 + + A customizable interface to convey resources requested for a task container. # noqa: E501 + + :return: The resources of this CoreTaskNodeOverrides. # noqa: E501 + :rtype: CoreResources + """ + return self._resources + + @resources.setter + def resources(self, resources): + """Sets the resources of this CoreTaskNodeOverrides. + + A customizable interface to convey resources requested for a task container. # noqa: E501 + + :param resources: The resources of this CoreTaskNodeOverrides. # noqa: E501 + :type: CoreResources + """ + + self._resources = resources + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreTaskNodeOverrides, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreTaskNodeOverrides): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_template.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_template.py new file mode 100644 index 000000000..870777f99 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_template.py @@ -0,0 +1,398 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_container import CoreContainer # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 +from flyteadmin.models.core_k8s_pod import CoreK8sPod # noqa: F401,E501 +from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: F401,E501 +from flyteadmin.models.core_sql import CoreSql # noqa: F401,E501 +from flyteadmin.models.core_task_metadata import CoreTaskMetadata # noqa: F401,E501 +from flyteadmin.models.core_typed_interface import CoreTypedInterface # noqa: F401,E501 +from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 + + +class CoreTaskTemplate(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreIdentifier', + 'type': 'str', + 'metadata': 'CoreTaskMetadata', + 'interface': 'CoreTypedInterface', + 'custom': 'ProtobufStruct', + 'container': 'CoreContainer', + 'k8s_pod': 'CoreK8sPod', + 'sql': 'CoreSql', + 'task_type_version': 'int', + 'security_context': 'CoreSecurityContext', + 'config': 'dict(str, str)' + } + + attribute_map = { + 'id': 'id', + 'type': 'type', + 'metadata': 'metadata', + 'interface': 'interface', + 'custom': 'custom', + 'container': 'container', + 'k8s_pod': 'k8s_pod', + 'sql': 'sql', + 'task_type_version': 'task_type_version', + 'security_context': 'security_context', + 'config': 'config' + } + + def __init__(self, id=None, type=None, metadata=None, interface=None, custom=None, container=None, k8s_pod=None, sql=None, task_type_version=None, security_context=None, config=None): # noqa: E501 + """CoreTaskTemplate - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._type = None + self._metadata = None + self._interface = None + self._custom = None + self._container = None + self._k8s_pod = None + self._sql = None + self._task_type_version = None + self._security_context = None + self._config = None + self.discriminator = None + + if id is not None: + self.id = id + if type is not None: + self.type = type + if metadata is not None: + self.metadata = metadata + if interface is not None: + self.interface = interface + if custom is not None: + self.custom = custom + if container is not None: + self.container = container + if k8s_pod is not None: + self.k8s_pod = k8s_pod + if sql is not None: + self.sql = sql + if task_type_version is not None: + self.task_type_version = task_type_version + if security_context is not None: + self.security_context = security_context + if config is not None: + self.config = config + + @property + def id(self): + """Gets the id of this CoreTaskTemplate. # noqa: E501 + + Auto generated taskId by the system. Task Id uniquely identifies this task globally. # noqa: E501 + + :return: The id of this CoreTaskTemplate. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CoreTaskTemplate. + + Auto generated taskId by the system. Task Id uniquely identifies this task globally. # noqa: E501 + + :param id: The id of this CoreTaskTemplate. # noqa: E501 + :type: CoreIdentifier + """ + + self._id = id + + @property + def type(self): + """Gets the type of this CoreTaskTemplate. # noqa: E501 + + A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the implementation registered for the TaskCategory. # noqa: E501 + + :return: The type of this CoreTaskTemplate. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this CoreTaskTemplate. + + A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the implementation registered for the TaskCategory. # noqa: E501 + + :param type: The type of this CoreTaskTemplate. # noqa: E501 + :type: str + """ + + self._type = type + + @property + def metadata(self): + """Gets the metadata of this CoreTaskTemplate. # noqa: E501 + + Extra metadata about the task. # noqa: E501 + + :return: The metadata of this CoreTaskTemplate. # noqa: E501 + :rtype: CoreTaskMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this CoreTaskTemplate. + + Extra metadata about the task. # noqa: E501 + + :param metadata: The metadata of this CoreTaskTemplate. # noqa: E501 + :type: CoreTaskMetadata + """ + + self._metadata = metadata + + @property + def interface(self): + """Gets the interface of this CoreTaskTemplate. # noqa: E501 + + A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures. # noqa: E501 + + :return: The interface of this CoreTaskTemplate. # noqa: E501 + :rtype: CoreTypedInterface + """ + return self._interface + + @interface.setter + def interface(self, interface): + """Sets the interface of this CoreTaskTemplate. + + A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures. # noqa: E501 + + :param interface: The interface of this CoreTaskTemplate. # noqa: E501 + :type: CoreTypedInterface + """ + + self._interface = interface + + @property + def custom(self): + """Gets the custom of this CoreTaskTemplate. # noqa: E501 + + Custom data about the task. This is extensible to allow various plugins in the system. # noqa: E501 + + :return: The custom of this CoreTaskTemplate. # noqa: E501 + :rtype: ProtobufStruct + """ + return self._custom + + @custom.setter + def custom(self, custom): + """Sets the custom of this CoreTaskTemplate. + + Custom data about the task. This is extensible to allow various plugins in the system. # noqa: E501 + + :param custom: The custom of this CoreTaskTemplate. # noqa: E501 + :type: ProtobufStruct + """ + + self._custom = custom + + @property + def container(self): + """Gets the container of this CoreTaskTemplate. # noqa: E501 + + + :return: The container of this CoreTaskTemplate. # noqa: E501 + :rtype: CoreContainer + """ + return self._container + + @container.setter + def container(self, container): + """Sets the container of this CoreTaskTemplate. + + + :param container: The container of this CoreTaskTemplate. # noqa: E501 + :type: CoreContainer + """ + + self._container = container + + @property + def k8s_pod(self): + """Gets the k8s_pod of this CoreTaskTemplate. # noqa: E501 + + + :return: The k8s_pod of this CoreTaskTemplate. # noqa: E501 + :rtype: CoreK8sPod + """ + return self._k8s_pod + + @k8s_pod.setter + def k8s_pod(self, k8s_pod): + """Sets the k8s_pod of this CoreTaskTemplate. + + + :param k8s_pod: The k8s_pod of this CoreTaskTemplate. # noqa: E501 + :type: CoreK8sPod + """ + + self._k8s_pod = k8s_pod + + @property + def sql(self): + """Gets the sql of this CoreTaskTemplate. # noqa: E501 + + + :return: The sql of this CoreTaskTemplate. # noqa: E501 + :rtype: CoreSql + """ + return self._sql + + @sql.setter + def sql(self, sql): + """Sets the sql of this CoreTaskTemplate. + + + :param sql: The sql of this CoreTaskTemplate. # noqa: E501 + :type: CoreSql + """ + + self._sql = sql + + @property + def task_type_version(self): + """Gets the task_type_version of this CoreTaskTemplate. # noqa: E501 + + This can be used to customize task handling at execution time for the same task type. # noqa: E501 + + :return: The task_type_version of this CoreTaskTemplate. # noqa: E501 + :rtype: int + """ + return self._task_type_version + + @task_type_version.setter + def task_type_version(self, task_type_version): + """Sets the task_type_version of this CoreTaskTemplate. + + This can be used to customize task handling at execution time for the same task type. # noqa: E501 + + :param task_type_version: The task_type_version of this CoreTaskTemplate. # noqa: E501 + :type: int + """ + + self._task_type_version = task_type_version + + @property + def security_context(self): + """Gets the security_context of this CoreTaskTemplate. # noqa: E501 + + security_context encapsulates security attributes requested to run this task. # noqa: E501 + + :return: The security_context of this CoreTaskTemplate. # noqa: E501 + :rtype: CoreSecurityContext + """ + return self._security_context + + @security_context.setter + def security_context(self, security_context): + """Sets the security_context of this CoreTaskTemplate. + + security_context encapsulates security attributes requested to run this task. # noqa: E501 + + :param security_context: The security_context of this CoreTaskTemplate. # noqa: E501 + :type: CoreSecurityContext + """ + + self._security_context = security_context + + @property + def config(self): + """Gets the config of this CoreTaskTemplate. # noqa: E501 + + + :return: The config of this CoreTaskTemplate. # noqa: E501 + :rtype: dict(str, str) + """ + return self._config + + @config.setter + def config(self, config): + """Sets the config of this CoreTaskTemplate. + + + :param config: The config of this CoreTaskTemplate. # noqa: E501 + :type: dict(str, str) + """ + + self._config = config + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreTaskTemplate, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreTaskTemplate): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_annotation.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_annotation.py new file mode 100644 index 000000000..3289feeab --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_annotation.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 + + +class CoreTypeAnnotation(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'annotations': 'ProtobufStruct' + } + + attribute_map = { + 'annotations': 'annotations' + } + + def __init__(self, annotations=None): # noqa: E501 + """CoreTypeAnnotation - a model defined in Swagger""" # noqa: E501 + + self._annotations = None + self.discriminator = None + + if annotations is not None: + self.annotations = annotations + + @property + def annotations(self): + """Gets the annotations of this CoreTypeAnnotation. # noqa: E501 + + A arbitrary JSON payload to describe a type. # noqa: E501 + + :return: The annotations of this CoreTypeAnnotation. # noqa: E501 + :rtype: ProtobufStruct + """ + return self._annotations + + @annotations.setter + def annotations(self, annotations): + """Sets the annotations of this CoreTypeAnnotation. + + A arbitrary JSON payload to describe a type. # noqa: E501 + + :param annotations: The annotations of this CoreTypeAnnotation. # noqa: E501 + :type: ProtobufStruct + """ + + self._annotations = annotations + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreTypeAnnotation, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreTypeAnnotation): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_structure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_structure.py new file mode 100644 index 000000000..46273f72e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_structure.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreTypeStructure(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'tag': 'str' + } + + attribute_map = { + 'tag': 'tag' + } + + def __init__(self, tag=None): # noqa: E501 + """CoreTypeStructure - a model defined in Swagger""" # noqa: E501 + + self._tag = None + self.discriminator = None + + if tag is not None: + self.tag = tag + + @property + def tag(self): + """Gets the tag of this CoreTypeStructure. # noqa: E501 + + + :return: The tag of this CoreTypeStructure. # noqa: E501 + :rtype: str + """ + return self._tag + + @tag.setter + def tag(self, tag): + """Sets the tag of this CoreTypeStructure. + + + :param tag: The tag of this CoreTypeStructure. # noqa: E501 + :type: str + """ + + self._tag = tag + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreTypeStructure, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreTypeStructure): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_typed_interface.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_typed_interface.py new file mode 100644 index 000000000..8864814f4 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_typed_interface.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_variable_map import CoreVariableMap # noqa: F401,E501 + + +class CoreTypedInterface(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'inputs': 'CoreVariableMap', + 'outputs': 'CoreVariableMap' + } + + attribute_map = { + 'inputs': 'inputs', + 'outputs': 'outputs' + } + + def __init__(self, inputs=None, outputs=None): # noqa: E501 + """CoreTypedInterface - a model defined in Swagger""" # noqa: E501 + + self._inputs = None + self._outputs = None + self.discriminator = None + + if inputs is not None: + self.inputs = inputs + if outputs is not None: + self.outputs = outputs + + @property + def inputs(self): + """Gets the inputs of this CoreTypedInterface. # noqa: E501 + + + :return: The inputs of this CoreTypedInterface. # noqa: E501 + :rtype: CoreVariableMap + """ + return self._inputs + + @inputs.setter + def inputs(self, inputs): + """Sets the inputs of this CoreTypedInterface. + + + :param inputs: The inputs of this CoreTypedInterface. # noqa: E501 + :type: CoreVariableMap + """ + + self._inputs = inputs + + @property + def outputs(self): + """Gets the outputs of this CoreTypedInterface. # noqa: E501 + + + :return: The outputs of this CoreTypedInterface. # noqa: E501 + :rtype: CoreVariableMap + """ + return self._outputs + + @outputs.setter + def outputs(self, outputs): + """Sets the outputs of this CoreTypedInterface. + + + :param outputs: The outputs of this CoreTypedInterface. # noqa: E501 + :type: CoreVariableMap + """ + + self._outputs = outputs + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreTypedInterface, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreTypedInterface): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union.py new file mode 100644 index 000000000..9b96a71d0 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_literal import CoreLiteral # noqa: F401,E501 +from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 + + +class CoreUnion(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'value': 'CoreLiteral', + 'type': 'CoreLiteralType' + } + + attribute_map = { + 'value': 'value', + 'type': 'type' + } + + def __init__(self, value=None, type=None): # noqa: E501 + """CoreUnion - a model defined in Swagger""" # noqa: E501 + + self._value = None + self._type = None + self.discriminator = None + + if value is not None: + self.value = value + if type is not None: + self.type = type + + @property + def value(self): + """Gets the value of this CoreUnion. # noqa: E501 + + + :return: The value of this CoreUnion. # noqa: E501 + :rtype: CoreLiteral + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this CoreUnion. + + + :param value: The value of this CoreUnion. # noqa: E501 + :type: CoreLiteral + """ + + self._value = value + + @property + def type(self): + """Gets the type of this CoreUnion. # noqa: E501 + + + :return: The type of this CoreUnion. # noqa: E501 + :rtype: CoreLiteralType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this CoreUnion. + + + :param type: The type of this CoreUnion. # noqa: E501 + :type: CoreLiteralType + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreUnion, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreUnion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_info.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_info.py new file mode 100644 index 000000000..361c967c3 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_info.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 + + +class CoreUnionInfo(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'target_type': 'CoreLiteralType' + } + + attribute_map = { + 'target_type': 'targetType' + } + + def __init__(self, target_type=None): # noqa: E501 + """CoreUnionInfo - a model defined in Swagger""" # noqa: E501 + + self._target_type = None + self.discriminator = None + + if target_type is not None: + self.target_type = target_type + + @property + def target_type(self): + """Gets the target_type of this CoreUnionInfo. # noqa: E501 + + + :return: The target_type of this CoreUnionInfo. # noqa: E501 + :rtype: CoreLiteralType + """ + return self._target_type + + @target_type.setter + def target_type(self, target_type): + """Sets the target_type of this CoreUnionInfo. + + + :param target_type: The target_type of this CoreUnionInfo. # noqa: E501 + :type: CoreLiteralType + """ + + self._target_type = target_type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreUnionInfo, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreUnionInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_type.py new file mode 100644 index 000000000..3fb360d05 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_type.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 + + +class CoreUnionType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'variants': 'list[CoreLiteralType]' + } + + attribute_map = { + 'variants': 'variants' + } + + def __init__(self, variants=None): # noqa: E501 + """CoreUnionType - a model defined in Swagger""" # noqa: E501 + + self._variants = None + self.discriminator = None + + if variants is not None: + self.variants = variants + + @property + def variants(self): + """Gets the variants of this CoreUnionType. # noqa: E501 + + Predefined set of variants in union. # noqa: E501 + + :return: The variants of this CoreUnionType. # noqa: E501 + :rtype: list[CoreLiteralType] + """ + return self._variants + + @variants.setter + def variants(self, variants): + """Sets the variants of this CoreUnionType. + + Predefined set of variants in union. # noqa: E501 + + :param variants: The variants of this CoreUnionType. # noqa: E501 + :type: list[CoreLiteralType] + """ + + self._variants = variants + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreUnionType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreUnionType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py new file mode 100644 index 000000000..186179d2c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 + + +class CoreVariable(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'type': 'CoreLiteralType', + 'description': 'str' + } + + attribute_map = { + 'type': 'type', + 'description': 'description' + } + + def __init__(self, type=None, description=None): # noqa: E501 + """CoreVariable - a model defined in Swagger""" # noqa: E501 + + self._type = None + self._description = None + self.discriminator = None + + if type is not None: + self.type = type + if description is not None: + self.description = description + + @property + def type(self): + """Gets the type of this CoreVariable. # noqa: E501 + + Variable literal type. # noqa: E501 + + :return: The type of this CoreVariable. # noqa: E501 + :rtype: CoreLiteralType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this CoreVariable. + + Variable literal type. # noqa: E501 + + :param type: The type of this CoreVariable. # noqa: E501 + :type: CoreLiteralType + """ + + self._type = type + + @property + def description(self): + """Gets the description of this CoreVariable. # noqa: E501 + + + :return: The description of this CoreVariable. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CoreVariable. + + + :param description: The description of this CoreVariable. # noqa: E501 + :type: str + """ + + self._description = description + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreVariable, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreVariable): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable_map.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable_map.py new file mode 100644 index 000000000..a2a15f83f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable_map.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_variable import CoreVariable # noqa: F401,E501 + + +class CoreVariableMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'variables': 'dict(str, CoreVariable)' + } + + attribute_map = { + 'variables': 'variables' + } + + def __init__(self, variables=None): # noqa: E501 + """CoreVariableMap - a model defined in Swagger""" # noqa: E501 + + self._variables = None + self.discriminator = None + + if variables is not None: + self.variables = variables + + @property + def variables(self): + """Gets the variables of this CoreVariableMap. # noqa: E501 + + Defines a map of variable names to variables. # noqa: E501 + + :return: The variables of this CoreVariableMap. # noqa: E501 + :rtype: dict(str, CoreVariable) + """ + return self._variables + + @variables.setter + def variables(self, variables): + """Sets the variables of this CoreVariableMap. + + Defines a map of variable names to variables. # noqa: E501 + + :param variables: The variables of this CoreVariableMap. # noqa: E501 + :type: dict(str, CoreVariable) + """ + + self._variables = variables + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreVariableMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreVariableMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_void.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_void.py new file mode 100644 index 000000000..709f5a55e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_void.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreVoid(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """CoreVoid - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreVoid, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreVoid): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_identifier.py new file mode 100644 index 000000000..09bd015a3 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_identifier.py @@ -0,0 +1,173 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreWorkflowExecutionIdentifier(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'project': 'str', + 'domain': 'str', + 'name': 'str' + } + + attribute_map = { + 'project': 'project', + 'domain': 'domain', + 'name': 'name' + } + + def __init__(self, project=None, domain=None, name=None): # noqa: E501 + """CoreWorkflowExecutionIdentifier - a model defined in Swagger""" # noqa: E501 + + self._project = None + self._domain = None + self._name = None + self.discriminator = None + + if project is not None: + self.project = project + if domain is not None: + self.domain = domain + if name is not None: + self.name = name + + @property + def project(self): + """Gets the project of this CoreWorkflowExecutionIdentifier. # noqa: E501 + + Name of the project the resource belongs to. # noqa: E501 + + :return: The project of this CoreWorkflowExecutionIdentifier. # noqa: E501 + :rtype: str + """ + return self._project + + @project.setter + def project(self, project): + """Sets the project of this CoreWorkflowExecutionIdentifier. + + Name of the project the resource belongs to. # noqa: E501 + + :param project: The project of this CoreWorkflowExecutionIdentifier. # noqa: E501 + :type: str + """ + + self._project = project + + @property + def domain(self): + """Gets the domain of this CoreWorkflowExecutionIdentifier. # noqa: E501 + + Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 + + :return: The domain of this CoreWorkflowExecutionIdentifier. # noqa: E501 + :rtype: str + """ + return self._domain + + @domain.setter + def domain(self, domain): + """Sets the domain of this CoreWorkflowExecutionIdentifier. + + Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 + + :param domain: The domain of this CoreWorkflowExecutionIdentifier. # noqa: E501 + :type: str + """ + + self._domain = domain + + @property + def name(self): + """Gets the name of this CoreWorkflowExecutionIdentifier. # noqa: E501 + + User or system provided value for the resource. # noqa: E501 + + :return: The name of this CoreWorkflowExecutionIdentifier. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CoreWorkflowExecutionIdentifier. + + User or system provided value for the resource. # noqa: E501 + + :param name: The name of this CoreWorkflowExecutionIdentifier. # noqa: E501 + :type: str + """ + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreWorkflowExecutionIdentifier, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreWorkflowExecutionIdentifier): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_phase.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_phase.py new file mode 100644 index 000000000..d2cdbd69d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_phase.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreWorkflowExecutionPhase(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UNDEFINED = "UNDEFINED" + QUEUED = "QUEUED" + RUNNING = "RUNNING" + SUCCEEDING = "SUCCEEDING" + SUCCEEDED = "SUCCEEDED" + FAILING = "FAILING" + FAILED = "FAILED" + ABORTED = "ABORTED" + TIMED_OUT = "TIMED_OUT" + ABORTING = "ABORTING" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """CoreWorkflowExecutionPhase - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreWorkflowExecutionPhase, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreWorkflowExecutionPhase): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata.py new file mode 100644 index 000000000..2640cc425 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: F401,E501 +from flyteadmin.models.workflow_metadata_on_failure_policy import WorkflowMetadataOnFailurePolicy # noqa: F401,E501 + + +class CoreWorkflowMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'quality_of_service': 'CoreQualityOfService', + 'on_failure': 'WorkflowMetadataOnFailurePolicy' + } + + attribute_map = { + 'quality_of_service': 'quality_of_service', + 'on_failure': 'on_failure' + } + + def __init__(self, quality_of_service=None, on_failure=None): # noqa: E501 + """CoreWorkflowMetadata - a model defined in Swagger""" # noqa: E501 + + self._quality_of_service = None + self._on_failure = None + self.discriminator = None + + if quality_of_service is not None: + self.quality_of_service = quality_of_service + if on_failure is not None: + self.on_failure = on_failure + + @property + def quality_of_service(self): + """Gets the quality_of_service of this CoreWorkflowMetadata. # noqa: E501 + + Indicates the runtime priority of workflow executions. # noqa: E501 + + :return: The quality_of_service of this CoreWorkflowMetadata. # noqa: E501 + :rtype: CoreQualityOfService + """ + return self._quality_of_service + + @quality_of_service.setter + def quality_of_service(self, quality_of_service): + """Sets the quality_of_service of this CoreWorkflowMetadata. + + Indicates the runtime priority of workflow executions. # noqa: E501 + + :param quality_of_service: The quality_of_service of this CoreWorkflowMetadata. # noqa: E501 + :type: CoreQualityOfService + """ + + self._quality_of_service = quality_of_service + + @property + def on_failure(self): + """Gets the on_failure of this CoreWorkflowMetadata. # noqa: E501 + + Defines how the system should behave when a failure is detected in the workflow execution. # noqa: E501 + + :return: The on_failure of this CoreWorkflowMetadata. # noqa: E501 + :rtype: WorkflowMetadataOnFailurePolicy + """ + return self._on_failure + + @on_failure.setter + def on_failure(self, on_failure): + """Sets the on_failure of this CoreWorkflowMetadata. + + Defines how the system should behave when a failure is detected in the workflow execution. # noqa: E501 + + :param on_failure: The on_failure of this CoreWorkflowMetadata. # noqa: E501 + :type: WorkflowMetadataOnFailurePolicy + """ + + self._on_failure = on_failure + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreWorkflowMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreWorkflowMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata_defaults.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata_defaults.py new file mode 100644 index 000000000..6f9762be8 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata_defaults.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreWorkflowMetadataDefaults(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'interruptible': 'bool' + } + + attribute_map = { + 'interruptible': 'interruptible' + } + + def __init__(self, interruptible=None): # noqa: E501 + """CoreWorkflowMetadataDefaults - a model defined in Swagger""" # noqa: E501 + + self._interruptible = None + self.discriminator = None + + if interruptible is not None: + self.interruptible = interruptible + + @property + def interruptible(self): + """Gets the interruptible of this CoreWorkflowMetadataDefaults. # noqa: E501 + + Whether child nodes of the workflow are interruptible. # noqa: E501 + + :return: The interruptible of this CoreWorkflowMetadataDefaults. # noqa: E501 + :rtype: bool + """ + return self._interruptible + + @interruptible.setter + def interruptible(self, interruptible): + """Sets the interruptible of this CoreWorkflowMetadataDefaults. + + Whether child nodes of the workflow are interruptible. # noqa: E501 + + :param interruptible: The interruptible of this CoreWorkflowMetadataDefaults. # noqa: E501 + :type: bool + """ + + self._interruptible = interruptible + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreWorkflowMetadataDefaults, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreWorkflowMetadataDefaults): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_node.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_node.py new file mode 100644 index 000000000..9d3524938 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_node.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 + + +class CoreWorkflowNode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'launchplan_ref': 'CoreIdentifier', + 'sub_workflow_ref': 'CoreIdentifier' + } + + attribute_map = { + 'launchplan_ref': 'launchplan_ref', + 'sub_workflow_ref': 'sub_workflow_ref' + } + + def __init__(self, launchplan_ref=None, sub_workflow_ref=None): # noqa: E501 + """CoreWorkflowNode - a model defined in Swagger""" # noqa: E501 + + self._launchplan_ref = None + self._sub_workflow_ref = None + self.discriminator = None + + if launchplan_ref is not None: + self.launchplan_ref = launchplan_ref + if sub_workflow_ref is not None: + self.sub_workflow_ref = sub_workflow_ref + + @property + def launchplan_ref(self): + """Gets the launchplan_ref of this CoreWorkflowNode. # noqa: E501 + + A globally unique identifier for the launch plan. # noqa: E501 + + :return: The launchplan_ref of this CoreWorkflowNode. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._launchplan_ref + + @launchplan_ref.setter + def launchplan_ref(self, launchplan_ref): + """Sets the launchplan_ref of this CoreWorkflowNode. + + A globally unique identifier for the launch plan. # noqa: E501 + + :param launchplan_ref: The launchplan_ref of this CoreWorkflowNode. # noqa: E501 + :type: CoreIdentifier + """ + + self._launchplan_ref = launchplan_ref + + @property + def sub_workflow_ref(self): + """Gets the sub_workflow_ref of this CoreWorkflowNode. # noqa: E501 + + + :return: The sub_workflow_ref of this CoreWorkflowNode. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._sub_workflow_ref + + @sub_workflow_ref.setter + def sub_workflow_ref(self, sub_workflow_ref): + """Sets the sub_workflow_ref of this CoreWorkflowNode. + + + :param sub_workflow_ref: The sub_workflow_ref of this CoreWorkflowNode. # noqa: E501 + :type: CoreIdentifier + """ + + self._sub_workflow_ref = sub_workflow_ref + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreWorkflowNode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreWorkflowNode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_template.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_template.py new file mode 100644 index 000000000..ead72237b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_template.py @@ -0,0 +1,290 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_binding import CoreBinding # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 +from flyteadmin.models.core_node import CoreNode # noqa: F401,E501 +from flyteadmin.models.core_typed_interface import CoreTypedInterface # noqa: F401,E501 +from flyteadmin.models.core_workflow_metadata import CoreWorkflowMetadata # noqa: F401,E501 +from flyteadmin.models.core_workflow_metadata_defaults import CoreWorkflowMetadataDefaults # noqa: F401,E501 + + +class CoreWorkflowTemplate(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreIdentifier', + 'metadata': 'CoreWorkflowMetadata', + 'interface': 'CoreTypedInterface', + 'nodes': 'list[CoreNode]', + 'outputs': 'list[CoreBinding]', + 'failure_node': 'CoreNode', + 'metadata_defaults': 'CoreWorkflowMetadataDefaults' + } + + attribute_map = { + 'id': 'id', + 'metadata': 'metadata', + 'interface': 'interface', + 'nodes': 'nodes', + 'outputs': 'outputs', + 'failure_node': 'failure_node', + 'metadata_defaults': 'metadata_defaults' + } + + def __init__(self, id=None, metadata=None, interface=None, nodes=None, outputs=None, failure_node=None, metadata_defaults=None): # noqa: E501 + """CoreWorkflowTemplate - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._metadata = None + self._interface = None + self._nodes = None + self._outputs = None + self._failure_node = None + self._metadata_defaults = None + self.discriminator = None + + if id is not None: + self.id = id + if metadata is not None: + self.metadata = metadata + if interface is not None: + self.interface = interface + if nodes is not None: + self.nodes = nodes + if outputs is not None: + self.outputs = outputs + if failure_node is not None: + self.failure_node = failure_node + if metadata_defaults is not None: + self.metadata_defaults = metadata_defaults + + @property + def id(self): + """Gets the id of this CoreWorkflowTemplate. # noqa: E501 + + A globally unique identifier for the workflow. # noqa: E501 + + :return: The id of this CoreWorkflowTemplate. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CoreWorkflowTemplate. + + A globally unique identifier for the workflow. # noqa: E501 + + :param id: The id of this CoreWorkflowTemplate. # noqa: E501 + :type: CoreIdentifier + """ + + self._id = id + + @property + def metadata(self): + """Gets the metadata of this CoreWorkflowTemplate. # noqa: E501 + + Extra metadata about the workflow. # noqa: E501 + + :return: The metadata of this CoreWorkflowTemplate. # noqa: E501 + :rtype: CoreWorkflowMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this CoreWorkflowTemplate. + + Extra metadata about the workflow. # noqa: E501 + + :param metadata: The metadata of this CoreWorkflowTemplate. # noqa: E501 + :type: CoreWorkflowMetadata + """ + + self._metadata = metadata + + @property + def interface(self): + """Gets the interface of this CoreWorkflowTemplate. # noqa: E501 + + Defines a strongly typed interface for the Workflow. This can include some optional parameters. # noqa: E501 + + :return: The interface of this CoreWorkflowTemplate. # noqa: E501 + :rtype: CoreTypedInterface + """ + return self._interface + + @interface.setter + def interface(self, interface): + """Sets the interface of this CoreWorkflowTemplate. + + Defines a strongly typed interface for the Workflow. This can include some optional parameters. # noqa: E501 + + :param interface: The interface of this CoreWorkflowTemplate. # noqa: E501 + :type: CoreTypedInterface + """ + + self._interface = interface + + @property + def nodes(self): + """Gets the nodes of this CoreWorkflowTemplate. # noqa: E501 + + A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs. # noqa: E501 + + :return: The nodes of this CoreWorkflowTemplate. # noqa: E501 + :rtype: list[CoreNode] + """ + return self._nodes + + @nodes.setter + def nodes(self, nodes): + """Sets the nodes of this CoreWorkflowTemplate. + + A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs. # noqa: E501 + + :param nodes: The nodes of this CoreWorkflowTemplate. # noqa: E501 + :type: list[CoreNode] + """ + + self._nodes = nodes + + @property + def outputs(self): + """Gets the outputs of this CoreWorkflowTemplate. # noqa: E501 + + A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task. # noqa: E501 + + :return: The outputs of this CoreWorkflowTemplate. # noqa: E501 + :rtype: list[CoreBinding] + """ + return self._outputs + + @outputs.setter + def outputs(self, outputs): + """Sets the outputs of this CoreWorkflowTemplate. + + A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task. # noqa: E501 + + :param outputs: The outputs of this CoreWorkflowTemplate. # noqa: E501 + :type: list[CoreBinding] + """ + + self._outputs = outputs + + @property + def failure_node(self): + """Gets the failure_node of this CoreWorkflowTemplate. # noqa: E501 + + +optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error. # noqa: E501 + + :return: The failure_node of this CoreWorkflowTemplate. # noqa: E501 + :rtype: CoreNode + """ + return self._failure_node + + @failure_node.setter + def failure_node(self, failure_node): + """Sets the failure_node of this CoreWorkflowTemplate. + + +optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error. # noqa: E501 + + :param failure_node: The failure_node of this CoreWorkflowTemplate. # noqa: E501 + :type: CoreNode + """ + + self._failure_node = failure_node + + @property + def metadata_defaults(self): + """Gets the metadata_defaults of this CoreWorkflowTemplate. # noqa: E501 + + + :return: The metadata_defaults of this CoreWorkflowTemplate. # noqa: E501 + :rtype: CoreWorkflowMetadataDefaults + """ + return self._metadata_defaults + + @metadata_defaults.setter + def metadata_defaults(self, metadata_defaults): + """Sets the metadata_defaults of this CoreWorkflowTemplate. + + + :param metadata_defaults: The metadata_defaults of this CoreWorkflowTemplate. # noqa: E501 + :type: CoreWorkflowMetadataDefaults + """ + + self._metadata_defaults = metadata_defaults + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreWorkflowTemplate, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreWorkflowTemplate): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/data_loading_config_literal_map_format.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/data_loading_config_literal_map_format.py new file mode 100644 index 000000000..160639100 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/data_loading_config_literal_map_format.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class DataLoadingConfigLiteralMapFormat(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + JSON = "JSON" + YAML = "YAML" + PROTO = "PROTO" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """DataLoadingConfigLiteralMapFormat - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(DataLoadingConfigLiteralMapFormat, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DataLoadingConfigLiteralMapFormat): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_external_resource_info.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_external_resource_info.py new file mode 100644 index 000000000..e170aa4c0 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_external_resource_info.py @@ -0,0 +1,255 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus # noqa: F401,E501 +from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase # noqa: F401,E501 +from flyteadmin.models.core_task_log import CoreTaskLog # noqa: F401,E501 + + +class EventExternalResourceInfo(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'external_id': 'str', + 'index': 'int', + 'retry_attempt': 'int', + 'phase': 'CoreTaskExecutionPhase', + 'cache_status': 'CoreCatalogCacheStatus', + 'logs': 'list[CoreTaskLog]' + } + + attribute_map = { + 'external_id': 'external_id', + 'index': 'index', + 'retry_attempt': 'retry_attempt', + 'phase': 'phase', + 'cache_status': 'cache_status', + 'logs': 'logs' + } + + def __init__(self, external_id=None, index=None, retry_attempt=None, phase=None, cache_status=None, logs=None): # noqa: E501 + """EventExternalResourceInfo - a model defined in Swagger""" # noqa: E501 + + self._external_id = None + self._index = None + self._retry_attempt = None + self._phase = None + self._cache_status = None + self._logs = None + self.discriminator = None + + if external_id is not None: + self.external_id = external_id + if index is not None: + self.index = index + if retry_attempt is not None: + self.retry_attempt = retry_attempt + if phase is not None: + self.phase = phase + if cache_status is not None: + self.cache_status = cache_status + if logs is not None: + self.logs = logs + + @property + def external_id(self): + """Gets the external_id of this EventExternalResourceInfo. # noqa: E501 + + Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids. # noqa: E501 + + :return: The external_id of this EventExternalResourceInfo. # noqa: E501 + :rtype: str + """ + return self._external_id + + @external_id.setter + def external_id(self, external_id): + """Sets the external_id of this EventExternalResourceInfo. + + Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids. # noqa: E501 + + :param external_id: The external_id of this EventExternalResourceInfo. # noqa: E501 + :type: str + """ + + self._external_id = external_id + + @property + def index(self): + """Gets the index of this EventExternalResourceInfo. # noqa: E501 + + A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports. # noqa: E501 + + :return: The index of this EventExternalResourceInfo. # noqa: E501 + :rtype: int + """ + return self._index + + @index.setter + def index(self, index): + """Sets the index of this EventExternalResourceInfo. + + A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports. # noqa: E501 + + :param index: The index of this EventExternalResourceInfo. # noqa: E501 + :type: int + """ + + self._index = index + + @property + def retry_attempt(self): + """Gets the retry_attempt of this EventExternalResourceInfo. # noqa: E501 + + + :return: The retry_attempt of this EventExternalResourceInfo. # noqa: E501 + :rtype: int + """ + return self._retry_attempt + + @retry_attempt.setter + def retry_attempt(self, retry_attempt): + """Sets the retry_attempt of this EventExternalResourceInfo. + + + :param retry_attempt: The retry_attempt of this EventExternalResourceInfo. # noqa: E501 + :type: int + """ + + self._retry_attempt = retry_attempt + + @property + def phase(self): + """Gets the phase of this EventExternalResourceInfo. # noqa: E501 + + + :return: The phase of this EventExternalResourceInfo. # noqa: E501 + :rtype: CoreTaskExecutionPhase + """ + return self._phase + + @phase.setter + def phase(self, phase): + """Sets the phase of this EventExternalResourceInfo. + + + :param phase: The phase of this EventExternalResourceInfo. # noqa: E501 + :type: CoreTaskExecutionPhase + """ + + self._phase = phase + + @property + def cache_status(self): + """Gets the cache_status of this EventExternalResourceInfo. # noqa: E501 + + Captures the status of caching for this external resource execution. # noqa: E501 + + :return: The cache_status of this EventExternalResourceInfo. # noqa: E501 + :rtype: CoreCatalogCacheStatus + """ + return self._cache_status + + @cache_status.setter + def cache_status(self, cache_status): + """Sets the cache_status of this EventExternalResourceInfo. + + Captures the status of caching for this external resource execution. # noqa: E501 + + :param cache_status: The cache_status of this EventExternalResourceInfo. # noqa: E501 + :type: CoreCatalogCacheStatus + """ + + self._cache_status = cache_status + + @property + def logs(self): + """Gets the logs of this EventExternalResourceInfo. # noqa: E501 + + + :return: The logs of this EventExternalResourceInfo. # noqa: E501 + :rtype: list[CoreTaskLog] + """ + return self._logs + + @logs.setter + def logs(self, logs): + """Sets the logs of this EventExternalResourceInfo. + + + :param logs: The logs of this EventExternalResourceInfo. # noqa: E501 + :type: list[CoreTaskLog] + """ + + self._logs = logs + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(EventExternalResourceInfo, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EventExternalResourceInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py new file mode 100644 index 000000000..6cc77d90e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py @@ -0,0 +1,606 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 +from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 +from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase # noqa: F401,E501 +from flyteadmin.models.event_parent_node_execution_metadata import EventParentNodeExecutionMetadata # noqa: F401,E501 +from flyteadmin.models.event_parent_task_execution_metadata import EventParentTaskExecutionMetadata # noqa: F401,E501 +from flyteadmin.models.flyteidlevent_task_node_metadata import FlyteidleventTaskNodeMetadata # noqa: F401,E501 +from flyteadmin.models.flyteidlevent_workflow_node_metadata import FlyteidleventWorkflowNodeMetadata # noqa: F401,E501 + + +class EventNodeExecutionEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreNodeExecutionIdentifier', + 'producer_id': 'str', + 'phase': 'CoreNodeExecutionPhase', + 'occurred_at': 'datetime', + 'input_uri': 'str', + 'output_uri': 'str', + 'error': 'CoreExecutionError', + 'output_data': 'CoreLiteralMap', + 'workflow_node_metadata': 'FlyteidleventWorkflowNodeMetadata', + 'task_node_metadata': 'FlyteidleventTaskNodeMetadata', + 'parent_task_metadata': 'EventParentTaskExecutionMetadata', + 'parent_node_metadata': 'EventParentNodeExecutionMetadata', + 'retry_group': 'str', + 'spec_node_id': 'str', + 'node_name': 'str', + 'event_version': 'int', + 'is_parent': 'bool', + 'is_dynamic': 'bool', + 'deck_uri': 'str' + } + + attribute_map = { + 'id': 'id', + 'producer_id': 'producer_id', + 'phase': 'phase', + 'occurred_at': 'occurred_at', + 'input_uri': 'input_uri', + 'output_uri': 'output_uri', + 'error': 'error', + 'output_data': 'output_data', + 'workflow_node_metadata': 'workflow_node_metadata', + 'task_node_metadata': 'task_node_metadata', + 'parent_task_metadata': 'parent_task_metadata', + 'parent_node_metadata': 'parent_node_metadata', + 'retry_group': 'retry_group', + 'spec_node_id': 'spec_node_id', + 'node_name': 'node_name', + 'event_version': 'event_version', + 'is_parent': 'is_parent', + 'is_dynamic': 'is_dynamic', + 'deck_uri': 'deck_uri' + } + + def __init__(self, id=None, producer_id=None, phase=None, occurred_at=None, input_uri=None, output_uri=None, error=None, output_data=None, workflow_node_metadata=None, task_node_metadata=None, parent_task_metadata=None, parent_node_metadata=None, retry_group=None, spec_node_id=None, node_name=None, event_version=None, is_parent=None, is_dynamic=None, deck_uri=None): # noqa: E501 + """EventNodeExecutionEvent - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._producer_id = None + self._phase = None + self._occurred_at = None + self._input_uri = None + self._output_uri = None + self._error = None + self._output_data = None + self._workflow_node_metadata = None + self._task_node_metadata = None + self._parent_task_metadata = None + self._parent_node_metadata = None + self._retry_group = None + self._spec_node_id = None + self._node_name = None + self._event_version = None + self._is_parent = None + self._is_dynamic = None + self._deck_uri = None + self.discriminator = None + + if id is not None: + self.id = id + if producer_id is not None: + self.producer_id = producer_id + if phase is not None: + self.phase = phase + if occurred_at is not None: + self.occurred_at = occurred_at + if input_uri is not None: + self.input_uri = input_uri + if output_uri is not None: + self.output_uri = output_uri + if error is not None: + self.error = error + if output_data is not None: + self.output_data = output_data + if workflow_node_metadata is not None: + self.workflow_node_metadata = workflow_node_metadata + if task_node_metadata is not None: + self.task_node_metadata = task_node_metadata + if parent_task_metadata is not None: + self.parent_task_metadata = parent_task_metadata + if parent_node_metadata is not None: + self.parent_node_metadata = parent_node_metadata + if retry_group is not None: + self.retry_group = retry_group + if spec_node_id is not None: + self.spec_node_id = spec_node_id + if node_name is not None: + self.node_name = node_name + if event_version is not None: + self.event_version = event_version + if is_parent is not None: + self.is_parent = is_parent + if is_dynamic is not None: + self.is_dynamic = is_dynamic + if deck_uri is not None: + self.deck_uri = deck_uri + + @property + def id(self): + """Gets the id of this EventNodeExecutionEvent. # noqa: E501 + + + :return: The id of this EventNodeExecutionEvent. # noqa: E501 + :rtype: CoreNodeExecutionIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this EventNodeExecutionEvent. + + + :param id: The id of this EventNodeExecutionEvent. # noqa: E501 + :type: CoreNodeExecutionIdentifier + """ + + self._id = id + + @property + def producer_id(self): + """Gets the producer_id of this EventNodeExecutionEvent. # noqa: E501 + + + :return: The producer_id of this EventNodeExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._producer_id + + @producer_id.setter + def producer_id(self, producer_id): + """Sets the producer_id of this EventNodeExecutionEvent. + + + :param producer_id: The producer_id of this EventNodeExecutionEvent. # noqa: E501 + :type: str + """ + + self._producer_id = producer_id + + @property + def phase(self): + """Gets the phase of this EventNodeExecutionEvent. # noqa: E501 + + + :return: The phase of this EventNodeExecutionEvent. # noqa: E501 + :rtype: CoreNodeExecutionPhase + """ + return self._phase + + @phase.setter + def phase(self, phase): + """Sets the phase of this EventNodeExecutionEvent. + + + :param phase: The phase of this EventNodeExecutionEvent. # noqa: E501 + :type: CoreNodeExecutionPhase + """ + + self._phase = phase + + @property + def occurred_at(self): + """Gets the occurred_at of this EventNodeExecutionEvent. # noqa: E501 + + This timestamp represents when the original event occurred, it is generated by the executor of the node. # noqa: E501 + + :return: The occurred_at of this EventNodeExecutionEvent. # noqa: E501 + :rtype: datetime + """ + return self._occurred_at + + @occurred_at.setter + def occurred_at(self, occurred_at): + """Sets the occurred_at of this EventNodeExecutionEvent. + + This timestamp represents when the original event occurred, it is generated by the executor of the node. # noqa: E501 + + :param occurred_at: The occurred_at of this EventNodeExecutionEvent. # noqa: E501 + :type: datetime + """ + + self._occurred_at = occurred_at + + @property + def input_uri(self): + """Gets the input_uri of this EventNodeExecutionEvent. # noqa: E501 + + + :return: The input_uri of this EventNodeExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._input_uri + + @input_uri.setter + def input_uri(self, input_uri): + """Sets the input_uri of this EventNodeExecutionEvent. + + + :param input_uri: The input_uri of this EventNodeExecutionEvent. # noqa: E501 + :type: str + """ + + self._input_uri = input_uri + + @property + def output_uri(self): + """Gets the output_uri of this EventNodeExecutionEvent. # noqa: E501 + + URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 + + :return: The output_uri of this EventNodeExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._output_uri + + @output_uri.setter + def output_uri(self, output_uri): + """Sets the output_uri of this EventNodeExecutionEvent. + + URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 + + :param output_uri: The output_uri of this EventNodeExecutionEvent. # noqa: E501 + :type: str + """ + + self._output_uri = output_uri + + @property + def error(self): + """Gets the error of this EventNodeExecutionEvent. # noqa: E501 + + + :return: The error of this EventNodeExecutionEvent. # noqa: E501 + :rtype: CoreExecutionError + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this EventNodeExecutionEvent. + + + :param error: The error of this EventNodeExecutionEvent. # noqa: E501 + :type: CoreExecutionError + """ + + self._error = error + + @property + def output_data(self): + """Gets the output_data of this EventNodeExecutionEvent. # noqa: E501 + + Raw output data produced by this node execution. # noqa: E501 + + :return: The output_data of this EventNodeExecutionEvent. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._output_data + + @output_data.setter + def output_data(self, output_data): + """Sets the output_data of this EventNodeExecutionEvent. + + Raw output data produced by this node execution. # noqa: E501 + + :param output_data: The output_data of this EventNodeExecutionEvent. # noqa: E501 + :type: CoreLiteralMap + """ + + self._output_data = output_data + + @property + def workflow_node_metadata(self): + """Gets the workflow_node_metadata of this EventNodeExecutionEvent. # noqa: E501 + + + :return: The workflow_node_metadata of this EventNodeExecutionEvent. # noqa: E501 + :rtype: FlyteidleventWorkflowNodeMetadata + """ + return self._workflow_node_metadata + + @workflow_node_metadata.setter + def workflow_node_metadata(self, workflow_node_metadata): + """Sets the workflow_node_metadata of this EventNodeExecutionEvent. + + + :param workflow_node_metadata: The workflow_node_metadata of this EventNodeExecutionEvent. # noqa: E501 + :type: FlyteidleventWorkflowNodeMetadata + """ + + self._workflow_node_metadata = workflow_node_metadata + + @property + def task_node_metadata(self): + """Gets the task_node_metadata of this EventNodeExecutionEvent. # noqa: E501 + + + :return: The task_node_metadata of this EventNodeExecutionEvent. # noqa: E501 + :rtype: FlyteidleventTaskNodeMetadata + """ + return self._task_node_metadata + + @task_node_metadata.setter + def task_node_metadata(self, task_node_metadata): + """Sets the task_node_metadata of this EventNodeExecutionEvent. + + + :param task_node_metadata: The task_node_metadata of this EventNodeExecutionEvent. # noqa: E501 + :type: FlyteidleventTaskNodeMetadata + """ + + self._task_node_metadata = task_node_metadata + + @property + def parent_task_metadata(self): + """Gets the parent_task_metadata of this EventNodeExecutionEvent. # noqa: E501 + + [To be deprecated] Specifies which task (if any) launched this node. # noqa: E501 + + :return: The parent_task_metadata of this EventNodeExecutionEvent. # noqa: E501 + :rtype: EventParentTaskExecutionMetadata + """ + return self._parent_task_metadata + + @parent_task_metadata.setter + def parent_task_metadata(self, parent_task_metadata): + """Sets the parent_task_metadata of this EventNodeExecutionEvent. + + [To be deprecated] Specifies which task (if any) launched this node. # noqa: E501 + + :param parent_task_metadata: The parent_task_metadata of this EventNodeExecutionEvent. # noqa: E501 + :type: EventParentTaskExecutionMetadata + """ + + self._parent_task_metadata = parent_task_metadata + + @property + def parent_node_metadata(self): + """Gets the parent_node_metadata of this EventNodeExecutionEvent. # noqa: E501 + + Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node. # noqa: E501 + + :return: The parent_node_metadata of this EventNodeExecutionEvent. # noqa: E501 + :rtype: EventParentNodeExecutionMetadata + """ + return self._parent_node_metadata + + @parent_node_metadata.setter + def parent_node_metadata(self, parent_node_metadata): + """Sets the parent_node_metadata of this EventNodeExecutionEvent. + + Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node. # noqa: E501 + + :param parent_node_metadata: The parent_node_metadata of this EventNodeExecutionEvent. # noqa: E501 + :type: EventParentNodeExecutionMetadata + """ + + self._parent_node_metadata = parent_node_metadata + + @property + def retry_group(self): + """Gets the retry_group of this EventNodeExecutionEvent. # noqa: E501 + + + :return: The retry_group of this EventNodeExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._retry_group + + @retry_group.setter + def retry_group(self, retry_group): + """Sets the retry_group of this EventNodeExecutionEvent. + + + :param retry_group: The retry_group of this EventNodeExecutionEvent. # noqa: E501 + :type: str + """ + + self._retry_group = retry_group + + @property + def spec_node_id(self): + """Gets the spec_node_id of this EventNodeExecutionEvent. # noqa: E501 + + + :return: The spec_node_id of this EventNodeExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._spec_node_id + + @spec_node_id.setter + def spec_node_id(self, spec_node_id): + """Sets the spec_node_id of this EventNodeExecutionEvent. + + + :param spec_node_id: The spec_node_id of this EventNodeExecutionEvent. # noqa: E501 + :type: str + """ + + self._spec_node_id = spec_node_id + + @property + def node_name(self): + """Gets the node_name of this EventNodeExecutionEvent. # noqa: E501 + + + :return: The node_name of this EventNodeExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._node_name + + @node_name.setter + def node_name(self, node_name): + """Sets the node_name of this EventNodeExecutionEvent. + + + :param node_name: The node_name of this EventNodeExecutionEvent. # noqa: E501 + :type: str + """ + + self._node_name = node_name + + @property + def event_version(self): + """Gets the event_version of this EventNodeExecutionEvent. # noqa: E501 + + + :return: The event_version of this EventNodeExecutionEvent. # noqa: E501 + :rtype: int + """ + return self._event_version + + @event_version.setter + def event_version(self, event_version): + """Sets the event_version of this EventNodeExecutionEvent. + + + :param event_version: The event_version of this EventNodeExecutionEvent. # noqa: E501 + :type: int + """ + + self._event_version = event_version + + @property + def is_parent(self): + """Gets the is_parent of this EventNodeExecutionEvent. # noqa: E501 + + Whether this node launched a subworkflow. # noqa: E501 + + :return: The is_parent of this EventNodeExecutionEvent. # noqa: E501 + :rtype: bool + """ + return self._is_parent + + @is_parent.setter + def is_parent(self, is_parent): + """Sets the is_parent of this EventNodeExecutionEvent. + + Whether this node launched a subworkflow. # noqa: E501 + + :param is_parent: The is_parent of this EventNodeExecutionEvent. # noqa: E501 + :type: bool + """ + + self._is_parent = is_parent + + @property + def is_dynamic(self): + """Gets the is_dynamic of this EventNodeExecutionEvent. # noqa: E501 + + Whether this node yielded a dynamic workflow. # noqa: E501 + + :return: The is_dynamic of this EventNodeExecutionEvent. # noqa: E501 + :rtype: bool + """ + return self._is_dynamic + + @is_dynamic.setter + def is_dynamic(self, is_dynamic): + """Sets the is_dynamic of this EventNodeExecutionEvent. + + Whether this node yielded a dynamic workflow. # noqa: E501 + + :param is_dynamic: The is_dynamic of this EventNodeExecutionEvent. # noqa: E501 + :type: bool + """ + + self._is_dynamic = is_dynamic + + @property + def deck_uri(self): + """Gets the deck_uri of this EventNodeExecutionEvent. # noqa: E501 + + + :return: The deck_uri of this EventNodeExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._deck_uri + + @deck_uri.setter + def deck_uri(self, deck_uri): + """Sets the deck_uri of this EventNodeExecutionEvent. + + + :param deck_uri: The deck_uri of this EventNodeExecutionEvent. # noqa: E501 + :type: str + """ + + self._deck_uri = deck_uri + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(EventNodeExecutionEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EventNodeExecutionEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_node_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_node_execution_metadata.py new file mode 100644 index 000000000..8ca2ec749 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_node_execution_metadata.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class EventParentNodeExecutionMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'node_id': 'str' + } + + attribute_map = { + 'node_id': 'node_id' + } + + def __init__(self, node_id=None): # noqa: E501 + """EventParentNodeExecutionMetadata - a model defined in Swagger""" # noqa: E501 + + self._node_id = None + self.discriminator = None + + if node_id is not None: + self.node_id = node_id + + @property + def node_id(self): + """Gets the node_id of this EventParentNodeExecutionMetadata. # noqa: E501 + + + :return: The node_id of this EventParentNodeExecutionMetadata. # noqa: E501 + :rtype: str + """ + return self._node_id + + @node_id.setter + def node_id(self, node_id): + """Sets the node_id of this EventParentNodeExecutionMetadata. + + + :param node_id: The node_id of this EventParentNodeExecutionMetadata. # noqa: E501 + :type: str + """ + + self._node_id = node_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(EventParentNodeExecutionMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EventParentNodeExecutionMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_task_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_task_execution_metadata.py new file mode 100644 index 000000000..9d640fcd1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_task_execution_metadata.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: F401,E501 + + +class EventParentTaskExecutionMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreTaskExecutionIdentifier' + } + + attribute_map = { + 'id': 'id' + } + + def __init__(self, id=None): # noqa: E501 + """EventParentTaskExecutionMetadata - a model defined in Swagger""" # noqa: E501 + + self._id = None + self.discriminator = None + + if id is not None: + self.id = id + + @property + def id(self): + """Gets the id of this EventParentTaskExecutionMetadata. # noqa: E501 + + + :return: The id of this EventParentTaskExecutionMetadata. # noqa: E501 + :rtype: CoreTaskExecutionIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this EventParentTaskExecutionMetadata. + + + :param id: The id of this EventParentTaskExecutionMetadata. # noqa: E501 + :type: CoreTaskExecutionIdentifier + """ + + self._id = id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(EventParentTaskExecutionMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EventParentTaskExecutionMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_resource_pool_info.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_resource_pool_info.py new file mode 100644 index 000000000..f15bb90a1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_resource_pool_info.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class EventResourcePoolInfo(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'allocation_token': 'str', + 'namespace': 'str' + } + + attribute_map = { + 'allocation_token': 'allocation_token', + 'namespace': 'namespace' + } + + def __init__(self, allocation_token=None, namespace=None): # noqa: E501 + """EventResourcePoolInfo - a model defined in Swagger""" # noqa: E501 + + self._allocation_token = None + self._namespace = None + self.discriminator = None + + if allocation_token is not None: + self.allocation_token = allocation_token + if namespace is not None: + self.namespace = namespace + + @property + def allocation_token(self): + """Gets the allocation_token of this EventResourcePoolInfo. # noqa: E501 + + Unique resource ID used to identify this execution when allocating a token. # noqa: E501 + + :return: The allocation_token of this EventResourcePoolInfo. # noqa: E501 + :rtype: str + """ + return self._allocation_token + + @allocation_token.setter + def allocation_token(self, allocation_token): + """Sets the allocation_token of this EventResourcePoolInfo. + + Unique resource ID used to identify this execution when allocating a token. # noqa: E501 + + :param allocation_token: The allocation_token of this EventResourcePoolInfo. # noqa: E501 + :type: str + """ + + self._allocation_token = allocation_token + + @property + def namespace(self): + """Gets the namespace of this EventResourcePoolInfo. # noqa: E501 + + Namespace under which this task execution requested an allocation token. # noqa: E501 + + :return: The namespace of this EventResourcePoolInfo. # noqa: E501 + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this EventResourcePoolInfo. + + Namespace under which this task execution requested an allocation token. # noqa: E501 + + :param namespace: The namespace of this EventResourcePoolInfo. # noqa: E501 + :type: str + """ + + self._namespace = namespace + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(EventResourcePoolInfo, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EventResourcePoolInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py new file mode 100644 index 000000000..219c9becd --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py @@ -0,0 +1,562 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 +from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 +from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase # noqa: F401,E501 +from flyteadmin.models.core_task_log import CoreTaskLog # noqa: F401,E501 +from flyteadmin.models.event_task_execution_metadata import EventTaskExecutionMetadata # noqa: F401,E501 +from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 + + +class EventTaskExecutionEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'task_id': 'CoreIdentifier', + 'parent_node_execution_id': 'CoreNodeExecutionIdentifier', + 'retry_attempt': 'int', + 'phase': 'CoreTaskExecutionPhase', + 'producer_id': 'str', + 'logs': 'list[CoreTaskLog]', + 'occurred_at': 'datetime', + 'input_uri': 'str', + 'output_uri': 'str', + 'error': 'CoreExecutionError', + 'output_data': 'CoreLiteralMap', + 'custom_info': 'ProtobufStruct', + 'phase_version': 'int', + 'reason': 'str', + 'task_type': 'str', + 'metadata': 'EventTaskExecutionMetadata', + 'event_version': 'int' + } + + attribute_map = { + 'task_id': 'task_id', + 'parent_node_execution_id': 'parent_node_execution_id', + 'retry_attempt': 'retry_attempt', + 'phase': 'phase', + 'producer_id': 'producer_id', + 'logs': 'logs', + 'occurred_at': 'occurred_at', + 'input_uri': 'input_uri', + 'output_uri': 'output_uri', + 'error': 'error', + 'output_data': 'output_data', + 'custom_info': 'custom_info', + 'phase_version': 'phase_version', + 'reason': 'reason', + 'task_type': 'task_type', + 'metadata': 'metadata', + 'event_version': 'event_version' + } + + def __init__(self, task_id=None, parent_node_execution_id=None, retry_attempt=None, phase=None, producer_id=None, logs=None, occurred_at=None, input_uri=None, output_uri=None, error=None, output_data=None, custom_info=None, phase_version=None, reason=None, task_type=None, metadata=None, event_version=None): # noqa: E501 + """EventTaskExecutionEvent - a model defined in Swagger""" # noqa: E501 + + self._task_id = None + self._parent_node_execution_id = None + self._retry_attempt = None + self._phase = None + self._producer_id = None + self._logs = None + self._occurred_at = None + self._input_uri = None + self._output_uri = None + self._error = None + self._output_data = None + self._custom_info = None + self._phase_version = None + self._reason = None + self._task_type = None + self._metadata = None + self._event_version = None + self.discriminator = None + + if task_id is not None: + self.task_id = task_id + if parent_node_execution_id is not None: + self.parent_node_execution_id = parent_node_execution_id + if retry_attempt is not None: + self.retry_attempt = retry_attempt + if phase is not None: + self.phase = phase + if producer_id is not None: + self.producer_id = producer_id + if logs is not None: + self.logs = logs + if occurred_at is not None: + self.occurred_at = occurred_at + if input_uri is not None: + self.input_uri = input_uri + if output_uri is not None: + self.output_uri = output_uri + if error is not None: + self.error = error + if output_data is not None: + self.output_data = output_data + if custom_info is not None: + self.custom_info = custom_info + if phase_version is not None: + self.phase_version = phase_version + if reason is not None: + self.reason = reason + if task_type is not None: + self.task_type = task_type + if metadata is not None: + self.metadata = metadata + if event_version is not None: + self.event_version = event_version + + @property + def task_id(self): + """Gets the task_id of this EventTaskExecutionEvent. # noqa: E501 + + ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution. # noqa: E501 + + :return: The task_id of this EventTaskExecutionEvent. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._task_id + + @task_id.setter + def task_id(self, task_id): + """Sets the task_id of this EventTaskExecutionEvent. + + ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution. # noqa: E501 + + :param task_id: The task_id of this EventTaskExecutionEvent. # noqa: E501 + :type: CoreIdentifier + """ + + self._task_id = task_id + + @property + def parent_node_execution_id(self): + """Gets the parent_node_execution_id of this EventTaskExecutionEvent. # noqa: E501 + + + :return: The parent_node_execution_id of this EventTaskExecutionEvent. # noqa: E501 + :rtype: CoreNodeExecutionIdentifier + """ + return self._parent_node_execution_id + + @parent_node_execution_id.setter + def parent_node_execution_id(self, parent_node_execution_id): + """Sets the parent_node_execution_id of this EventTaskExecutionEvent. + + + :param parent_node_execution_id: The parent_node_execution_id of this EventTaskExecutionEvent. # noqa: E501 + :type: CoreNodeExecutionIdentifier + """ + + self._parent_node_execution_id = parent_node_execution_id + + @property + def retry_attempt(self): + """Gets the retry_attempt of this EventTaskExecutionEvent. # noqa: E501 + + + :return: The retry_attempt of this EventTaskExecutionEvent. # noqa: E501 + :rtype: int + """ + return self._retry_attempt + + @retry_attempt.setter + def retry_attempt(self, retry_attempt): + """Sets the retry_attempt of this EventTaskExecutionEvent. + + + :param retry_attempt: The retry_attempt of this EventTaskExecutionEvent. # noqa: E501 + :type: int + """ + + self._retry_attempt = retry_attempt + + @property + def phase(self): + """Gets the phase of this EventTaskExecutionEvent. # noqa: E501 + + + :return: The phase of this EventTaskExecutionEvent. # noqa: E501 + :rtype: CoreTaskExecutionPhase + """ + return self._phase + + @phase.setter + def phase(self, phase): + """Sets the phase of this EventTaskExecutionEvent. + + + :param phase: The phase of this EventTaskExecutionEvent. # noqa: E501 + :type: CoreTaskExecutionPhase + """ + + self._phase = phase + + @property + def producer_id(self): + """Gets the producer_id of this EventTaskExecutionEvent. # noqa: E501 + + + :return: The producer_id of this EventTaskExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._producer_id + + @producer_id.setter + def producer_id(self, producer_id): + """Sets the producer_id of this EventTaskExecutionEvent. + + + :param producer_id: The producer_id of this EventTaskExecutionEvent. # noqa: E501 + :type: str + """ + + self._producer_id = producer_id + + @property + def logs(self): + """Gets the logs of this EventTaskExecutionEvent. # noqa: E501 + + + :return: The logs of this EventTaskExecutionEvent. # noqa: E501 + :rtype: list[CoreTaskLog] + """ + return self._logs + + @logs.setter + def logs(self, logs): + """Sets the logs of this EventTaskExecutionEvent. + + + :param logs: The logs of this EventTaskExecutionEvent. # noqa: E501 + :type: list[CoreTaskLog] + """ + + self._logs = logs + + @property + def occurred_at(self): + """Gets the occurred_at of this EventTaskExecutionEvent. # noqa: E501 + + This timestamp represents when the original event occurred, it is generated by the executor of the task. # noqa: E501 + + :return: The occurred_at of this EventTaskExecutionEvent. # noqa: E501 + :rtype: datetime + """ + return self._occurred_at + + @occurred_at.setter + def occurred_at(self, occurred_at): + """Sets the occurred_at of this EventTaskExecutionEvent. + + This timestamp represents when the original event occurred, it is generated by the executor of the task. # noqa: E501 + + :param occurred_at: The occurred_at of this EventTaskExecutionEvent. # noqa: E501 + :type: datetime + """ + + self._occurred_at = occurred_at + + @property + def input_uri(self): + """Gets the input_uri of this EventTaskExecutionEvent. # noqa: E501 + + URI of the input file, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 + + :return: The input_uri of this EventTaskExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._input_uri + + @input_uri.setter + def input_uri(self, input_uri): + """Sets the input_uri of this EventTaskExecutionEvent. + + URI of the input file, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 + + :param input_uri: The input_uri of this EventTaskExecutionEvent. # noqa: E501 + :type: str + """ + + self._input_uri = input_uri + + @property + def output_uri(self): + """Gets the output_uri of this EventTaskExecutionEvent. # noqa: E501 + + URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 + + :return: The output_uri of this EventTaskExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._output_uri + + @output_uri.setter + def output_uri(self, output_uri): + """Sets the output_uri of this EventTaskExecutionEvent. + + URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 + + :param output_uri: The output_uri of this EventTaskExecutionEvent. # noqa: E501 + :type: str + """ + + self._output_uri = output_uri + + @property + def error(self): + """Gets the error of this EventTaskExecutionEvent. # noqa: E501 + + + :return: The error of this EventTaskExecutionEvent. # noqa: E501 + :rtype: CoreExecutionError + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this EventTaskExecutionEvent. + + + :param error: The error of this EventTaskExecutionEvent. # noqa: E501 + :type: CoreExecutionError + """ + + self._error = error + + @property + def output_data(self): + """Gets the output_data of this EventTaskExecutionEvent. # noqa: E501 + + Raw output data produced by this task execution. # noqa: E501 + + :return: The output_data of this EventTaskExecutionEvent. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._output_data + + @output_data.setter + def output_data(self, output_data): + """Sets the output_data of this EventTaskExecutionEvent. + + Raw output data produced by this task execution. # noqa: E501 + + :param output_data: The output_data of this EventTaskExecutionEvent. # noqa: E501 + :type: CoreLiteralMap + """ + + self._output_data = output_data + + @property + def custom_info(self): + """Gets the custom_info of this EventTaskExecutionEvent. # noqa: E501 + + Custom data that the task plugin sends back. This is extensible to allow various plugins in the system. # noqa: E501 + + :return: The custom_info of this EventTaskExecutionEvent. # noqa: E501 + :rtype: ProtobufStruct + """ + return self._custom_info + + @custom_info.setter + def custom_info(self, custom_info): + """Sets the custom_info of this EventTaskExecutionEvent. + + Custom data that the task plugin sends back. This is extensible to allow various plugins in the system. # noqa: E501 + + :param custom_info: The custom_info of this EventTaskExecutionEvent. # noqa: E501 + :type: ProtobufStruct + """ + + self._custom_info = custom_info + + @property + def phase_version(self): + """Gets the phase_version of this EventTaskExecutionEvent. # noqa: E501 + + Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) that should be recorded regardless of the lack of phase change. The version field should be incremented when metadata changes across the duration of an individual phase. # noqa: E501 + + :return: The phase_version of this EventTaskExecutionEvent. # noqa: E501 + :rtype: int + """ + return self._phase_version + + @phase_version.setter + def phase_version(self, phase_version): + """Sets the phase_version of this EventTaskExecutionEvent. + + Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) that should be recorded regardless of the lack of phase change. The version field should be incremented when metadata changes across the duration of an individual phase. # noqa: E501 + + :param phase_version: The phase_version of this EventTaskExecutionEvent. # noqa: E501 + :type: int + """ + + self._phase_version = phase_version + + @property + def reason(self): + """Gets the reason of this EventTaskExecutionEvent. # noqa: E501 + + An optional explanation for the phase transition. # noqa: E501 + + :return: The reason of this EventTaskExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this EventTaskExecutionEvent. + + An optional explanation for the phase transition. # noqa: E501 + + :param reason: The reason of this EventTaskExecutionEvent. # noqa: E501 + :type: str + """ + + self._reason = reason + + @property + def task_type(self): + """Gets the task_type of this EventTaskExecutionEvent. # noqa: E501 + + A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin this type will be identical, but not all task executions necessarily use pre-registered definitions and this type is useful to render the task in the UI, filter task executions, etc. # noqa: E501 + + :return: The task_type of this EventTaskExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._task_type + + @task_type.setter + def task_type(self, task_type): + """Sets the task_type of this EventTaskExecutionEvent. + + A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin this type will be identical, but not all task executions necessarily use pre-registered definitions and this type is useful to render the task in the UI, filter task executions, etc. # noqa: E501 + + :param task_type: The task_type of this EventTaskExecutionEvent. # noqa: E501 + :type: str + """ + + self._task_type = task_type + + @property + def metadata(self): + """Gets the metadata of this EventTaskExecutionEvent. # noqa: E501 + + Metadata around how a task was executed. # noqa: E501 + + :return: The metadata of this EventTaskExecutionEvent. # noqa: E501 + :rtype: EventTaskExecutionMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this EventTaskExecutionEvent. + + Metadata around how a task was executed. # noqa: E501 + + :param metadata: The metadata of this EventTaskExecutionEvent. # noqa: E501 + :type: EventTaskExecutionMetadata + """ + + self._metadata = metadata + + @property + def event_version(self): + """Gets the event_version of this EventTaskExecutionEvent. # noqa: E501 + + The event version is used to indicate versioned changes in how data is reported using this proto message. For example, event_verison > 0 means that maps tasks report logs using the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. # noqa: E501 + + :return: The event_version of this EventTaskExecutionEvent. # noqa: E501 + :rtype: int + """ + return self._event_version + + @event_version.setter + def event_version(self, event_version): + """Sets the event_version of this EventTaskExecutionEvent. + + The event version is used to indicate versioned changes in how data is reported using this proto message. For example, event_verison > 0 means that maps tasks report logs using the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. # noqa: E501 + + :param event_version: The event_version of this EventTaskExecutionEvent. # noqa: E501 + :type: int + """ + + self._event_version = event_version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(EventTaskExecutionEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EventTaskExecutionEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_metadata.py new file mode 100644 index 000000000..b1ae708b2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_metadata.py @@ -0,0 +1,231 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.event_external_resource_info import EventExternalResourceInfo # noqa: F401,E501 +from flyteadmin.models.event_resource_pool_info import EventResourcePoolInfo # noqa: F401,E501 +from flyteadmin.models.task_execution_metadata_instance_class import TaskExecutionMetadataInstanceClass # noqa: F401,E501 + + +class EventTaskExecutionMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'generated_name': 'str', + 'external_resources': 'list[EventExternalResourceInfo]', + 'resource_pool_info': 'list[EventResourcePoolInfo]', + 'plugin_identifier': 'str', + 'instance_class': 'TaskExecutionMetadataInstanceClass' + } + + attribute_map = { + 'generated_name': 'generated_name', + 'external_resources': 'external_resources', + 'resource_pool_info': 'resource_pool_info', + 'plugin_identifier': 'plugin_identifier', + 'instance_class': 'instance_class' + } + + def __init__(self, generated_name=None, external_resources=None, resource_pool_info=None, plugin_identifier=None, instance_class=None): # noqa: E501 + """EventTaskExecutionMetadata - a model defined in Swagger""" # noqa: E501 + + self._generated_name = None + self._external_resources = None + self._resource_pool_info = None + self._plugin_identifier = None + self._instance_class = None + self.discriminator = None + + if generated_name is not None: + self.generated_name = generated_name + if external_resources is not None: + self.external_resources = external_resources + if resource_pool_info is not None: + self.resource_pool_info = resource_pool_info + if plugin_identifier is not None: + self.plugin_identifier = plugin_identifier + if instance_class is not None: + self.instance_class = instance_class + + @property + def generated_name(self): + """Gets the generated_name of this EventTaskExecutionMetadata. # noqa: E501 + + Unique, generated name for this task execution used by the backend. # noqa: E501 + + :return: The generated_name of this EventTaskExecutionMetadata. # noqa: E501 + :rtype: str + """ + return self._generated_name + + @generated_name.setter + def generated_name(self, generated_name): + """Sets the generated_name of this EventTaskExecutionMetadata. + + Unique, generated name for this task execution used by the backend. # noqa: E501 + + :param generated_name: The generated_name of this EventTaskExecutionMetadata. # noqa: E501 + :type: str + """ + + self._generated_name = generated_name + + @property + def external_resources(self): + """Gets the external_resources of this EventTaskExecutionMetadata. # noqa: E501 + + Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution. # noqa: E501 + + :return: The external_resources of this EventTaskExecutionMetadata. # noqa: E501 + :rtype: list[EventExternalResourceInfo] + """ + return self._external_resources + + @external_resources.setter + def external_resources(self, external_resources): + """Sets the external_resources of this EventTaskExecutionMetadata. + + Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution. # noqa: E501 + + :param external_resources: The external_resources of this EventTaskExecutionMetadata. # noqa: E501 + :type: list[EventExternalResourceInfo] + """ + + self._external_resources = external_resources + + @property + def resource_pool_info(self): + """Gets the resource_pool_info of this EventTaskExecutionMetadata. # noqa: E501 + + Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution. # noqa: E501 + + :return: The resource_pool_info of this EventTaskExecutionMetadata. # noqa: E501 + :rtype: list[EventResourcePoolInfo] + """ + return self._resource_pool_info + + @resource_pool_info.setter + def resource_pool_info(self, resource_pool_info): + """Sets the resource_pool_info of this EventTaskExecutionMetadata. + + Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution. # noqa: E501 + + :param resource_pool_info: The resource_pool_info of this EventTaskExecutionMetadata. # noqa: E501 + :type: list[EventResourcePoolInfo] + """ + + self._resource_pool_info = resource_pool_info + + @property + def plugin_identifier(self): + """Gets the plugin_identifier of this EventTaskExecutionMetadata. # noqa: E501 + + The identifier of the plugin used to execute this task. # noqa: E501 + + :return: The plugin_identifier of this EventTaskExecutionMetadata. # noqa: E501 + :rtype: str + """ + return self._plugin_identifier + + @plugin_identifier.setter + def plugin_identifier(self, plugin_identifier): + """Sets the plugin_identifier of this EventTaskExecutionMetadata. + + The identifier of the plugin used to execute this task. # noqa: E501 + + :param plugin_identifier: The plugin_identifier of this EventTaskExecutionMetadata. # noqa: E501 + :type: str + """ + + self._plugin_identifier = plugin_identifier + + @property + def instance_class(self): + """Gets the instance_class of this EventTaskExecutionMetadata. # noqa: E501 + + + :return: The instance_class of this EventTaskExecutionMetadata. # noqa: E501 + :rtype: TaskExecutionMetadataInstanceClass + """ + return self._instance_class + + @instance_class.setter + def instance_class(self, instance_class): + """Sets the instance_class of this EventTaskExecutionMetadata. + + + :param instance_class: The instance_class of this EventTaskExecutionMetadata. # noqa: E501 + :type: TaskExecutionMetadataInstanceClass + """ + + self._instance_class = instance_class + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(EventTaskExecutionMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EventTaskExecutionMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_workflow_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_workflow_execution_event.py new file mode 100644 index 000000000..97331dfbb --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_workflow_execution_event.py @@ -0,0 +1,282 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 +from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase # noqa: F401,E501 + + +class EventWorkflowExecutionEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'execution_id': 'CoreWorkflowExecutionIdentifier', + 'producer_id': 'str', + 'phase': 'CoreWorkflowExecutionPhase', + 'occurred_at': 'datetime', + 'output_uri': 'str', + 'error': 'CoreExecutionError', + 'output_data': 'CoreLiteralMap' + } + + attribute_map = { + 'execution_id': 'execution_id', + 'producer_id': 'producer_id', + 'phase': 'phase', + 'occurred_at': 'occurred_at', + 'output_uri': 'output_uri', + 'error': 'error', + 'output_data': 'output_data' + } + + def __init__(self, execution_id=None, producer_id=None, phase=None, occurred_at=None, output_uri=None, error=None, output_data=None): # noqa: E501 + """EventWorkflowExecutionEvent - a model defined in Swagger""" # noqa: E501 + + self._execution_id = None + self._producer_id = None + self._phase = None + self._occurred_at = None + self._output_uri = None + self._error = None + self._output_data = None + self.discriminator = None + + if execution_id is not None: + self.execution_id = execution_id + if producer_id is not None: + self.producer_id = producer_id + if phase is not None: + self.phase = phase + if occurred_at is not None: + self.occurred_at = occurred_at + if output_uri is not None: + self.output_uri = output_uri + if error is not None: + self.error = error + if output_data is not None: + self.output_data = output_data + + @property + def execution_id(self): + """Gets the execution_id of this EventWorkflowExecutionEvent. # noqa: E501 + + + :return: The execution_id of this EventWorkflowExecutionEvent. # noqa: E501 + :rtype: CoreWorkflowExecutionIdentifier + """ + return self._execution_id + + @execution_id.setter + def execution_id(self, execution_id): + """Sets the execution_id of this EventWorkflowExecutionEvent. + + + :param execution_id: The execution_id of this EventWorkflowExecutionEvent. # noqa: E501 + :type: CoreWorkflowExecutionIdentifier + """ + + self._execution_id = execution_id + + @property + def producer_id(self): + """Gets the producer_id of this EventWorkflowExecutionEvent. # noqa: E501 + + + :return: The producer_id of this EventWorkflowExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._producer_id + + @producer_id.setter + def producer_id(self, producer_id): + """Sets the producer_id of this EventWorkflowExecutionEvent. + + + :param producer_id: The producer_id of this EventWorkflowExecutionEvent. # noqa: E501 + :type: str + """ + + self._producer_id = producer_id + + @property + def phase(self): + """Gets the phase of this EventWorkflowExecutionEvent. # noqa: E501 + + + :return: The phase of this EventWorkflowExecutionEvent. # noqa: E501 + :rtype: CoreWorkflowExecutionPhase + """ + return self._phase + + @phase.setter + def phase(self, phase): + """Sets the phase of this EventWorkflowExecutionEvent. + + + :param phase: The phase of this EventWorkflowExecutionEvent. # noqa: E501 + :type: CoreWorkflowExecutionPhase + """ + + self._phase = phase + + @property + def occurred_at(self): + """Gets the occurred_at of this EventWorkflowExecutionEvent. # noqa: E501 + + This timestamp represents when the original event occurred, it is generated by the executor of the workflow. # noqa: E501 + + :return: The occurred_at of this EventWorkflowExecutionEvent. # noqa: E501 + :rtype: datetime + """ + return self._occurred_at + + @occurred_at.setter + def occurred_at(self, occurred_at): + """Sets the occurred_at of this EventWorkflowExecutionEvent. + + This timestamp represents when the original event occurred, it is generated by the executor of the workflow. # noqa: E501 + + :param occurred_at: The occurred_at of this EventWorkflowExecutionEvent. # noqa: E501 + :type: datetime + """ + + self._occurred_at = occurred_at + + @property + def output_uri(self): + """Gets the output_uri of this EventWorkflowExecutionEvent. # noqa: E501 + + URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 + + :return: The output_uri of this EventWorkflowExecutionEvent. # noqa: E501 + :rtype: str + """ + return self._output_uri + + @output_uri.setter + def output_uri(self, output_uri): + """Sets the output_uri of this EventWorkflowExecutionEvent. + + URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 + + :param output_uri: The output_uri of this EventWorkflowExecutionEvent. # noqa: E501 + :type: str + """ + + self._output_uri = output_uri + + @property + def error(self): + """Gets the error of this EventWorkflowExecutionEvent. # noqa: E501 + + + :return: The error of this EventWorkflowExecutionEvent. # noqa: E501 + :rtype: CoreExecutionError + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this EventWorkflowExecutionEvent. + + + :param error: The error of this EventWorkflowExecutionEvent. # noqa: E501 + :type: CoreExecutionError + """ + + self._error = error + + @property + def output_data(self): + """Gets the output_data of this EventWorkflowExecutionEvent. # noqa: E501 + + Raw output data produced by this workflow execution. # noqa: E501 + + :return: The output_data of this EventWorkflowExecutionEvent. # noqa: E501 + :rtype: CoreLiteralMap + """ + return self._output_data + + @output_data.setter + def output_data(self, output_data): + """Sets the output_data of this EventWorkflowExecutionEvent. + + Raw output data produced by this workflow execution. # noqa: E501 + + :param output_data: The output_data of this EventWorkflowExecutionEvent. # noqa: E501 + :type: CoreLiteralMap + """ + + self._output_data = output_data + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(EventWorkflowExecutionEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EventWorkflowExecutionEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_error_error_kind.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_error_error_kind.py new file mode 100644 index 000000000..91504474a --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_error_error_kind.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ExecutionErrorErrorKind(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UNKNOWN = "UNKNOWN" + USER = "USER" + SYSTEM = "SYSTEM" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ExecutionErrorErrorKind - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ExecutionErrorErrorKind, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ExecutionErrorErrorKind): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_metadata_execution_mode.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_metadata_execution_mode.py new file mode 100644 index 000000000..cca95359f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_metadata_execution_mode.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ExecutionMetadataExecutionMode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + MANUAL = "MANUAL" + SCHEDULED = "SCHEDULED" + SYSTEM = "SYSTEM" + RELAUNCH = "RELAUNCH" + CHILD_WORKFLOW = "CHILD_WORKFLOW" + RECOVERED = "RECOVERED" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ExecutionMetadataExecutionMode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ExecutionMetadataExecutionMode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ExecutionMetadataExecutionMode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py new file mode 100644 index 000000000..1f818ec38 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 + + +class FlyteidladminDynamicWorkflowNodeMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreIdentifier', + 'compiled_workflow': 'CoreCompiledWorkflowClosure' + } + + attribute_map = { + 'id': 'id', + 'compiled_workflow': 'compiled_workflow' + } + + def __init__(self, id=None, compiled_workflow=None): # noqa: E501 + """FlyteidladminDynamicWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._compiled_workflow = None + self.discriminator = None + + if id is not None: + self.id = id + if compiled_workflow is not None: + self.compiled_workflow = compiled_workflow + + @property + def id(self): + """Gets the id of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 + + id represents the unique identifier of the workflow. # noqa: E501 + + :return: The id of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this FlyteidladminDynamicWorkflowNodeMetadata. + + id represents the unique identifier of the workflow. # noqa: E501 + + :param id: The id of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 + :type: CoreIdentifier + """ + + self._id = id + + @property + def compiled_workflow(self): + """Gets the compiled_workflow of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 + + Represents the compiled representation of the embedded dynamic workflow. # noqa: E501 + + :return: The compiled_workflow of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 + :rtype: CoreCompiledWorkflowClosure + """ + return self._compiled_workflow + + @compiled_workflow.setter + def compiled_workflow(self, compiled_workflow): + """Sets the compiled_workflow of this FlyteidladminDynamicWorkflowNodeMetadata. + + Represents the compiled representation of the embedded dynamic workflow. # noqa: E501 + + :param compiled_workflow: The compiled_workflow of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 + :type: CoreCompiledWorkflowClosure + """ + + self._compiled_workflow = compiled_workflow + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(FlyteidladminDynamicWorkflowNodeMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FlyteidladminDynamicWorkflowNodeMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_node_execution.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_node_execution.py new file mode 100644 index 000000000..f1c1d0cb7 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_node_execution.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_node_execution_closure import AdminNodeExecutionClosure # noqa: F401,E501 +from flyteadmin.models.admin_node_execution_meta_data import AdminNodeExecutionMetaData # noqa: F401,E501 +from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 + + +class FlyteidladminNodeExecution(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreNodeExecutionIdentifier', + 'input_uri': 'str', + 'closure': 'AdminNodeExecutionClosure', + 'metadata': 'AdminNodeExecutionMetaData' + } + + attribute_map = { + 'id': 'id', + 'input_uri': 'input_uri', + 'closure': 'closure', + 'metadata': 'metadata' + } + + def __init__(self, id=None, input_uri=None, closure=None, metadata=None): # noqa: E501 + """FlyteidladminNodeExecution - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._input_uri = None + self._closure = None + self._metadata = None + self.discriminator = None + + if id is not None: + self.id = id + if input_uri is not None: + self.input_uri = input_uri + if closure is not None: + self.closure = closure + if metadata is not None: + self.metadata = metadata + + @property + def id(self): + """Gets the id of this FlyteidladminNodeExecution. # noqa: E501 + + Uniquely identifies an individual node execution. # noqa: E501 + + :return: The id of this FlyteidladminNodeExecution. # noqa: E501 + :rtype: CoreNodeExecutionIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this FlyteidladminNodeExecution. + + Uniquely identifies an individual node execution. # noqa: E501 + + :param id: The id of this FlyteidladminNodeExecution. # noqa: E501 + :type: CoreNodeExecutionIdentifier + """ + + self._id = id + + @property + def input_uri(self): + """Gets the input_uri of this FlyteidladminNodeExecution. # noqa: E501 + + Path to remote data store where input blob is stored. # noqa: E501 + + :return: The input_uri of this FlyteidladminNodeExecution. # noqa: E501 + :rtype: str + """ + return self._input_uri + + @input_uri.setter + def input_uri(self, input_uri): + """Sets the input_uri of this FlyteidladminNodeExecution. + + Path to remote data store where input blob is stored. # noqa: E501 + + :param input_uri: The input_uri of this FlyteidladminNodeExecution. # noqa: E501 + :type: str + """ + + self._input_uri = input_uri + + @property + def closure(self): + """Gets the closure of this FlyteidladminNodeExecution. # noqa: E501 + + Computed results associated with this node execution. # noqa: E501 + + :return: The closure of this FlyteidladminNodeExecution. # noqa: E501 + :rtype: AdminNodeExecutionClosure + """ + return self._closure + + @closure.setter + def closure(self, closure): + """Sets the closure of this FlyteidladminNodeExecution. + + Computed results associated with this node execution. # noqa: E501 + + :param closure: The closure of this FlyteidladminNodeExecution. # noqa: E501 + :type: AdminNodeExecutionClosure + """ + + self._closure = closure + + @property + def metadata(self): + """Gets the metadata of this FlyteidladminNodeExecution. # noqa: E501 + + + :return: The metadata of this FlyteidladminNodeExecution. # noqa: E501 + :rtype: AdminNodeExecutionMetaData + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this FlyteidladminNodeExecution. + + + :param metadata: The metadata of this FlyteidladminNodeExecution. # noqa: E501 + :type: AdminNodeExecutionMetaData + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(FlyteidladminNodeExecution, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FlyteidladminNodeExecution): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_execution.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_execution.py new file mode 100644 index 000000000..bbb30485c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_execution.py @@ -0,0 +1,204 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure # noqa: F401,E501 +from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: F401,E501 + + +class FlyteidladminTaskExecution(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreTaskExecutionIdentifier', + 'input_uri': 'str', + 'closure': 'AdminTaskExecutionClosure', + 'is_parent': 'bool' + } + + attribute_map = { + 'id': 'id', + 'input_uri': 'input_uri', + 'closure': 'closure', + 'is_parent': 'is_parent' + } + + def __init__(self, id=None, input_uri=None, closure=None, is_parent=None): # noqa: E501 + """FlyteidladminTaskExecution - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._input_uri = None + self._closure = None + self._is_parent = None + self.discriminator = None + + if id is not None: + self.id = id + if input_uri is not None: + self.input_uri = input_uri + if closure is not None: + self.closure = closure + if is_parent is not None: + self.is_parent = is_parent + + @property + def id(self): + """Gets the id of this FlyteidladminTaskExecution. # noqa: E501 + + Unique identifier for the task execution. # noqa: E501 + + :return: The id of this FlyteidladminTaskExecution. # noqa: E501 + :rtype: CoreTaskExecutionIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this FlyteidladminTaskExecution. + + Unique identifier for the task execution. # noqa: E501 + + :param id: The id of this FlyteidladminTaskExecution. # noqa: E501 + :type: CoreTaskExecutionIdentifier + """ + + self._id = id + + @property + def input_uri(self): + """Gets the input_uri of this FlyteidladminTaskExecution. # noqa: E501 + + Path to remote data store where input blob is stored. # noqa: E501 + + :return: The input_uri of this FlyteidladminTaskExecution. # noqa: E501 + :rtype: str + """ + return self._input_uri + + @input_uri.setter + def input_uri(self, input_uri): + """Sets the input_uri of this FlyteidladminTaskExecution. + + Path to remote data store where input blob is stored. # noqa: E501 + + :param input_uri: The input_uri of this FlyteidladminTaskExecution. # noqa: E501 + :type: str + """ + + self._input_uri = input_uri + + @property + def closure(self): + """Gets the closure of this FlyteidladminTaskExecution. # noqa: E501 + + Task execution details and results. # noqa: E501 + + :return: The closure of this FlyteidladminTaskExecution. # noqa: E501 + :rtype: AdminTaskExecutionClosure + """ + return self._closure + + @closure.setter + def closure(self, closure): + """Sets the closure of this FlyteidladminTaskExecution. + + Task execution details and results. # noqa: E501 + + :param closure: The closure of this FlyteidladminTaskExecution. # noqa: E501 + :type: AdminTaskExecutionClosure + """ + + self._closure = closure + + @property + def is_parent(self): + """Gets the is_parent of this FlyteidladminTaskExecution. # noqa: E501 + + Whether this task spawned nodes. # noqa: E501 + + :return: The is_parent of this FlyteidladminTaskExecution. # noqa: E501 + :rtype: bool + """ + return self._is_parent + + @is_parent.setter + def is_parent(self, is_parent): + """Sets the is_parent of this FlyteidladminTaskExecution. + + Whether this task spawned nodes. # noqa: E501 + + :param is_parent: The is_parent of this FlyteidladminTaskExecution. # noqa: E501 + :type: bool + """ + + self._is_parent = is_parent + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(FlyteidladminTaskExecution, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FlyteidladminTaskExecution): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_node_metadata.py new file mode 100644 index 000000000..6741b8a03 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_node_metadata.py @@ -0,0 +1,146 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus # noqa: F401,E501 +from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata # noqa: F401,E501 + + +class FlyteidladminTaskNodeMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cache_status': 'CoreCatalogCacheStatus', + 'catalog_key': 'CoreCatalogMetadata' + } + + attribute_map = { + 'cache_status': 'cache_status', + 'catalog_key': 'catalog_key' + } + + def __init__(self, cache_status=None, catalog_key=None): # noqa: E501 + """FlyteidladminTaskNodeMetadata - a model defined in Swagger""" # noqa: E501 + + self._cache_status = None + self._catalog_key = None + self.discriminator = None + + if cache_status is not None: + self.cache_status = cache_status + if catalog_key is not None: + self.catalog_key = catalog_key + + @property + def cache_status(self): + """Gets the cache_status of this FlyteidladminTaskNodeMetadata. # noqa: E501 + + Captures the status of caching for this execution. # noqa: E501 + + :return: The cache_status of this FlyteidladminTaskNodeMetadata. # noqa: E501 + :rtype: CoreCatalogCacheStatus + """ + return self._cache_status + + @cache_status.setter + def cache_status(self, cache_status): + """Sets the cache_status of this FlyteidladminTaskNodeMetadata. + + Captures the status of caching for this execution. # noqa: E501 + + :param cache_status: The cache_status of this FlyteidladminTaskNodeMetadata. # noqa: E501 + :type: CoreCatalogCacheStatus + """ + + self._cache_status = cache_status + + @property + def catalog_key(self): + """Gets the catalog_key of this FlyteidladminTaskNodeMetadata. # noqa: E501 + + + :return: The catalog_key of this FlyteidladminTaskNodeMetadata. # noqa: E501 + :rtype: CoreCatalogMetadata + """ + return self._catalog_key + + @catalog_key.setter + def catalog_key(self, catalog_key): + """Sets the catalog_key of this FlyteidladminTaskNodeMetadata. + + + :param catalog_key: The catalog_key of this FlyteidladminTaskNodeMetadata. # noqa: E501 + :type: CoreCatalogMetadata + """ + + self._catalog_key = catalog_key + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(FlyteidladminTaskNodeMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FlyteidladminTaskNodeMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_workflow_node_metadata.py new file mode 100644 index 000000000..fccdeee5b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_workflow_node_metadata.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 + + +class FlyteidladminWorkflowNodeMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'execution_id': 'CoreWorkflowExecutionIdentifier' + } + + attribute_map = { + 'execution_id': 'executionId' + } + + def __init__(self, execution_id=None): # noqa: E501 + """FlyteidladminWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 + + self._execution_id = None + self.discriminator = None + + if execution_id is not None: + self.execution_id = execution_id + + @property + def execution_id(self): + """Gets the execution_id of this FlyteidladminWorkflowNodeMetadata. # noqa: E501 + + The identifier for a workflow execution launched by a node. # noqa: E501 + + :return: The execution_id of this FlyteidladminWorkflowNodeMetadata. # noqa: E501 + :rtype: CoreWorkflowExecutionIdentifier + """ + return self._execution_id + + @execution_id.setter + def execution_id(self, execution_id): + """Sets the execution_id of this FlyteidladminWorkflowNodeMetadata. + + The identifier for a workflow execution launched by a node. # noqa: E501 + + :param execution_id: The execution_id of this FlyteidladminWorkflowNodeMetadata. # noqa: E501 + :type: CoreWorkflowExecutionIdentifier + """ + + self._execution_id = execution_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(FlyteidladminWorkflowNodeMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FlyteidladminWorkflowNodeMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlcore_schema.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlcore_schema.py new file mode 100644 index 000000000..3d81400bf --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlcore_schema.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_schema_type import CoreSchemaType # noqa: F401,E501 + + +class FlyteidlcoreSchema(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'uri': 'str', + 'type': 'CoreSchemaType' + } + + attribute_map = { + 'uri': 'uri', + 'type': 'type' + } + + def __init__(self, uri=None, type=None): # noqa: E501 + """FlyteidlcoreSchema - a model defined in Swagger""" # noqa: E501 + + self._uri = None + self._type = None + self.discriminator = None + + if uri is not None: + self.uri = uri + if type is not None: + self.type = type + + @property + def uri(self): + """Gets the uri of this FlyteidlcoreSchema. # noqa: E501 + + + :return: The uri of this FlyteidlcoreSchema. # noqa: E501 + :rtype: str + """ + return self._uri + + @uri.setter + def uri(self, uri): + """Sets the uri of this FlyteidlcoreSchema. + + + :param uri: The uri of this FlyteidlcoreSchema. # noqa: E501 + :type: str + """ + + self._uri = uri + + @property + def type(self): + """Gets the type of this FlyteidlcoreSchema. # noqa: E501 + + + :return: The type of this FlyteidlcoreSchema. # noqa: E501 + :rtype: CoreSchemaType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this FlyteidlcoreSchema. + + + :param type: The type of this FlyteidlcoreSchema. # noqa: E501 + :type: CoreSchemaType + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(FlyteidlcoreSchema, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FlyteidlcoreSchema): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py new file mode 100644 index 000000000..01ecc587d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure # noqa: F401,E501 +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 + + +class FlyteidleventDynamicWorkflowNodeMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'CoreIdentifier', + 'compiled_workflow': 'CoreCompiledWorkflowClosure' + } + + attribute_map = { + 'id': 'id', + 'compiled_workflow': 'compiled_workflow' + } + + def __init__(self, id=None, compiled_workflow=None): # noqa: E501 + """FlyteidleventDynamicWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 + + self._id = None + self._compiled_workflow = None + self.discriminator = None + + if id is not None: + self.id = id + if compiled_workflow is not None: + self.compiled_workflow = compiled_workflow + + @property + def id(self): + """Gets the id of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 + + id represents the unique identifier of the workflow. # noqa: E501 + + :return: The id of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 + :rtype: CoreIdentifier + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this FlyteidleventDynamicWorkflowNodeMetadata. + + id represents the unique identifier of the workflow. # noqa: E501 + + :param id: The id of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 + :type: CoreIdentifier + """ + + self._id = id + + @property + def compiled_workflow(self): + """Gets the compiled_workflow of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 + + Represents the compiled representation of the embedded dynamic workflow. # noqa: E501 + + :return: The compiled_workflow of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 + :rtype: CoreCompiledWorkflowClosure + """ + return self._compiled_workflow + + @compiled_workflow.setter + def compiled_workflow(self, compiled_workflow): + """Sets the compiled_workflow of this FlyteidleventDynamicWorkflowNodeMetadata. + + Represents the compiled representation of the embedded dynamic workflow. # noqa: E501 + + :param compiled_workflow: The compiled_workflow of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 + :type: CoreCompiledWorkflowClosure + """ + + self._compiled_workflow = compiled_workflow + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(FlyteidleventDynamicWorkflowNodeMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FlyteidleventDynamicWorkflowNodeMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_node_metadata.py new file mode 100644 index 000000000..85bd28156 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_node_metadata.py @@ -0,0 +1,204 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus # noqa: F401,E501 +from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus # noqa: F401,E501 +from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata # noqa: F401,E501 +from flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata import FlyteidleventDynamicWorkflowNodeMetadata # noqa: F401,E501 + + +class FlyteidleventTaskNodeMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cache_status': 'CoreCatalogCacheStatus', + 'catalog_key': 'CoreCatalogMetadata', + 'reservation_status': 'CatalogReservationStatus', + 'dynamic_workflow': 'FlyteidleventDynamicWorkflowNodeMetadata' + } + + attribute_map = { + 'cache_status': 'cache_status', + 'catalog_key': 'catalog_key', + 'reservation_status': 'reservation_status', + 'dynamic_workflow': 'dynamic_workflow' + } + + def __init__(self, cache_status=None, catalog_key=None, reservation_status=None, dynamic_workflow=None): # noqa: E501 + """FlyteidleventTaskNodeMetadata - a model defined in Swagger""" # noqa: E501 + + self._cache_status = None + self._catalog_key = None + self._reservation_status = None + self._dynamic_workflow = None + self.discriminator = None + + if cache_status is not None: + self.cache_status = cache_status + if catalog_key is not None: + self.catalog_key = catalog_key + if reservation_status is not None: + self.reservation_status = reservation_status + if dynamic_workflow is not None: + self.dynamic_workflow = dynamic_workflow + + @property + def cache_status(self): + """Gets the cache_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 + + Captures the status of caching for this execution. # noqa: E501 + + :return: The cache_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 + :rtype: CoreCatalogCacheStatus + """ + return self._cache_status + + @cache_status.setter + def cache_status(self, cache_status): + """Sets the cache_status of this FlyteidleventTaskNodeMetadata. + + Captures the status of caching for this execution. # noqa: E501 + + :param cache_status: The cache_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 + :type: CoreCatalogCacheStatus + """ + + self._cache_status = cache_status + + @property + def catalog_key(self): + """Gets the catalog_key of this FlyteidleventTaskNodeMetadata. # noqa: E501 + + + :return: The catalog_key of this FlyteidleventTaskNodeMetadata. # noqa: E501 + :rtype: CoreCatalogMetadata + """ + return self._catalog_key + + @catalog_key.setter + def catalog_key(self, catalog_key): + """Sets the catalog_key of this FlyteidleventTaskNodeMetadata. + + + :param catalog_key: The catalog_key of this FlyteidleventTaskNodeMetadata. # noqa: E501 + :type: CoreCatalogMetadata + """ + + self._catalog_key = catalog_key + + @property + def reservation_status(self): + """Gets the reservation_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 + + Captures the status of cache reservations for this execution. # noqa: E501 + + :return: The reservation_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 + :rtype: CatalogReservationStatus + """ + return self._reservation_status + + @reservation_status.setter + def reservation_status(self, reservation_status): + """Sets the reservation_status of this FlyteidleventTaskNodeMetadata. + + Captures the status of cache reservations for this execution. # noqa: E501 + + :param reservation_status: The reservation_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 + :type: CatalogReservationStatus + """ + + self._reservation_status = reservation_status + + @property + def dynamic_workflow(self): + """Gets the dynamic_workflow of this FlyteidleventTaskNodeMetadata. # noqa: E501 + + In the case this task launched a dynamic workflow we capture its structure here. # noqa: E501 + + :return: The dynamic_workflow of this FlyteidleventTaskNodeMetadata. # noqa: E501 + :rtype: FlyteidleventDynamicWorkflowNodeMetadata + """ + return self._dynamic_workflow + + @dynamic_workflow.setter + def dynamic_workflow(self, dynamic_workflow): + """Sets the dynamic_workflow of this FlyteidleventTaskNodeMetadata. + + In the case this task launched a dynamic workflow we capture its structure here. # noqa: E501 + + :param dynamic_workflow: The dynamic_workflow of this FlyteidleventTaskNodeMetadata. # noqa: E501 + :type: FlyteidleventDynamicWorkflowNodeMetadata + """ + + self._dynamic_workflow = dynamic_workflow + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(FlyteidleventTaskNodeMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FlyteidleventTaskNodeMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_workflow_node_metadata.py new file mode 100644 index 000000000..0492d7c68 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_workflow_node_metadata.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 + + +class FlyteidleventWorkflowNodeMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'execution_id': 'CoreWorkflowExecutionIdentifier' + } + + attribute_map = { + 'execution_id': 'execution_id' + } + + def __init__(self, execution_id=None): # noqa: E501 + """FlyteidleventWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 + + self._execution_id = None + self.discriminator = None + + if execution_id is not None: + self.execution_id = execution_id + + @property + def execution_id(self): + """Gets the execution_id of this FlyteidleventWorkflowNodeMetadata. # noqa: E501 + + + :return: The execution_id of this FlyteidleventWorkflowNodeMetadata. # noqa: E501 + :rtype: CoreWorkflowExecutionIdentifier + """ + return self._execution_id + + @execution_id.setter + def execution_id(self, execution_id): + """Sets the execution_id of this FlyteidleventWorkflowNodeMetadata. + + + :param execution_id: The execution_id of this FlyteidleventWorkflowNodeMetadata. # noqa: E501 + :type: CoreWorkflowExecutionIdentifier + """ + + self._execution_id = execution_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(FlyteidleventWorkflowNodeMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FlyteidleventWorkflowNodeMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_download_mode.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_download_mode.py new file mode 100644 index 000000000..6210f026e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_download_mode.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class IOStrategyDownloadMode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DOWNLOAD_EAGER = "DOWNLOAD_EAGER" + DOWNLOAD_STREAM = "DOWNLOAD_STREAM" + DO_NOT_DOWNLOAD = "DO_NOT_DOWNLOAD" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """IOStrategyDownloadMode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(IOStrategyDownloadMode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, IOStrategyDownloadMode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_upload_mode.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_upload_mode.py new file mode 100644 index 000000000..95cfe6e35 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_upload_mode.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class IOStrategyUploadMode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UPLOAD_ON_EXIT = "UPLOAD_ON_EXIT" + UPLOAD_EAGER = "UPLOAD_EAGER" + DO_NOT_UPLOAD = "DO_NOT_UPLOAD" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """IOStrategyUploadMode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(IOStrategyUploadMode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, IOStrategyUploadMode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/plugin_override_missing_plugin_behavior.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/plugin_override_missing_plugin_behavior.py new file mode 100644 index 000000000..cccdae26b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/plugin_override_missing_plugin_behavior.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class PluginOverrideMissingPluginBehavior(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + FAIL = "FAIL" + USE_DEFAULT = "USE_DEFAULT" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PluginOverrideMissingPluginBehavior - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(PluginOverrideMissingPluginBehavior, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PluginOverrideMissingPluginBehavior): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/project_project_state.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/project_project_state.py new file mode 100644 index 000000000..e13402598 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/project_project_state.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ProjectProjectState(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ACTIVE = "ACTIVE" + ARCHIVED = "ARCHIVED" + SYSTEM_GENERATED = "SYSTEM_GENERATED" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ProjectProjectState - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ProjectProjectState, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProjectProjectState): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_list_value.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_list_value.py new file mode 100644 index 000000000..2d75531ff --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_list_value.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.protobuf_value import ProtobufValue # noqa: F401,E501 + + +class ProtobufListValue(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'values': 'list[ProtobufValue]' + } + + attribute_map = { + 'values': 'values' + } + + def __init__(self, values=None): # noqa: E501 + """ProtobufListValue - a model defined in Swagger""" # noqa: E501 + + self._values = None + self.discriminator = None + + if values is not None: + self.values = values + + @property + def values(self): + """Gets the values of this ProtobufListValue. # noqa: E501 + + Repeated field of dynamically typed values. # noqa: E501 + + :return: The values of this ProtobufListValue. # noqa: E501 + :rtype: list[ProtobufValue] + """ + return self._values + + @values.setter + def values(self, values): + """Sets the values of this ProtobufListValue. + + Repeated field of dynamically typed values. # noqa: E501 + + :param values: The values of this ProtobufListValue. # noqa: E501 + :type: list[ProtobufValue] + """ + + self._values = values + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ProtobufListValue, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProtobufListValue): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_null_value.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_null_value.py new file mode 100644 index 000000000..87d63153d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_null_value.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ProtobufNullValue(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + NULL_VALUE = "NULL_VALUE" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ProtobufNullValue - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ProtobufNullValue, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProtobufNullValue): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_struct.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_struct.py new file mode 100644 index 000000000..ff81a5b69 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_struct.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.protobuf_value import ProtobufValue # noqa: F401,E501 + + +class ProtobufStruct(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'fields': 'dict(str, ProtobufValue)' + } + + attribute_map = { + 'fields': 'fields' + } + + def __init__(self, fields=None): # noqa: E501 + """ProtobufStruct - a model defined in Swagger""" # noqa: E501 + + self._fields = None + self.discriminator = None + + if fields is not None: + self.fields = fields + + @property + def fields(self): + """Gets the fields of this ProtobufStruct. # noqa: E501 + + Unordered map of dynamically typed values. # noqa: E501 + + :return: The fields of this ProtobufStruct. # noqa: E501 + :rtype: dict(str, ProtobufValue) + """ + return self._fields + + @fields.setter + def fields(self, fields): + """Sets the fields of this ProtobufStruct. + + Unordered map of dynamically typed values. # noqa: E501 + + :param fields: The fields of this ProtobufStruct. # noqa: E501 + :type: dict(str, ProtobufValue) + """ + + self._fields = fields + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ProtobufStruct, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProtobufStruct): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_value.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_value.py new file mode 100644 index 000000000..8e2dc6fda --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_value.py @@ -0,0 +1,261 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.protobuf_list_value import ProtobufListValue # noqa: F401,E501 +from flyteadmin.models.protobuf_null_value import ProtobufNullValue # noqa: F401,E501 +from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 + + +class ProtobufValue(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'null_value': 'ProtobufNullValue', + 'number_value': 'float', + 'string_value': 'str', + 'bool_value': 'bool', + 'struct_value': 'ProtobufStruct', + 'list_value': 'ProtobufListValue' + } + + attribute_map = { + 'null_value': 'null_value', + 'number_value': 'number_value', + 'string_value': 'string_value', + 'bool_value': 'bool_value', + 'struct_value': 'struct_value', + 'list_value': 'list_value' + } + + def __init__(self, null_value=None, number_value=None, string_value=None, bool_value=None, struct_value=None, list_value=None): # noqa: E501 + """ProtobufValue - a model defined in Swagger""" # noqa: E501 + + self._null_value = None + self._number_value = None + self._string_value = None + self._bool_value = None + self._struct_value = None + self._list_value = None + self.discriminator = None + + if null_value is not None: + self.null_value = null_value + if number_value is not None: + self.number_value = number_value + if string_value is not None: + self.string_value = string_value + if bool_value is not None: + self.bool_value = bool_value + if struct_value is not None: + self.struct_value = struct_value + if list_value is not None: + self.list_value = list_value + + @property + def null_value(self): + """Gets the null_value of this ProtobufValue. # noqa: E501 + + Represents a null value. # noqa: E501 + + :return: The null_value of this ProtobufValue. # noqa: E501 + :rtype: ProtobufNullValue + """ + return self._null_value + + @null_value.setter + def null_value(self, null_value): + """Sets the null_value of this ProtobufValue. + + Represents a null value. # noqa: E501 + + :param null_value: The null_value of this ProtobufValue. # noqa: E501 + :type: ProtobufNullValue + """ + + self._null_value = null_value + + @property + def number_value(self): + """Gets the number_value of this ProtobufValue. # noqa: E501 + + Represents a double value. # noqa: E501 + + :return: The number_value of this ProtobufValue. # noqa: E501 + :rtype: float + """ + return self._number_value + + @number_value.setter + def number_value(self, number_value): + """Sets the number_value of this ProtobufValue. + + Represents a double value. # noqa: E501 + + :param number_value: The number_value of this ProtobufValue. # noqa: E501 + :type: float + """ + + self._number_value = number_value + + @property + def string_value(self): + """Gets the string_value of this ProtobufValue. # noqa: E501 + + Represents a string value. # noqa: E501 + + :return: The string_value of this ProtobufValue. # noqa: E501 + :rtype: str + """ + return self._string_value + + @string_value.setter + def string_value(self, string_value): + """Sets the string_value of this ProtobufValue. + + Represents a string value. # noqa: E501 + + :param string_value: The string_value of this ProtobufValue. # noqa: E501 + :type: str + """ + + self._string_value = string_value + + @property + def bool_value(self): + """Gets the bool_value of this ProtobufValue. # noqa: E501 + + Represents a boolean value. # noqa: E501 + + :return: The bool_value of this ProtobufValue. # noqa: E501 + :rtype: bool + """ + return self._bool_value + + @bool_value.setter + def bool_value(self, bool_value): + """Sets the bool_value of this ProtobufValue. + + Represents a boolean value. # noqa: E501 + + :param bool_value: The bool_value of this ProtobufValue. # noqa: E501 + :type: bool + """ + + self._bool_value = bool_value + + @property + def struct_value(self): + """Gets the struct_value of this ProtobufValue. # noqa: E501 + + Represents a structured value. # noqa: E501 + + :return: The struct_value of this ProtobufValue. # noqa: E501 + :rtype: ProtobufStruct + """ + return self._struct_value + + @struct_value.setter + def struct_value(self, struct_value): + """Sets the struct_value of this ProtobufValue. + + Represents a structured value. # noqa: E501 + + :param struct_value: The struct_value of this ProtobufValue. # noqa: E501 + :type: ProtobufStruct + """ + + self._struct_value = struct_value + + @property + def list_value(self): + """Gets the list_value of this ProtobufValue. # noqa: E501 + + Represents a repeated `Value`. # noqa: E501 + + :return: The list_value of this ProtobufValue. # noqa: E501 + :rtype: ProtobufListValue + """ + return self._list_value + + @list_value.setter + def list_value(self, list_value): + """Sets the list_value of this ProtobufValue. + + Represents a repeated `Value`. # noqa: E501 + + :param list_value: The list_value of this ProtobufValue. # noqa: E501 + :type: ProtobufListValue + """ + + self._list_value = list_value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ProtobufValue, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProtobufValue): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/quality_of_service_tier.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/quality_of_service_tier.py new file mode 100644 index 000000000..9b8a45f84 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/quality_of_service_tier.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class QualityOfServiceTier(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UNDEFINED = "UNDEFINED" + HIGH = "HIGH" + MEDIUM = "MEDIUM" + LOW = "LOW" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """QualityOfServiceTier - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(QualityOfServiceTier, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, QualityOfServiceTier): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_entry.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_entry.py new file mode 100644 index 000000000..481c772ca --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_entry.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.resources_resource_name import ResourcesResourceName # noqa: F401,E501 + + +class ResourcesResourceEntry(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'name': 'ResourcesResourceName', + 'value': 'str' + } + + attribute_map = { + 'name': 'name', + 'value': 'value' + } + + def __init__(self, name=None, value=None): # noqa: E501 + """ResourcesResourceEntry - a model defined in Swagger""" # noqa: E501 + + self._name = None + self._value = None + self.discriminator = None + + if name is not None: + self.name = name + if value is not None: + self.value = value + + @property + def name(self): + """Gets the name of this ResourcesResourceEntry. # noqa: E501 + + Resource name. # noqa: E501 + + :return: The name of this ResourcesResourceEntry. # noqa: E501 + :rtype: ResourcesResourceName + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this ResourcesResourceEntry. + + Resource name. # noqa: E501 + + :param name: The name of this ResourcesResourceEntry. # noqa: E501 + :type: ResourcesResourceName + """ + + self._name = name + + @property + def value(self): + """Gets the value of this ResourcesResourceEntry. # noqa: E501 + + + :return: The value of this ResourcesResourceEntry. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this ResourcesResourceEntry. + + + :param value: The value of this ResourcesResourceEntry. # noqa: E501 + :type: str + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResourcesResourceEntry, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResourcesResourceEntry): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_name.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_name.py new file mode 100644 index 000000000..eea896d3d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_name.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ResourcesResourceName(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UNKNOWN = "UNKNOWN" + CPU = "CPU" + GPU = "GPU" + MEMORY = "MEMORY" + STORAGE = "STORAGE" + EPHEMERAL_STORAGE = "EPHEMERAL_STORAGE" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ResourcesResourceName - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResourcesResourceName, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResourcesResourceName): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/runtime_metadata_runtime_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/runtime_metadata_runtime_type.py new file mode 100644 index 000000000..f49edcf0e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/runtime_metadata_runtime_type.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class RuntimeMetadataRuntimeType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + OTHER = "OTHER" + FLYTE_SDK = "FLYTE_SDK" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """RuntimeMetadataRuntimeType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(RuntimeMetadataRuntimeType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RuntimeMetadataRuntimeType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_column_schema_column_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_column_schema_column_type.py new file mode 100644 index 000000000..895d2439b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_column_schema_column_type.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class SchemaColumnSchemaColumnType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + INTEGER = "INTEGER" + FLOAT = "FLOAT" + STRING = "STRING" + BOOLEAN = "BOOLEAN" + DATETIME = "DATETIME" + DURATION = "DURATION" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SchemaColumnSchemaColumnType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SchemaColumnSchemaColumnType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SchemaColumnSchemaColumnType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_type_schema_column.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_type_schema_column.py new file mode 100644 index 000000000..b200eef8f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_type_schema_column.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.schema_column_schema_column_type import SchemaColumnSchemaColumnType # noqa: F401,E501 + + +class SchemaTypeSchemaColumn(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'name': 'str', + 'type': 'SchemaColumnSchemaColumnType' + } + + attribute_map = { + 'name': 'name', + 'type': 'type' + } + + def __init__(self, name=None, type=None): # noqa: E501 + """SchemaTypeSchemaColumn - a model defined in Swagger""" # noqa: E501 + + self._name = None + self._type = None + self.discriminator = None + + if name is not None: + self.name = name + if type is not None: + self.type = type + + @property + def name(self): + """Gets the name of this SchemaTypeSchemaColumn. # noqa: E501 + + + :return: The name of this SchemaTypeSchemaColumn. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this SchemaTypeSchemaColumn. + + + :param name: The name of this SchemaTypeSchemaColumn. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def type(self): + """Gets the type of this SchemaTypeSchemaColumn. # noqa: E501 + + The column type. This allows a limited set of types currently. # noqa: E501 + + :return: The type of this SchemaTypeSchemaColumn. # noqa: E501 + :rtype: SchemaColumnSchemaColumnType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this SchemaTypeSchemaColumn. + + The column type. This allows a limited set of types currently. # noqa: E501 + + :param type: The type of this SchemaTypeSchemaColumn. # noqa: E501 + :type: SchemaColumnSchemaColumnType + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SchemaTypeSchemaColumn, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SchemaTypeSchemaColumn): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/secret_mount_type.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/secret_mount_type.py new file mode 100644 index 000000000..2331d3ba2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/secret_mount_type.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class SecretMountType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ANY = "ANY" + ENV_VAR = "ENV_VAR" + FILE = "FILE" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SecretMountType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SecretMountType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SecretMountType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sort_direction.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sort_direction.py new file mode 100644 index 000000000..f9e955e81 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sort_direction.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class SortDirection(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DESCENDING = "DESCENDING" + ASCENDING = "ASCENDING" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SortDirection - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SortDirection, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SortDirection): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sql_dialect.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sql_dialect.py new file mode 100644 index 000000000..00a361f1b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sql_dialect.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class SqlDialect(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UNDEFINED = "UNDEFINED" + ANSI = "ANSI" + HIVE = "HIVE" + OTHER = "OTHER" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SqlDialect - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SqlDialect, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SqlDialect): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/structured_dataset_type_dataset_column.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/structured_dataset_type_dataset_column.py new file mode 100644 index 000000000..0092cebcb --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/structured_dataset_type_dataset_column.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 + + +class StructuredDatasetTypeDatasetColumn(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'name': 'str', + 'literal_type': 'CoreLiteralType' + } + + attribute_map = { + 'name': 'name', + 'literal_type': 'literal_type' + } + + def __init__(self, name=None, literal_type=None): # noqa: E501 + """StructuredDatasetTypeDatasetColumn - a model defined in Swagger""" # noqa: E501 + + self._name = None + self._literal_type = None + self.discriminator = None + + if name is not None: + self.name = name + if literal_type is not None: + self.literal_type = literal_type + + @property + def name(self): + """Gets the name of this StructuredDatasetTypeDatasetColumn. # noqa: E501 + + A unique name within the schema type for the column. # noqa: E501 + + :return: The name of this StructuredDatasetTypeDatasetColumn. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this StructuredDatasetTypeDatasetColumn. + + A unique name within the schema type for the column. # noqa: E501 + + :param name: The name of this StructuredDatasetTypeDatasetColumn. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def literal_type(self): + """Gets the literal_type of this StructuredDatasetTypeDatasetColumn. # noqa: E501 + + The column type. # noqa: E501 + + :return: The literal_type of this StructuredDatasetTypeDatasetColumn. # noqa: E501 + :rtype: CoreLiteralType + """ + return self._literal_type + + @literal_type.setter + def literal_type(self, literal_type): + """Sets the literal_type of this StructuredDatasetTypeDatasetColumn. + + The column type. # noqa: E501 + + :param literal_type: The literal_type of this StructuredDatasetTypeDatasetColumn. # noqa: E501 + :type: CoreLiteralType + """ + + self._literal_type = literal_type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(StructuredDatasetTypeDatasetColumn, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, StructuredDatasetTypeDatasetColumn): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_execution_metadata_instance_class.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_execution_metadata_instance_class.py new file mode 100644 index 000000000..c0bd3b336 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_execution_metadata_instance_class.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class TaskExecutionMetadataInstanceClass(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DEFAULT = "DEFAULT" + INTERRUPTIBLE = "INTERRUPTIBLE" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """TaskExecutionMetadataInstanceClass - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(TaskExecutionMetadataInstanceClass, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TaskExecutionMetadataInstanceClass): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_log_message_format.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_log_message_format.py new file mode 100644 index 000000000..258d22742 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_log_message_format.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class TaskLogMessageFormat(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UNKNOWN = "UNKNOWN" + CSV = "CSV" + JSON = "JSON" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """TaskLogMessageFormat - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(TaskLogMessageFormat, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TaskLogMessageFormat): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/workflow_metadata_on_failure_policy.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/workflow_metadata_on_failure_policy.py new file mode 100644 index 000000000..e0cffe7a9 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/workflow_metadata_on_failure_policy.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class WorkflowMetadataOnFailurePolicy(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + IMMEDIATELY = "FAIL_IMMEDIATELY" + AFTER_EXECUTABLE_NODES_COMPLETE = "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """WorkflowMetadataOnFailurePolicy - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(WorkflowMetadataOnFailurePolicy, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, WorkflowMetadataOnFailurePolicy): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/rest.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/rest.py new file mode 100644 index 000000000..885a2be8a --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/rest.py @@ -0,0 +1,323 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import io +import json +import logging +import re +import ssl + +import certifi +# python 2 and python 3 compatibility library +import six +from six.moves.urllib.parse import urlencode + +try: + import urllib3 +except ImportError: + raise ImportError('Swagger python client requires urllib3.') + + +logger = logging.getLogger(__name__) + + +class RESTResponse(io.IOBase): + + def __init__(self, resp): + self.urllib3_response = resp + self.status = resp.status + self.reason = resp.reason + self.data = resp.data + + def getheaders(self): + """Returns a dictionary of the response headers.""" + return self.urllib3_response.getheaders() + + def getheader(self, name, default=None): + """Returns a given response header.""" + return self.urllib3_response.getheader(name, default) + + +class RESTClientObject(object): + + def __init__(self, configuration, pools_size=4, maxsize=None): + # urllib3.PoolManager will pass all kw parameters to connectionpool + # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501 + # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501 + # maxsize is the number of requests to host that are allowed in parallel # noqa: E501 + # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501 + + # cert_reqs + if configuration.verify_ssl: + cert_reqs = ssl.CERT_REQUIRED + else: + cert_reqs = ssl.CERT_NONE + + # ca_certs + if configuration.ssl_ca_cert: + ca_certs = configuration.ssl_ca_cert + else: + # if not set certificate file, use Mozilla's root certificates. + ca_certs = certifi.where() + + addition_pool_args = {} + if configuration.assert_hostname is not None: + addition_pool_args['assert_hostname'] = configuration.assert_hostname # noqa: E501 + + if maxsize is None: + if configuration.connection_pool_maxsize is not None: + maxsize = configuration.connection_pool_maxsize + else: + maxsize = 4 + + # https pool manager + if configuration.proxy: + self.pool_manager = urllib3.ProxyManager( + num_pools=pools_size, + maxsize=maxsize, + cert_reqs=cert_reqs, + ca_certs=ca_certs, + cert_file=configuration.cert_file, + key_file=configuration.key_file, + proxy_url=configuration.proxy, + **addition_pool_args + ) + else: + self.pool_manager = urllib3.PoolManager( + num_pools=pools_size, + maxsize=maxsize, + cert_reqs=cert_reqs, + ca_certs=ca_certs, + cert_file=configuration.cert_file, + key_file=configuration.key_file, + **addition_pool_args + ) + + def request(self, method, url, query_params=None, headers=None, + body=None, post_params=None, _preload_content=True, + _request_timeout=None): + """Perform requests. + + :param method: http request method + :param url: http request url + :param query_params: query parameters in the url + :param headers: http request headers + :param body: request json body, for `application/json` + :param post_params: request post parameters, + `application/x-www-form-urlencoded` + and `multipart/form-data` + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + """ + method = method.upper() + assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT', + 'PATCH', 'OPTIONS'] + + if post_params and body: + raise ValueError( + "body parameter cannot be used with post_params parameter." + ) + + post_params = post_params or {} + headers = headers or {} + + timeout = None + if _request_timeout: + if isinstance(_request_timeout, (int, ) if six.PY3 else (int, long)): # noqa: E501,F821 + timeout = urllib3.Timeout(total=_request_timeout) + elif (isinstance(_request_timeout, tuple) and + len(_request_timeout) == 2): + timeout = urllib3.Timeout( + connect=_request_timeout[0], read=_request_timeout[1]) + + if 'Content-Type' not in headers: + headers['Content-Type'] = 'application/json' + + try: + # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE` + if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']: + if query_params: + url += '?' + urlencode(query_params) + if re.search('json', headers['Content-Type'], re.IGNORECASE): + request_body = None + if body is not None: + request_body = json.dumps(body) + r = self.pool_manager.request( + method, url, + body=request_body, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501 + r = self.pool_manager.request( + method, url, + fields=post_params, + encode_multipart=False, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + elif headers['Content-Type'] == 'multipart/form-data': + # must del headers['Content-Type'], or the correct + # Content-Type which generated by urllib3 will be + # overwritten. + del headers['Content-Type'] + r = self.pool_manager.request( + method, url, + fields=post_params, + encode_multipart=True, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + # Pass a `string` parameter directly in the body to support + # other content types than Json when `body` argument is + # provided in serialized form + elif isinstance(body, str): + request_body = body + r = self.pool_manager.request( + method, url, + body=request_body, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + else: + # Cannot generate the request from given parameters + msg = """Cannot prepare a request message for provided + arguments. Please check that your arguments match + declared content type.""" + raise ApiException(status=0, reason=msg) + # For `GET`, `HEAD` + else: + r = self.pool_manager.request(method, url, + fields=query_params, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + except urllib3.exceptions.SSLError as e: + msg = "{0}\n{1}".format(type(e).__name__, str(e)) + raise ApiException(status=0, reason=msg) + + if _preload_content: + r = RESTResponse(r) + + # In the python 3, the response.data is bytes. + # we need to decode it to string. + if six.PY3: + r.data = r.data.decode('utf8') + + # log response body + logger.debug("response body: %s", r.data) + + if not 200 <= r.status <= 299: + raise ApiException(http_resp=r) + + return r + + def GET(self, url, headers=None, query_params=None, _preload_content=True, + _request_timeout=None): + return self.request("GET", url, + headers=headers, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + query_params=query_params) + + def HEAD(self, url, headers=None, query_params=None, _preload_content=True, + _request_timeout=None): + return self.request("HEAD", url, + headers=headers, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + query_params=query_params) + + def OPTIONS(self, url, headers=None, query_params=None, post_params=None, + body=None, _preload_content=True, _request_timeout=None): + return self.request("OPTIONS", url, + headers=headers, + query_params=query_params, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + def DELETE(self, url, headers=None, query_params=None, body=None, + _preload_content=True, _request_timeout=None): + return self.request("DELETE", url, + headers=headers, + query_params=query_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + def POST(self, url, headers=None, query_params=None, post_params=None, + body=None, _preload_content=True, _request_timeout=None): + return self.request("POST", url, + headers=headers, + query_params=query_params, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + def PUT(self, url, headers=None, query_params=None, post_params=None, + body=None, _preload_content=True, _request_timeout=None): + return self.request("PUT", url, + headers=headers, + query_params=query_params, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + def PATCH(self, url, headers=None, query_params=None, post_params=None, + body=None, _preload_content=True, _request_timeout=None): + return self.request("PATCH", url, + headers=headers, + query_params=query_params, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + +class ApiException(Exception): + + def __init__(self, status=None, reason=None, http_resp=None): + if http_resp: + self.status = http_resp.status + self.reason = http_resp.reason + self.body = http_resp.data + self.headers = http_resp.getheaders() + else: + self.status = status + self.reason = reason + self.body = None + self.headers = None + + def __str__(self): + """Custom error messages for exception""" + error_message = "({0})\n"\ + "Reason: {1}\n".format(self.status, self.reason) + if self.headers: + error_message += "HTTP response headers: {0}\n".format( + self.headers) + + if self.body: + error_message += "HTTP response body: {0}\n".format(self.body) + + return error_message diff --git a/gen/pb_python/flyteidl/service/flyteadmin/git_push.sh b/gen/pb_python/flyteidl/service/flyteadmin/git_push.sh new file mode 100644 index 000000000..ae01b182a --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/git_push.sh @@ -0,0 +1,52 @@ +#!/bin/sh +# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ +# +# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" + +git_user_id=$1 +git_repo_id=$2 +release_note=$3 + +if [ "$git_user_id" = "" ]; then + git_user_id="GIT_USER_ID" + echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" +fi + +if [ "$git_repo_id" = "" ]; then + git_repo_id="GIT_REPO_ID" + echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" +fi + +if [ "$release_note" = "" ]; then + release_note="Minor update" + echo "[INFO] No command line input provided. Set \$release_note to $release_note" +fi + +# Initialize the local directory as a Git repository +git init + +# Adds the files in the local repository and stages them for commit. +git add . + +# Commits the tracked changes and prepares them to be pushed to a remote repository. +git commit -m "$release_note" + +# Sets the new remote +git_remote=`git remote` +if [ "$git_remote" = "" ]; then # git remote not defined + + if [ "$GIT_TOKEN" = "" ]; then + echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." + git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git + else + git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git + fi + +fi + +git pull origin master + +# Pushes (Forces) the changes in the local repository up to the remote repository +echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" +git push origin master 2>&1 | grep -v 'To https' + diff --git a/gen/pb_python/flyteidl/service/flyteadmin/requirements.txt b/gen/pb_python/flyteidl/service/flyteadmin/requirements.txt new file mode 100644 index 000000000..bafdc0753 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/requirements.txt @@ -0,0 +1,5 @@ +certifi >= 14.05.14 +six >= 1.10 +python_dateutil >= 2.5.3 +setuptools >= 21.0.0 +urllib3 >= 1.15.1 diff --git a/gen/pb_python/flyteidl/service/flyteadmin/setup.py b/gen/pb_python/flyteidl/service/flyteadmin/setup.py new file mode 100644 index 000000000..ba03cf529 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/setup.py @@ -0,0 +1,46 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from setuptools import setup, find_packages # noqa: H301 + +NAME = "flyteadmin" +VERSION = "1.0.0" +# To install the library, run the following +# +# python setup.py install +# +# prerequisite: setuptools +# http://pypi.python.org/pypi/setuptools + +REQUIRES = [ + "certifi>=2017.4.17", + "python-dateutil>=2.1", + "six>=1.10", + "urllib3>=1.23" +] + + +setup( + name=NAME, + version=VERSION, + description="flyteidl/service/admin.proto", + author_email="", + url="", + keywords=["Swagger", "flyteidl/service/admin.proto"], + install_requires=REQUIRES, + packages=find_packages(), + include_package_data=True, + long_description="""\ + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + """ +) diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test-requirements.txt b/gen/pb_python/flyteidl/service/flyteadmin/test-requirements.txt new file mode 100644 index 000000000..2702246c0 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test-requirements.txt @@ -0,0 +1,5 @@ +coverage>=4.0.3 +nose>=1.3.7 +pluggy>=0.3.1 +py>=1.4.31 +randomize>=0.13 diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/__init__.py b/gen/pb_python/flyteidl/service/flyteadmin/test/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_abort_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_abort_metadata.py new file mode 100644 index 000000000..b617a7b7d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_abort_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminAbortMetadata(unittest.TestCase): + """AdminAbortMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminAbortMetadata(self): + """Test AdminAbortMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_abort_metadata.AdminAbortMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_annotations.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_annotations.py new file mode 100644 index 000000000..53f87816b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_annotations.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminAnnotations(unittest.TestCase): + """AdminAnnotations unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminAnnotations(self): + """Test AdminAnnotations""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_annotations.AdminAnnotations() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth.py new file mode 100644 index 000000000..142554708 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_auth import AdminAuth # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminAuth(unittest.TestCase): + """AdminAuth unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminAuth(self): + """Test AdminAuth""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_auth.AdminAuth() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth_role.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth_role.py new file mode 100644 index 000000000..3b91984c1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth_role.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_auth_role import AdminAuthRole # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminAuthRole(unittest.TestCase): + """AdminAuthRole unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminAuthRole(self): + """Test AdminAuthRole""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_auth_role.AdminAuthRole() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_assignment.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_assignment.py new file mode 100644 index 000000000..1762f31b7 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_assignment.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminClusterAssignment(unittest.TestCase): + """AdminClusterAssignment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminClusterAssignment(self): + """Test AdminClusterAssignment""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_cluster_assignment.AdminClusterAssignment() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py new file mode 100644 index 000000000..ab1e51e9c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminClusterResourceAttributes(unittest.TestCase): + """AdminClusterResourceAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminClusterResourceAttributes(self): + """Test AdminClusterResourceAttributes""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_cluster_resource_attributes.AdminClusterResourceAttributes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cron_schedule.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cron_schedule.py new file mode 100644 index 000000000..f423f248d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cron_schedule.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_cron_schedule import AdminCronSchedule # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminCronSchedule(unittest.TestCase): + """AdminCronSchedule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminCronSchedule(self): + """Test AdminCronSchedule""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_cron_schedule.AdminCronSchedule() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_domain.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_domain.py new file mode 100644 index 000000000..8c53f0171 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_domain.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_domain import AdminDomain # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminDomain(unittest.TestCase): + """AdminDomain unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminDomain(self): + """Test AdminDomain""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_domain.AdminDomain() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_email_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_email_notification.py new file mode 100644 index 000000000..f39df1233 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_email_notification.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_email_notification import AdminEmailNotification # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminEmailNotification(unittest.TestCase): + """AdminEmailNotification unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminEmailNotification(self): + """Test AdminEmailNotification""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_email_notification.AdminEmailNotification() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution.py new file mode 100644 index 000000000..8da444e5e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution import AdminExecution # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecution(unittest.TestCase): + """AdminExecution unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecution(self): + """Test AdminExecution""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution.AdminExecution() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_closure.py new file mode 100644 index 000000000..af1d7119c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_closure.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_closure import AdminExecutionClosure # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionClosure(unittest.TestCase): + """AdminExecutionClosure unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionClosure(self): + """Test AdminExecutionClosure""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_closure.AdminExecutionClosure() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_cluster_label.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_cluster_label.py new file mode 100644 index 000000000..325f951e1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_cluster_label.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionClusterLabel(unittest.TestCase): + """AdminExecutionClusterLabel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionClusterLabel(self): + """Test AdminExecutionClusterLabel""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_cluster_label.AdminExecutionClusterLabel() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_request.py new file mode 100644 index 000000000..45a0026e3 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_create_request import AdminExecutionCreateRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionCreateRequest(unittest.TestCase): + """AdminExecutionCreateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionCreateRequest(self): + """Test AdminExecutionCreateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_create_request.AdminExecutionCreateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_response.py new file mode 100644 index 000000000..d3f053704 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_create_response import AdminExecutionCreateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionCreateResponse(unittest.TestCase): + """AdminExecutionCreateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionCreateResponse(self): + """Test AdminExecutionCreateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_create_response.AdminExecutionCreateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_list.py new file mode 100644 index 000000000..7387280ca --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_list.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_list import AdminExecutionList # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionList(unittest.TestCase): + """AdminExecutionList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionList(self): + """Test AdminExecutionList""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_list.AdminExecutionList() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_metadata.py new file mode 100644 index 000000000..c4f9c6656 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionMetadata(unittest.TestCase): + """AdminExecutionMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionMetadata(self): + """Test AdminExecutionMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_metadata.AdminExecutionMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py new file mode 100644 index 000000000..f84572c38 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionQueueAttributes(unittest.TestCase): + """AdminExecutionQueueAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionQueueAttributes(self): + """Test AdminExecutionQueueAttributes""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_queue_attributes.AdminExecutionQueueAttributes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_recover_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_recover_request.py new file mode 100644 index 000000000..8bdff0915 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_recover_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_recover_request import AdminExecutionRecoverRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionRecoverRequest(unittest.TestCase): + """AdminExecutionRecoverRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionRecoverRequest(self): + """Test AdminExecutionRecoverRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_recover_request.AdminExecutionRecoverRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_relaunch_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_relaunch_request.py new file mode 100644 index 000000000..170c8149c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_relaunch_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_relaunch_request import AdminExecutionRelaunchRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionRelaunchRequest(unittest.TestCase): + """AdminExecutionRelaunchRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionRelaunchRequest(self): + """Test AdminExecutionRelaunchRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_relaunch_request.AdminExecutionRelaunchRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_spec.py new file mode 100644 index 000000000..1a0d62cfe --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_spec.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_spec import AdminExecutionSpec # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionSpec(unittest.TestCase): + """AdminExecutionSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionSpec(self): + """Test AdminExecutionSpec""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_spec.AdminExecutionSpec() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state.py new file mode 100644 index 000000000..6df975e3c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_state import AdminExecutionState # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionState(unittest.TestCase): + """AdminExecutionState unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionState(self): + """Test AdminExecutionState""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_state.AdminExecutionState() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state_change_details.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state_change_details.py new file mode 100644 index 000000000..1a116ff73 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state_change_details.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_state_change_details import AdminExecutionStateChangeDetails # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionStateChangeDetails(unittest.TestCase): + """AdminExecutionStateChangeDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionStateChangeDetails(self): + """Test AdminExecutionStateChangeDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_state_change_details.AdminExecutionStateChangeDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_request.py new file mode 100644 index 000000000..5233d9f6d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_terminate_request import AdminExecutionTerminateRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionTerminateRequest(unittest.TestCase): + """AdminExecutionTerminateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionTerminateRequest(self): + """Test AdminExecutionTerminateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_terminate_request.AdminExecutionTerminateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_response.py new file mode 100644 index 000000000..939b551e6 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_terminate_response import AdminExecutionTerminateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionTerminateResponse(unittest.TestCase): + """AdminExecutionTerminateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionTerminateResponse(self): + """Test AdminExecutionTerminateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_terminate_response.AdminExecutionTerminateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_request.py new file mode 100644 index 000000000..320cba4fe --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_update_request import AdminExecutionUpdateRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionUpdateRequest(unittest.TestCase): + """AdminExecutionUpdateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionUpdateRequest(self): + """Test AdminExecutionUpdateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_update_request.AdminExecutionUpdateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_response.py new file mode 100644 index 000000000..955420f04 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_update_response import AdminExecutionUpdateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionUpdateResponse(unittest.TestCase): + """AdminExecutionUpdateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionUpdateResponse(self): + """Test AdminExecutionUpdateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_update_response.AdminExecutionUpdateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate.py new file mode 100644 index 000000000..555821236 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_fixed_rate import AdminFixedRate # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminFixedRate(unittest.TestCase): + """AdminFixedRate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminFixedRate(self): + """Test AdminFixedRate""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_fixed_rate.AdminFixedRate() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate_unit.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate_unit.py new file mode 100644 index 000000000..a30eec545 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate_unit.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminFixedRateUnit(unittest.TestCase): + """AdminFixedRateUnit unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminFixedRateUnit(self): + """Test AdminFixedRateUnit""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_fixed_rate_unit.AdminFixedRateUnit() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_get_version_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_get_version_response.py new file mode 100644 index 000000000..930d65711 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_get_version_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_get_version_response import AdminGetVersionResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminGetVersionResponse(unittest.TestCase): + """AdminGetVersionResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminGetVersionResponse(self): + """Test AdminGetVersionResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_get_version_response.AdminGetVersionResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_labels.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_labels.py new file mode 100644 index 000000000..32733ca58 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_labels.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_labels import AdminLabels # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminLabels(unittest.TestCase): + """AdminLabels unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminLabels(self): + """Test AdminLabels""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_labels.AdminLabels() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan.py new file mode 100644 index 000000000..ef28673e2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_launch_plan import AdminLaunchPlan # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminLaunchPlan(unittest.TestCase): + """AdminLaunchPlan unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminLaunchPlan(self): + """Test AdminLaunchPlan""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_launch_plan.AdminLaunchPlan() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_closure.py new file mode 100644 index 000000000..e23aadda1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_closure.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_launch_plan_closure import AdminLaunchPlanClosure # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminLaunchPlanClosure(unittest.TestCase): + """AdminLaunchPlanClosure unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminLaunchPlanClosure(self): + """Test AdminLaunchPlanClosure""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_launch_plan_closure.AdminLaunchPlanClosure() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_request.py new file mode 100644 index 000000000..95aa42532 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_launch_plan_create_request import AdminLaunchPlanCreateRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminLaunchPlanCreateRequest(unittest.TestCase): + """AdminLaunchPlanCreateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminLaunchPlanCreateRequest(self): + """Test AdminLaunchPlanCreateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_launch_plan_create_request.AdminLaunchPlanCreateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_response.py new file mode 100644 index 000000000..2c855a1d6 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_launch_plan_create_response import AdminLaunchPlanCreateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminLaunchPlanCreateResponse(unittest.TestCase): + """AdminLaunchPlanCreateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminLaunchPlanCreateResponse(self): + """Test AdminLaunchPlanCreateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_launch_plan_create_response.AdminLaunchPlanCreateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_list.py new file mode 100644 index 000000000..61a9d149f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_list.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_launch_plan_list import AdminLaunchPlanList # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminLaunchPlanList(unittest.TestCase): + """AdminLaunchPlanList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminLaunchPlanList(self): + """Test AdminLaunchPlanList""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_launch_plan_list.AdminLaunchPlanList() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_metadata.py new file mode 100644 index 000000000..2fa217de1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_launch_plan_metadata import AdminLaunchPlanMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminLaunchPlanMetadata(unittest.TestCase): + """AdminLaunchPlanMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminLaunchPlanMetadata(self): + """Test AdminLaunchPlanMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_launch_plan_metadata.AdminLaunchPlanMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_spec.py new file mode 100644 index 000000000..9c18b3d2f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_spec.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminLaunchPlanSpec(unittest.TestCase): + """AdminLaunchPlanSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminLaunchPlanSpec(self): + """Test AdminLaunchPlanSpec""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_launch_plan_spec.AdminLaunchPlanSpec() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_state.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_state.py new file mode 100644 index 000000000..565c35330 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_state.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminLaunchPlanState(unittest.TestCase): + """AdminLaunchPlanState unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminLaunchPlanState(self): + """Test AdminLaunchPlanState""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_launch_plan_state.AdminLaunchPlanState() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_request.py new file mode 100644 index 000000000..4423d250d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_launch_plan_update_request import AdminLaunchPlanUpdateRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminLaunchPlanUpdateRequest(unittest.TestCase): + """AdminLaunchPlanUpdateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminLaunchPlanUpdateRequest(self): + """Test AdminLaunchPlanUpdateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_launch_plan_update_request.AdminLaunchPlanUpdateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_response.py new file mode 100644 index 000000000..16f59ce1d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_launch_plan_update_response import AdminLaunchPlanUpdateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminLaunchPlanUpdateResponse(unittest.TestCase): + """AdminLaunchPlanUpdateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminLaunchPlanUpdateResponse(self): + """Test AdminLaunchPlanUpdateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_launch_plan_update_response.AdminLaunchPlanUpdateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_list_matchable_attributes_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_list_matchable_attributes_response.py new file mode 100644 index 000000000..a7f0ded96 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_list_matchable_attributes_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_list_matchable_attributes_response import AdminListMatchableAttributesResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminListMatchableAttributesResponse(unittest.TestCase): + """AdminListMatchableAttributesResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminListMatchableAttributesResponse(self): + """Test AdminListMatchableAttributesResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_list_matchable_attributes_response.AdminListMatchableAttributesResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_literal_map_blob.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_literal_map_blob.py new file mode 100644 index 000000000..e0cb1dd8a --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_literal_map_blob.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminLiteralMapBlob(unittest.TestCase): + """AdminLiteralMapBlob unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminLiteralMapBlob(self): + """Test AdminLiteralMapBlob""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_literal_map_blob.AdminLiteralMapBlob() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_attributes_configuration.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_attributes_configuration.py new file mode 100644 index 000000000..4c26d2103 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_attributes_configuration.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_matchable_attributes_configuration import AdminMatchableAttributesConfiguration # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminMatchableAttributesConfiguration(unittest.TestCase): + """AdminMatchableAttributesConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminMatchableAttributesConfiguration(self): + """Test AdminMatchableAttributesConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_matchable_attributes_configuration.AdminMatchableAttributesConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_resource.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_resource.py new file mode 100644 index 000000000..c20e671fc --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_resource.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_matchable_resource import AdminMatchableResource # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminMatchableResource(unittest.TestCase): + """AdminMatchableResource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminMatchableResource(self): + """Test AdminMatchableResource""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_matchable_resource.AdminMatchableResource() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py new file mode 100644 index 000000000..1614512f8 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminMatchingAttributes(unittest.TestCase): + """AdminMatchingAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminMatchingAttributes(self): + """Test AdminMatchingAttributes""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_matching_attributes.AdminMatchingAttributes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity.py new file mode 100644 index 000000000..06702eed0 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_named_entity import AdminNamedEntity # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNamedEntity(unittest.TestCase): + """AdminNamedEntity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNamedEntity(self): + """Test AdminNamedEntity""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_named_entity.AdminNamedEntity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier.py new file mode 100644 index 000000000..6d376e75e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNamedEntityIdentifier(unittest.TestCase): + """AdminNamedEntityIdentifier unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNamedEntityIdentifier(self): + """Test AdminNamedEntityIdentifier""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_named_entity_identifier.AdminNamedEntityIdentifier() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier_list.py new file mode 100644 index 000000000..b93b1d432 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier_list.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_named_entity_identifier_list import AdminNamedEntityIdentifierList # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNamedEntityIdentifierList(unittest.TestCase): + """AdminNamedEntityIdentifierList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNamedEntityIdentifierList(self): + """Test AdminNamedEntityIdentifierList""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_named_entity_identifier_list.AdminNamedEntityIdentifierList() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_list.py new file mode 100644 index 000000000..977750e8b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_list.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_named_entity_list import AdminNamedEntityList # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNamedEntityList(unittest.TestCase): + """AdminNamedEntityList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNamedEntityList(self): + """Test AdminNamedEntityList""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_named_entity_list.AdminNamedEntityList() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_metadata.py new file mode 100644 index 000000000..07d29106a --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNamedEntityMetadata(unittest.TestCase): + """AdminNamedEntityMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNamedEntityMetadata(self): + """Test AdminNamedEntityMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_named_entity_metadata.AdminNamedEntityMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_state.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_state.py new file mode 100644 index 000000000..1bdc21796 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_state.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_named_entity_state import AdminNamedEntityState # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNamedEntityState(unittest.TestCase): + """AdminNamedEntityState unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNamedEntityState(self): + """Test AdminNamedEntityState""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_named_entity_state.AdminNamedEntityState() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_request.py new file mode 100644 index 000000000..140bea29e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_named_entity_update_request import AdminNamedEntityUpdateRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNamedEntityUpdateRequest(unittest.TestCase): + """AdminNamedEntityUpdateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNamedEntityUpdateRequest(self): + """Test AdminNamedEntityUpdateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_named_entity_update_request.AdminNamedEntityUpdateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_response.py new file mode 100644 index 000000000..48fec8e19 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_named_entity_update_response import AdminNamedEntityUpdateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNamedEntityUpdateResponse(unittest.TestCase): + """AdminNamedEntityUpdateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNamedEntityUpdateResponse(self): + """Test AdminNamedEntityUpdateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_named_entity_update_response.AdminNamedEntityUpdateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_closure.py new file mode 100644 index 000000000..1cb387243 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_closure.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_node_execution_closure import AdminNodeExecutionClosure # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNodeExecutionClosure(unittest.TestCase): + """AdminNodeExecutionClosure unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNodeExecutionClosure(self): + """Test AdminNodeExecutionClosure""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_node_execution_closure.AdminNodeExecutionClosure() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_request.py new file mode 100644 index 000000000..f9932fede --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_node_execution_event_request import AdminNodeExecutionEventRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNodeExecutionEventRequest(unittest.TestCase): + """AdminNodeExecutionEventRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNodeExecutionEventRequest(self): + """Test AdminNodeExecutionEventRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_node_execution_event_request.AdminNodeExecutionEventRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_response.py new file mode 100644 index 000000000..09e9f9460 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_node_execution_event_response import AdminNodeExecutionEventResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNodeExecutionEventResponse(unittest.TestCase): + """AdminNodeExecutionEventResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNodeExecutionEventResponse(self): + """Test AdminNodeExecutionEventResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_node_execution_event_response.AdminNodeExecutionEventResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_get_data_response.py new file mode 100644 index 000000000..d84069a2c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_get_data_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_node_execution_get_data_response import AdminNodeExecutionGetDataResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNodeExecutionGetDataResponse(unittest.TestCase): + """AdminNodeExecutionGetDataResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNodeExecutionGetDataResponse(self): + """Test AdminNodeExecutionGetDataResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_node_execution_get_data_response.AdminNodeExecutionGetDataResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_list.py new file mode 100644 index 000000000..ce996eb9a --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_list.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_node_execution_list import AdminNodeExecutionList # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNodeExecutionList(unittest.TestCase): + """AdminNodeExecutionList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNodeExecutionList(self): + """Test AdminNodeExecutionList""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_node_execution_list.AdminNodeExecutionList() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_meta_data.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_meta_data.py new file mode 100644 index 000000000..94e08096e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_meta_data.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_node_execution_meta_data import AdminNodeExecutionMetaData # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNodeExecutionMetaData(unittest.TestCase): + """AdminNodeExecutionMetaData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNodeExecutionMetaData(self): + """Test AdminNodeExecutionMetaData""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_node_execution_meta_data.AdminNodeExecutionMetaData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification.py new file mode 100644 index 000000000..50123dee6 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_notification import AdminNotification # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNotification(unittest.TestCase): + """AdminNotification unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNotification(self): + """Test AdminNotification""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_notification.AdminNotification() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification_list.py new file mode 100644 index 000000000..b80edebf4 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification_list.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_notification_list import AdminNotificationList # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminNotificationList(unittest.TestCase): + """AdminNotificationList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminNotificationList(self): + """Test AdminNotificationList""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_notification_list.AdminNotificationList() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_pager_duty_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_pager_duty_notification.py new file mode 100644 index 000000000..79062cc22 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_pager_duty_notification.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminPagerDutyNotification(unittest.TestCase): + """AdminPagerDutyNotification unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminPagerDutyNotification(self): + """Test AdminPagerDutyNotification""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_pager_duty_notification.AdminPagerDutyNotification() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_override.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_override.py new file mode 100644 index 000000000..8e0232a5e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_override.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_plugin_override import AdminPluginOverride # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminPluginOverride(unittest.TestCase): + """AdminPluginOverride unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminPluginOverride(self): + """Test AdminPluginOverride""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_plugin_override.AdminPluginOverride() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_overrides.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_overrides.py new file mode 100644 index 000000000..f6b33d0d0 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_overrides.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_plugin_overrides import AdminPluginOverrides # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminPluginOverrides(unittest.TestCase): + """AdminPluginOverrides unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminPluginOverrides(self): + """Test AdminPluginOverrides""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_plugin_overrides.AdminPluginOverrides() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project.py new file mode 100644 index 000000000..94ec8dbda --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_project import AdminProject # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProject(unittest.TestCase): + """AdminProject unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProject(self): + """Test AdminProject""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_project.AdminProject() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes.py new file mode 100644 index 000000000..fe261ca67 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProjectDomainAttributes(unittest.TestCase): + """AdminProjectDomainAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProjectDomainAttributes(self): + """Test AdminProjectDomainAttributes""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_project_domain_attributes.AdminProjectDomainAttributes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_request.py new file mode 100644 index 000000000..2e87c3220 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_project_domain_attributes_delete_request import AdminProjectDomainAttributesDeleteRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProjectDomainAttributesDeleteRequest(unittest.TestCase): + """AdminProjectDomainAttributesDeleteRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProjectDomainAttributesDeleteRequest(self): + """Test AdminProjectDomainAttributesDeleteRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_project_domain_attributes_delete_request.AdminProjectDomainAttributesDeleteRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_response.py new file mode 100644 index 000000000..dceb0a410 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_project_domain_attributes_delete_response import AdminProjectDomainAttributesDeleteResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProjectDomainAttributesDeleteResponse(unittest.TestCase): + """AdminProjectDomainAttributesDeleteResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProjectDomainAttributesDeleteResponse(self): + """Test AdminProjectDomainAttributesDeleteResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_project_domain_attributes_delete_response.AdminProjectDomainAttributesDeleteResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_get_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_get_response.py new file mode 100644 index 000000000..c17b959a7 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_get_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_project_domain_attributes_get_response import AdminProjectDomainAttributesGetResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProjectDomainAttributesGetResponse(unittest.TestCase): + """AdminProjectDomainAttributesGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProjectDomainAttributesGetResponse(self): + """Test AdminProjectDomainAttributesGetResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_project_domain_attributes_get_response.AdminProjectDomainAttributesGetResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_request.py new file mode 100644 index 000000000..1d13f4505 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_project_domain_attributes_update_request import AdminProjectDomainAttributesUpdateRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProjectDomainAttributesUpdateRequest(unittest.TestCase): + """AdminProjectDomainAttributesUpdateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProjectDomainAttributesUpdateRequest(self): + """Test AdminProjectDomainAttributesUpdateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_project_domain_attributes_update_request.AdminProjectDomainAttributesUpdateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_response.py new file mode 100644 index 000000000..1381af95a --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_project_domain_attributes_update_response import AdminProjectDomainAttributesUpdateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProjectDomainAttributesUpdateResponse(unittest.TestCase): + """AdminProjectDomainAttributesUpdateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProjectDomainAttributesUpdateResponse(self): + """Test AdminProjectDomainAttributesUpdateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_project_domain_attributes_update_response.AdminProjectDomainAttributesUpdateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_request.py new file mode 100644 index 000000000..21a49c3f3 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_project_register_request import AdminProjectRegisterRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProjectRegisterRequest(unittest.TestCase): + """AdminProjectRegisterRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProjectRegisterRequest(self): + """Test AdminProjectRegisterRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_project_register_request.AdminProjectRegisterRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_response.py new file mode 100644 index 000000000..773ec50ef --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_project_register_response import AdminProjectRegisterResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProjectRegisterResponse(unittest.TestCase): + """AdminProjectRegisterResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProjectRegisterResponse(self): + """Test AdminProjectRegisterResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_project_register_response.AdminProjectRegisterResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_update_response.py new file mode 100644 index 000000000..d3d3a31dc --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_update_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_project_update_response import AdminProjectUpdateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProjectUpdateResponse(unittest.TestCase): + """AdminProjectUpdateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProjectUpdateResponse(self): + """Test AdminProjectUpdateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_project_update_response.AdminProjectUpdateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_projects.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_projects.py new file mode 100644 index 000000000..195a493cb --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_projects.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_projects import AdminProjects # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProjects(unittest.TestCase): + """AdminProjects unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProjects(self): + """Test AdminProjects""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_projects.AdminProjects() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_raw_output_data_config.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_raw_output_data_config.py new file mode 100644 index 000000000..1fc1b9a3b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_raw_output_data_config.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminRawOutputDataConfig(unittest.TestCase): + """AdminRawOutputDataConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminRawOutputDataConfig(self): + """Test AdminRawOutputDataConfig""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_raw_output_data_config.AdminRawOutputDataConfig() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_schedule.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_schedule.py new file mode 100644 index 000000000..78bd6c3fb --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_schedule.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_schedule import AdminSchedule # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminSchedule(unittest.TestCase): + """AdminSchedule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminSchedule(self): + """Test AdminSchedule""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_schedule.AdminSchedule() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py new file mode 100644 index 000000000..501d620a0 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py @@ -0,0 +1,383 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.api.admin_service_api import AdminServiceApi # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminServiceApi(unittest.TestCase): + """AdminServiceApi unit test stubs""" + + def setUp(self): + self.api = flyteadmin.api.admin_service_api.AdminServiceApi() # noqa: E501 + + def tearDown(self): + pass + + def test_create_execution(self): + """Test case for create_execution + + Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` # noqa: E501 + """ + pass + + def test_create_launch_plan(self): + """Test case for create_launch_plan + + Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition # noqa: E501 + """ + pass + + def test_create_node_event(self): + """Test case for create_node_event + + Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. # noqa: E501 + """ + pass + + def test_create_task(self): + """Test case for create_task + + Create and upload a :ref:`ref_flyteidl.admin.Task` definition # noqa: E501 + """ + pass + + def test_create_task_event(self): + """Test case for create_task_event + + Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. # noqa: E501 + """ + pass + + def test_create_workflow(self): + """Test case for create_workflow + + Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition # noqa: E501 + """ + pass + + def test_create_workflow_event(self): + """Test case for create_workflow_event + + Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. # noqa: E501 + """ + pass + + def test_delete_project_domain_attributes(self): + """Test case for delete_project_domain_attributes + + Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 + """ + pass + + def test_delete_workflow_attributes(self): + """Test case for delete_workflow_attributes + + Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 + """ + pass + + def test_get_active_launch_plan(self): + """Test case for get_active_launch_plan + + Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 + """ + pass + + def test_get_execution(self): + """Test case for get_execution + + Fetches a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + """ + pass + + def test_get_execution_data(self): + """Test case for get_execution_data + + Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + """ + pass + + def test_get_launch_plan(self): + """Test case for get_launch_plan + + Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. # noqa: E501 + """ + pass + + def test_get_named_entity(self): + """Test case for get_named_entity + + Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 + """ + pass + + def test_get_node_execution(self): + """Test case for get_node_execution + + Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 + """ + pass + + def test_get_node_execution_data(self): + """Test case for get_node_execution_data + + Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 + """ + pass + + def test_get_project_domain_attributes(self): + """Test case for get_project_domain_attributes + + Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 + """ + pass + + def test_get_task(self): + """Test case for get_task + + Fetch a :ref:`ref_flyteidl.admin.Task` definition. # noqa: E501 + """ + pass + + def test_get_task_execution(self): + """Test case for get_task_execution + + Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 + """ + pass + + def test_get_task_execution_data(self): + """Test case for get_task_execution_data + + Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 + """ + pass + + def test_get_version(self): + """Test case for get_version + + """ + pass + + def test_get_workflow(self): + """Test case for get_workflow + + Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. # noqa: E501 + """ + pass + + def test_get_workflow_attributes(self): + """Test case for get_workflow_attributes + + Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 + """ + pass + + def test_list_active_launch_plans(self): + """Test case for list_active_launch_plans + + List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 + """ + pass + + def test_list_executions(self): + """Test case for list_executions + + Fetch a list of :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + """ + pass + + def test_list_launch_plan_ids(self): + """Test case for list_launch_plan_ids + + Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. # noqa: E501 + """ + pass + + def test_list_launch_plans(self): + """Test case for list_launch_plans + + Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 + """ + pass + + def test_list_launch_plans2(self): + """Test case for list_launch_plans2 + + Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 + """ + pass + + def test_list_matchable_attributes(self): + """Test case for list_matchable_attributes + + Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. # noqa: E501 + """ + pass + + def test_list_named_entities(self): + """Test case for list_named_entities + + Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. # noqa: E501 + """ + pass + + def test_list_node_executions(self): + """Test case for list_node_executions + + Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 + """ + pass + + def test_list_node_executions_for_task(self): + """Test case for list_node_executions_for_task + + Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 + """ + pass + + def test_list_projects(self): + """Test case for list_projects + + Fetches a list of :ref:`ref_flyteidl.admin.Project` # noqa: E501 + """ + pass + + def test_list_task_executions(self): + """Test case for list_task_executions + + Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 + """ + pass + + def test_list_task_ids(self): + """Test case for list_task_ids + + Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. # noqa: E501 + """ + pass + + def test_list_tasks(self): + """Test case for list_tasks + + Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 + """ + pass + + def test_list_tasks2(self): + """Test case for list_tasks2 + + Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 + """ + pass + + def test_list_workflow_ids(self): + """Test case for list_workflow_ids + + Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. # noqa: E501 + """ + pass + + def test_list_workflows(self): + """Test case for list_workflows + + Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 + """ + pass + + def test_list_workflows2(self): + """Test case for list_workflows2 + + Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 + """ + pass + + def test_recover_execution(self): + """Test case for recover_execution + + Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. # noqa: E501 + """ + pass + + def test_register_project(self): + """Test case for register_project + + Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. # noqa: E501 + """ + pass + + def test_relaunch_execution(self): + """Test case for relaunch_execution + + Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` # noqa: E501 + """ + pass + + def test_terminate_execution(self): + """Test case for terminate_execution + + Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + """ + pass + + def test_update_execution(self): + """Test case for update_execution + + Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + """ + pass + + def test_update_launch_plan(self): + """Test case for update_launch_plan + + Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 + """ + pass + + def test_update_named_entity(self): + """Test case for update_named_entity + + Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 + """ + pass + + def test_update_project(self): + """Test case for update_project + + Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. # noqa: E501 + """ + pass + + def test_update_project_domain_attributes(self): + """Test case for update_project_domain_attributes + + Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 + """ + pass + + def test_update_workflow_attributes(self): + """Test case for update_workflow_attributes + + Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_slack_notification.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_slack_notification.py new file mode 100644 index 000000000..606a20758 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_slack_notification.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_slack_notification import AdminSlackNotification # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminSlackNotification(unittest.TestCase): + """AdminSlackNotification unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminSlackNotification(self): + """Test AdminSlackNotification""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_slack_notification.AdminSlackNotification() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_sort.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_sort.py new file mode 100644 index 000000000..e92f5cf94 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_sort.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_sort import AdminSort # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminSort(unittest.TestCase): + """AdminSort unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminSort(self): + """Test AdminSort""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_sort.AdminSort() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_system_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_system_metadata.py new file mode 100644 index 000000000..0f81cd491 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_system_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_system_metadata import AdminSystemMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminSystemMetadata(unittest.TestCase): + """AdminSystemMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminSystemMetadata(self): + """Test AdminSystemMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_system_metadata.AdminSystemMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task.py new file mode 100644 index 000000000..6d7db7646 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task import AdminTask # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTask(unittest.TestCase): + """AdminTask unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTask(self): + """Test AdminTask""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task.AdminTask() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_closure.py new file mode 100644 index 000000000..f9ea4c263 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_closure.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_closure import AdminTaskClosure # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskClosure(unittest.TestCase): + """AdminTaskClosure unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskClosure(self): + """Test AdminTaskClosure""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_closure.AdminTaskClosure() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_request.py new file mode 100644 index 000000000..e951b0247 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_create_request import AdminTaskCreateRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskCreateRequest(unittest.TestCase): + """AdminTaskCreateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskCreateRequest(self): + """Test AdminTaskCreateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_create_request.AdminTaskCreateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_response.py new file mode 100644 index 000000000..63330c529 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_create_response import AdminTaskCreateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskCreateResponse(unittest.TestCase): + """AdminTaskCreateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskCreateResponse(self): + """Test AdminTaskCreateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_create_response.AdminTaskCreateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_closure.py new file mode 100644 index 000000000..182a6e9c3 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_closure.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskExecutionClosure(unittest.TestCase): + """AdminTaskExecutionClosure unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskExecutionClosure(self): + """Test AdminTaskExecutionClosure""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_execution_closure.AdminTaskExecutionClosure() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_request.py new file mode 100644 index 000000000..0c4208e35 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_execution_event_request import AdminTaskExecutionEventRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskExecutionEventRequest(unittest.TestCase): + """AdminTaskExecutionEventRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskExecutionEventRequest(self): + """Test AdminTaskExecutionEventRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_execution_event_request.AdminTaskExecutionEventRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_response.py new file mode 100644 index 000000000..8d0ed7621 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_execution_event_response import AdminTaskExecutionEventResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskExecutionEventResponse(unittest.TestCase): + """AdminTaskExecutionEventResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskExecutionEventResponse(self): + """Test AdminTaskExecutionEventResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_execution_event_response.AdminTaskExecutionEventResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_get_data_response.py new file mode 100644 index 000000000..d8f7588c7 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_get_data_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_execution_get_data_response import AdminTaskExecutionGetDataResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskExecutionGetDataResponse(unittest.TestCase): + """AdminTaskExecutionGetDataResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskExecutionGetDataResponse(self): + """Test AdminTaskExecutionGetDataResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_execution_get_data_response.AdminTaskExecutionGetDataResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_list.py new file mode 100644 index 000000000..d331a05ee --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_list.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_execution_list import AdminTaskExecutionList # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskExecutionList(unittest.TestCase): + """AdminTaskExecutionList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskExecutionList(self): + """Test AdminTaskExecutionList""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_execution_list.AdminTaskExecutionList() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_list.py new file mode 100644 index 000000000..8cc379d20 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_list.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_list import AdminTaskList # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskList(unittest.TestCase): + """AdminTaskList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskList(self): + """Test AdminTaskList""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_list.AdminTaskList() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py new file mode 100644 index 000000000..718c67e3f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskResourceAttributes(unittest.TestCase): + """AdminTaskResourceAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskResourceAttributes(self): + """Test AdminTaskResourceAttributes""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_resource_attributes.AdminTaskResourceAttributes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py new file mode 100644 index 000000000..3f02df671 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskResourceSpec(unittest.TestCase): + """AdminTaskResourceSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskResourceSpec(self): + """Test AdminTaskResourceSpec""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_resource_spec.AdminTaskResourceSpec() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_spec.py new file mode 100644 index 000000000..1103ee928 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_spec.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_spec import AdminTaskSpec # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskSpec(unittest.TestCase): + """AdminTaskSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskSpec(self): + """Test AdminTaskSpec""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_spec.AdminTaskSpec() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_url_blob.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_url_blob.py new file mode 100644 index 000000000..a990bf14d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_url_blob.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminUrlBlob(unittest.TestCase): + """AdminUrlBlob unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminUrlBlob(self): + """Test AdminUrlBlob""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_url_blob.AdminUrlBlob() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_version.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_version.py new file mode 100644 index 000000000..d89f6acf1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_version.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_version import AdminVersion # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminVersion(unittest.TestCase): + """AdminVersion unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminVersion(self): + """Test AdminVersion""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_version.AdminVersion() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow.py new file mode 100644 index 000000000..c6f05d6f6 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow import AdminWorkflow # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflow(unittest.TestCase): + """AdminWorkflow unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflow(self): + """Test AdminWorkflow""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow.AdminWorkflow() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py new file mode 100644 index 000000000..14d1a1708 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowAttributes(unittest.TestCase): + """AdminWorkflowAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowAttributes(self): + """Test AdminWorkflowAttributes""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_attributes.AdminWorkflowAttributes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_request.py new file mode 100644 index 000000000..1371760db --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_attributes_delete_request import AdminWorkflowAttributesDeleteRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowAttributesDeleteRequest(unittest.TestCase): + """AdminWorkflowAttributesDeleteRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowAttributesDeleteRequest(self): + """Test AdminWorkflowAttributesDeleteRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_attributes_delete_request.AdminWorkflowAttributesDeleteRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_response.py new file mode 100644 index 000000000..2fd486101 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_attributes_delete_response import AdminWorkflowAttributesDeleteResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowAttributesDeleteResponse(unittest.TestCase): + """AdminWorkflowAttributesDeleteResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowAttributesDeleteResponse(self): + """Test AdminWorkflowAttributesDeleteResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_attributes_delete_response.AdminWorkflowAttributesDeleteResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_get_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_get_response.py new file mode 100644 index 000000000..14eb77de4 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_get_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_attributes_get_response import AdminWorkflowAttributesGetResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowAttributesGetResponse(unittest.TestCase): + """AdminWorkflowAttributesGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowAttributesGetResponse(self): + """Test AdminWorkflowAttributesGetResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_attributes_get_response.AdminWorkflowAttributesGetResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py new file mode 100644 index 000000000..ce0e546c2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_attributes_update_request import AdminWorkflowAttributesUpdateRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowAttributesUpdateRequest(unittest.TestCase): + """AdminWorkflowAttributesUpdateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowAttributesUpdateRequest(self): + """Test AdminWorkflowAttributesUpdateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_attributes_update_request.AdminWorkflowAttributesUpdateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py new file mode 100644 index 000000000..6e299cfeb --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_attributes_update_response import AdminWorkflowAttributesUpdateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowAttributesUpdateResponse(unittest.TestCase): + """AdminWorkflowAttributesUpdateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowAttributesUpdateResponse(self): + """Test AdminWorkflowAttributesUpdateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_attributes_update_response.AdminWorkflowAttributesUpdateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_closure.py new file mode 100644 index 000000000..21e36219f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_closure.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowClosure(unittest.TestCase): + """AdminWorkflowClosure unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowClosure(self): + """Test AdminWorkflowClosure""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_closure.AdminWorkflowClosure() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_request.py new file mode 100644 index 000000000..891580dcb --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_create_request import AdminWorkflowCreateRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowCreateRequest(unittest.TestCase): + """AdminWorkflowCreateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowCreateRequest(self): + """Test AdminWorkflowCreateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_create_request.AdminWorkflowCreateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_response.py new file mode 100644 index 000000000..0c0225f05 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_create_response import AdminWorkflowCreateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowCreateResponse(unittest.TestCase): + """AdminWorkflowCreateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowCreateResponse(self): + """Test AdminWorkflowCreateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_create_response.AdminWorkflowCreateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_config.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_config.py new file mode 100644 index 000000000..02ebdcb45 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_config.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_execution_config import AdminWorkflowExecutionConfig # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowExecutionConfig(unittest.TestCase): + """AdminWorkflowExecutionConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowExecutionConfig(self): + """Test AdminWorkflowExecutionConfig""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_execution_config.AdminWorkflowExecutionConfig() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_request.py new file mode 100644 index 000000000..c7d3b3833 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_execution_event_request import AdminWorkflowExecutionEventRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowExecutionEventRequest(unittest.TestCase): + """AdminWorkflowExecutionEventRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowExecutionEventRequest(self): + """Test AdminWorkflowExecutionEventRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_execution_event_request.AdminWorkflowExecutionEventRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_response.py new file mode 100644 index 000000000..7341cc1a6 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_execution_event_response import AdminWorkflowExecutionEventResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowExecutionEventResponse(unittest.TestCase): + """AdminWorkflowExecutionEventResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowExecutionEventResponse(self): + """Test AdminWorkflowExecutionEventResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_execution_event_response.AdminWorkflowExecutionEventResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_data_response.py new file mode 100644 index 000000000..8223916f6 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_data_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_execution_get_data_response import AdminWorkflowExecutionGetDataResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowExecutionGetDataResponse(unittest.TestCase): + """AdminWorkflowExecutionGetDataResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowExecutionGetDataResponse(self): + """Test AdminWorkflowExecutionGetDataResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_execution_get_data_response.AdminWorkflowExecutionGetDataResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_list.py new file mode 100644 index 000000000..83162478f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_list.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_list import AdminWorkflowList # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowList(unittest.TestCase): + """AdminWorkflowList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowList(self): + """Test AdminWorkflowList""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_list.AdminWorkflowList() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_spec.py new file mode 100644 index 000000000..1734a4f99 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_spec.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowSpec(unittest.TestCase): + """AdminWorkflowSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowSpec(self): + """Test AdminWorkflowSpec""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_spec.AdminWorkflowSpec() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_blob_type_blob_dimensionality.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_blob_type_blob_dimensionality.py new file mode 100644 index 000000000..d20ddcca9 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_blob_type_blob_dimensionality.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestBlobTypeBlobDimensionality(unittest.TestCase): + """BlobTypeBlobDimensionality unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBlobTypeBlobDimensionality(self): + """Test BlobTypeBlobDimensionality""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.blob_type_blob_dimensionality.BlobTypeBlobDimensionality() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_catalog_reservation_status.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_catalog_reservation_status.py new file mode 100644 index 000000000..1e797b8aa --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_catalog_reservation_status.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCatalogReservationStatus(unittest.TestCase): + """CatalogReservationStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCatalogReservationStatus(self): + """Test CatalogReservationStatus""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.catalog_reservation_status.CatalogReservationStatus() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py new file mode 100644 index 000000000..577750bcb --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestComparisonExpressionOperator(unittest.TestCase): + """ComparisonExpressionOperator unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testComparisonExpressionOperator(self): + """Test ComparisonExpressionOperator""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.comparison_expression_operator.ComparisonExpressionOperator() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_conjunction_expression_logical_operator.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_conjunction_expression_logical_operator.py new file mode 100644 index 000000000..cb10dbf8a --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_conjunction_expression_logical_operator.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestConjunctionExpressionLogicalOperator(unittest.TestCase): + """ConjunctionExpressionLogicalOperator unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testConjunctionExpressionLogicalOperator(self): + """Test ConjunctionExpressionLogicalOperator""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.conjunction_expression_logical_operator.ConjunctionExpressionLogicalOperator() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_connection_set_id_list.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_connection_set_id_list.py new file mode 100644 index 000000000..8b32f6860 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_connection_set_id_list.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.connection_set_id_list import ConnectionSetIdList # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestConnectionSetIdList(unittest.TestCase): + """ConnectionSetIdList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testConnectionSetIdList(self): + """Test ConnectionSetIdList""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.connection_set_id_list.ConnectionSetIdList() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_container_architecture.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_container_architecture.py new file mode 100644 index 000000000..ab878f405 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_container_architecture.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.container_architecture import ContainerArchitecture # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestContainerArchitecture(unittest.TestCase): + """ContainerArchitecture unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testContainerArchitecture(self): + """Test ContainerArchitecture""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.container_architecture.ContainerArchitecture() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_alias.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_alias.py new file mode 100644 index 000000000..e08d977e7 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_alias.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_alias import CoreAlias # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreAlias(unittest.TestCase): + """CoreAlias unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreAlias(self): + """Test CoreAlias""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_alias.CoreAlias() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binary.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binary.py new file mode 100644 index 000000000..939b79064 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binary.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_binary import CoreBinary # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreBinary(unittest.TestCase): + """CoreBinary unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreBinary(self): + """Test CoreBinary""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_binary.CoreBinary() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding.py new file mode 100644 index 000000000..3219ef538 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_binding import CoreBinding # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreBinding(unittest.TestCase): + """CoreBinding unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreBinding(self): + """Test CoreBinding""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_binding.CoreBinding() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data.py new file mode 100644 index 000000000..77b747420 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_binding_data import CoreBindingData # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreBindingData(unittest.TestCase): + """CoreBindingData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreBindingData(self): + """Test CoreBindingData""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_binding_data.CoreBindingData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_collection.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_collection.py new file mode 100644 index 000000000..70d9c49bf --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_collection.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_binding_data_collection import CoreBindingDataCollection # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreBindingDataCollection(unittest.TestCase): + """CoreBindingDataCollection unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreBindingDataCollection(self): + """Test CoreBindingDataCollection""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_binding_data_collection.CoreBindingDataCollection() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_map.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_map.py new file mode 100644 index 000000000..51ce1d0f1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_map.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_binding_data_map import CoreBindingDataMap # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreBindingDataMap(unittest.TestCase): + """CoreBindingDataMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreBindingDataMap(self): + """Test CoreBindingDataMap""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_binding_data_map.CoreBindingDataMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob.py new file mode 100644 index 000000000..eccd729f9 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_blob import CoreBlob # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreBlob(unittest.TestCase): + """CoreBlob unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreBlob(self): + """Test CoreBlob""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_blob.CoreBlob() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_metadata.py new file mode 100644 index 000000000..c71578301 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_blob_metadata import CoreBlobMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreBlobMetadata(unittest.TestCase): + """CoreBlobMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreBlobMetadata(self): + """Test CoreBlobMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_blob_metadata.CoreBlobMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_type.py new file mode 100644 index 000000000..fbfd0e531 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_type.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_blob_type import CoreBlobType # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreBlobType(unittest.TestCase): + """CoreBlobType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreBlobType(self): + """Test CoreBlobType""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_blob_type.CoreBlobType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_boolean_expression.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_boolean_expression.py new file mode 100644 index 000000000..8cc7da37b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_boolean_expression.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_boolean_expression import CoreBooleanExpression # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreBooleanExpression(unittest.TestCase): + """CoreBooleanExpression unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreBooleanExpression(self): + """Test CoreBooleanExpression""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_boolean_expression.CoreBooleanExpression() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_branch_node.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_branch_node.py new file mode 100644 index 000000000..229ef6e41 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_branch_node.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_branch_node import CoreBranchNode # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreBranchNode(unittest.TestCase): + """CoreBranchNode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreBranchNode(self): + """Test CoreBranchNode""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_branch_node.CoreBranchNode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_artifact_tag.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_artifact_tag.py new file mode 100644 index 000000000..c97c55bbf --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_artifact_tag.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_catalog_artifact_tag import CoreCatalogArtifactTag # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreCatalogArtifactTag(unittest.TestCase): + """CoreCatalogArtifactTag unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreCatalogArtifactTag(self): + """Test CoreCatalogArtifactTag""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_catalog_artifact_tag.CoreCatalogArtifactTag() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_cache_status.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_cache_status.py new file mode 100644 index 000000000..e478da889 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_cache_status.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreCatalogCacheStatus(unittest.TestCase): + """CoreCatalogCacheStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreCatalogCacheStatus(self): + """Test CoreCatalogCacheStatus""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_catalog_cache_status.CoreCatalogCacheStatus() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_metadata.py new file mode 100644 index 000000000..9bc47d8d6 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreCatalogMetadata(unittest.TestCase): + """CoreCatalogMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreCatalogMetadata(self): + """Test CoreCatalogMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_catalog_metadata.CoreCatalogMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression.py new file mode 100644 index 000000000..15bdc2da3 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_comparison_expression import CoreComparisonExpression # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreComparisonExpression(unittest.TestCase): + """CoreComparisonExpression unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreComparisonExpression(self): + """Test CoreComparisonExpression""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_comparison_expression.CoreComparisonExpression() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_task.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_task.py new file mode 100644 index 000000000..8823c3e14 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_task.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_compiled_task import CoreCompiledTask # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreCompiledTask(unittest.TestCase): + """CoreCompiledTask unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreCompiledTask(self): + """Test CoreCompiledTask""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_compiled_task.CoreCompiledTask() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow.py new file mode 100644 index 000000000..f19d9cdab --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreCompiledWorkflow(unittest.TestCase): + """CoreCompiledWorkflow unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreCompiledWorkflow(self): + """Test CoreCompiledWorkflow""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_compiled_workflow.CoreCompiledWorkflow() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow_closure.py new file mode 100644 index 000000000..86de9922b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow_closure.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreCompiledWorkflowClosure(unittest.TestCase): + """CoreCompiledWorkflowClosure unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreCompiledWorkflowClosure(self): + """Test CoreCompiledWorkflowClosure""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_compiled_workflow_closure.CoreCompiledWorkflowClosure() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_conjunction_expression.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_conjunction_expression.py new file mode 100644 index 000000000..1aa1a0d3b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_conjunction_expression.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_conjunction_expression import CoreConjunctionExpression # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreConjunctionExpression(unittest.TestCase): + """CoreConjunctionExpression unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreConjunctionExpression(self): + """Test CoreConjunctionExpression""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_conjunction_expression.CoreConjunctionExpression() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_connection_set.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_connection_set.py new file mode 100644 index 000000000..55039a322 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_connection_set.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_connection_set import CoreConnectionSet # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreConnectionSet(unittest.TestCase): + """CoreConnectionSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreConnectionSet(self): + """Test CoreConnectionSet""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_connection_set.CoreConnectionSet() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container.py new file mode 100644 index 000000000..0d067c6c4 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_container import CoreContainer # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreContainer(unittest.TestCase): + """CoreContainer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreContainer(self): + """Test CoreContainer""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_container.CoreContainer() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container_port.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container_port.py new file mode 100644 index 000000000..df6d682e2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container_port.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_container_port import CoreContainerPort # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreContainerPort(unittest.TestCase): + """CoreContainerPort unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreContainerPort(self): + """Test CoreContainerPort""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_container_port.CoreContainerPort() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_data_loading_config.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_data_loading_config.py new file mode 100644 index 000000000..3e66fb838 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_data_loading_config.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreDataLoadingConfig(unittest.TestCase): + """CoreDataLoadingConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreDataLoadingConfig(self): + """Test CoreDataLoadingConfig""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_data_loading_config.CoreDataLoadingConfig() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_enum_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_enum_type.py new file mode 100644 index 000000000..f13f76b41 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_enum_type.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_enum_type import CoreEnumType # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreEnumType(unittest.TestCase): + """CoreEnumType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreEnumType(self): + """Test CoreEnumType""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_enum_type.CoreEnumType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_error.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_error.py new file mode 100644 index 000000000..bf094e656 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_error.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_error import CoreError # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreError(unittest.TestCase): + """CoreError unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreError(self): + """Test CoreError""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_error.CoreError() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_execution_error.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_execution_error.py new file mode 100644 index 000000000..b802fdfc5 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_execution_error.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreExecutionError(unittest.TestCase): + """CoreExecutionError unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreExecutionError(self): + """Test CoreExecutionError""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_execution_error.CoreExecutionError() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identifier.py new file mode 100644 index 000000000..67d59d762 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identifier.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_identifier import CoreIdentifier # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreIdentifier(unittest.TestCase): + """CoreIdentifier unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreIdentifier(self): + """Test CoreIdentifier""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_identifier.CoreIdentifier() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identity.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identity.py new file mode 100644 index 000000000..cfcfa86b9 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_identity import CoreIdentity # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreIdentity(unittest.TestCase): + """CoreIdentity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreIdentity(self): + """Test CoreIdentity""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_identity.CoreIdentity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_block.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_block.py new file mode 100644 index 000000000..de10f6131 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_block.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_if_block import CoreIfBlock # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreIfBlock(unittest.TestCase): + """CoreIfBlock unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreIfBlock(self): + """Test CoreIfBlock""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_if_block.CoreIfBlock() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_else_block.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_else_block.py new file mode 100644 index 000000000..c0807d2e5 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_else_block.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_if_else_block import CoreIfElseBlock # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreIfElseBlock(unittest.TestCase): + """CoreIfElseBlock unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreIfElseBlock(self): + """Test CoreIfElseBlock""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_if_else_block.CoreIfElseBlock() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_io_strategy.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_io_strategy.py new file mode 100644 index 000000000..ce24dadfd --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_io_strategy.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_io_strategy import CoreIOStrategy # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreIOStrategy(unittest.TestCase): + """CoreIOStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreIOStrategy(self): + """Test CoreIOStrategy""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_io_strategy.CoreIOStrategy() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_object_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_object_metadata.py new file mode 100644 index 000000000..8659bc560 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_object_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreK8sObjectMetadata(unittest.TestCase): + """CoreK8sObjectMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreK8sObjectMetadata(self): + """Test CoreK8sObjectMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_k8s_object_metadata.CoreK8sObjectMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_pod.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_pod.py new file mode 100644 index 000000000..d46253026 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_pod.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_k8s_pod import CoreK8sPod # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreK8sPod(unittest.TestCase): + """CoreK8sPod unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreK8sPod(self): + """Test CoreK8sPod""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_k8s_pod.CoreK8sPod() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_key_value_pair.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_key_value_pair.py new file mode 100644 index 000000000..9d8101b24 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_key_value_pair.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_key_value_pair import CoreKeyValuePair # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreKeyValuePair(unittest.TestCase): + """CoreKeyValuePair unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreKeyValuePair(self): + """Test CoreKeyValuePair""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_key_value_pair.CoreKeyValuePair() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal.py new file mode 100644 index 000000000..4340c97ec --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_literal import CoreLiteral # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreLiteral(unittest.TestCase): + """CoreLiteral unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreLiteral(self): + """Test CoreLiteral""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_literal.CoreLiteral() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_collection.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_collection.py new file mode 100644 index 000000000..d365b0ae7 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_collection.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_literal_collection import CoreLiteralCollection # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreLiteralCollection(unittest.TestCase): + """CoreLiteralCollection unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreLiteralCollection(self): + """Test CoreLiteralCollection""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_literal_collection.CoreLiteralCollection() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_map.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_map.py new file mode 100644 index 000000000..d9e8d764e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_map.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreLiteralMap(unittest.TestCase): + """CoreLiteralMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreLiteralMap(self): + """Test CoreLiteralMap""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_literal_map.CoreLiteralMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_type.py new file mode 100644 index 000000000..82c222dfa --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_type.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreLiteralType(unittest.TestCase): + """CoreLiteralType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreLiteralType(self): + """Test CoreLiteralType""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_literal_type.CoreLiteralType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node.py new file mode 100644 index 000000000..735b1e75e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_node import CoreNode # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreNode(unittest.TestCase): + """CoreNode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreNode(self): + """Test CoreNode""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_node.CoreNode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_identifier.py new file mode 100644 index 000000000..995b4a879 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_identifier.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreNodeExecutionIdentifier(unittest.TestCase): + """CoreNodeExecutionIdentifier unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreNodeExecutionIdentifier(self): + """Test CoreNodeExecutionIdentifier""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_node_execution_identifier.CoreNodeExecutionIdentifier() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_phase.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_phase.py new file mode 100644 index 000000000..b07efd43c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_phase.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreNodeExecutionPhase(unittest.TestCase): + """CoreNodeExecutionPhase unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreNodeExecutionPhase(self): + """Test CoreNodeExecutionPhase""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_node_execution_phase.CoreNodeExecutionPhase() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_metadata.py new file mode 100644 index 000000000..21511eeb1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_node_metadata import CoreNodeMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreNodeMetadata(unittest.TestCase): + """CoreNodeMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreNodeMetadata(self): + """Test CoreNodeMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_node_metadata.CoreNodeMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_client.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_client.py new file mode 100644 index 000000000..dc0001bbd --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_client.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreOAuth2Client(unittest.TestCase): + """CoreOAuth2Client unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreOAuth2Client(self): + """Test CoreOAuth2Client""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_o_auth2_client.CoreOAuth2Client() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request.py new file mode 100644 index 000000000..492200f7f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_o_auth2_token_request import CoreOAuth2TokenRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreOAuth2TokenRequest(unittest.TestCase): + """CoreOAuth2TokenRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreOAuth2TokenRequest(self): + """Test CoreOAuth2TokenRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_o_auth2_token_request.CoreOAuth2TokenRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request_type.py new file mode 100644 index 000000000..87c81de60 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request_type.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_o_auth2_token_request_type import CoreOAuth2TokenRequestType # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreOAuth2TokenRequestType(unittest.TestCase): + """CoreOAuth2TokenRequestType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreOAuth2TokenRequestType(self): + """Test CoreOAuth2TokenRequestType""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_o_auth2_token_request_type.CoreOAuth2TokenRequestType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_operand.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_operand.py new file mode 100644 index 000000000..f160e48f3 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_operand.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_operand import CoreOperand # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreOperand(unittest.TestCase): + """CoreOperand unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreOperand(self): + """Test CoreOperand""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_operand.CoreOperand() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_output_reference.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_output_reference.py new file mode 100644 index 000000000..8860a35b2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_output_reference.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_output_reference import CoreOutputReference # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreOutputReference(unittest.TestCase): + """CoreOutputReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreOutputReference(self): + """Test CoreOutputReference""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_output_reference.CoreOutputReference() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter.py new file mode 100644 index 000000000..6821a3978 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_parameter import CoreParameter # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreParameter(unittest.TestCase): + """CoreParameter unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreParameter(self): + """Test CoreParameter""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_parameter.CoreParameter() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter_map.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter_map.py new file mode 100644 index 000000000..901cadf69 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter_map.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_parameter_map import CoreParameterMap # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreParameterMap(unittest.TestCase): + """CoreParameterMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreParameterMap(self): + """Test CoreParameterMap""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_parameter_map.CoreParameterMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_primitive.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_primitive.py new file mode 100644 index 000000000..3162d6897 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_primitive.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_primitive import CorePrimitive # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCorePrimitive(unittest.TestCase): + """CorePrimitive unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCorePrimitive(self): + """Test CorePrimitive""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_primitive.CorePrimitive() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service.py new file mode 100644 index 000000000..127aa3f11 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreQualityOfService(unittest.TestCase): + """CoreQualityOfService unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreQualityOfService(self): + """Test CoreQualityOfService""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_quality_of_service.CoreQualityOfService() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service_spec.py new file mode 100644 index 000000000..0a4234ebd --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service_spec.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_quality_of_service_spec import CoreQualityOfServiceSpec # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreQualityOfServiceSpec(unittest.TestCase): + """CoreQualityOfServiceSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreQualityOfServiceSpec(self): + """Test CoreQualityOfServiceSpec""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_quality_of_service_spec.CoreQualityOfServiceSpec() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resource_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resource_type.py new file mode 100644 index 000000000..f69fbff10 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resource_type.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_resource_type import CoreResourceType # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreResourceType(unittest.TestCase): + """CoreResourceType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreResourceType(self): + """Test CoreResourceType""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_resource_type.CoreResourceType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resources.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resources.py new file mode 100644 index 000000000..144c2a03f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resources.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_resources import CoreResources # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreResources(unittest.TestCase): + """CoreResources unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreResources(self): + """Test CoreResources""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_resources.CoreResources() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_retry_strategy.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_retry_strategy.py new file mode 100644 index 000000000..c64f4b370 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_retry_strategy.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_retry_strategy import CoreRetryStrategy # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreRetryStrategy(unittest.TestCase): + """CoreRetryStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreRetryStrategy(self): + """Test CoreRetryStrategy""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_retry_strategy.CoreRetryStrategy() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_runtime_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_runtime_metadata.py new file mode 100644 index 000000000..1db01a110 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_runtime_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_runtime_metadata import CoreRuntimeMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreRuntimeMetadata(unittest.TestCase): + """CoreRuntimeMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreRuntimeMetadata(self): + """Test CoreRuntimeMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_runtime_metadata.CoreRuntimeMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_scalar.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_scalar.py new file mode 100644 index 000000000..3eda847bc --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_scalar.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_scalar import CoreScalar # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreScalar(unittest.TestCase): + """CoreScalar unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreScalar(self): + """Test CoreScalar""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_scalar.CoreScalar() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema_type.py new file mode 100644 index 000000000..b74b18668 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema_type.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_schema_type import CoreSchemaType # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreSchemaType(unittest.TestCase): + """CoreSchemaType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreSchemaType(self): + """Test CoreSchemaType""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_schema_type.CoreSchemaType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_secret.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_secret.py new file mode 100644 index 000000000..891702bef --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_secret.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_secret import CoreSecret # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreSecret(unittest.TestCase): + """CoreSecret unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreSecret(self): + """Test CoreSecret""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_secret.CoreSecret() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_security_context.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_security_context.py new file mode 100644 index 000000000..1ee669ba5 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_security_context.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreSecurityContext(unittest.TestCase): + """CoreSecurityContext unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreSecurityContext(self): + """Test CoreSecurityContext""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_security_context.CoreSecurityContext() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_simple_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_simple_type.py new file mode 100644 index 000000000..49c7d3229 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_simple_type.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_simple_type import CoreSimpleType # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreSimpleType(unittest.TestCase): + """CoreSimpleType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreSimpleType(self): + """Test CoreSimpleType""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_simple_type.CoreSimpleType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sql.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sql.py new file mode 100644 index 000000000..458b1172c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sql.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_sql import CoreSql # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreSql(unittest.TestCase): + """CoreSql unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreSql(self): + """Test CoreSql""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_sql.CoreSql() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset.py new file mode 100644 index 000000000..c9de25a4d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_structured_dataset import CoreStructuredDataset # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreStructuredDataset(unittest.TestCase): + """CoreStructuredDataset unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreStructuredDataset(self): + """Test CoreStructuredDataset""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_structured_dataset.CoreStructuredDataset() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_metadata.py new file mode 100644 index 000000000..49fc7f96a --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreStructuredDatasetMetadata(unittest.TestCase): + """CoreStructuredDatasetMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreStructuredDatasetMetadata(self): + """Test CoreStructuredDatasetMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_structured_dataset_metadata.CoreStructuredDatasetMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_type.py new file mode 100644 index 000000000..98b5cd71c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_type.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreStructuredDatasetType(unittest.TestCase): + """CoreStructuredDatasetType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreStructuredDatasetType(self): + """Test CoreStructuredDatasetType""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_structured_dataset_type.CoreStructuredDatasetType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_identifier.py new file mode 100644 index 000000000..f1054997e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_identifier.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreTaskExecutionIdentifier(unittest.TestCase): + """CoreTaskExecutionIdentifier unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreTaskExecutionIdentifier(self): + """Test CoreTaskExecutionIdentifier""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_task_execution_identifier.CoreTaskExecutionIdentifier() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_phase.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_phase.py new file mode 100644 index 000000000..72103d0d2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_phase.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreTaskExecutionPhase(unittest.TestCase): + """CoreTaskExecutionPhase unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreTaskExecutionPhase(self): + """Test CoreTaskExecutionPhase""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_task_execution_phase.CoreTaskExecutionPhase() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_log.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_log.py new file mode 100644 index 000000000..16af90f74 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_log.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_task_log import CoreTaskLog # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreTaskLog(unittest.TestCase): + """CoreTaskLog unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreTaskLog(self): + """Test CoreTaskLog""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_task_log.CoreTaskLog() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_metadata.py new file mode 100644 index 000000000..0c837f31f --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_task_metadata import CoreTaskMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreTaskMetadata(unittest.TestCase): + """CoreTaskMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreTaskMetadata(self): + """Test CoreTaskMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_task_metadata.CoreTaskMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node.py new file mode 100644 index 000000000..c333213d2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_task_node import CoreTaskNode # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreTaskNode(unittest.TestCase): + """CoreTaskNode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreTaskNode(self): + """Test CoreTaskNode""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_task_node.CoreTaskNode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node_overrides.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node_overrides.py new file mode 100644 index 000000000..0124d5fe3 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node_overrides.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_task_node_overrides import CoreTaskNodeOverrides # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreTaskNodeOverrides(unittest.TestCase): + """CoreTaskNodeOverrides unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreTaskNodeOverrides(self): + """Test CoreTaskNodeOverrides""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_task_node_overrides.CoreTaskNodeOverrides() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_template.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_template.py new file mode 100644 index 000000000..0d91a59cd --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_template.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_task_template import CoreTaskTemplate # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreTaskTemplate(unittest.TestCase): + """CoreTaskTemplate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreTaskTemplate(self): + """Test CoreTaskTemplate""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_task_template.CoreTaskTemplate() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_annotation.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_annotation.py new file mode 100644 index 000000000..91b76ec7a --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_annotation.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_type_annotation import CoreTypeAnnotation # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreTypeAnnotation(unittest.TestCase): + """CoreTypeAnnotation unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreTypeAnnotation(self): + """Test CoreTypeAnnotation""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_type_annotation.CoreTypeAnnotation() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_structure.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_structure.py new file mode 100644 index 000000000..853bc0836 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_structure.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_type_structure import CoreTypeStructure # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreTypeStructure(unittest.TestCase): + """CoreTypeStructure unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreTypeStructure(self): + """Test CoreTypeStructure""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_type_structure.CoreTypeStructure() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_typed_interface.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_typed_interface.py new file mode 100644 index 000000000..62d303ae9 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_typed_interface.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_typed_interface import CoreTypedInterface # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreTypedInterface(unittest.TestCase): + """CoreTypedInterface unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreTypedInterface(self): + """Test CoreTypedInterface""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_typed_interface.CoreTypedInterface() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union.py new file mode 100644 index 000000000..c36c63b00 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_union import CoreUnion # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreUnion(unittest.TestCase): + """CoreUnion unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreUnion(self): + """Test CoreUnion""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_union.CoreUnion() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_info.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_info.py new file mode 100644 index 000000000..8cf030acc --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_info.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_union_info import CoreUnionInfo # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreUnionInfo(unittest.TestCase): + """CoreUnionInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreUnionInfo(self): + """Test CoreUnionInfo""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_union_info.CoreUnionInfo() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_type.py new file mode 100644 index 000000000..4de1e428e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_type.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_union_type import CoreUnionType # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreUnionType(unittest.TestCase): + """CoreUnionType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreUnionType(self): + """Test CoreUnionType""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_union_type.CoreUnionType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable.py new file mode 100644 index 000000000..38a04b008 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_variable import CoreVariable # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreVariable(unittest.TestCase): + """CoreVariable unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreVariable(self): + """Test CoreVariable""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_variable.CoreVariable() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable_map.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable_map.py new file mode 100644 index 000000000..0d190536e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable_map.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_variable_map import CoreVariableMap # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreVariableMap(unittest.TestCase): + """CoreVariableMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreVariableMap(self): + """Test CoreVariableMap""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_variable_map.CoreVariableMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_void.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_void.py new file mode 100644 index 000000000..ff951ae6e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_void.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_void import CoreVoid # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreVoid(unittest.TestCase): + """CoreVoid unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreVoid(self): + """Test CoreVoid""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_void.CoreVoid() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_identifier.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_identifier.py new file mode 100644 index 000000000..16e58b654 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_identifier.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreWorkflowExecutionIdentifier(unittest.TestCase): + """CoreWorkflowExecutionIdentifier unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreWorkflowExecutionIdentifier(self): + """Test CoreWorkflowExecutionIdentifier""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_workflow_execution_identifier.CoreWorkflowExecutionIdentifier() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_phase.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_phase.py new file mode 100644 index 000000000..7926ebcde --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_phase.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreWorkflowExecutionPhase(unittest.TestCase): + """CoreWorkflowExecutionPhase unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreWorkflowExecutionPhase(self): + """Test CoreWorkflowExecutionPhase""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_workflow_execution_phase.CoreWorkflowExecutionPhase() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata.py new file mode 100644 index 000000000..8c3c210d8 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_workflow_metadata import CoreWorkflowMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreWorkflowMetadata(unittest.TestCase): + """CoreWorkflowMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreWorkflowMetadata(self): + """Test CoreWorkflowMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_workflow_metadata.CoreWorkflowMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata_defaults.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata_defaults.py new file mode 100644 index 000000000..d738a2ca5 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata_defaults.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_workflow_metadata_defaults import CoreWorkflowMetadataDefaults # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreWorkflowMetadataDefaults(unittest.TestCase): + """CoreWorkflowMetadataDefaults unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreWorkflowMetadataDefaults(self): + """Test CoreWorkflowMetadataDefaults""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_workflow_metadata_defaults.CoreWorkflowMetadataDefaults() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_node.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_node.py new file mode 100644 index 000000000..4500cf70c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_node.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_workflow_node import CoreWorkflowNode # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreWorkflowNode(unittest.TestCase): + """CoreWorkflowNode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreWorkflowNode(self): + """Test CoreWorkflowNode""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_workflow_node.CoreWorkflowNode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_template.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_template.py new file mode 100644 index 000000000..847fd2ae7 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_template.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreWorkflowTemplate(unittest.TestCase): + """CoreWorkflowTemplate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreWorkflowTemplate(self): + """Test CoreWorkflowTemplate""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_workflow_template.CoreWorkflowTemplate() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_data_loading_config_literal_map_format.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_data_loading_config_literal_map_format.py new file mode 100644 index 000000000..1f96ce5d9 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_data_loading_config_literal_map_format.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.data_loading_config_literal_map_format import DataLoadingConfigLiteralMapFormat # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestDataLoadingConfigLiteralMapFormat(unittest.TestCase): + """DataLoadingConfigLiteralMapFormat unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDataLoadingConfigLiteralMapFormat(self): + """Test DataLoadingConfigLiteralMapFormat""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.data_loading_config_literal_map_format.DataLoadingConfigLiteralMapFormat() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_external_resource_info.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_external_resource_info.py new file mode 100644 index 000000000..bcfedce65 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_external_resource_info.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.event_external_resource_info import EventExternalResourceInfo # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestEventExternalResourceInfo(unittest.TestCase): + """EventExternalResourceInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEventExternalResourceInfo(self): + """Test EventExternalResourceInfo""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.event_external_resource_info.EventExternalResourceInfo() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_node_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_node_execution_event.py new file mode 100644 index 000000000..2eebbd100 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_node_execution_event.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.event_node_execution_event import EventNodeExecutionEvent # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestEventNodeExecutionEvent(unittest.TestCase): + """EventNodeExecutionEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEventNodeExecutionEvent(self): + """Test EventNodeExecutionEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.event_node_execution_event.EventNodeExecutionEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_node_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_node_execution_metadata.py new file mode 100644 index 000000000..3e91fb9a1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_node_execution_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.event_parent_node_execution_metadata import EventParentNodeExecutionMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestEventParentNodeExecutionMetadata(unittest.TestCase): + """EventParentNodeExecutionMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEventParentNodeExecutionMetadata(self): + """Test EventParentNodeExecutionMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.event_parent_node_execution_metadata.EventParentNodeExecutionMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_task_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_task_execution_metadata.py new file mode 100644 index 000000000..bbeae4714 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_task_execution_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.event_parent_task_execution_metadata import EventParentTaskExecutionMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestEventParentTaskExecutionMetadata(unittest.TestCase): + """EventParentTaskExecutionMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEventParentTaskExecutionMetadata(self): + """Test EventParentTaskExecutionMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.event_parent_task_execution_metadata.EventParentTaskExecutionMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_resource_pool_info.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_resource_pool_info.py new file mode 100644 index 000000000..78d216943 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_resource_pool_info.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.event_resource_pool_info import EventResourcePoolInfo # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestEventResourcePoolInfo(unittest.TestCase): + """EventResourcePoolInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEventResourcePoolInfo(self): + """Test EventResourcePoolInfo""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.event_resource_pool_info.EventResourcePoolInfo() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_event.py new file mode 100644 index 000000000..ba834223b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_event.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.event_task_execution_event import EventTaskExecutionEvent # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestEventTaskExecutionEvent(unittest.TestCase): + """EventTaskExecutionEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEventTaskExecutionEvent(self): + """Test EventTaskExecutionEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.event_task_execution_event.EventTaskExecutionEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_metadata.py new file mode 100644 index 000000000..18bf03ed0 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.event_task_execution_metadata import EventTaskExecutionMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestEventTaskExecutionMetadata(unittest.TestCase): + """EventTaskExecutionMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEventTaskExecutionMetadata(self): + """Test EventTaskExecutionMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.event_task_execution_metadata.EventTaskExecutionMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_workflow_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_workflow_execution_event.py new file mode 100644 index 000000000..e2a33aa7b --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_workflow_execution_event.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.event_workflow_execution_event import EventWorkflowExecutionEvent # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestEventWorkflowExecutionEvent(unittest.TestCase): + """EventWorkflowExecutionEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEventWorkflowExecutionEvent(self): + """Test EventWorkflowExecutionEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.event_workflow_execution_event.EventWorkflowExecutionEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_error_error_kind.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_error_error_kind.py new file mode 100644 index 000000000..b3f036bed --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_error_error_kind.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.execution_error_error_kind import ExecutionErrorErrorKind # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestExecutionErrorErrorKind(unittest.TestCase): + """ExecutionErrorErrorKind unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testExecutionErrorErrorKind(self): + """Test ExecutionErrorErrorKind""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.execution_error_error_kind.ExecutionErrorErrorKind() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_metadata_execution_mode.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_metadata_execution_mode.py new file mode 100644 index 000000000..02ebaea8e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_metadata_execution_mode.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestExecutionMetadataExecutionMode(unittest.TestCase): + """ExecutionMetadataExecutionMode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testExecutionMetadataExecutionMode(self): + """Test ExecutionMetadataExecutionMode""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.execution_metadata_execution_mode.ExecutionMetadataExecutionMode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_dynamic_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_dynamic_workflow_node_metadata.py new file mode 100644 index 000000000..e423e0c99 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_dynamic_workflow_node_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestFlyteidladminDynamicWorkflowNodeMetadata(unittest.TestCase): + """FlyteidladminDynamicWorkflowNodeMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFlyteidladminDynamicWorkflowNodeMetadata(self): + """Test FlyteidladminDynamicWorkflowNodeMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata.FlyteidladminDynamicWorkflowNodeMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_node_execution.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_node_execution.py new file mode 100644 index 000000000..f841bad23 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_node_execution.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestFlyteidladminNodeExecution(unittest.TestCase): + """FlyteidladminNodeExecution unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFlyteidladminNodeExecution(self): + """Test FlyteidladminNodeExecution""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.flyteidladmin_node_execution.FlyteidladminNodeExecution() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_execution.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_execution.py new file mode 100644 index 000000000..a354b9fa0 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_execution.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestFlyteidladminTaskExecution(unittest.TestCase): + """FlyteidladminTaskExecution unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFlyteidladminTaskExecution(self): + """Test FlyteidladminTaskExecution""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.flyteidladmin_task_execution.FlyteidladminTaskExecution() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_node_metadata.py new file mode 100644 index 000000000..fc2d570e2 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_node_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestFlyteidladminTaskNodeMetadata(unittest.TestCase): + """FlyteidladminTaskNodeMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFlyteidladminTaskNodeMetadata(self): + """Test FlyteidladminTaskNodeMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.flyteidladmin_task_node_metadata.FlyteidladminTaskNodeMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_workflow_node_metadata.py new file mode 100644 index 000000000..7bea00e6e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_workflow_node_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestFlyteidladminWorkflowNodeMetadata(unittest.TestCase): + """FlyteidladminWorkflowNodeMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFlyteidladminWorkflowNodeMetadata(self): + """Test FlyteidladminWorkflowNodeMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.flyteidladmin_workflow_node_metadata.FlyteidladminWorkflowNodeMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlcore_schema.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlcore_schema.py new file mode 100644 index 000000000..44a0df3ee --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlcore_schema.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.flyteidlcore_schema import FlyteidlcoreSchema # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestFlyteidlcoreSchema(unittest.TestCase): + """FlyteidlcoreSchema unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFlyteidlcoreSchema(self): + """Test FlyteidlcoreSchema""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.flyteidlcore_schema.FlyteidlcoreSchema() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_dynamic_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_dynamic_workflow_node_metadata.py new file mode 100644 index 000000000..6ed67696e --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_dynamic_workflow_node_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata import FlyteidleventDynamicWorkflowNodeMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestFlyteidleventDynamicWorkflowNodeMetadata(unittest.TestCase): + """FlyteidleventDynamicWorkflowNodeMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFlyteidleventDynamicWorkflowNodeMetadata(self): + """Test FlyteidleventDynamicWorkflowNodeMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata.FlyteidleventDynamicWorkflowNodeMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_node_metadata.py new file mode 100644 index 000000000..53d81ca99 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_node_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.flyteidlevent_task_node_metadata import FlyteidleventTaskNodeMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestFlyteidleventTaskNodeMetadata(unittest.TestCase): + """FlyteidleventTaskNodeMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFlyteidleventTaskNodeMetadata(self): + """Test FlyteidleventTaskNodeMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.flyteidlevent_task_node_metadata.FlyteidleventTaskNodeMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_workflow_node_metadata.py new file mode 100644 index 000000000..b61456ade --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_workflow_node_metadata.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.flyteidlevent_workflow_node_metadata import FlyteidleventWorkflowNodeMetadata # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestFlyteidleventWorkflowNodeMetadata(unittest.TestCase): + """FlyteidleventWorkflowNodeMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFlyteidleventWorkflowNodeMetadata(self): + """Test FlyteidleventWorkflowNodeMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.flyteidlevent_workflow_node_metadata.FlyteidleventWorkflowNodeMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_download_mode.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_download_mode.py new file mode 100644 index 000000000..12192e496 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_download_mode.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.io_strategy_download_mode import IOStrategyDownloadMode # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestIOStrategyDownloadMode(unittest.TestCase): + """IOStrategyDownloadMode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testIOStrategyDownloadMode(self): + """Test IOStrategyDownloadMode""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.io_strategy_download_mode.IOStrategyDownloadMode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_upload_mode.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_upload_mode.py new file mode 100644 index 000000000..25e3179cd --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_upload_mode.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestIOStrategyUploadMode(unittest.TestCase): + """IOStrategyUploadMode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testIOStrategyUploadMode(self): + """Test IOStrategyUploadMode""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.io_strategy_upload_mode.IOStrategyUploadMode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_plugin_override_missing_plugin_behavior.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_plugin_override_missing_plugin_behavior.py new file mode 100644 index 000000000..664029dc9 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_plugin_override_missing_plugin_behavior.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestPluginOverrideMissingPluginBehavior(unittest.TestCase): + """PluginOverrideMissingPluginBehavior unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPluginOverrideMissingPluginBehavior(self): + """Test PluginOverrideMissingPluginBehavior""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.plugin_override_missing_plugin_behavior.PluginOverrideMissingPluginBehavior() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_project_project_state.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_project_project_state.py new file mode 100644 index 000000000..fa711af55 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_project_project_state.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.project_project_state import ProjectProjectState # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestProjectProjectState(unittest.TestCase): + """ProjectProjectState unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testProjectProjectState(self): + """Test ProjectProjectState""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.project_project_state.ProjectProjectState() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_list_value.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_list_value.py new file mode 100644 index 000000000..0f37fce30 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_list_value.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.protobuf_list_value import ProtobufListValue # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestProtobufListValue(unittest.TestCase): + """ProtobufListValue unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testProtobufListValue(self): + """Test ProtobufListValue""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.protobuf_list_value.ProtobufListValue() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_null_value.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_null_value.py new file mode 100644 index 000000000..876b115cc --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_null_value.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.protobuf_null_value import ProtobufNullValue # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestProtobufNullValue(unittest.TestCase): + """ProtobufNullValue unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testProtobufNullValue(self): + """Test ProtobufNullValue""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.protobuf_null_value.ProtobufNullValue() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_struct.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_struct.py new file mode 100644 index 000000000..8edcc3214 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_struct.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestProtobufStruct(unittest.TestCase): + """ProtobufStruct unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testProtobufStruct(self): + """Test ProtobufStruct""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.protobuf_struct.ProtobufStruct() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_value.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_value.py new file mode 100644 index 000000000..6cbae9d15 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_value.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.protobuf_value import ProtobufValue # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestProtobufValue(unittest.TestCase): + """ProtobufValue unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testProtobufValue(self): + """Test ProtobufValue""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.protobuf_value.ProtobufValue() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_quality_of_service_tier.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_quality_of_service_tier.py new file mode 100644 index 000000000..d655c725a --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_quality_of_service_tier.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.quality_of_service_tier import QualityOfServiceTier # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestQualityOfServiceTier(unittest.TestCase): + """QualityOfServiceTier unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testQualityOfServiceTier(self): + """Test QualityOfServiceTier""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.quality_of_service_tier.QualityOfServiceTier() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_entry.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_entry.py new file mode 100644 index 000000000..8b141bd69 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_entry.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.resources_resource_entry import ResourcesResourceEntry # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestResourcesResourceEntry(unittest.TestCase): + """ResourcesResourceEntry unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResourcesResourceEntry(self): + """Test ResourcesResourceEntry""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.resources_resource_entry.ResourcesResourceEntry() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_name.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_name.py new file mode 100644 index 000000000..0ce5f04e5 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_name.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.resources_resource_name import ResourcesResourceName # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestResourcesResourceName(unittest.TestCase): + """ResourcesResourceName unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResourcesResourceName(self): + """Test ResourcesResourceName""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.resources_resource_name.ResourcesResourceName() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_runtime_metadata_runtime_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_runtime_metadata_runtime_type.py new file mode 100644 index 000000000..695ff97ea --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_runtime_metadata_runtime_type.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.runtime_metadata_runtime_type import RuntimeMetadataRuntimeType # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestRuntimeMetadataRuntimeType(unittest.TestCase): + """RuntimeMetadataRuntimeType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRuntimeMetadataRuntimeType(self): + """Test RuntimeMetadataRuntimeType""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.runtime_metadata_runtime_type.RuntimeMetadataRuntimeType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_column_schema_column_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_column_schema_column_type.py new file mode 100644 index 000000000..9faafc840 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_column_schema_column_type.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.schema_column_schema_column_type import SchemaColumnSchemaColumnType # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestSchemaColumnSchemaColumnType(unittest.TestCase): + """SchemaColumnSchemaColumnType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSchemaColumnSchemaColumnType(self): + """Test SchemaColumnSchemaColumnType""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.schema_column_schema_column_type.SchemaColumnSchemaColumnType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_type_schema_column.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_type_schema_column.py new file mode 100644 index 000000000..e503ceb52 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_type_schema_column.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.schema_type_schema_column import SchemaTypeSchemaColumn # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestSchemaTypeSchemaColumn(unittest.TestCase): + """SchemaTypeSchemaColumn unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSchemaTypeSchemaColumn(self): + """Test SchemaTypeSchemaColumn""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.schema_type_schema_column.SchemaTypeSchemaColumn() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_secret_mount_type.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_secret_mount_type.py new file mode 100644 index 000000000..8e0b686f6 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_secret_mount_type.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.secret_mount_type import SecretMountType # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestSecretMountType(unittest.TestCase): + """SecretMountType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSecretMountType(self): + """Test SecretMountType""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.secret_mount_type.SecretMountType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_sort_direction.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_sort_direction.py new file mode 100644 index 000000000..74b27825d --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_sort_direction.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.sort_direction import SortDirection # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestSortDirection(unittest.TestCase): + """SortDirection unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSortDirection(self): + """Test SortDirection""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.sort_direction.SortDirection() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_sql_dialect.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_sql_dialect.py new file mode 100644 index 000000000..943c2b8c9 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_sql_dialect.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.sql_dialect import SqlDialect # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestSqlDialect(unittest.TestCase): + """SqlDialect unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSqlDialect(self): + """Test SqlDialect""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.sql_dialect.SqlDialect() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_structured_dataset_type_dataset_column.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_structured_dataset_type_dataset_column.py new file mode 100644 index 000000000..d801f1fd8 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_structured_dataset_type_dataset_column.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.structured_dataset_type_dataset_column import StructuredDatasetTypeDatasetColumn # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestStructuredDatasetTypeDatasetColumn(unittest.TestCase): + """StructuredDatasetTypeDatasetColumn unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testStructuredDatasetTypeDatasetColumn(self): + """Test StructuredDatasetTypeDatasetColumn""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.structured_dataset_type_dataset_column.StructuredDatasetTypeDatasetColumn() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_execution_metadata_instance_class.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_execution_metadata_instance_class.py new file mode 100644 index 000000000..9129b45d9 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_execution_metadata_instance_class.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.task_execution_metadata_instance_class import TaskExecutionMetadataInstanceClass # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestTaskExecutionMetadataInstanceClass(unittest.TestCase): + """TaskExecutionMetadataInstanceClass unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTaskExecutionMetadataInstanceClass(self): + """Test TaskExecutionMetadataInstanceClass""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.task_execution_metadata_instance_class.TaskExecutionMetadataInstanceClass() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_log_message_format.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_log_message_format.py new file mode 100644 index 000000000..4adfba3c5 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_log_message_format.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.task_log_message_format import TaskLogMessageFormat # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestTaskLogMessageFormat(unittest.TestCase): + """TaskLogMessageFormat unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTaskLogMessageFormat(self): + """Test TaskLogMessageFormat""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.task_log_message_format.TaskLogMessageFormat() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_workflow_metadata_on_failure_policy.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_workflow_metadata_on_failure_policy.py new file mode 100644 index 000000000..e0e403763 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_workflow_metadata_on_failure_policy.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.workflow_metadata_on_failure_policy import WorkflowMetadataOnFailurePolicy # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestWorkflowMetadataOnFailurePolicy(unittest.TestCase): + """WorkflowMetadataOnFailurePolicy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWorkflowMetadataOnFailurePolicy(self): + """Test WorkflowMetadataOnFailurePolicy""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.workflow_metadata_on_failure_policy.WorkflowMetadataOnFailurePolicy() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/tox.ini b/gen/pb_python/flyteidl/service/flyteadmin/tox.ini new file mode 100644 index 000000000..3d0be613c --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/tox.ini @@ -0,0 +1,10 @@ +[tox] +envlist = py27, py3 + +[testenv] +deps=-r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt + +commands= + nosetests \ + [] From 7e6215782bbc427c36de64f14eb320aca46a3262 Mon Sep 17 00:00:00 2001 From: Iaroslav Ciupin Date: Wed, 21 Sep 2022 19:19:35 +0300 Subject: [PATCH 06/10] make generate Signed-off-by: Iaroslav Ciupin --- gen/pb-go/flyteidl/service/openapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/pb-go/flyteidl/service/openapi.go b/gen/pb-go/flyteidl/service/openapi.go index e7d0951b0..cc75a2f69 100644 --- a/gen/pb-go/flyteidl/service/openapi.go +++ b/gen/pb-go/flyteidl/service/openapi.go @@ -1,6 +1,6 @@ // Code generated by go-bindata. (@generated) DO NOT EDIT. -// Package service generated by go-bindata.// sources: +//Package service generated by go-bindata.// sources: // ../service/admin.swagger.json package service From 940528128a2821b963503d0961f3b09473820547 Mon Sep 17 00:00:00 2001 From: Iaroslav Ciupin Date: Wed, 21 Sep 2022 20:59:40 +0300 Subject: [PATCH 07/10] make generate go1.18 Signed-off-by: Iaroslav Ciupin --- clients/go/admin/authtype_enumer.go | 1 + .../service/flyteadmin/api_admin_service.go | 182 +++++++++--------- gen/pb-go/flyteidl/service/openapi.go | 12 +- 3 files changed, 97 insertions(+), 98 deletions(-) diff --git a/clients/go/admin/authtype_enumer.go b/clients/go/admin/authtype_enumer.go index 33a816637..d09a85ac6 100644 --- a/clients/go/admin/authtype_enumer.go +++ b/clients/go/admin/authtype_enumer.go @@ -1,5 +1,6 @@ // Code generated by "enumer --type=AuthType -json -yaml -trimprefix=AuthType"; DO NOT EDIT. +// package admin import ( diff --git a/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go b/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go index eaf0761c6..fd1a2439e 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go @@ -29,8 +29,8 @@ type AdminServiceApiService service /* AdminServiceApiService Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` Create a workflow execution. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminExecutionCreateResponse */ @@ -119,8 +119,8 @@ func (a *AdminServiceApiService) CreateExecution(ctx context.Context, body Admin /* AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition Create and register a launch plan definition. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminLaunchPlanCreateResponse */ @@ -231,8 +231,8 @@ func (a *AdminServiceApiService) CreateLaunchPlan(ctx context.Context, body Admi /* AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. Create a node execution event recording a phase transition. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminNodeExecutionEventResponse */ @@ -321,8 +321,8 @@ func (a *AdminServiceApiService) CreateNodeEvent(ctx context.Context, body Admin /* AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Task` definition Create and register a task definition. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminTaskCreateResponse */ @@ -433,8 +433,8 @@ func (a *AdminServiceApiService) CreateTask(ctx context.Context, body AdminTaskC /* AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. Create a task execution event recording a phase transition. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminTaskExecutionEventResponse */ @@ -523,8 +523,8 @@ func (a *AdminServiceApiService) CreateTaskEvent(ctx context.Context, body Admin /* AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition Create and register a workflow definition. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminWorkflowCreateResponse */ @@ -635,8 +635,8 @@ func (a *AdminServiceApiService) CreateWorkflow(ctx context.Context, body AdminW /* AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. Create a workflow execution event recording a phase transition. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminWorkflowExecutionEventResponse */ @@ -725,10 +725,10 @@ func (a *AdminServiceApiService) CreateWorkflowEvent(ctx context.Context, body A /* AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. Delete the customized resource attributes associated with a project-domain combination - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param project Unique project id which this set of attributes references. +required - - @param domain Unique domain id which this set of attributes references. +required - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param project Unique project id which this set of attributes references. +required + * @param domain Unique domain id which this set of attributes references. +required + * @param body @return AdminProjectDomainAttributesDeleteResponse */ @@ -819,11 +819,11 @@ func (a *AdminServiceApiService) DeleteProjectDomainAttributes(ctx context.Conte /* AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. Delete the customized resource attributes associated with a project, domain and workflow combination - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param project Unique project id which this set of attributes references. +required - - @param domain Unique domain id which this set of attributes references. +required - - @param workflow Workflow name which this set of attributes references. +required - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param project Unique project id which this set of attributes references. +required + * @param domain Unique domain id which this set of attributes references. +required + * @param workflow Workflow name which this set of attributes references. +required + * @param body @return AdminWorkflowAttributesDeleteResponse */ @@ -915,10 +915,10 @@ func (a *AdminServiceApiService) DeleteWorkflowAttributes(ctx context.Context, p /* AdminServiceApiService Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. Retrieve the active launch plan version specified by input request filters. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' @return AdminLaunchPlan */ @@ -1008,10 +1008,10 @@ func (a *AdminServiceApiService) GetActiveLaunchPlan(ctx context.Context, idProj /* AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.Execution`. Retrieve an existing workflow execution. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User or system provided value for the resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User or system provided value for the resource. @return AdminExecution */ @@ -1101,10 +1101,10 @@ func (a *AdminServiceApiService) GetExecution(ctx context.Context, idProject str /* AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. Retrieve input and output data from an existing workflow execution. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User or system provided value for the resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User or system provided value for the resource. @return AdminWorkflowExecutionGetDataResponse */ @@ -1299,11 +1299,11 @@ func (a *AdminServiceApiService) GetLaunchPlan(ctx context.Context, idProject st /* AdminServiceApiService Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. Retrieve a NamedEntity object. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param resourceType Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param resourceType Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' @return AdminNamedEntity */ @@ -1394,11 +1394,11 @@ func (a *AdminServiceApiService) GetNamedEntity(ctx context.Context, resourceTyp /* AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. Retrieve an existing node execution. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idExecutionIdProject Name of the project the resource belongs to. - - @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idExecutionIdName User or system provided value for the resource. - - @param idNodeId + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idExecutionIdProject Name of the project the resource belongs to. + * @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idExecutionIdName User or system provided value for the resource. + * @param idNodeId @return FlyteidladminNodeExecution */ @@ -1489,11 +1489,11 @@ func (a *AdminServiceApiService) GetNodeExecution(ctx context.Context, idExecuti /* AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. Retrieve input and output data from an existing node execution. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idExecutionIdProject Name of the project the resource belongs to. - - @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idExecutionIdName User or system provided value for the resource. - - @param idNodeId + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idExecutionIdProject Name of the project the resource belongs to. + * @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idExecutionIdName User or system provided value for the resource. + * @param idNodeId @return AdminNodeExecutionGetDataResponse */ @@ -2020,7 +2020,7 @@ func (a *AdminServiceApiService) GetTaskExecutionData(ctx context.Context, idNod /* AdminServiceApiService Retrieve the Version (including the Build information) for FlyteAdmin service - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AdminGetVersionResponse */ @@ -4397,8 +4397,8 @@ func (a *AdminServiceApiService) ListWorkflows2(ctx context.Context, idProject s /* AdminServiceApiService Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminExecutionCreateResponse */ @@ -4487,8 +4487,8 @@ func (a *AdminServiceApiService) RecoverExecution(ctx context.Context, body Admi /* AdminServiceApiService Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. Register a project. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminProjectRegisterResponse */ @@ -4577,8 +4577,8 @@ func (a *AdminServiceApiService) RegisterProject(ctx context.Context, body Admin /* AdminServiceApiService Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` Relaunch a workflow execution. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body @return AdminExecutionCreateResponse */ @@ -4667,11 +4667,11 @@ func (a *AdminServiceApiService) RelaunchExecution(ctx context.Context, body Adm /* AdminServiceApiService Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. Terminate the active workflow execution specified in the request. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User or system provided value for the resource. - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User or system provided value for the resource. + * @param body @return AdminExecutionTerminateResponse */ @@ -4763,11 +4763,11 @@ func (a *AdminServiceApiService) TerminateExecution(ctx context.Context, idProje /* AdminServiceApiService Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. Update execution belonging to project domain. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User or system provided value for the resource. - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User or system provided value for the resource. + * @param body @return AdminExecutionUpdateResponse */ @@ -4859,12 +4859,12 @@ func (a *AdminServiceApiService) UpdateExecution(ctx context.Context, idProject /* AdminServiceApiService Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User provided value for the resource. - - @param idVersion Specific version of the resource. - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. + * @param idVersion Specific version of the resource. + * @param body @return AdminLaunchPlanUpdateResponse */ @@ -4957,12 +4957,12 @@ func (a *AdminServiceApiService) UpdateLaunchPlan(ctx context.Context, idProject /* AdminServiceApiService Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. Update the fields associated with a NamedEntity - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param resourceType Resource type of the metadata to update +required - - @param idProject Name of the project the resource belongs to. - - @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - - @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param resourceType Resource type of the metadata to update +required + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' + * @param body @return AdminNamedEntityUpdateResponse */ @@ -5055,9 +5055,9 @@ func (a *AdminServiceApiService) UpdateNamedEntity(ctx context.Context, resource /* AdminServiceApiService Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. Update a project. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param id Globally unique project name. - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param id Globally unique project name. + * @param body @return AdminProjectUpdateResponse */ @@ -5147,10 +5147,10 @@ func (a *AdminServiceApiService) UpdateProject(ctx context.Context, id string, b /* AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. Update the customized resource attributes associated with a project-domain combination - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param attributesProject Unique project id for which this set of attributes will be applied. - - @param attributesDomain Unique domain id for which this set of attributes will be applied. - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param attributesProject Unique project id for which this set of attributes will be applied. + * @param attributesDomain Unique domain id for which this set of attributes will be applied. + * @param body @return AdminProjectDomainAttributesUpdateResponse */ @@ -5241,11 +5241,11 @@ func (a *AdminServiceApiService) UpdateProjectDomainAttributes(ctx context.Conte /* AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. Update the customized resource attributes associated with a project, domain and workflow combination - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - - @param attributesProject Unique project id for which this set of attributes will be applied. - - @param attributesDomain Unique domain id for which this set of attributes will be applied. - - @param attributesWorkflow Workflow name for which this set of attributes will be applied. - - @param body + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param attributesProject Unique project id for which this set of attributes will be applied. + * @param attributesDomain Unique domain id for which this set of attributes will be applied. + * @param attributesWorkflow Workflow name for which this set of attributes will be applied. + * @param body @return AdminWorkflowAttributesUpdateResponse */ diff --git a/gen/pb-go/flyteidl/service/openapi.go b/gen/pb-go/flyteidl/service/openapi.go index cc75a2f69..f9c902b06 100644 --- a/gen/pb-go/flyteidl/service/openapi.go +++ b/gen/pb-go/flyteidl/service/openapi.go @@ -157,13 +157,11 @@ var _bindata = map[string]func() (*asset, error){ // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"} // AssetDir("data/img") would return []string{"a.png", "b.png"} // AssetDir("foo.txt") and AssetDir("notexist") would return an error From 5031b9c6e4fbf8c7f96583aadbd250271c21b4c0 Mon Sep 17 00:00:00 2001 From: Iaroslav Ciupin Date: Thu, 22 Sep 2022 18:00:40 +0300 Subject: [PATCH 08/10] make generate go1.18.5 Signed-off-by: Iaroslav Ciupin --- .../service/flyteadmin/api_admin_service.go | 1876 ++++++++--------- .../flyteidl/service/flyteadmin/client.go | 22 +- .../flyteadmin/model_admin_abort_metadata.go | 2 +- .../flyteadmin/model_admin_cron_schedule.go | 2 +- .../model_admin_execution_closure.go | 4 +- .../model_admin_execution_create_request.go | 10 +- .../model_admin_execution_metadata.go | 2 +- .../model_admin_execution_recover_request.go | 4 +- .../model_admin_execution_relaunch_request.go | 4 +- .../flyteadmin/model_admin_execution_spec.go | 8 +- .../flyteadmin/model_admin_execution_state.go | 3 +- ...el_admin_execution_state_change_details.go | 2 +- .../model_admin_execution_update_request.go | 4 +- .../flyteadmin/model_admin_fixed_rate.go | 4 +- .../flyteadmin/model_admin_fixed_rate_unit.go | 5 +- .../model_admin_launch_plan_closure.go | 6 +- .../model_admin_launch_plan_metadata.go | 2 +- .../model_admin_launch_plan_spec.go | 8 +- .../model_admin_launch_plan_state.go | 3 +- .../model_admin_literal_map_blob.go | 2 +- ...dmin_matchable_attributes_configuration.go | 8 +- .../model_admin_matchable_resource.go | 15 +- .../model_admin_matching_attributes.go | 14 +- .../flyteadmin/model_admin_named_entity.go | 4 +- .../model_admin_named_entity_identifier.go | 2 +- .../model_admin_named_entity_state.go | 5 +- ...model_admin_named_entity_update_request.go | 6 +- .../model_admin_node_execution_closure.go | 10 +- .../model_admin_node_execution_meta_data.go | 4 +- .../flyteadmin/model_admin_notification.go | 8 +- .../service/flyteadmin/model_admin_project.go | 10 +- .../model_admin_project_domain_attributes.go | 2 +- ...roject_domain_attributes_delete_request.go | 4 +- .../flyteadmin/model_admin_schedule.go | 6 +- .../service/flyteadmin/model_admin_sort.go | 2 +- .../model_admin_task_create_request.go | 4 +- .../model_admin_task_resource_attributes.go | 2 +- .../model_admin_task_resource_spec.go | 8 +- .../service/flyteadmin/model_admin_version.go | 4 +- .../model_admin_workflow_attributes.go | 2 +- ...dmin_workflow_attributes_delete_request.go | 6 +- .../model_admin_workflow_create_request.go | 2 +- .../model_blob_type_blob_dimensionality.go | 2 +- .../model_catalog_reservation_status.go | 5 +- .../model_comparison_expression_operator.go | 7 +- ...conjunction_expression_logical_operator.go | 3 +- .../model_container_architecture.go | 9 +- .../service/flyteadmin/model_core_binary.go | 2 +- .../flyteadmin/model_core_binding_data.go | 4 +- .../service/flyteadmin/model_core_blob.go | 2 +- .../flyteadmin/model_core_blob_type.go | 2 +- .../model_core_boolean_expression.go | 2 +- .../model_core_catalog_artifact_tag.go | 2 +- .../model_core_catalog_cache_status.go | 11 +- .../flyteadmin/model_core_catalog_metadata.go | 4 +- .../model_core_comparison_expression.go | 6 +- .../model_core_compiled_workflow_closure.go | 4 +- .../model_core_conjunction_expression.go | 6 +- .../flyteadmin/model_core_connection_set.go | 2 +- .../flyteadmin/model_core_container.go | 6 +- .../model_core_data_loading_config.go | 10 +- .../flyteadmin/model_core_execution_error.go | 6 +- .../service/flyteadmin/model_core_if_block.go | 2 +- .../flyteadmin/model_core_io_strategy.go | 2 +- .../service/flyteadmin/model_core_k8s_pod.go | 2 +- .../service/flyteadmin/model_core_literal.go | 2 +- .../flyteadmin/model_core_literal_type.go | 2 +- .../model_core_node_execution_identifier.go | 2 +- .../model_core_node_execution_phase.go | 20 +- .../flyteadmin/model_core_node_metadata.go | 4 +- .../flyteadmin/model_core_o_auth2_client.go | 2 +- .../model_core_o_auth2_token_request.go | 10 +- .../model_core_o_auth2_token_request_type.go | 1 - .../service/flyteadmin/model_core_operand.go | 2 +- .../flyteadmin/model_core_primitive.go | 12 +- .../model_core_quality_of_service.go | 2 +- .../flyteadmin/model_core_resource_type.go | 7 +- .../service/flyteadmin/model_core_scalar.go | 16 +- .../service/flyteadmin/model_core_secret.go | 6 +- .../flyteadmin/model_core_simple_type.go | 17 +- .../service/flyteadmin/model_core_sql.go | 4 +- .../model_core_structured_dataset.go | 2 +- .../model_core_task_execution_identifier.go | 4 +- .../model_core_task_execution_phase.go | 14 +- .../service/flyteadmin/model_core_task_log.go | 6 +- .../flyteadmin/model_core_task_metadata.go | 4 +- .../flyteadmin/model_core_task_template.go | 10 +- .../flyteadmin/model_core_typed_interface.go | 2 +- .../service/flyteadmin/model_core_union.go | 2 +- .../service/flyteadmin/model_core_variable.go | 4 +- .../model_core_workflow_execution_phase.go | 18 +- .../flyteadmin/model_core_workflow_node.go | 2 +- .../model_core_workflow_template.go | 2 +- ..._data_loading_config_literal_map_format.go | 5 +- .../model_event_external_resource_info.go | 8 +- .../model_event_node_execution_event.go | 28 +- .../model_event_task_execution_event.go | 14 +- .../model_event_task_execution_metadata.go | 4 +- .../model_event_workflow_execution_event.go | 8 +- .../model_execution_error_error_kind.go | 4 +- ...model_execution_metadata_execution_mode.go | 11 +- .../model_flyteidladmin_node_execution.go | 2 +- .../model_flyteidladmin_task_node_metadata.go | 6 +- .../flyteadmin/model_flyteidlcore_schema.go | 2 +- .../model_flyteidlevent_task_node_metadata.go | 4 +- .../model_io_strategy_download_mode.go | 3 +- .../model_io_strategy_upload_mode.go | 5 +- ...plugin_override_missing_plugin_behavior.go | 3 +- .../flyteadmin/model_project_project_state.go | 5 +- .../flyteadmin/model_protobuf_null_value.go | 1 - .../model_quality_of_service_tier.go | 7 +- .../model_resources_resource_entry.go | 4 +- .../model_resources_resource_name.go | 11 +- .../model_runtime_metadata_runtime_type.go | 2 +- .../model_schema_column_schema_column_type.go | 8 +- .../flyteadmin/model_secret_mount_type.go | 5 +- .../flyteadmin/model_sort_direction.go | 3 +- .../service/flyteadmin/model_sql_dialect.go | 7 +- ..._task_execution_metadata_instance_class.go | 3 +- .../model_task_log_message_format.go | 4 +- ...del_workflow_metadata_on_failure_policy.go | 3 +- gen/pb-go/flyteidl/service/openapi.go | 2 +- 122 files changed, 1263 insertions(+), 1290 deletions(-) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go b/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go index fd1a2439e..0cd7f73dc 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go @@ -11,12 +11,12 @@ package flyteadmin import ( "context" - "fmt" - "github.com/antihax/optional" "io/ioutil" "net/http" "net/url" "strings" + "fmt" + "github.com/antihax/optional" ) // Linger please @@ -26,7 +26,7 @@ var ( type AdminServiceApiService service -/* +/* AdminServiceApiService Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` Create a workflow execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -36,10 +36,10 @@ Create a workflow execution. */ func (a *AdminServiceApiService) CreateExecution(ctx context.Context, body AdminExecutionCreateRequest) (AdminExecutionCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionCreateResponse ) @@ -87,36 +87,36 @@ func (a *AdminServiceApiService) CreateExecution(ctx context.Context, body Admin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition Create and register a launch plan definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -126,10 +126,10 @@ Create and register a launch plan definition. */ func (a *AdminServiceApiService) CreateLaunchPlan(ctx context.Context, body AdminLaunchPlanCreateRequest) (AdminLaunchPlanCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanCreateResponse ) @@ -177,58 +177,58 @@ func (a *AdminServiceApiService) CreateLaunchPlan(ctx context.Context, body Admi if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + if localVarHttpResponse.StatusCode == 400 { var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + if localVarHttpResponse.StatusCode == 409 { var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. Create a node execution event recording a phase transition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -238,10 +238,10 @@ Create a node execution event recording a phase transition. */ func (a *AdminServiceApiService) CreateNodeEvent(ctx context.Context, body AdminNodeExecutionEventRequest) (AdminNodeExecutionEventResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNodeExecutionEventResponse ) @@ -289,36 +289,36 @@ func (a *AdminServiceApiService) CreateNodeEvent(ctx context.Context, body Admin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNodeExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Task` definition Create and register a task definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -328,10 +328,10 @@ Create and register a task definition. */ func (a *AdminServiceApiService) CreateTask(ctx context.Context, body AdminTaskCreateRequest) (AdminTaskCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskCreateResponse ) @@ -379,58 +379,58 @@ func (a *AdminServiceApiService) CreateTask(ctx context.Context, body AdminTaskC if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + if localVarHttpResponse.StatusCode == 400 { var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + if localVarHttpResponse.StatusCode == 409 { var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. Create a task execution event recording a phase transition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -440,10 +440,10 @@ Create a task execution event recording a phase transition. */ func (a *AdminServiceApiService) CreateTaskEvent(ctx context.Context, body AdminTaskExecutionEventRequest) (AdminTaskExecutionEventResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskExecutionEventResponse ) @@ -491,36 +491,36 @@ func (a *AdminServiceApiService) CreateTaskEvent(ctx context.Context, body Admin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition Create and register a workflow definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -530,10 +530,10 @@ Create and register a workflow definition. */ func (a *AdminServiceApiService) CreateWorkflow(ctx context.Context, body AdminWorkflowCreateRequest) (AdminWorkflowCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowCreateResponse ) @@ -581,58 +581,58 @@ func (a *AdminServiceApiService) CreateWorkflow(ctx context.Context, body AdminW if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + if localVarHttpResponse.StatusCode == 400 { var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + if localVarHttpResponse.StatusCode == 409 { var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. Create a workflow execution event recording a phase transition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -642,10 +642,10 @@ Create a workflow execution event recording a phase transition. */ func (a *AdminServiceApiService) CreateWorkflowEvent(ctx context.Context, body AdminWorkflowExecutionEventRequest) (AdminWorkflowExecutionEventResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowExecutionEventResponse ) @@ -693,36 +693,36 @@ func (a *AdminServiceApiService) CreateWorkflowEvent(ctx context.Context, body A if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. Delete the customized resource attributes associated with a project-domain combination * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -734,10 +734,10 @@ Delete the customized resource attributes associated with a project-domain combi */ func (a *AdminServiceApiService) DeleteProjectDomainAttributes(ctx context.Context, project string, domain string, body AdminProjectDomainAttributesDeleteRequest) (AdminProjectDomainAttributesDeleteResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectDomainAttributesDeleteResponse ) @@ -787,36 +787,36 @@ func (a *AdminServiceApiService) DeleteProjectDomainAttributes(ctx context.Conte if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectDomainAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. Delete the customized resource attributes associated with a project, domain and workflow combination * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -829,10 +829,10 @@ Delete the customized resource attributes associated with a project, domain and */ func (a *AdminServiceApiService) DeleteWorkflowAttributes(ctx context.Context, project string, domain string, workflow string, body AdminWorkflowAttributesDeleteRequest) (AdminWorkflowAttributesDeleteResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowAttributesDeleteResponse ) @@ -883,36 +883,36 @@ func (a *AdminServiceApiService) DeleteWorkflowAttributes(ctx context.Context, p if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. Retrieve the active launch plan version specified by input request filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -924,10 +924,10 @@ Retrieve the active launch plan version specified by input request filters. */ func (a *AdminServiceApiService) GetActiveLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string) (AdminLaunchPlan, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlan ) @@ -976,36 +976,36 @@ func (a *AdminServiceApiService) GetActiveLaunchPlan(ctx context.Context, idProj if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlan - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.Execution`. Retrieve an existing workflow execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1017,10 +1017,10 @@ Retrieve an existing workflow execution. */ func (a *AdminServiceApiService) GetExecution(ctx context.Context, idProject string, idDomain string, idName string) (AdminExecution, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecution ) @@ -1069,36 +1069,36 @@ func (a *AdminServiceApiService) GetExecution(ctx context.Context, idProject str if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. Retrieve input and output data from an existing workflow execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1110,10 +1110,10 @@ Retrieve input and output data from an existing workflow execution. */ func (a *AdminServiceApiService) GetExecutionData(ctx context.Context, idProject string, idDomain string, idName string) (AdminWorkflowExecutionGetDataResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowExecutionGetDataResponse ) @@ -1162,36 +1162,36 @@ func (a *AdminServiceApiService) GetExecutionData(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. Retrieve an existing launch plan definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1205,16 +1205,16 @@ Retrieve an existing launch plan definition. @return AdminLaunchPlan */ -type GetLaunchPlanOpts struct { +type GetLaunchPlanOpts struct { IdResourceType optional.String } func (a *AdminServiceApiService) GetLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetLaunchPlanOpts) (AdminLaunchPlan, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlan ) @@ -1267,36 +1267,36 @@ func (a *AdminServiceApiService) GetLaunchPlan(ctx context.Context, idProject st if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlan - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. Retrieve a NamedEntity object. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1309,10 +1309,10 @@ Retrieve a NamedEntity object. */ func (a *AdminServiceApiService) GetNamedEntity(ctx context.Context, resourceType string, idProject string, idDomain string, idName string) (AdminNamedEntity, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntity ) @@ -1362,36 +1362,36 @@ func (a *AdminServiceApiService) GetNamedEntity(ctx context.Context, resourceTyp if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntity - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. Retrieve an existing node execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1404,10 +1404,10 @@ Retrieve an existing node execution. */ func (a *AdminServiceApiService) GetNodeExecution(ctx context.Context, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string) (FlyteidladminNodeExecution, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue FlyteidladminNodeExecution ) @@ -1457,36 +1457,36 @@ func (a *AdminServiceApiService) GetNodeExecution(ctx context.Context, idExecuti if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v FlyteidladminNodeExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. Retrieve input and output data from an existing node execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1499,10 +1499,10 @@ Retrieve input and output data from an existing node execution. */ func (a *AdminServiceApiService) GetNodeExecutionData(ctx context.Context, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string) (AdminNodeExecutionGetDataResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNodeExecutionGetDataResponse ) @@ -1552,36 +1552,36 @@ func (a *AdminServiceApiService) GetNodeExecutionData(ctx context.Context, idExe if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNodeExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. Retrieve the customized resource attributes associated with a project-domain combination * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1593,16 +1593,16 @@ Retrieve the customized resource attributes associated with a project-domain com @return AdminProjectDomainAttributesGetResponse */ -type GetProjectDomainAttributesOpts struct { +type GetProjectDomainAttributesOpts struct { ResourceType optional.String } func (a *AdminServiceApiService) GetProjectDomainAttributes(ctx context.Context, project string, domain string, localVarOptionals *GetProjectDomainAttributesOpts) (AdminProjectDomainAttributesGetResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectDomainAttributesGetResponse ) @@ -1653,36 +1653,36 @@ func (a *AdminServiceApiService) GetProjectDomainAttributes(ctx context.Context, if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectDomainAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Task` definition. Retrieve an existing task definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1696,16 +1696,16 @@ Retrieve an existing task definition. @return AdminTask */ -type GetTaskOpts struct { +type GetTaskOpts struct { IdResourceType optional.String } func (a *AdminServiceApiService) GetTask(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetTaskOpts) (AdminTask, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTask ) @@ -1758,36 +1758,36 @@ func (a *AdminServiceApiService) GetTask(ctx context.Context, idProject string, if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTask - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. Retrieve an existing task execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1806,16 +1806,16 @@ Retrieve an existing task execution. @return FlyteidladminTaskExecution */ -type GetTaskExecutionOpts struct { +type GetTaskExecutionOpts struct { IdTaskIdResourceType optional.String } func (a *AdminServiceApiService) GetTaskExecution(ctx context.Context, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecutionOpts) (FlyteidladminTaskExecution, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue FlyteidladminTaskExecution ) @@ -1873,36 +1873,36 @@ func (a *AdminServiceApiService) GetTaskExecution(ctx context.Context, idNodeExe if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v FlyteidladminTaskExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. Retrieve input and output data from an existing task execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1921,16 +1921,16 @@ Retrieve input and output data from an existing task execution. @return AdminTaskExecutionGetDataResponse */ -type GetTaskExecutionDataOpts struct { +type GetTaskExecutionDataOpts struct { IdTaskIdResourceType optional.String } func (a *AdminServiceApiService) GetTaskExecutionData(ctx context.Context, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecutionDataOpts) (AdminTaskExecutionGetDataResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskExecutionGetDataResponse ) @@ -1988,36 +1988,36 @@ func (a *AdminServiceApiService) GetTaskExecutionData(ctx context.Context, idNod if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Retrieve the Version (including the Build information) for FlyteAdmin service * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2026,10 +2026,10 @@ Retrieve the Version (including the Build information) for FlyteAdmin service */ func (a *AdminServiceApiService) GetVersion(ctx context.Context) (AdminGetVersionResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminGetVersionResponse ) @@ -2075,36 +2075,36 @@ func (a *AdminServiceApiService) GetVersion(ctx context.Context) (AdminGetVersio if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminGetVersionResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. Retrieve an existing workflow definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2118,16 +2118,16 @@ Retrieve an existing workflow definition. @return AdminWorkflow */ -type GetWorkflowOpts struct { +type GetWorkflowOpts struct { IdResourceType optional.String } func (a *AdminServiceApiService) GetWorkflow(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetWorkflowOpts) (AdminWorkflow, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflow ) @@ -2180,36 +2180,36 @@ func (a *AdminServiceApiService) GetWorkflow(ctx context.Context, idProject stri if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflow - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. Retrieve the customized resource attributes associated with a project, domain and workflow combination * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2222,16 +2222,16 @@ Retrieve the customized resource attributes associated with a project, domain an @return AdminWorkflowAttributesGetResponse */ -type GetWorkflowAttributesOpts struct { +type GetWorkflowAttributesOpts struct { ResourceType optional.String } func (a *AdminServiceApiService) GetWorkflowAttributes(ctx context.Context, project string, domain string, workflow string, localVarOptionals *GetWorkflowAttributesOpts) (AdminWorkflowAttributesGetResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowAttributesGetResponse ) @@ -2283,36 +2283,36 @@ func (a *AdminServiceApiService) GetWorkflowAttributes(ctx context.Context, proj if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. Fetch the active launch plan versions specified by input request filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2327,19 +2327,19 @@ Fetch the active launch plan versions specified by input request filters. @return AdminLaunchPlanList */ -type ListActiveLaunchPlansOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListActiveLaunchPlansOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListActiveLaunchPlans(ctx context.Context, project string, domain string, localVarOptionals *ListActiveLaunchPlansOpts) (AdminLaunchPlanList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanList ) @@ -2399,36 +2399,36 @@ func (a *AdminServiceApiService) ListActiveLaunchPlans(ctx context.Context, proj if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Execution`. Fetch existing workflow executions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2445,21 +2445,21 @@ Fetch existing workflow executions matching input filters. @return AdminExecutionList */ -type ListExecutionsOpts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListExecutionsOpts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListExecutions(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListExecutionsOpts) (AdminExecutionList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionList ) @@ -2525,36 +2525,36 @@ func (a *AdminServiceApiService) ListExecutions(ctx context.Context, idProject s if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. Fetch existing launch plan definition identifiers matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2570,20 +2570,20 @@ Fetch existing launch plan definition identifiers matching input filters. @return AdminNamedEntityIdentifierList */ -type ListLaunchPlanIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListLaunchPlanIdsOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String - Filters optional.String + Filters optional.String } func (a *AdminServiceApiService) ListLaunchPlanIds(ctx context.Context, project string, domain string, localVarOptionals *ListLaunchPlanIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityIdentifierList ) @@ -2646,36 +2646,36 @@ func (a *AdminServiceApiService) ListLaunchPlanIds(ctx context.Context, project if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. Fetch existing launch plan definitions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2692,20 +2692,20 @@ Fetch existing launch plan definitions matching input filters. @return AdminLaunchPlanList */ -type ListLaunchPlansOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListLaunchPlansOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListLaunchPlans(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListLaunchPlansOpts) (AdminLaunchPlanList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanList ) @@ -2769,36 +2769,36 @@ func (a *AdminServiceApiService) ListLaunchPlans(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. Fetch existing launch plan definitions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2815,21 +2815,21 @@ Fetch existing launch plan definitions matching input filters. @return AdminLaunchPlanList */ -type ListLaunchPlans2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListLaunchPlans2Opts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListLaunchPlans2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListLaunchPlans2Opts) (AdminLaunchPlanList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanList ) @@ -2895,36 +2895,36 @@ func (a *AdminServiceApiService) ListLaunchPlans2(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. Retrieve a list of MatchableAttributesConfiguration objects. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2934,16 +2934,16 @@ Retrieve a list of MatchableAttributesConfiguration objects. @return AdminListMatchableAttributesResponse */ -type ListMatchableAttributesOpts struct { +type ListMatchableAttributesOpts struct { ResourceType optional.String } func (a *AdminServiceApiService) ListMatchableAttributes(ctx context.Context, localVarOptionals *ListMatchableAttributesOpts) (AdminListMatchableAttributesResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminListMatchableAttributesResponse ) @@ -2992,36 +2992,36 @@ func (a *AdminServiceApiService) ListMatchableAttributes(ctx context.Context, lo if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminListMatchableAttributesResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3038,20 +3038,20 @@ Retrieve a list of NamedEntity objects sharing a common resource type, project, @return AdminNamedEntityList */ -type ListNamedEntitiesOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListNamedEntitiesOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String - Filters optional.String + Filters optional.String } func (a *AdminServiceApiService) ListNamedEntities(ctx context.Context, resourceType string, project string, domain string, localVarOptionals *ListNamedEntitiesOpts) (AdminNamedEntityList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityList ) @@ -3115,36 +3115,36 @@ func (a *AdminServiceApiService) ListNamedEntities(ctx context.Context, resource if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. Fetch existing node executions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3153,7 +3153,7 @@ Fetch existing node executions matching input filters. * @param workflowExecutionIdName User or system provided value for the resource. * @param optional nil or *ListNodeExecutionsOpts - Optional Parameters: * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - + * @param "Token" (optional.String) - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. @@ -3162,21 +3162,21 @@ Fetch existing node executions matching input filters. @return AdminNodeExecutionList */ -type ListNodeExecutionsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListNodeExecutionsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String - UniqueParentId optional.String + UniqueParentId optional.String } func (a *AdminServiceApiService) ListNodeExecutions(ctx context.Context, workflowExecutionIdProject string, workflowExecutionIdDomain string, workflowExecutionIdName string, localVarOptionals *ListNodeExecutionsOpts) (AdminNodeExecutionList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNodeExecutionList ) @@ -3243,36 +3243,36 @@ func (a *AdminServiceApiService) ListNodeExecutions(ctx context.Context, workflo if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNodeExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. Fetch child node executions launched by the specified task execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3296,21 +3296,21 @@ Fetch child node executions launched by the specified task execution. @return AdminNodeExecutionList */ -type ListNodeExecutionsForTaskOpts struct { +type ListNodeExecutionsForTaskOpts struct { TaskExecutionIdTaskIdResourceType optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String } func (a *AdminServiceApiService) ListNodeExecutionsForTask(ctx context.Context, taskExecutionIdNodeExecutionIdExecutionIdProject string, taskExecutionIdNodeExecutionIdExecutionIdDomain string, taskExecutionIdNodeExecutionIdExecutionIdName string, taskExecutionIdNodeExecutionIdNodeId string, taskExecutionIdTaskIdProject string, taskExecutionIdTaskIdDomain string, taskExecutionIdTaskIdName string, taskExecutionIdTaskIdVersion string, taskExecutionIdRetryAttempt int64, localVarOptionals *ListNodeExecutionsForTaskOpts) (AdminNodeExecutionList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNodeExecutionList ) @@ -3383,36 +3383,36 @@ func (a *AdminServiceApiService) ListNodeExecutionsForTask(ctx context.Context, if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNodeExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.Project` Fetch registered projects. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3426,20 +3426,20 @@ Fetch registered projects. @return AdminProjects */ -type ListProjectsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListProjectsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListProjects(ctx context.Context, localVarOptionals *ListProjectsOpts) (AdminProjects, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjects ) @@ -3500,36 +3500,36 @@ func (a *AdminServiceApiService) ListProjects(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjects - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. Fetch existing task executions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3547,20 +3547,20 @@ Fetch existing task executions matching input filters. @return AdminTaskExecutionList */ -type ListTaskExecutionsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListTaskExecutionsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListTaskExecutions(ctx context.Context, nodeExecutionIdExecutionIdProject string, nodeExecutionIdExecutionIdDomain string, nodeExecutionIdExecutionIdName string, nodeExecutionIdNodeId string, localVarOptionals *ListTaskExecutionsOpts) (AdminTaskExecutionList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskExecutionList ) @@ -3625,36 +3625,36 @@ func (a *AdminServiceApiService) ListTaskExecutions(ctx context.Context, nodeExe if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. Fetch existing task definition identifiers matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3670,20 +3670,20 @@ Fetch existing task definition identifiers matching input filters. @return AdminNamedEntityIdentifierList */ -type ListTaskIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListTaskIdsOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String - Filters optional.String + Filters optional.String } func (a *AdminServiceApiService) ListTaskIds(ctx context.Context, project string, domain string, localVarOptionals *ListTaskIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityIdentifierList ) @@ -3746,36 +3746,36 @@ func (a *AdminServiceApiService) ListTaskIds(ctx context.Context, project string if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. Fetch existing task definitions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3792,20 +3792,20 @@ Fetch existing task definitions matching input filters. @return AdminTaskList */ -type ListTasksOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListTasksOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListTasks(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListTasksOpts) (AdminTaskList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskList ) @@ -3869,36 +3869,36 @@ func (a *AdminServiceApiService) ListTasks(ctx context.Context, idProject string if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. Fetch existing task definitions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3915,21 +3915,21 @@ Fetch existing task definitions matching input filters. @return AdminTaskList */ -type ListTasks2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListTasks2Opts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListTasks2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListTasks2Opts) (AdminTaskList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskList ) @@ -3995,36 +3995,36 @@ func (a *AdminServiceApiService) ListTasks2(ctx context.Context, idProject strin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. Fetch an existing workflow definition identifiers matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4040,20 +4040,20 @@ Fetch an existing workflow definition identifiers matching input filters. @return AdminNamedEntityIdentifierList */ -type ListWorkflowIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListWorkflowIdsOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String - Filters optional.String + Filters optional.String } func (a *AdminServiceApiService) ListWorkflowIds(ctx context.Context, project string, domain string, localVarOptionals *ListWorkflowIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityIdentifierList ) @@ -4116,36 +4116,36 @@ func (a *AdminServiceApiService) ListWorkflowIds(ctx context.Context, project st if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. Fetch existing workflow definitions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4162,20 +4162,20 @@ Fetch existing workflow definitions matching input filters. @return AdminWorkflowList */ -type ListWorkflowsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListWorkflowsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListWorkflows(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListWorkflowsOpts) (AdminWorkflowList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowList ) @@ -4239,36 +4239,36 @@ func (a *AdminServiceApiService) ListWorkflows(ctx context.Context, idProject st if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. Fetch existing workflow definitions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4285,21 +4285,21 @@ Fetch existing workflow definitions matching input filters. @return AdminWorkflowList */ -type ListWorkflows2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListWorkflows2Opts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListWorkflows2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListWorkflows2Opts) (AdminWorkflowList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowList ) @@ -4365,36 +4365,36 @@ func (a *AdminServiceApiService) ListWorkflows2(ctx context.Context, idProject s if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4404,10 +4404,10 @@ Recreates a previously-run workflow execution that will only start executing fro */ func (a *AdminServiceApiService) RecoverExecution(ctx context.Context, body AdminExecutionRecoverRequest) (AdminExecutionCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionCreateResponse ) @@ -4455,36 +4455,36 @@ func (a *AdminServiceApiService) RecoverExecution(ctx context.Context, body Admi if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. Register a project. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4494,10 +4494,10 @@ Register a project. */ func (a *AdminServiceApiService) RegisterProject(ctx context.Context, body AdminProjectRegisterRequest) (AdminProjectRegisterResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectRegisterResponse ) @@ -4545,36 +4545,36 @@ func (a *AdminServiceApiService) RegisterProject(ctx context.Context, body Admin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectRegisterResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` Relaunch a workflow execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4584,10 +4584,10 @@ Relaunch a workflow execution. */ func (a *AdminServiceApiService) RelaunchExecution(ctx context.Context, body AdminExecutionRelaunchRequest) (AdminExecutionCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionCreateResponse ) @@ -4635,36 +4635,36 @@ func (a *AdminServiceApiService) RelaunchExecution(ctx context.Context, body Adm if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. Terminate the active workflow execution specified in the request. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4677,10 +4677,10 @@ Terminate the active workflow execution specified in the request. */ func (a *AdminServiceApiService) TerminateExecution(ctx context.Context, idProject string, idDomain string, idName string, body AdminExecutionTerminateRequest) (AdminExecutionTerminateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionTerminateResponse ) @@ -4731,36 +4731,36 @@ func (a *AdminServiceApiService) TerminateExecution(ctx context.Context, idProje if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionTerminateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. Update execution belonging to project domain. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4773,10 +4773,10 @@ Update execution belonging to project domain. */ func (a *AdminServiceApiService) UpdateExecution(ctx context.Context, idProject string, idDomain string, idName string, body AdminExecutionUpdateRequest) (AdminExecutionUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionUpdateResponse ) @@ -4827,36 +4827,36 @@ func (a *AdminServiceApiService) UpdateExecution(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4870,10 +4870,10 @@ Update the status of an existing launch plan definition. At most one launch plan */ func (a *AdminServiceApiService) UpdateLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, body AdminLaunchPlanUpdateRequest) (AdminLaunchPlanUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanUpdateResponse ) @@ -4925,36 +4925,36 @@ func (a *AdminServiceApiService) UpdateLaunchPlan(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. Update the fields associated with a NamedEntity * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4968,10 +4968,10 @@ Update the fields associated with a NamedEntity */ func (a *AdminServiceApiService) UpdateNamedEntity(ctx context.Context, resourceType string, idProject string, idDomain string, idName string, body AdminNamedEntityUpdateRequest) (AdminNamedEntityUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityUpdateResponse ) @@ -5023,36 +5023,36 @@ func (a *AdminServiceApiService) UpdateNamedEntity(ctx context.Context, resource if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. Update a project. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -5063,10 +5063,10 @@ Update a project. */ func (a *AdminServiceApiService) UpdateProject(ctx context.Context, id string, body AdminProject) (AdminProjectUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectUpdateResponse ) @@ -5115,36 +5115,36 @@ func (a *AdminServiceApiService) UpdateProject(ctx context.Context, id string, b if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. Update the customized resource attributes associated with a project-domain combination * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -5156,10 +5156,10 @@ Update the customized resource attributes associated with a project-domain combi */ func (a *AdminServiceApiService) UpdateProjectDomainAttributes(ctx context.Context, attributesProject string, attributesDomain string, body AdminProjectDomainAttributesUpdateRequest) (AdminProjectDomainAttributesUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectDomainAttributesUpdateResponse ) @@ -5209,36 +5209,36 @@ func (a *AdminServiceApiService) UpdateProjectDomainAttributes(ctx context.Conte if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectDomainAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. Update the customized resource attributes associated with a project, domain and workflow combination * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -5251,10 +5251,10 @@ Update the customized resource attributes associated with a project, domain and */ func (a *AdminServiceApiService) UpdateWorkflowAttributes(ctx context.Context, attributesProject string, attributesDomain string, attributesWorkflow string, body AdminWorkflowAttributesUpdateRequest) (AdminWorkflowAttributesUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowAttributesUpdateResponse ) @@ -5305,29 +5305,29 @@ func (a *AdminServiceApiService) UpdateWorkflowAttributes(ctx context.Context, a if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/client.go b/gen/pb-go/flyteidl/service/flyteadmin/client.go index 9b5b227be..8fd676821 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/client.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/client.go @@ -300,17 +300,17 @@ func (c *APIClient) prepareRequest( } func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { - if strings.Contains(contentType, "application/xml") { - if err = xml.Unmarshal(b, v); err != nil { - return err - } - return nil - } else if strings.Contains(contentType, "application/json") { - if err = json.Unmarshal(b, v); err != nil { - return err + if strings.Contains(contentType, "application/xml") { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } else if strings.Contains(contentType, "application/json") { + if err = json.Unmarshal(b, v); err != nil { + return err + } + return nil } - return nil - } return errors.New("undefined response type") } @@ -461,4 +461,4 @@ func (e GenericSwaggerError) Body() []byte { // Model returns the unpacked model of the error func (e GenericSwaggerError) Model() interface{} { return e.model -} +} \ No newline at end of file diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go index 2f6f2e95d..f2bd1e114 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go @@ -12,6 +12,6 @@ package flyteadmin // Specifies metadata around an aborted workflow execution. type AdminAbortMetadata struct { // In the case of a user-specified abort, this will pass along the user-supplied cause. - Cause string `json:"cause,omitempty"` + Cause string `json:"cause,omitempty"` Principal string `json:"principal,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go index 87a32e2ec..fa40dd16b 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go @@ -12,5 +12,5 @@ package flyteadmin // Options for schedules to run according to a cron expression. type AdminCronSchedule struct { Schedule string `json:"schedule,omitempty"` - Offset string `json:"offset,omitempty"` + Offset string `json:"offset,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go index e166e5ac7..831dcb9d0 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go @@ -23,7 +23,7 @@ type AdminExecutionClosure struct { // In the case of a user-specified abort, this will pass along the user and their supplied cause. AbortMetadata *AdminAbortMetadata `json:"abort_metadata,omitempty"` // Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` + OutputData *CoreLiteralMap `json:"output_data,omitempty"` ComputedInputs *CoreLiteralMap `json:"computed_inputs,omitempty"` // Most recent recorded phase for the execution. Phase *CoreWorkflowExecutionPhase `json:"phase,omitempty"` @@ -38,6 +38,6 @@ type AdminExecutionClosure struct { // The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan. Notifications []AdminNotification `json:"notifications,omitempty"` // Identifies the workflow definition for this execution. - WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` + WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` StateChangeDetails *AdminExecutionStateChangeDetails `json:"state_change_details,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go index 3ccc424c2..b8da1d4fc 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go @@ -11,9 +11,9 @@ package flyteadmin // Request to launch an execution with the given project, domain and optionally-assigned name. type AdminExecutionCreateRequest struct { - Project string `json:"project,omitempty"` - Domain string `json:"domain,omitempty"` - Name string `json:"name,omitempty"` - Spec *AdminExecutionSpec `json:"spec,omitempty"` - Inputs *CoreLiteralMap `json:"inputs,omitempty"` + Project string `json:"project,omitempty"` + Domain string `json:"domain,omitempty"` + Name string `json:"name,omitempty"` + Spec *AdminExecutionSpec `json:"spec,omitempty"` + Inputs *CoreLiteralMap `json:"inputs,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go index 8a0b5c0a8..9db8ddfd7 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go @@ -21,7 +21,7 @@ type AdminExecutionMetadata struct { // Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1. Nesting int64 `json:"nesting,omitempty"` // For scheduled executions, the requested time for execution for this specific schedule invocation. - ScheduledAt time.Time `json:"scheduled_at,omitempty"` + ScheduledAt time.Time `json:"scheduled_at,omitempty"` ParentNodeExecution *CoreNodeExecutionIdentifier `json:"parent_node_execution,omitempty"` // Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution. ReferenceExecution *CoreWorkflowExecutionIdentifier `json:"reference_execution,omitempty"` diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go index ec7464537..571e0013f 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go @@ -12,8 +12,8 @@ package flyteadmin // Request to recover the referenced execution. type AdminExecutionRecoverRequest struct { // Identifier of the workflow execution to recover. - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - Name string `json:"name,omitempty"` + Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` + Name string `json:"name,omitempty"` // Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. Metadata *AdminExecutionMetadata `json:"metadata,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go index 7228d7c2f..3cf2c53aa 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go @@ -11,6 +11,6 @@ package flyteadmin // Request to relaunch the referenced execution. type AdminExecutionRelaunchRequest struct { - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - Name string `json:"name,omitempty"` + Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` + Name string `json:"name,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go index f841476f0..974069584 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go @@ -11,9 +11,9 @@ package flyteadmin // An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime of an execution as it progresses across phase changes. type AdminExecutionSpec struct { - LaunchPlan *CoreIdentifier `json:"launch_plan,omitempty"` - Inputs *CoreLiteralMap `json:"inputs,omitempty"` - Metadata *AdminExecutionMetadata `json:"metadata,omitempty"` + LaunchPlan *CoreIdentifier `json:"launch_plan,omitempty"` + Inputs *CoreLiteralMap `json:"inputs,omitempty"` + Metadata *AdminExecutionMetadata `json:"metadata,omitempty"` // List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied. Notifications *AdminNotificationList `json:"notifications,omitempty"` // This should be set to true if all notifications are intended to be disabled for this execution. @@ -29,7 +29,7 @@ type AdminExecutionSpec struct { // Indicates the runtime priority of the execution. QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` // Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. - MaxParallelism int32 `json:"max_parallelism,omitempty"` + MaxParallelism int32 `json:"max_parallelism,omitempty"` RawOutputDataConfig *AdminRawOutputDataConfig `json:"raw_output_data_config,omitempty"` // Controls how to select an available cluster on which this execution should run. ClusterAssignment *AdminClusterAssignment `json:"cluster_assignment,omitempty"` diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go index 306d6b8db..c67d546f8 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go @@ -8,12 +8,11 @@ */ package flyteadmin - // AdminExecutionState : The state of the execution is used to control its visibility in the UI/CLI. - EXECUTION_ACTIVE: By default, all executions are considered active. - EXECUTION_ARCHIVED: Archived executions are no longer visible in the UI. type AdminExecutionState string // List of adminExecutionState const ( - AdminExecutionStateACTIVE AdminExecutionState = "EXECUTION_ACTIVE" + AdminExecutionStateACTIVE AdminExecutionState = "EXECUTION_ACTIVE" AdminExecutionStateARCHIVED AdminExecutionState = "EXECUTION_ARCHIVED" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go index e13f2c24e..44e3d275a 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go @@ -18,5 +18,5 @@ type AdminExecutionStateChangeDetails struct { State *AdminExecutionState `json:"state,omitempty"` // This timestamp represents when the state changed. OccurredAt time.Time `json:"occurred_at,omitempty"` - Principal string `json:"principal,omitempty"` + Principal string `json:"principal,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go index 910f10fe6..681eb05ed 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go @@ -10,6 +10,6 @@ package flyteadmin type AdminExecutionUpdateRequest struct { - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - State *AdminExecutionState `json:"state,omitempty"` + Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` + State *AdminExecutionState `json:"state,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go index 4a6de17fa..b92e2a45e 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go @@ -11,6 +11,6 @@ package flyteadmin // Option for schedules run at a certain frequency e.g. every 2 minutes. type AdminFixedRate struct { - Value int64 `json:"value,omitempty"` - Unit *AdminFixedRateUnit `json:"unit,omitempty"` + Value int64 `json:"value,omitempty"` + Unit *AdminFixedRateUnit `json:"unit,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go index 7ad83474b..4a6dd4877 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go @@ -8,13 +8,12 @@ */ package flyteadmin - // AdminFixedRateUnit : Represents a frequency at which to run a schedule. type AdminFixedRateUnit string // List of adminFixedRateUnit const ( AdminFixedRateUnitMINUTE AdminFixedRateUnit = "MINUTE" - AdminFixedRateUnitHOUR AdminFixedRateUnit = "HOUR" - AdminFixedRateUnitDAY AdminFixedRateUnit = "DAY" + AdminFixedRateUnitHOUR AdminFixedRateUnit = "HOUR" + AdminFixedRateUnitDAY AdminFixedRateUnit = "DAY" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go index d6aa0a055..540110cb0 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go @@ -16,9 +16,9 @@ import ( // Values computed by the flyte platform after launch plan registration. These include expected_inputs required to be present in a CreateExecutionRequest to launch the reference workflow as well timestamp values associated with the launch plan. type AdminLaunchPlanClosure struct { // Indicate the Launch plan state. - State *AdminLaunchPlanState `json:"state,omitempty"` - ExpectedInputs *CoreParameterMap `json:"expected_inputs,omitempty"` - ExpectedOutputs *CoreVariableMap `json:"expected_outputs,omitempty"` + State *AdminLaunchPlanState `json:"state,omitempty"` + ExpectedInputs *CoreParameterMap `json:"expected_inputs,omitempty"` + ExpectedOutputs *CoreVariableMap `json:"expected_outputs,omitempty"` // Time at which the launch plan was created. CreatedAt time.Time `json:"created_at,omitempty"` // Time at which the launch plan was last updated. diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go index 3260b1b03..f368501cd 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go @@ -11,6 +11,6 @@ package flyteadmin // Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch the reference workflow. type AdminLaunchPlanMetadata struct { - Schedule *AdminSchedule `json:"schedule,omitempty"` + Schedule *AdminSchedule `json:"schedule,omitempty"` Notifications []AdminNotification `json:"notifications,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go index f6883c3cd..f1828b7cd 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go @@ -11,20 +11,20 @@ package flyteadmin // User-provided launch plan definition and configuration values. type AdminLaunchPlanSpec struct { - WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` + WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` EntityMetadata *AdminLaunchPlanMetadata `json:"entity_metadata,omitempty"` // Input values to be passed for the execution. These can be overriden when an execution is created with this launch plan. DefaultInputs *CoreParameterMap `json:"default_inputs,omitempty"` // Fixed, non-overridable inputs for the Launch Plan. These can not be overriden when an execution is created with this launch plan. FixedInputs *CoreLiteralMap `json:"fixed_inputs,omitempty"` - Role string `json:"role,omitempty"` + Role string `json:"role,omitempty"` // Custom labels to be applied to the execution resource. Labels *AdminLabels `json:"labels,omitempty"` // Custom annotations to be applied to the execution resource. Annotations *AdminAnnotations `json:"annotations,omitempty"` // Indicates the permission associated with workflow executions triggered with this launch plan. - Auth *AdminAuth `json:"auth,omitempty"` - AuthRole *AdminAuthRole `json:"auth_role,omitempty"` + Auth *AdminAuth `json:"auth,omitempty"` + AuthRole *AdminAuthRole `json:"auth_role,omitempty"` SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` // Indicates the runtime priority of the execution. QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go index da3902a39..f0a1d3278 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go @@ -8,12 +8,11 @@ */ package flyteadmin - // AdminLaunchPlanState : By default any launch plan regardless of state can be used to launch a workflow execution. However, at most one version of a launch plan (e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be active at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier group will be observed and trigger executions at a defined cadence. type AdminLaunchPlanState string // List of adminLaunchPlanState const ( AdminLaunchPlanStateINACTIVE AdminLaunchPlanState = "INACTIVE" - AdminLaunchPlanStateACTIVE AdminLaunchPlanState = "ACTIVE" + AdminLaunchPlanStateACTIVE AdminLaunchPlanState = "ACTIVE" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go index f5dc3399e..ac5e29d42 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go @@ -11,5 +11,5 @@ package flyteadmin type AdminLiteralMapBlob struct { Values *CoreLiteralMap `json:"values,omitempty"` - Uri string `json:"uri,omitempty"` + Uri string `json:"uri,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go index daba0caaf..df6a99884 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go @@ -12,8 +12,8 @@ package flyteadmin // Represents a custom set of attributes applied for either a domain; a domain and project; or domain, project and workflow name. These are used to override system level defaults for kubernetes cluster resource management, default execution values, and more all across different levels of specificity. type AdminMatchableAttributesConfiguration struct { Attributes *AdminMatchingAttributes `json:"attributes,omitempty"` - Domain string `json:"domain,omitempty"` - Project string `json:"project,omitempty"` - Workflow string `json:"workflow,omitempty"` - LaunchPlan string `json:"launch_plan,omitempty"` + Domain string `json:"domain,omitempty"` + Project string `json:"project,omitempty"` + Workflow string `json:"workflow,omitempty"` + LaunchPlan string `json:"launch_plan,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go index df4a350bb..411a7becc 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go @@ -8,18 +8,17 @@ */ package flyteadmin - // AdminMatchableResource : Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes based on matching tags. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. type AdminMatchableResource string // List of adminMatchableResource const ( - AdminMatchableResourceTASK_RESOURCE AdminMatchableResource = "TASK_RESOURCE" - AdminMatchableResourceCLUSTER_RESOURCE AdminMatchableResource = "CLUSTER_RESOURCE" - AdminMatchableResourceEXECUTION_QUEUE AdminMatchableResource = "EXECUTION_QUEUE" - AdminMatchableResourceEXECUTION_CLUSTER_LABEL AdminMatchableResource = "EXECUTION_CLUSTER_LABEL" + AdminMatchableResourceTASK_RESOURCE AdminMatchableResource = "TASK_RESOURCE" + AdminMatchableResourceCLUSTER_RESOURCE AdminMatchableResource = "CLUSTER_RESOURCE" + AdminMatchableResourceEXECUTION_QUEUE AdminMatchableResource = "EXECUTION_QUEUE" + AdminMatchableResourceEXECUTION_CLUSTER_LABEL AdminMatchableResource = "EXECUTION_CLUSTER_LABEL" AdminMatchableResourceQUALITY_OF_SERVICE_SPECIFICATION AdminMatchableResource = "QUALITY_OF_SERVICE_SPECIFICATION" - AdminMatchableResourcePLUGIN_OVERRIDE AdminMatchableResource = "PLUGIN_OVERRIDE" - AdminMatchableResourceWORKFLOW_EXECUTION_CONFIG AdminMatchableResource = "WORKFLOW_EXECUTION_CONFIG" - AdminMatchableResourceCLUSTER_ASSIGNMENT AdminMatchableResource = "CLUSTER_ASSIGNMENT" + AdminMatchableResourcePLUGIN_OVERRIDE AdminMatchableResource = "PLUGIN_OVERRIDE" + AdminMatchableResourceWORKFLOW_EXECUTION_CONFIG AdminMatchableResource = "WORKFLOW_EXECUTION_CONFIG" + AdminMatchableResourceCLUSTER_ASSIGNMENT AdminMatchableResource = "CLUSTER_ASSIGNMENT" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go index c9f2f0275..2af9b6d70 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go @@ -11,12 +11,12 @@ package flyteadmin // Generic container for encapsulating all types of the above attributes messages. type AdminMatchingAttributes struct { - TaskResourceAttributes *AdminTaskResourceAttributes `json:"task_resource_attributes,omitempty"` + TaskResourceAttributes *AdminTaskResourceAttributes `json:"task_resource_attributes,omitempty"` ClusterResourceAttributes *AdminClusterResourceAttributes `json:"cluster_resource_attributes,omitempty"` - ExecutionQueueAttributes *AdminExecutionQueueAttributes `json:"execution_queue_attributes,omitempty"` - ExecutionClusterLabel *AdminExecutionClusterLabel `json:"execution_cluster_label,omitempty"` - QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` - PluginOverrides *AdminPluginOverrides `json:"plugin_overrides,omitempty"` - WorkflowExecutionConfig *AdminWorkflowExecutionConfig `json:"workflow_execution_config,omitempty"` - ClusterAssignment *AdminClusterAssignment `json:"cluster_assignment,omitempty"` + ExecutionQueueAttributes *AdminExecutionQueueAttributes `json:"execution_queue_attributes,omitempty"` + ExecutionClusterLabel *AdminExecutionClusterLabel `json:"execution_cluster_label,omitempty"` + QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` + PluginOverrides *AdminPluginOverrides `json:"plugin_overrides,omitempty"` + WorkflowExecutionConfig *AdminWorkflowExecutionConfig `json:"workflow_execution_config,omitempty"` + ClusterAssignment *AdminClusterAssignment `json:"cluster_assignment,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go index d3e11e0b3..6239ddb45 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go @@ -12,8 +12,8 @@ package flyteadmin // Encapsulates information common to a NamedEntity, a Flyte resource such as a task, workflow or launch plan. A NamedEntity is exclusively identified by its resource type and identifier. type AdminNamedEntity struct { // Resource type of the named entity. One of Task, Workflow or LaunchPlan. - ResourceType *CoreResourceType `json:"resource_type,omitempty"` - Id *AdminNamedEntityIdentifier `json:"id,omitempty"` + ResourceType *CoreResourceType `json:"resource_type,omitempty"` + Id *AdminNamedEntityIdentifier `json:"id,omitempty"` // Additional metadata around a named entity. Metadata *AdminNamedEntityMetadata `json:"metadata,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go index c6e36319e..9fa96c57b 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go @@ -15,5 +15,5 @@ type AdminNamedEntityIdentifier struct { Project string `json:"project,omitempty"` // Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. Domain string `json:"domain,omitempty"` - Name string `json:"name,omitempty"` + Name string `json:"name,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go index de574e1b9..eed050549 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go @@ -8,13 +8,12 @@ */ package flyteadmin - // AdminNamedEntityState : The status of the named entity is used to control its visibility in the UI. - NAMED_ENTITY_ACTIVE: By default, all named entities are considered active and under development. - NAMED_ENTITY_ARCHIVED: Archived named entities are no longer visible in the UI. - SYSTEM_GENERATED: System generated entities that aren't explicitly created or managed by a user. type AdminNamedEntityState string // List of adminNamedEntityState const ( - AdminNamedEntityStateNAMED_ENTITY_ACTIVE AdminNamedEntityState = "NAMED_ENTITY_ACTIVE" + AdminNamedEntityStateNAMED_ENTITY_ACTIVE AdminNamedEntityState = "NAMED_ENTITY_ACTIVE" AdminNamedEntityStateNAMED_ENTITY_ARCHIVED AdminNamedEntityState = "NAMED_ENTITY_ARCHIVED" - AdminNamedEntityStateSYSTEM_GENERATED AdminNamedEntityState = "SYSTEM_GENERATED" + AdminNamedEntityStateSYSTEM_GENERATED AdminNamedEntityState = "SYSTEM_GENERATED" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go index 2596276ea..66fb02ea3 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go @@ -11,7 +11,7 @@ package flyteadmin // Request to set the referenced named entity state to the configured value. type AdminNamedEntityUpdateRequest struct { - ResourceType *CoreResourceType `json:"resource_type,omitempty"` - Id *AdminNamedEntityIdentifier `json:"id,omitempty"` - Metadata *AdminNamedEntityMetadata `json:"metadata,omitempty"` + ResourceType *CoreResourceType `json:"resource_type,omitempty"` + Id *AdminNamedEntityIdentifier `json:"id,omitempty"` + Metadata *AdminNamedEntityMetadata `json:"metadata,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go index 6910803c5..7a04ef034 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go @@ -16,8 +16,8 @@ import ( // Container for node execution details and results. type AdminNodeExecutionClosure struct { // Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` + OutputUri string `json:"output_uri,omitempty"` + Error_ *CoreExecutionError `json:"error,omitempty"` // Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. OutputData *CoreLiteralMap `json:"output_data,omitempty"` // The last recorded phase for this node execution. @@ -29,8 +29,8 @@ type AdminNodeExecutionClosure struct { // Time at which the node execution was created. CreatedAt time.Time `json:"created_at,omitempty"` // Time at which the node execution was last updated. - UpdatedAt time.Time `json:"updated_at,omitempty"` + UpdatedAt time.Time `json:"updated_at,omitempty"` WorkflowNodeMetadata *FlyteidladminWorkflowNodeMetadata `json:"workflow_node_metadata,omitempty"` - TaskNodeMetadata *FlyteidladminTaskNodeMetadata `json:"task_node_metadata,omitempty"` - DeckUri string `json:"deck_uri,omitempty"` + TaskNodeMetadata *FlyteidladminTaskNodeMetadata `json:"task_node_metadata,omitempty"` + DeckUri string `json:"deck_uri,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go index 36f87c5e9..08ad839a7 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go @@ -13,8 +13,8 @@ type AdminNodeExecutionMetaData struct { // Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node. RetryGroup string `json:"retry_group,omitempty"` // Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes. - IsParentNode bool `json:"is_parent_node,omitempty"` - SpecNodeId string `json:"spec_node_id,omitempty"` + IsParentNode bool `json:"is_parent_node,omitempty"` + SpecNodeId string `json:"spec_node_id,omitempty"` // Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true. IsDynamic bool `json:"is_dynamic,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go index c042528a2..16cc5a3c7 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go @@ -11,8 +11,8 @@ package flyteadmin // Represents a structure for notifications based on execution status. The notification content is configured within flyte admin but can be templatized. Future iterations could expose configuring notifications with custom content. type AdminNotification struct { - Phases []CoreWorkflowExecutionPhase `json:"phases,omitempty"` - Email *AdminEmailNotification `json:"email,omitempty"` - PagerDuty *AdminPagerDutyNotification `json:"pager_duty,omitempty"` - Slack *AdminSlackNotification `json:"slack,omitempty"` + Phases []CoreWorkflowExecutionPhase `json:"phases,omitempty"` + Email *AdminEmailNotification `json:"email,omitempty"` + PagerDuty *AdminPagerDutyNotification `json:"pager_duty,omitempty"` + Slack *AdminSlackNotification `json:"slack,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go index 13e4d8c79..f501820a2 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go @@ -14,10 +14,10 @@ type AdminProject struct { // Globally unique project name. Id string `json:"id,omitempty"` // Display name. - Name string `json:"name,omitempty"` - Domains []AdminDomain `json:"domains,omitempty"` - Description string `json:"description,omitempty"` + Name string `json:"name,omitempty"` + Domains []AdminDomain `json:"domains,omitempty"` + Description string `json:"description,omitempty"` // Leverage Labels from flyteidel.admin.common.proto to tag projects with ownership information. - Labels *AdminLabels `json:"labels,omitempty"` - State *ProjectProjectState `json:"state,omitempty"` + Labels *AdminLabels `json:"labels,omitempty"` + State *ProjectProjectState `json:"state,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go index 8f736c6e9..8cc141bc4 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go @@ -13,6 +13,6 @@ type AdminProjectDomainAttributes struct { // Unique project id for which this set of attributes will be applied. Project string `json:"project,omitempty"` // Unique domain id for which this set of attributes will be applied. - Domain string `json:"domain,omitempty"` + Domain string `json:"domain,omitempty"` MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go index 4c3ed6cbb..00b251417 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go @@ -10,7 +10,7 @@ package flyteadmin type AdminProjectDomainAttributesDeleteRequest struct { - Project string `json:"project,omitempty"` - Domain string `json:"domain,omitempty"` + Project string `json:"project,omitempty"` + Domain string `json:"domain,omitempty"` ResourceType *AdminMatchableResource `json:"resource_type,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go index bc95ee283..b6c0a0201 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go @@ -11,9 +11,9 @@ package flyteadmin // Defines complete set of information required to trigger an execution on a schedule. type AdminSchedule struct { - CronExpression string `json:"cron_expression,omitempty"` - Rate *AdminFixedRate `json:"rate,omitempty"` - CronSchedule *AdminCronSchedule `json:"cron_schedule,omitempty"` + CronExpression string `json:"cron_expression,omitempty"` + Rate *AdminFixedRate `json:"rate,omitempty"` + CronSchedule *AdminCronSchedule `json:"cron_schedule,omitempty"` // Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. KickoffTimeInputArg string `json:"kickoff_time_input_arg,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go index 22ebe3f22..7469a2cb0 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go @@ -11,6 +11,6 @@ package flyteadmin // Specifies sort ordering in a list request. type AdminSort struct { - Key string `json:"key,omitempty"` + Key string `json:"key,omitempty"` Direction *SortDirection `json:"direction,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go index 3489c705f..0c36189c4 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go @@ -10,6 +10,6 @@ package flyteadmin type AdminTaskCreateRequest struct { - Id *CoreIdentifier `json:"id,omitempty"` - Spec *AdminTaskSpec `json:"spec,omitempty"` + Id *CoreIdentifier `json:"id,omitempty"` + Spec *AdminTaskSpec `json:"spec,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go index ee090c89c..3917b5f2f 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go @@ -12,5 +12,5 @@ package flyteadmin // Defines task resource defaults and limits that will be applied at task registration. type AdminTaskResourceAttributes struct { Defaults *AdminTaskResourceSpec `json:"defaults,omitempty"` - Limits *AdminTaskResourceSpec `json:"limits,omitempty"` + Limits *AdminTaskResourceSpec `json:"limits,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go index 0d2713f7f..b022f1a97 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go @@ -11,9 +11,9 @@ package flyteadmin // Defines a set of overridable task resource attributes set during task registration. type AdminTaskResourceSpec struct { - Cpu string `json:"cpu,omitempty"` - Gpu string `json:"gpu,omitempty"` - Memory string `json:"memory,omitempty"` - Storage string `json:"storage,omitempty"` + Cpu string `json:"cpu,omitempty"` + Gpu string `json:"gpu,omitempty"` + Memory string `json:"memory,omitempty"` + Storage string `json:"storage,omitempty"` EphemeralStorage string `json:"ephemeral_storage,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go index a316d8ad6..559cc80b9 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go @@ -10,7 +10,7 @@ package flyteadmin type AdminVersion struct { - Build string `json:"Build,omitempty"` - Version string `json:"Version,omitempty"` + Build string `json:"Build,omitempty"` + Version string `json:"Version,omitempty"` BuildTime string `json:"BuildTime,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go index 26cfff647..dba5c8834 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go @@ -15,6 +15,6 @@ type AdminWorkflowAttributes struct { // Unique domain id for which this set of attributes will be applied. Domain string `json:"domain,omitempty"` // Workflow name for which this set of attributes will be applied. - Workflow string `json:"workflow,omitempty"` + Workflow string `json:"workflow,omitempty"` MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go index ecc0b7605..31bca658d 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go @@ -10,8 +10,8 @@ package flyteadmin type AdminWorkflowAttributesDeleteRequest struct { - Project string `json:"project,omitempty"` - Domain string `json:"domain,omitempty"` - Workflow string `json:"workflow,omitempty"` + Project string `json:"project,omitempty"` + Domain string `json:"domain,omitempty"` + Workflow string `json:"workflow,omitempty"` ResourceType *AdminMatchableResource `json:"resource_type,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go index 68ee62801..53b4cbbb0 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go @@ -10,6 +10,6 @@ package flyteadmin type AdminWorkflowCreateRequest struct { - Id *CoreIdentifier `json:"id,omitempty"` + Id *CoreIdentifier `json:"id,omitempty"` Spec *AdminWorkflowSpec `json:"spec,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go b/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go index ed4ddcc9e..c2557772a 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go @@ -13,6 +13,6 @@ type BlobTypeBlobDimensionality string // List of BlobTypeBlobDimensionality const ( - BlobTypeBlobDimensionalitySINGLE BlobTypeBlobDimensionality = "SINGLE" + BlobTypeBlobDimensionalitySINGLE BlobTypeBlobDimensionality = "SINGLE" BlobTypeBlobDimensionalityMULTIPART BlobTypeBlobDimensionality = "MULTIPART" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go b/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go index 3f3c587e8..42b34515d 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go @@ -8,7 +8,6 @@ */ package flyteadmin - // CatalogReservationStatus : Indicates the status of a catalog reservation operation. - RESERVATION_DISABLED: Used to indicate that reservations are disabled - RESERVATION_ACQUIRED: Used to indicate that a reservation was successfully acquired or extended - RESERVATION_EXISTS: Used to indicate that an active reservation currently exists - RESERVATION_RELEASED: Used to indicate that the reservation has been successfully released - RESERVATION_FAILURE: Used to indicate that a reservation operation resulted in failure type CatalogReservationStatus string @@ -16,7 +15,7 @@ type CatalogReservationStatus string const ( CatalogReservationStatusDISABLED CatalogReservationStatus = "RESERVATION_DISABLED" CatalogReservationStatusACQUIRED CatalogReservationStatus = "RESERVATION_ACQUIRED" - CatalogReservationStatusEXISTS CatalogReservationStatus = "RESERVATION_EXISTS" + CatalogReservationStatusEXISTS CatalogReservationStatus = "RESERVATION_EXISTS" CatalogReservationStatusRELEASED CatalogReservationStatus = "RESERVATION_RELEASED" - CatalogReservationStatusFAILURE CatalogReservationStatus = "RESERVATION_FAILURE" + CatalogReservationStatusFAILURE CatalogReservationStatus = "RESERVATION_FAILURE" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go b/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go index 5eb1db946..f12c82ff7 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go @@ -8,16 +8,15 @@ */ package flyteadmin - // ComparisonExpressionOperator : - GT: Greater Than - LT: Less Than type ComparisonExpressionOperator string // List of ComparisonExpressionOperator const ( - ComparisonExpressionOperatorEQ ComparisonExpressionOperator = "EQ" + ComparisonExpressionOperatorEQ ComparisonExpressionOperator = "EQ" ComparisonExpressionOperatorNEQ ComparisonExpressionOperator = "NEQ" - ComparisonExpressionOperatorGT ComparisonExpressionOperator = "GT" + ComparisonExpressionOperatorGT ComparisonExpressionOperator = "GT" ComparisonExpressionOperatorGTE ComparisonExpressionOperator = "GTE" - ComparisonExpressionOperatorLT ComparisonExpressionOperator = "LT" + ComparisonExpressionOperatorLT ComparisonExpressionOperator = "LT" ComparisonExpressionOperatorLTE ComparisonExpressionOperator = "LTE" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go b/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go index 9634c360a..537e3b45e 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go @@ -8,12 +8,11 @@ */ package flyteadmin - // ConjunctionExpressionLogicalOperator : - AND: Conjunction type ConjunctionExpressionLogicalOperator string // List of ConjunctionExpressionLogicalOperator const ( ConjunctionExpressionLogicalOperatorAND ConjunctionExpressionLogicalOperator = "AND" - ConjunctionExpressionLogicalOperatorOR ConjunctionExpressionLogicalOperator = "OR" + ConjunctionExpressionLogicalOperatorOR ConjunctionExpressionLogicalOperator = "OR" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go b/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go index 78970da88..2ec668c98 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go @@ -8,15 +8,14 @@ */ package flyteadmin - // ContainerArchitecture : Architecture-type the container image supports. type ContainerArchitecture string // List of ContainerArchitecture const ( ContainerArchitectureUNKNOWN ContainerArchitecture = "UNKNOWN" - ContainerArchitectureAMD64 ContainerArchitecture = "AMD64" - ContainerArchitectureARM64 ContainerArchitecture = "ARM64" - ContainerArchitectureARM_V6 ContainerArchitecture = "ARM_V6" - ContainerArchitectureARM_V7 ContainerArchitecture = "ARM_V7" + ContainerArchitectureAMD64 ContainerArchitecture = "AMD64" + ContainerArchitectureARM64 ContainerArchitecture = "ARM64" + ContainerArchitectureARM_V6 ContainerArchitecture = "ARM_V6" + ContainerArchitectureARM_V7 ContainerArchitecture = "ARM_V7" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go index db3679328..b66a50bd7 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go @@ -12,5 +12,5 @@ package flyteadmin // A simple byte array with a tag to help different parts of the system communicate about what is in the byte array. It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data. type CoreBinary struct { Value string `json:"value,omitempty"` - Tag string `json:"tag,omitempty"` + Tag string `json:"tag,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go index 742616fdc..903ef1f8e 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go @@ -18,6 +18,6 @@ type CoreBindingData struct { // References an output promised by another node. Promise *CoreOutputReference `json:"promise,omitempty"` // A map of bindings. The key is always a string. - Map_ *CoreBindingDataMap `json:"map,omitempty"` - Union *CoreUnionInfo `json:"union,omitempty"` + Map_ *CoreBindingDataMap `json:"map,omitempty"` + Union *CoreUnionInfo `json:"union,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go index d7bcd8917..081e36a03 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go @@ -12,5 +12,5 @@ package flyteadmin // Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is. There are no restrictions on how the uri is formatted since it will depend on how to interact with the store. type CoreBlob struct { Metadata *CoreBlobMetadata `json:"metadata,omitempty"` - Uri string `json:"uri,omitempty"` + Uri string `json:"uri,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go index 4add1c094..5c751b956 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go @@ -10,6 +10,6 @@ package flyteadmin type CoreBlobType struct { - Format string `json:"format,omitempty"` + Format string `json:"format,omitempty"` Dimensionality *BlobTypeBlobDimensionality `json:"dimensionality,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go index 894e3d4cc..0ee33d7c3 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go @@ -12,5 +12,5 @@ package flyteadmin // Defines a boolean expression tree. It can be a simple or a conjunction expression. Multiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result. type CoreBooleanExpression struct { Conjunction *CoreConjunctionExpression `json:"conjunction,omitempty"` - Comparison *CoreComparisonExpression `json:"comparison,omitempty"` + Comparison *CoreComparisonExpression `json:"comparison,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go index 49ecd55bc..94c8826d3 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go @@ -11,5 +11,5 @@ package flyteadmin type CoreCatalogArtifactTag struct { ArtifactId string `json:"artifact_id,omitempty"` - Name string `json:"name,omitempty"` + Name string `json:"name,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go index f42291bf6..95d546512 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go @@ -8,16 +8,15 @@ */ package flyteadmin - // CoreCatalogCacheStatus : - CACHE_DISABLED: Used to indicate that caching was disabled - CACHE_MISS: Used to indicate that the cache lookup resulted in no matches - CACHE_HIT: used to indicate that the associated artifact was a result of a previous execution - CACHE_POPULATED: used to indicate that the resultant artifact was added to the cache - CACHE_LOOKUP_FAILURE: Used to indicate that cache lookup failed because of an error - CACHE_PUT_FAILURE: Used to indicate that cache lookup failed because of an error type CoreCatalogCacheStatus string // List of coreCatalogCacheStatus const ( - CoreCatalogCacheStatusDISABLED CoreCatalogCacheStatus = "CACHE_DISABLED" - CoreCatalogCacheStatusMISS CoreCatalogCacheStatus = "CACHE_MISS" - CoreCatalogCacheStatusHIT CoreCatalogCacheStatus = "CACHE_HIT" - CoreCatalogCacheStatusPOPULATED CoreCatalogCacheStatus = "CACHE_POPULATED" + CoreCatalogCacheStatusDISABLED CoreCatalogCacheStatus = "CACHE_DISABLED" + CoreCatalogCacheStatusMISS CoreCatalogCacheStatus = "CACHE_MISS" + CoreCatalogCacheStatusHIT CoreCatalogCacheStatus = "CACHE_HIT" + CoreCatalogCacheStatusPOPULATED CoreCatalogCacheStatus = "CACHE_POPULATED" CoreCatalogCacheStatusLOOKUP_FAILURE CoreCatalogCacheStatus = "CACHE_LOOKUP_FAILURE" - CoreCatalogCacheStatusPUT_FAILURE CoreCatalogCacheStatus = "CACHE_PUT_FAILURE" + CoreCatalogCacheStatusPUT_FAILURE CoreCatalogCacheStatus = "CACHE_PUT_FAILURE" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go index 43e1cbb85..a4223f28b 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go @@ -10,7 +10,7 @@ package flyteadmin type CoreCatalogMetadata struct { - DatasetId *CoreIdentifier `json:"dataset_id,omitempty"` - ArtifactTag *CoreCatalogArtifactTag `json:"artifact_tag,omitempty"` + DatasetId *CoreIdentifier `json:"dataset_id,omitempty"` + ArtifactTag *CoreCatalogArtifactTag `json:"artifact_tag,omitempty"` SourceTaskExecution *CoreTaskExecutionIdentifier `json:"source_task_execution,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go index 0c0487d70..86e9586a7 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go @@ -11,7 +11,7 @@ package flyteadmin // Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables. Each expression results in a boolean result. type CoreComparisonExpression struct { - Operator *ComparisonExpressionOperator `json:"operator,omitempty"` - LeftValue *CoreOperand `json:"left_value,omitempty"` - RightValue *CoreOperand `json:"right_value,omitempty"` + Operator *ComparisonExpressionOperator `json:"operator,omitempty"` + LeftValue *CoreOperand `json:"left_value,omitempty"` + RightValue *CoreOperand `json:"right_value,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go index 8439d4d71..64753a21b 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go @@ -11,7 +11,7 @@ package flyteadmin // A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow and its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of compiled subworkflows. type CoreCompiledWorkflowClosure struct { - Primary *CoreCompiledWorkflow `json:"primary,omitempty"` + Primary *CoreCompiledWorkflow `json:"primary,omitempty"` SubWorkflows []CoreCompiledWorkflow `json:"sub_workflows,omitempty"` - Tasks []CoreCompiledTask `json:"tasks,omitempty"` + Tasks []CoreCompiledTask `json:"tasks,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go index ea24c0aec..cf8c99b9b 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go @@ -11,7 +11,7 @@ package flyteadmin // Defines a conjunction expression of two boolean expressions. type CoreConjunctionExpression struct { - Operator *ConjunctionExpressionLogicalOperator `json:"operator,omitempty"` - LeftExpression *CoreBooleanExpression `json:"left_expression,omitempty"` - RightExpression *CoreBooleanExpression `json:"right_expression,omitempty"` + Operator *ConjunctionExpressionLogicalOperator `json:"operator,omitempty"` + LeftExpression *CoreBooleanExpression `json:"left_expression,omitempty"` + RightExpression *CoreBooleanExpression `json:"right_expression,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go index 5f05c8ffb..8d7b9bc34 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go @@ -11,5 +11,5 @@ package flyteadmin type CoreConnectionSet struct { Downstream map[string]ConnectionSetIdList `json:"downstream,omitempty"` - Upstream map[string]ConnectionSetIdList `json:"upstream,omitempty"` + Upstream map[string]ConnectionSetIdList `json:"upstream,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go index ad1d56964..26f0e9d65 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go @@ -20,8 +20,8 @@ type CoreContainer struct { // Environment variables will be set as the container is starting up. Env []CoreKeyValuePair `json:"env,omitempty"` // Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead. - Config []CoreKeyValuePair `json:"config,omitempty"` - Ports []CoreContainerPort `json:"ports,omitempty"` - DataConfig *CoreDataLoadingConfig `json:"data_config,omitempty"` + Config []CoreKeyValuePair `json:"config,omitempty"` + Ports []CoreContainerPort `json:"ports,omitempty"` + DataConfig *CoreDataLoadingConfig `json:"data_config,omitempty"` Architecture *ContainerArchitecture `json:"architecture,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go index 5861de21a..f74fb3aaa 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go @@ -11,9 +11,9 @@ package flyteadmin // This configuration allows executing raw containers in Flyte using the Flyte CoPilot system. Flyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path Any outputs generated by the user container - within output_path are automatically uploaded. type CoreDataLoadingConfig struct { - Enabled bool `json:"enabled,omitempty"` - InputPath string `json:"input_path,omitempty"` - OutputPath string `json:"output_path,omitempty"` - Format *DataLoadingConfigLiteralMapFormat `json:"format,omitempty"` - IoStrategy *CoreIoStrategy `json:"io_strategy,omitempty"` + Enabled bool `json:"enabled,omitempty"` + InputPath string `json:"input_path,omitempty"` + OutputPath string `json:"output_path,omitempty"` + Format *DataLoadingConfigLiteralMapFormat `json:"format,omitempty"` + IoStrategy *CoreIoStrategy `json:"io_strategy,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go index cb796560c..4b2b6e07b 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go @@ -13,7 +13,7 @@ package flyteadmin type CoreExecutionError struct { Code string `json:"code,omitempty"` // Detailed description of the error - including stack trace. - Message string `json:"message,omitempty"` - ErrorUri string `json:"error_uri,omitempty"` - Kind *ExecutionErrorErrorKind `json:"kind,omitempty"` + Message string `json:"message,omitempty"` + ErrorUri string `json:"error_uri,omitempty"` + Kind *ExecutionErrorErrorKind `json:"kind,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go index fe1f9e02f..88c084f85 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go @@ -12,5 +12,5 @@ package flyteadmin // Defines a condition and the execution unit that should be executed if the condition is satisfied. type CoreIfBlock struct { Condition *CoreBooleanExpression `json:"condition,omitempty"` - ThenNode *CoreNode `json:"then_node,omitempty"` + ThenNode *CoreNode `json:"then_node,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go index 7fdf7e07a..d310d0290 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go @@ -11,5 +11,5 @@ package flyteadmin type CoreIoStrategy struct { DownloadMode *IoStrategyDownloadMode `json:"download_mode,omitempty"` - UploadMode *IoStrategyUploadMode `json:"upload_mode,omitempty"` + UploadMode *IoStrategyUploadMode `json:"upload_mode,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go index 2ae4fb862..a9c223ea6 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go @@ -13,5 +13,5 @@ package flyteadmin type CoreK8sPod struct { // Contains additional metadata for building a kubernetes pod. Metadata *CoreK8sObjectMetadata `json:"metadata,omitempty"` - PodSpec *ProtobufStruct `json:"pod_spec,omitempty"` + PodSpec *ProtobufStruct `json:"pod_spec,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go index 827463a72..03ee49361 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go @@ -17,5 +17,5 @@ type CoreLiteral struct { Collection *CoreLiteralCollection `json:"collection,omitempty"` // A map of strings to literals. Map_ *CoreLiteralMap `json:"map,omitempty"` - Hash string `json:"hash,omitempty"` + Hash string `json:"hash,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go index 934d0c8ff..08611bf6c 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go @@ -22,7 +22,7 @@ type CoreLiteralType struct { // A blob might have specialized implementation details depending on associated metadata. Blob *CoreBlobType `json:"blob,omitempty"` // Defines an enum with pre-defined string values. - EnumType *CoreEnumType `json:"enum_type,omitempty"` + EnumType *CoreEnumType `json:"enum_type,omitempty"` StructuredDatasetType *CoreStructuredDatasetType `json:"structured_dataset_type,omitempty"` // Defines an union type with pre-defined LiteralTypes. UnionType *CoreUnionType `json:"union_type,omitempty"` diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go index 44a74ea49..2a391e095 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go @@ -11,6 +11,6 @@ package flyteadmin // Encapsulation of fields that identify a Flyte node execution entity. type CoreNodeExecutionIdentifier struct { - NodeId string `json:"node_id,omitempty"` + NodeId string `json:"node_id,omitempty"` ExecutionId *CoreWorkflowExecutionIdentifier `json:"execution_id,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go index aa619393b..55c46425a 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go @@ -13,15 +13,15 @@ type CoreNodeExecutionPhase string // List of coreNodeExecutionPhase const ( - CoreNodeExecutionPhaseUNDEFINED CoreNodeExecutionPhase = "UNDEFINED" - CoreNodeExecutionPhaseQUEUED CoreNodeExecutionPhase = "QUEUED" - CoreNodeExecutionPhaseRUNNING CoreNodeExecutionPhase = "RUNNING" - CoreNodeExecutionPhaseSUCCEEDED CoreNodeExecutionPhase = "SUCCEEDED" - CoreNodeExecutionPhaseFAILING CoreNodeExecutionPhase = "FAILING" - CoreNodeExecutionPhaseFAILED CoreNodeExecutionPhase = "FAILED" - CoreNodeExecutionPhaseABORTED CoreNodeExecutionPhase = "ABORTED" - CoreNodeExecutionPhaseSKIPPED CoreNodeExecutionPhase = "SKIPPED" - CoreNodeExecutionPhaseTIMED_OUT CoreNodeExecutionPhase = "TIMED_OUT" + CoreNodeExecutionPhaseUNDEFINED CoreNodeExecutionPhase = "UNDEFINED" + CoreNodeExecutionPhaseQUEUED CoreNodeExecutionPhase = "QUEUED" + CoreNodeExecutionPhaseRUNNING CoreNodeExecutionPhase = "RUNNING" + CoreNodeExecutionPhaseSUCCEEDED CoreNodeExecutionPhase = "SUCCEEDED" + CoreNodeExecutionPhaseFAILING CoreNodeExecutionPhase = "FAILING" + CoreNodeExecutionPhaseFAILED CoreNodeExecutionPhase = "FAILED" + CoreNodeExecutionPhaseABORTED CoreNodeExecutionPhase = "ABORTED" + CoreNodeExecutionPhaseSKIPPED CoreNodeExecutionPhase = "SKIPPED" + CoreNodeExecutionPhaseTIMED_OUT CoreNodeExecutionPhase = "TIMED_OUT" CoreNodeExecutionPhaseDYNAMIC_RUNNING CoreNodeExecutionPhase = "DYNAMIC_RUNNING" - CoreNodeExecutionPhaseRECOVERED CoreNodeExecutionPhase = "RECOVERED" + CoreNodeExecutionPhaseRECOVERED CoreNodeExecutionPhase = "RECOVERED" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go index 79e9c1e38..3913c96c8 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go @@ -15,6 +15,6 @@ type CoreNodeMetadata struct { // The overall timeout of a task. Timeout string `json:"timeout,omitempty"` // Number of retries per task. - Retries *CoreRetryStrategy `json:"retries,omitempty"` - Interruptible bool `json:"interruptible,omitempty"` + Retries *CoreRetryStrategy `json:"retries,omitempty"` + Interruptible bool `json:"interruptible,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go index b44f96905..8413c9169 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go @@ -11,6 +11,6 @@ package flyteadmin // OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task. type CoreOAuth2Client struct { - ClientId string `json:"client_id,omitempty"` + ClientId string `json:"client_id,omitempty"` ClientSecret *CoreSecret `json:"client_secret,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go index 7edeb1353..6dcdb2ddd 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go @@ -11,9 +11,9 @@ package flyteadmin // OAuth2TokenRequest encapsulates information needed to request an OAuth2 token. FLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if tokens are passed through environment variables. FLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens are passed through file mounts. type CoreOAuth2TokenRequest struct { - Name string `json:"name,omitempty"` - Type_ *CoreOAuth2TokenRequestType `json:"type,omitempty"` - Client *CoreOAuth2Client `json:"client,omitempty"` - IdpDiscoveryEndpoint string `json:"idp_discovery_endpoint,omitempty"` - TokenEndpoint string `json:"token_endpoint,omitempty"` + Name string `json:"name,omitempty"` + Type_ *CoreOAuth2TokenRequestType `json:"type,omitempty"` + Client *CoreOAuth2Client `json:"client,omitempty"` + IdpDiscoveryEndpoint string `json:"idp_discovery_endpoint,omitempty"` + TokenEndpoint string `json:"token_endpoint,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go index 27ec7f050..5e9b5d4e6 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go @@ -8,7 +8,6 @@ */ package flyteadmin - // CoreOAuth2TokenRequestType : Type of the token requested. - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials. type CoreOAuth2TokenRequestType string diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go index bb1343428..578ca555d 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go @@ -12,5 +12,5 @@ package flyteadmin // Defines an operand to a comparison expression. type CoreOperand struct { Primitive *CorePrimitive `json:"primitive,omitempty"` - Var_ string `json:"var,omitempty"` + Var_ string `json:"var,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go index 5b976320d..efe369c24 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go @@ -14,10 +14,10 @@ import ( ) type CorePrimitive struct { - Integer string `json:"integer,omitempty"` - FloatValue float64 `json:"float_value,omitempty"` - StringValue string `json:"string_value,omitempty"` - Boolean bool `json:"boolean,omitempty"` - Datetime time.Time `json:"datetime,omitempty"` - Duration string `json:"duration,omitempty"` + Integer string `json:"integer,omitempty"` + FloatValue float64 `json:"float_value,omitempty"` + StringValue string `json:"string_value,omitempty"` + Boolean bool `json:"boolean,omitempty"` + Datetime time.Time `json:"datetime,omitempty"` + Duration string `json:"duration,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go index 9378a683a..d735974d0 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go @@ -11,6 +11,6 @@ package flyteadmin // Indicates the priority of an execution. type CoreQualityOfService struct { - Tier *QualityOfServiceTier `json:"tier,omitempty"` + Tier *QualityOfServiceTier `json:"tier,omitempty"` Spec *CoreQualityOfServiceSpec `json:"spec,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go index 33c7ff4bf..26866d1c4 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go @@ -8,15 +8,14 @@ */ package flyteadmin - // CoreResourceType : Indicates a resource type within Flyte. - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects type CoreResourceType string // List of coreResourceType const ( CoreResourceTypeUNSPECIFIED CoreResourceType = "UNSPECIFIED" - CoreResourceTypeTASK CoreResourceType = "TASK" - CoreResourceTypeWORKFLOW CoreResourceType = "WORKFLOW" + CoreResourceTypeTASK CoreResourceType = "TASK" + CoreResourceTypeWORKFLOW CoreResourceType = "WORKFLOW" CoreResourceTypeLAUNCH_PLAN CoreResourceType = "LAUNCH_PLAN" - CoreResourceTypeDATASET CoreResourceType = "DATASET" + CoreResourceTypeDATASET CoreResourceType = "DATASET" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go index 50388f6b7..4c2b0aa73 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go @@ -10,13 +10,13 @@ package flyteadmin type CoreScalar struct { - Primitive *CorePrimitive `json:"primitive,omitempty"` - Blob *CoreBlob `json:"blob,omitempty"` - Binary *CoreBinary `json:"binary,omitempty"` - Schema *FlyteidlcoreSchema `json:"schema,omitempty"` - NoneType *CoreVoid `json:"none_type,omitempty"` - Error_ *CoreError `json:"error,omitempty"` - Generic *ProtobufStruct `json:"generic,omitempty"` + Primitive *CorePrimitive `json:"primitive,omitempty"` + Blob *CoreBlob `json:"blob,omitempty"` + Binary *CoreBinary `json:"binary,omitempty"` + Schema *FlyteidlcoreSchema `json:"schema,omitempty"` + NoneType *CoreVoid `json:"none_type,omitempty"` + Error_ *CoreError `json:"error,omitempty"` + Generic *ProtobufStruct `json:"generic,omitempty"` StructuredDataset *CoreStructuredDataset `json:"structured_dataset,omitempty"` - Union *CoreUnion `json:"union,omitempty"` + Union *CoreUnion `json:"union,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go index 94025fa6d..3b709cefe 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go @@ -11,8 +11,8 @@ package flyteadmin // Secret encapsulates information about the secret a task needs to proceed. An environment variable FLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if secrets are passed through environment variables. FLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets are passed through file mounts. type CoreSecret struct { - Group string `json:"group,omitempty"` - GroupVersion string `json:"group_version,omitempty"` - Key string `json:"key,omitempty"` + Group string `json:"group,omitempty"` + GroupVersion string `json:"group_version,omitempty"` + Key string `json:"key,omitempty"` MountRequirement *SecretMountType `json:"mount_requirement,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go index 4dada71aa..23988bb9c 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go @@ -8,20 +8,19 @@ */ package flyteadmin - // CoreSimpleType : Define a set of simple types. type CoreSimpleType string // List of coreSimpleType const ( - CoreSimpleTypeNONE CoreSimpleType = "NONE" - CoreSimpleTypeINTEGER CoreSimpleType = "INTEGER" - CoreSimpleTypeFLOAT CoreSimpleType = "FLOAT" - CoreSimpleTypeSTRING_ CoreSimpleType = "STRING" - CoreSimpleTypeBOOLEAN CoreSimpleType = "BOOLEAN" + CoreSimpleTypeNONE CoreSimpleType = "NONE" + CoreSimpleTypeINTEGER CoreSimpleType = "INTEGER" + CoreSimpleTypeFLOAT CoreSimpleType = "FLOAT" + CoreSimpleTypeSTRING_ CoreSimpleType = "STRING" + CoreSimpleTypeBOOLEAN CoreSimpleType = "BOOLEAN" CoreSimpleTypeDATETIME CoreSimpleType = "DATETIME" CoreSimpleTypeDURATION CoreSimpleType = "DURATION" - CoreSimpleTypeBINARY CoreSimpleType = "BINARY" - CoreSimpleTypeERROR_ CoreSimpleType = "ERROR" - CoreSimpleTypeSTRUCT_ CoreSimpleType = "STRUCT" + CoreSimpleTypeBINARY CoreSimpleType = "BINARY" + CoreSimpleTypeERROR_ CoreSimpleType = "ERROR" + CoreSimpleTypeSTRUCT_ CoreSimpleType = "STRUCT" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go index 508b2018b..c0cd22cb4 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go @@ -11,6 +11,6 @@ package flyteadmin // Sql represents a generic sql workload with a statement and dialect. type CoreSql struct { - Statement string `json:"statement,omitempty"` - Dialect *SqlDialect `json:"dialect,omitempty"` + Statement string `json:"statement,omitempty"` + Dialect *SqlDialect `json:"dialect,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go index 92b97bb11..88fb473fc 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go @@ -10,6 +10,6 @@ package flyteadmin type CoreStructuredDataset struct { - Uri string `json:"uri,omitempty"` + Uri string `json:"uri,omitempty"` Metadata *CoreStructuredDatasetMetadata `json:"metadata,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go index 33cb47e05..c0f0264ad 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go @@ -11,7 +11,7 @@ package flyteadmin // Encapsulation of fields that identify a Flyte task execution entity. type CoreTaskExecutionIdentifier struct { - TaskId *CoreIdentifier `json:"task_id,omitempty"` + TaskId *CoreIdentifier `json:"task_id,omitempty"` NodeExecutionId *CoreNodeExecutionIdentifier `json:"node_execution_id,omitempty"` - RetryAttempt int64 `json:"retry_attempt,omitempty"` + RetryAttempt int64 `json:"retry_attempt,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go index 4e70781eb..0dd23b9a2 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go @@ -13,12 +13,12 @@ type CoreTaskExecutionPhase string // List of coreTaskExecutionPhase const ( - CoreTaskExecutionPhaseUNDEFINED CoreTaskExecutionPhase = "UNDEFINED" - CoreTaskExecutionPhaseQUEUED CoreTaskExecutionPhase = "QUEUED" - CoreTaskExecutionPhaseRUNNING CoreTaskExecutionPhase = "RUNNING" - CoreTaskExecutionPhaseSUCCEEDED CoreTaskExecutionPhase = "SUCCEEDED" - CoreTaskExecutionPhaseABORTED CoreTaskExecutionPhase = "ABORTED" - CoreTaskExecutionPhaseFAILED CoreTaskExecutionPhase = "FAILED" - CoreTaskExecutionPhaseINITIALIZING CoreTaskExecutionPhase = "INITIALIZING" + CoreTaskExecutionPhaseUNDEFINED CoreTaskExecutionPhase = "UNDEFINED" + CoreTaskExecutionPhaseQUEUED CoreTaskExecutionPhase = "QUEUED" + CoreTaskExecutionPhaseRUNNING CoreTaskExecutionPhase = "RUNNING" + CoreTaskExecutionPhaseSUCCEEDED CoreTaskExecutionPhase = "SUCCEEDED" + CoreTaskExecutionPhaseABORTED CoreTaskExecutionPhase = "ABORTED" + CoreTaskExecutionPhaseFAILED CoreTaskExecutionPhase = "FAILED" + CoreTaskExecutionPhaseINITIALIZING CoreTaskExecutionPhase = "INITIALIZING" CoreTaskExecutionPhaseWAITING_FOR_RESOURCES CoreTaskExecutionPhase = "WAITING_FOR_RESOURCES" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go index 6822e903b..1eef3655d 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go @@ -10,8 +10,8 @@ package flyteadmin type CoreTaskLog struct { - Uri string `json:"uri,omitempty"` - Name string `json:"name,omitempty"` + Uri string `json:"uri,omitempty"` + Name string `json:"name,omitempty"` MessageFormat *TaskLogMessageFormat `json:"message_format,omitempty"` - Ttl string `json:"ttl,omitempty"` + Ttl string `json:"ttl,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go index 421cf505c..7f2412eed 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go @@ -22,6 +22,6 @@ type CoreTaskMetadata struct { DiscoveryVersion string `json:"discovery_version,omitempty"` // If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task. DeprecatedErrorMessage string `json:"deprecated_error_message,omitempty"` - Interruptible bool `json:"interruptible,omitempty"` - CacheSerializable bool `json:"cache_serializable,omitempty"` + Interruptible bool `json:"interruptible,omitempty"` + CacheSerializable bool `json:"cache_serializable,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go index a81729897..163a0eb7c 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go @@ -20,13 +20,13 @@ type CoreTaskTemplate struct { // A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures. Interface_ *CoreTypedInterface `json:"interface,omitempty"` // Custom data about the task. This is extensible to allow various plugins in the system. - Custom *ProtobufStruct `json:"custom,omitempty"` - Container *CoreContainer `json:"container,omitempty"` - K8sPod *CoreK8sPod `json:"k8s_pod,omitempty"` - Sql *CoreSql `json:"sql,omitempty"` + Custom *ProtobufStruct `json:"custom,omitempty"` + Container *CoreContainer `json:"container,omitempty"` + K8sPod *CoreK8sPod `json:"k8s_pod,omitempty"` + Sql *CoreSql `json:"sql,omitempty"` // This can be used to customize task handling at execution time for the same task type. TaskTypeVersion int32 `json:"task_type_version,omitempty"` // security_context encapsulates security attributes requested to run this task. SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` - Config map[string]string `json:"config,omitempty"` + Config map[string]string `json:"config,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go index c214430aa..8a1487646 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go @@ -11,6 +11,6 @@ package flyteadmin // Defines strongly typed inputs and outputs. type CoreTypedInterface struct { - Inputs *CoreVariableMap `json:"inputs,omitempty"` + Inputs *CoreVariableMap `json:"inputs,omitempty"` Outputs *CoreVariableMap `json:"outputs,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go index 9868ba7db..dc4a92e0d 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go @@ -11,6 +11,6 @@ package flyteadmin // The runtime representation of a tagged union value. See `UnionType` for more details. type CoreUnion struct { - Value *CoreLiteral `json:"value,omitempty"` + Value *CoreLiteral `json:"value,omitempty"` Type_ *CoreLiteralType `json:"type,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go index 2b7beb089..40e43f058 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go @@ -12,6 +12,6 @@ package flyteadmin // Defines a strongly typed variable. type CoreVariable struct { // Variable literal type. - Type_ *CoreLiteralType `json:"type,omitempty"` - Description string `json:"description,omitempty"` + Type_ *CoreLiteralType `json:"type,omitempty"` + Description string `json:"description,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go index 343edc0df..0745afacd 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go @@ -13,14 +13,14 @@ type CoreWorkflowExecutionPhase string // List of coreWorkflowExecutionPhase const ( - CoreWorkflowExecutionPhaseUNDEFINED CoreWorkflowExecutionPhase = "UNDEFINED" - CoreWorkflowExecutionPhaseQUEUED CoreWorkflowExecutionPhase = "QUEUED" - CoreWorkflowExecutionPhaseRUNNING CoreWorkflowExecutionPhase = "RUNNING" + CoreWorkflowExecutionPhaseUNDEFINED CoreWorkflowExecutionPhase = "UNDEFINED" + CoreWorkflowExecutionPhaseQUEUED CoreWorkflowExecutionPhase = "QUEUED" + CoreWorkflowExecutionPhaseRUNNING CoreWorkflowExecutionPhase = "RUNNING" CoreWorkflowExecutionPhaseSUCCEEDING CoreWorkflowExecutionPhase = "SUCCEEDING" - CoreWorkflowExecutionPhaseSUCCEEDED CoreWorkflowExecutionPhase = "SUCCEEDED" - CoreWorkflowExecutionPhaseFAILING CoreWorkflowExecutionPhase = "FAILING" - CoreWorkflowExecutionPhaseFAILED CoreWorkflowExecutionPhase = "FAILED" - CoreWorkflowExecutionPhaseABORTED CoreWorkflowExecutionPhase = "ABORTED" - CoreWorkflowExecutionPhaseTIMED_OUT CoreWorkflowExecutionPhase = "TIMED_OUT" - CoreWorkflowExecutionPhaseABORTING CoreWorkflowExecutionPhase = "ABORTING" + CoreWorkflowExecutionPhaseSUCCEEDED CoreWorkflowExecutionPhase = "SUCCEEDED" + CoreWorkflowExecutionPhaseFAILING CoreWorkflowExecutionPhase = "FAILING" + CoreWorkflowExecutionPhaseFAILED CoreWorkflowExecutionPhase = "FAILED" + CoreWorkflowExecutionPhaseABORTED CoreWorkflowExecutionPhase = "ABORTED" + CoreWorkflowExecutionPhaseTIMED_OUT CoreWorkflowExecutionPhase = "TIMED_OUT" + CoreWorkflowExecutionPhaseABORTING CoreWorkflowExecutionPhase = "ABORTING" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go index 01f56e057..42b07706a 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go @@ -12,6 +12,6 @@ package flyteadmin // Refers to a the workflow the node is to execute. type CoreWorkflowNode struct { // A globally unique identifier for the launch plan. - LaunchplanRef *CoreIdentifier `json:"launchplan_ref,omitempty"` + LaunchplanRef *CoreIdentifier `json:"launchplan_ref,omitempty"` SubWorkflowRef *CoreIdentifier `json:"sub_workflow_ref,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go index 8ceba6486..377a19bf8 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go @@ -22,6 +22,6 @@ type CoreWorkflowTemplate struct { // A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task. Outputs []CoreBinding `json:"outputs,omitempty"` // +optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error. - FailureNode *CoreNode `json:"failure_node,omitempty"` + FailureNode *CoreNode `json:"failure_node,omitempty"` MetadataDefaults *CoreWorkflowMetadataDefaults `json:"metadata_defaults,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go b/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go index f63e8685f..bfb25fd45 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go @@ -8,13 +8,12 @@ */ package flyteadmin - // DataLoadingConfigLiteralMapFormat : - JSON: JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html - PROTO: Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core type DataLoadingConfigLiteralMapFormat string // List of DataLoadingConfigLiteralMapFormat const ( - DataLoadingConfigLiteralMapFormatJSON DataLoadingConfigLiteralMapFormat = "JSON" - DataLoadingConfigLiteralMapFormatYAML DataLoadingConfigLiteralMapFormat = "YAML" + DataLoadingConfigLiteralMapFormatJSON DataLoadingConfigLiteralMapFormat = "JSON" + DataLoadingConfigLiteralMapFormatYAML DataLoadingConfigLiteralMapFormat = "YAML" DataLoadingConfigLiteralMapFormatPROTO DataLoadingConfigLiteralMapFormat = "PROTO" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go index 0b9f2deb2..8daa059ed 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go @@ -14,10 +14,10 @@ type EventExternalResourceInfo struct { // Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids. ExternalId string `json:"external_id,omitempty"` // A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports. - Index int64 `json:"index,omitempty"` - RetryAttempt int64 `json:"retry_attempt,omitempty"` - Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` + Index int64 `json:"index,omitempty"` + RetryAttempt int64 `json:"retry_attempt,omitempty"` + Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` // Captures the status of caching for this external resource execution. CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` - Logs []CoreTaskLog `json:"logs,omitempty"` + Logs []CoreTaskLog `json:"logs,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go index 78bf6f81d..73defbb80 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go @@ -14,30 +14,30 @@ import ( ) type EventNodeExecutionEvent struct { - Id *CoreNodeExecutionIdentifier `json:"id,omitempty"` - ProducerId string `json:"producer_id,omitempty"` - Phase *CoreNodeExecutionPhase `json:"phase,omitempty"` + Id *CoreNodeExecutionIdentifier `json:"id,omitempty"` + ProducerId string `json:"producer_id,omitempty"` + Phase *CoreNodeExecutionPhase `json:"phase,omitempty"` // This timestamp represents when the original event occurred, it is generated by the executor of the node. OccurredAt time.Time `json:"occurred_at,omitempty"` - InputUri string `json:"input_uri,omitempty"` + InputUri string `json:"input_uri,omitempty"` // URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` + OutputUri string `json:"output_uri,omitempty"` + Error_ *CoreExecutionError `json:"error,omitempty"` // Raw output data produced by this node execution. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` + OutputData *CoreLiteralMap `json:"output_data,omitempty"` WorkflowNodeMetadata *FlyteidleventWorkflowNodeMetadata `json:"workflow_node_metadata,omitempty"` - TaskNodeMetadata *FlyteidleventTaskNodeMetadata `json:"task_node_metadata,omitempty"` + TaskNodeMetadata *FlyteidleventTaskNodeMetadata `json:"task_node_metadata,omitempty"` // [To be deprecated] Specifies which task (if any) launched this node. ParentTaskMetadata *EventParentTaskExecutionMetadata `json:"parent_task_metadata,omitempty"` // Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node. ParentNodeMetadata *EventParentNodeExecutionMetadata `json:"parent_node_metadata,omitempty"` - RetryGroup string `json:"retry_group,omitempty"` - SpecNodeId string `json:"spec_node_id,omitempty"` - NodeName string `json:"node_name,omitempty"` - EventVersion int32 `json:"event_version,omitempty"` + RetryGroup string `json:"retry_group,omitempty"` + SpecNodeId string `json:"spec_node_id,omitempty"` + NodeName string `json:"node_name,omitempty"` + EventVersion int32 `json:"event_version,omitempty"` // Whether this node launched a subworkflow. IsParent bool `json:"is_parent,omitempty"` // Whether this node yielded a dynamic workflow. - IsDynamic bool `json:"is_dynamic,omitempty"` - DeckUri string `json:"deck_uri,omitempty"` + IsDynamic bool `json:"is_dynamic,omitempty"` + DeckUri string `json:"deck_uri,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go index b9b4b8ca4..cd1845e5e 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go @@ -16,19 +16,19 @@ import ( // Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob. type EventTaskExecutionEvent struct { // ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution. - TaskId *CoreIdentifier `json:"task_id,omitempty"` + TaskId *CoreIdentifier `json:"task_id,omitempty"` ParentNodeExecutionId *CoreNodeExecutionIdentifier `json:"parent_node_execution_id,omitempty"` - RetryAttempt int64 `json:"retry_attempt,omitempty"` - Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` - ProducerId string `json:"producer_id,omitempty"` - Logs []CoreTaskLog `json:"logs,omitempty"` + RetryAttempt int64 `json:"retry_attempt,omitempty"` + Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` + ProducerId string `json:"producer_id,omitempty"` + Logs []CoreTaskLog `json:"logs,omitempty"` // This timestamp represents when the original event occurred, it is generated by the executor of the task. OccurredAt time.Time `json:"occurred_at,omitempty"` // URI of the input file, it encodes all the information including Cloud source provider. ie., s3://... InputUri string `json:"input_uri,omitempty"` // URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://... - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` + OutputUri string `json:"output_uri,omitempty"` + Error_ *CoreExecutionError `json:"error,omitempty"` // Raw output data produced by this task execution. OutputData *CoreLiteralMap `json:"output_data,omitempty"` // Custom data that the task plugin sends back. This is extensible to allow various plugins in the system. diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_metadata.go index 8a864cfc1..336dd1797 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_metadata.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_metadata.go @@ -18,6 +18,6 @@ type EventTaskExecutionMetadata struct { // Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution. ResourcePoolInfo []EventResourcePoolInfo `json:"resource_pool_info,omitempty"` // The identifier of the plugin used to execute this task. - PluginIdentifier string `json:"plugin_identifier,omitempty"` - InstanceClass *TaskExecutionMetadataInstanceClass `json:"instance_class,omitempty"` + PluginIdentifier string `json:"plugin_identifier,omitempty"` + InstanceClass *TaskExecutionMetadataInstanceClass `json:"instance_class,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go index ce8d46d58..279f0d5a5 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go @@ -15,13 +15,13 @@ import ( type EventWorkflowExecutionEvent struct { ExecutionId *CoreWorkflowExecutionIdentifier `json:"execution_id,omitempty"` - ProducerId string `json:"producer_id,omitempty"` - Phase *CoreWorkflowExecutionPhase `json:"phase,omitempty"` + ProducerId string `json:"producer_id,omitempty"` + Phase *CoreWorkflowExecutionPhase `json:"phase,omitempty"` // This timestamp represents when the original event occurred, it is generated by the executor of the workflow. OccurredAt time.Time `json:"occurred_at,omitempty"` // URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` + OutputUri string `json:"output_uri,omitempty"` + Error_ *CoreExecutionError `json:"error,omitempty"` // Raw output data produced by this workflow execution. OutputData *CoreLiteralMap `json:"output_data,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go b/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go index 6958ad770..fa2eb9e95 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go @@ -14,6 +14,6 @@ type ExecutionErrorErrorKind string // List of ExecutionErrorErrorKind const ( ExecutionErrorErrorKindUNKNOWN ExecutionErrorErrorKind = "UNKNOWN" - ExecutionErrorErrorKindUSER ExecutionErrorErrorKind = "USER" - ExecutionErrorErrorKindSYSTEM ExecutionErrorErrorKind = "SYSTEM" + ExecutionErrorErrorKindUSER ExecutionErrorErrorKind = "USER" + ExecutionErrorErrorKindSYSTEM ExecutionErrorErrorKind = "SYSTEM" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go b/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go index acc8c6bf6..000c4da4c 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go @@ -8,16 +8,15 @@ */ package flyteadmin - // ExecutionMetadataExecutionMode : The method by which this execution was launched. - MANUAL: The default execution mode, MANUAL implies that an execution was launched by an individual. - SCHEDULED: A schedule triggered this execution launch. - SYSTEM: A system process was responsible for launching this execution rather an individual. - RELAUNCH: This execution was launched with identical inputs as a previous execution. - CHILD_WORKFLOW: This execution was triggered by another execution. - RECOVERED: This execution was recovered from another execution. type ExecutionMetadataExecutionMode string // List of ExecutionMetadataExecutionMode const ( - ExecutionMetadataExecutionModeMANUAL ExecutionMetadataExecutionMode = "MANUAL" - ExecutionMetadataExecutionModeSCHEDULED ExecutionMetadataExecutionMode = "SCHEDULED" - ExecutionMetadataExecutionModeSYSTEM ExecutionMetadataExecutionMode = "SYSTEM" - ExecutionMetadataExecutionModeRELAUNCH ExecutionMetadataExecutionMode = "RELAUNCH" + ExecutionMetadataExecutionModeMANUAL ExecutionMetadataExecutionMode = "MANUAL" + ExecutionMetadataExecutionModeSCHEDULED ExecutionMetadataExecutionMode = "SCHEDULED" + ExecutionMetadataExecutionModeSYSTEM ExecutionMetadataExecutionMode = "SYSTEM" + ExecutionMetadataExecutionModeRELAUNCH ExecutionMetadataExecutionMode = "RELAUNCH" ExecutionMetadataExecutionModeCHILD_WORKFLOW ExecutionMetadataExecutionMode = "CHILD_WORKFLOW" - ExecutionMetadataExecutionModeRECOVERED ExecutionMetadataExecutionMode = "RECOVERED" + ExecutionMetadataExecutionModeRECOVERED ExecutionMetadataExecutionMode = "RECOVERED" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go index 7ee8bcb82..98ec72e86 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go @@ -16,6 +16,6 @@ type FlyteidladminNodeExecution struct { // Path to remote data store where input blob is stored. InputUri string `json:"input_uri,omitempty"` // Computed results associated with this node execution. - Closure *AdminNodeExecutionClosure `json:"closure,omitempty"` + Closure *AdminNodeExecutionClosure `json:"closure,omitempty"` Metadata *AdminNodeExecutionMetaData `json:"metadata,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go index 7e24dd89a..56d98b26d 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go @@ -11,7 +11,7 @@ package flyteadmin type FlyteidladminTaskNodeMetadata struct { // Captures the status of caching for this execution. - CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` - CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` - CheckpointUri string `json:"checkpoint_uri,omitempty"` + CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` + CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` + CheckpointUri string `json:"checkpoint_uri,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlcore_schema.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlcore_schema.go index 58833bcd1..307252b18 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlcore_schema.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlcore_schema.go @@ -11,6 +11,6 @@ package flyteadmin // A strongly typed schema that defines the interface of data retrieved from the underlying storage medium. type FlyteidlcoreSchema struct { - Uri string `json:"uri,omitempty"` + Uri string `json:"uri,omitempty"` Type_ *CoreSchemaType `json:"type,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go index 82826c00b..50a76526b 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go @@ -12,10 +12,10 @@ package flyteadmin type FlyteidleventTaskNodeMetadata struct { // Captures the status of caching for this execution. CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` - CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` + CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` // Captures the status of cache reservations for this execution. ReservationStatus *CatalogReservationStatus `json:"reservation_status,omitempty"` - CheckpointUri string `json:"checkpoint_uri,omitempty"` + CheckpointUri string `json:"checkpoint_uri,omitempty"` // In the case this task launched a dynamic workflow we capture its structure here. DynamicWorkflow *FlyteidleventDynamicWorkflowNodeMetadata `json:"dynamic_workflow,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go b/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go index b330b904c..670fc1529 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go @@ -8,13 +8,12 @@ */ package flyteadmin - // IoStrategyDownloadMode : - DOWNLOAD_EAGER: All data will be downloaded before the main container is executed - DOWNLOAD_STREAM: Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details - DO_NOT_DOWNLOAD: Large objects (offloaded) will not be downloaded type IoStrategyDownloadMode string // List of IOStrategyDownloadMode const ( - IoStrategyDownloadModeDOWNLOAD_EAGER IoStrategyDownloadMode = "DOWNLOAD_EAGER" + IoStrategyDownloadModeDOWNLOAD_EAGER IoStrategyDownloadMode = "DOWNLOAD_EAGER" IoStrategyDownloadModeDOWNLOAD_STREAM IoStrategyDownloadMode = "DOWNLOAD_STREAM" IoStrategyDownloadModeDO_NOT_DOWNLOAD IoStrategyDownloadMode = "DO_NOT_DOWNLOAD" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go b/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go index 39bd91f4a..d7b6e5f1f 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go @@ -8,13 +8,12 @@ */ package flyteadmin - // IoStrategyUploadMode : - UPLOAD_ON_EXIT: All data will be uploaded after the main container exits - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol specification for details - DO_NOT_UPLOAD: Data will not be uploaded, only references will be written type IoStrategyUploadMode string // List of IOStrategyUploadMode const ( IoStrategyUploadModeUPLOAD_ON_EXIT IoStrategyUploadMode = "UPLOAD_ON_EXIT" - IoStrategyUploadModeUPLOAD_EAGER IoStrategyUploadMode = "UPLOAD_EAGER" - IoStrategyUploadModeDO_NOT_UPLOAD IoStrategyUploadMode = "DO_NOT_UPLOAD" + IoStrategyUploadModeUPLOAD_EAGER IoStrategyUploadMode = "UPLOAD_EAGER" + IoStrategyUploadModeDO_NOT_UPLOAD IoStrategyUploadMode = "DO_NOT_UPLOAD" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go b/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go index e39a5c418..2c8ff10df 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go @@ -8,12 +8,11 @@ */ package flyteadmin - // PluginOverrideMissingPluginBehavior : - FAIL: By default, if this plugin is not enabled for a Flyte deployment then execution will fail. - USE_DEFAULT: Uses the system-configured default implementation. type PluginOverrideMissingPluginBehavior string // List of PluginOverrideMissingPluginBehavior const ( - PluginOverrideMissingPluginBehaviorFAIL PluginOverrideMissingPluginBehavior = "FAIL" + PluginOverrideMissingPluginBehaviorFAIL PluginOverrideMissingPluginBehavior = "FAIL" PluginOverrideMissingPluginBehaviorUSE_DEFAULT PluginOverrideMissingPluginBehavior = "USE_DEFAULT" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go b/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go index 12c6095dc..112958abf 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go @@ -8,13 +8,12 @@ */ package flyteadmin - // ProjectProjectState : The state of the project is used to control its visibility in the UI and validity. - ACTIVE: By default, all projects are considered active. - ARCHIVED: Archived projects are no longer visible in the UI and no longer valid. - SYSTEM_GENERATED: System generated projects that aren't explicitly created or managed by a user. type ProjectProjectState string // List of ProjectProjectState const ( - ProjectProjectStateACTIVE ProjectProjectState = "ACTIVE" - ProjectProjectStateARCHIVED ProjectProjectState = "ARCHIVED" + ProjectProjectStateACTIVE ProjectProjectState = "ACTIVE" + ProjectProjectStateARCHIVED ProjectProjectState = "ARCHIVED" ProjectProjectStateSYSTEM_GENERATED ProjectProjectState = "SYSTEM_GENERATED" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go index 1eb323f30..b7bb2d3e8 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go @@ -8,7 +8,6 @@ */ package flyteadmin - // ProtobufNullValue : `NullValue` is a singleton enumeration to represent the null value for the `Value` type union. The JSON representation for `NullValue` is JSON `null`. - NULL_VALUE: Null value. type ProtobufNullValue string diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go b/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go index bc006a508..b156cc3b7 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go @@ -8,14 +8,13 @@ */ package flyteadmin - // QualityOfServiceTier : - UNDEFINED: Default: no quality of service specified. type QualityOfServiceTier string // List of QualityOfServiceTier const ( QualityOfServiceTierUNDEFINED QualityOfServiceTier = "UNDEFINED" - QualityOfServiceTierHIGH QualityOfServiceTier = "HIGH" - QualityOfServiceTierMEDIUM QualityOfServiceTier = "MEDIUM" - QualityOfServiceTierLOW QualityOfServiceTier = "LOW" + QualityOfServiceTierHIGH QualityOfServiceTier = "HIGH" + QualityOfServiceTierMEDIUM QualityOfServiceTier = "MEDIUM" + QualityOfServiceTierLOW QualityOfServiceTier = "LOW" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go b/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go index e4c77cb7c..cb0292022 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go @@ -12,6 +12,6 @@ package flyteadmin // Encapsulates a resource name and value. type ResourcesResourceEntry struct { // Resource name. - Name *ResourcesResourceName `json:"name,omitempty"` - Value string `json:"value,omitempty"` + Name *ResourcesResourceName `json:"name,omitempty"` + Value string `json:"value,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go b/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go index b8bc37546..13b9f8b23 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go @@ -8,16 +8,15 @@ */ package flyteadmin - // ResourcesResourceName : Known resource names. - EPHEMERAL_STORAGE: For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs. type ResourcesResourceName string // List of ResourcesResourceName const ( - ResourcesResourceNameUNKNOWN ResourcesResourceName = "UNKNOWN" - ResourcesResourceNameCPU ResourcesResourceName = "CPU" - ResourcesResourceNameGPU ResourcesResourceName = "GPU" - ResourcesResourceNameMEMORY ResourcesResourceName = "MEMORY" - ResourcesResourceNameSTORAGE ResourcesResourceName = "STORAGE" + ResourcesResourceNameUNKNOWN ResourcesResourceName = "UNKNOWN" + ResourcesResourceNameCPU ResourcesResourceName = "CPU" + ResourcesResourceNameGPU ResourcesResourceName = "GPU" + ResourcesResourceNameMEMORY ResourcesResourceName = "MEMORY" + ResourcesResourceNameSTORAGE ResourcesResourceName = "STORAGE" ResourcesResourceNameEPHEMERAL_STORAGE ResourcesResourceName = "EPHEMERAL_STORAGE" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go index 798b8b678..85abd1fbc 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go @@ -13,6 +13,6 @@ type RuntimeMetadataRuntimeType string // List of RuntimeMetadataRuntimeType const ( - RuntimeMetadataRuntimeTypeOTHER RuntimeMetadataRuntimeType = "OTHER" + RuntimeMetadataRuntimeTypeOTHER RuntimeMetadataRuntimeType = "OTHER" RuntimeMetadataRuntimeTypeFLYTE_SDK RuntimeMetadataRuntimeType = "FLYTE_SDK" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go index dd183d084..ece75c967 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go @@ -13,10 +13,10 @@ type SchemaColumnSchemaColumnType string // List of SchemaColumnSchemaColumnType const ( - SchemaColumnSchemaColumnTypeINTEGER SchemaColumnSchemaColumnType = "INTEGER" - SchemaColumnSchemaColumnTypeFLOAT SchemaColumnSchemaColumnType = "FLOAT" - SchemaColumnSchemaColumnTypeSTRING_ SchemaColumnSchemaColumnType = "STRING" - SchemaColumnSchemaColumnTypeBOOLEAN SchemaColumnSchemaColumnType = "BOOLEAN" + SchemaColumnSchemaColumnTypeINTEGER SchemaColumnSchemaColumnType = "INTEGER" + SchemaColumnSchemaColumnTypeFLOAT SchemaColumnSchemaColumnType = "FLOAT" + SchemaColumnSchemaColumnTypeSTRING_ SchemaColumnSchemaColumnType = "STRING" + SchemaColumnSchemaColumnTypeBOOLEAN SchemaColumnSchemaColumnType = "BOOLEAN" SchemaColumnSchemaColumnTypeDATETIME SchemaColumnSchemaColumnType = "DATETIME" SchemaColumnSchemaColumnTypeDURATION SchemaColumnSchemaColumnType = "DURATION" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go b/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go index 4d0675052..4f76410bc 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go @@ -8,13 +8,12 @@ */ package flyteadmin - // SecretMountType : - ANY: Default case, indicates the client can tolerate either mounting options. - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as an environment variable. - FILE: FILE indicates the secret needs to be mounted as a file. type SecretMountType string // List of SecretMountType const ( - SecretMountTypeANY SecretMountType = "ANY" + SecretMountTypeANY SecretMountType = "ANY" SecretMountTypeENV_VAR SecretMountType = "ENV_VAR" - SecretMountTypeFILE SecretMountType = "FILE" + SecretMountTypeFILE SecretMountType = "FILE" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go b/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go index 5e8684503..bc5e709b5 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go @@ -8,12 +8,11 @@ */ package flyteadmin - // SortDirection : - DESCENDING: By default, fields are sorted in descending order. type SortDirection string // List of SortDirection const ( SortDirectionDESCENDING SortDirection = "DESCENDING" - SortDirectionASCENDING SortDirection = "ASCENDING" + SortDirectionASCENDING SortDirection = "ASCENDING" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go b/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go index d6ae9ce5c..4f3e1a661 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go @@ -8,14 +8,13 @@ */ package flyteadmin - // SqlDialect : The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid expensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement. We support the following dialect: ansi, hive. type SqlDialect string // List of SqlDialect const ( SqlDialectUNDEFINED SqlDialect = "UNDEFINED" - SqlDialectANSI SqlDialect = "ANSI" - SqlDialectHIVE SqlDialect = "HIVE" - SqlDialectOTHER SqlDialect = "OTHER" + SqlDialectANSI SqlDialect = "ANSI" + SqlDialectHIVE SqlDialect = "HIVE" + SqlDialectOTHER SqlDialect = "OTHER" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go b/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go index b5552c8c6..efff48b05 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go @@ -8,12 +8,11 @@ */ package flyteadmin - // TaskExecutionMetadataInstanceClass : Includes the broad category of machine used for this specific task execution. - DEFAULT: The default instance class configured for the flyte application platform. - INTERRUPTIBLE: The instance class configured for interruptible tasks. type TaskExecutionMetadataInstanceClass string // List of TaskExecutionMetadataInstanceClass const ( - TaskExecutionMetadataInstanceClassDEFAULT_ TaskExecutionMetadataInstanceClass = "DEFAULT" + TaskExecutionMetadataInstanceClassDEFAULT_ TaskExecutionMetadataInstanceClass = "DEFAULT" TaskExecutionMetadataInstanceClassINTERRUPTIBLE TaskExecutionMetadataInstanceClass = "INTERRUPTIBLE" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go b/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go index 75d9e7a78..46eab08cb 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go @@ -14,6 +14,6 @@ type TaskLogMessageFormat string // List of TaskLogMessageFormat const ( TaskLogMessageFormatUNKNOWN TaskLogMessageFormat = "UNKNOWN" - TaskLogMessageFormatCSV TaskLogMessageFormat = "CSV" - TaskLogMessageFormatJSON TaskLogMessageFormat = "JSON" + TaskLogMessageFormatCSV TaskLogMessageFormat = "CSV" + TaskLogMessageFormatJSON TaskLogMessageFormat = "JSON" ) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go b/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go index 64efb21dc..81379f25c 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go @@ -8,12 +8,11 @@ */ package flyteadmin - // WorkflowMetadataOnFailurePolicy : - FAIL_IMMEDIATELY: FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically abort all currently running nodes and clean up resources before finally marking the workflow executions as failed. - FAIL_AFTER_EXECUTABLE_NODES_COMPLETE: FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will not alter the dependencies of the execution graph so any node that depend on the failed node will not be run. Other nodes that will be executed to completion before cleaning up resources and marking the workflow execution as failed. type WorkflowMetadataOnFailurePolicy string // List of WorkflowMetadataOnFailurePolicy const ( - WorkflowMetadataOnFailurePolicyIMMEDIATELY WorkflowMetadataOnFailurePolicy = "FAIL_IMMEDIATELY" + WorkflowMetadataOnFailurePolicyIMMEDIATELY WorkflowMetadataOnFailurePolicy = "FAIL_IMMEDIATELY" WorkflowMetadataOnFailurePolicyAFTER_EXECUTABLE_NODES_COMPLETE WorkflowMetadataOnFailurePolicy = "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" ) diff --git a/gen/pb-go/flyteidl/service/openapi.go b/gen/pb-go/flyteidl/service/openapi.go index f9c902b06..fff54a387 100644 --- a/gen/pb-go/flyteidl/service/openapi.go +++ b/gen/pb-go/flyteidl/service/openapi.go @@ -1,6 +1,6 @@ // Code generated by go-bindata. (@generated) DO NOT EDIT. -//Package service generated by go-bindata.// sources: + //Package service generated by go-bindata.// sources: // ../service/admin.swagger.json package service From fe71c10011ddd682fa7f4e6fd8a3da8e3ec7a6d9 Mon Sep 17 00:00:00 2001 From: Iaroslav Ciupin Date: Thu, 29 Sep 2022 17:30:59 +0300 Subject: [PATCH 09/10] backward-compatible ClusterAssignment Signed-off-by: Iaroslav Ciupin --- .../flyteidl/admin/cluster_assignment.pb.cc | 32 ++++++++--------- .../flyteidl/admin/cluster_assignment.pb.h | 6 ++-- .../flyteidl/admin/cluster_assignment.pb.go | 17 +++++----- .../admin/ClusterAssignmentOuterClass.java | 34 +++++++++---------- gen/pb-js/flyteidl.js | 4 +-- .../flyteidl/admin/cluster_assignment_pb2.py | 6 ++-- .../flyteidl/admin/cluster_assignment.proto | 3 +- 7 files changed, 52 insertions(+), 50 deletions(-) diff --git a/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.cc b/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.cc index 3824c3f90..84784fabd 100644 --- a/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.cc +++ b/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.cc @@ -70,15 +70,15 @@ ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_fl const char descriptor_table_protodef_flyteidl_2fadmin_2fcluster_5fassignment_2eproto[] = "\n\'flyteidl/admin/cluster_assignment.prot" - "o\022\016flyteidl.admin\".\n\021ClusterAssignment\022\031" - "\n\021cluster_pool_name\030\001 \001(\tB7Z5github.com/" - "flyteorg/flyteidl/gen/pb-go/flyteidl/adm" - "inb\006proto3" + "o\022\016flyteidl.admin\":\n\021ClusterAssignment\022\031" + "\n\021cluster_pool_name\030\003 \001(\tJ\004\010\001\020\002J\004\010\002\020\003B7Z" + "5github.com/flyteorg/flyteidl/gen/pb-go/" + "flyteidl/adminb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = { false, InitDefaults_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, descriptor_table_protodef_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, - "flyteidl/admin/cluster_assignment.proto", &assign_descriptors_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, 170, + "flyteidl/admin/cluster_assignment.proto", &assign_descriptors_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, 182, }; void AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto() { @@ -168,9 +168,9 @@ const char* ClusterAssignment::_InternalParse(const char* begin, const char* end ptr = ::google::protobuf::io::Parse32(ptr, &tag); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); switch (tag >> 3) { - // string cluster_pool_name = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + // string cluster_pool_name = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); ctx->extra_parse_data().SetFieldName("flyteidl.admin.ClusterAssignment.cluster_pool_name"); @@ -218,9 +218,9 @@ bool ClusterAssignment::MergePartialFromCodedStream( tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string cluster_pool_name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + // string cluster_pool_name = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_cluster_pool_name())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( @@ -260,14 +260,14 @@ void ClusterAssignment::SerializeWithCachedSizes( ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - // string cluster_pool_name = 1; + // string cluster_pool_name = 3; if (this->cluster_pool_name().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->cluster_pool_name().data(), static_cast(this->cluster_pool_name().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flyteidl.admin.ClusterAssignment.cluster_pool_name"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->cluster_pool_name(), output); + 3, this->cluster_pool_name(), output); } if (_internal_metadata_.have_unknown_fields()) { @@ -283,7 +283,7 @@ ::google::protobuf::uint8* ClusterAssignment::InternalSerializeWithCachedSizesTo ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - // string cluster_pool_name = 1; + // string cluster_pool_name = 3; if (this->cluster_pool_name().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->cluster_pool_name().data(), static_cast(this->cluster_pool_name().length()), @@ -291,7 +291,7 @@ ::google::protobuf::uint8* ClusterAssignment::InternalSerializeWithCachedSizesTo "flyteidl.admin.ClusterAssignment.cluster_pool_name"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->cluster_pool_name(), target); + 3, this->cluster_pool_name(), target); } if (_internal_metadata_.have_unknown_fields()) { @@ -315,7 +315,7 @@ size_t ClusterAssignment::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string cluster_pool_name = 1; + // string cluster_pool_name = 3; if (this->cluster_pool_name().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( diff --git a/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.h b/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.h index d7b28e6ab..79c774371 100644 --- a/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.h +++ b/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.h @@ -160,9 +160,9 @@ class ClusterAssignment final : // accessors ------------------------------------------------------- - // string cluster_pool_name = 1; + // string cluster_pool_name = 3; void clear_cluster_pool_name(); - static const int kClusterPoolNameFieldNumber = 1; + static const int kClusterPoolNameFieldNumber = 3; const ::std::string& cluster_pool_name() const; void set_cluster_pool_name(const ::std::string& value); #if LANG_CXX11 @@ -194,7 +194,7 @@ class ClusterAssignment final : #endif // __GNUC__ // ClusterAssignment -// string cluster_pool_name = 1; +// string cluster_pool_name = 3; inline void ClusterAssignment::clear_cluster_pool_name() { cluster_pool_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } diff --git a/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go b/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go index 8886600fa..088813b5f 100644 --- a/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go +++ b/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go @@ -22,7 +22,7 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Encapsulates specifications for routing an execution onto a specific cluster. type ClusterAssignment struct { - ClusterPoolName string `protobuf:"bytes,1,opt,name=cluster_pool_name,json=clusterPoolName,proto3" json:"cluster_pool_name,omitempty"` + ClusterPoolName string `protobuf:"bytes,3,opt,name=cluster_pool_name,json=clusterPoolName,proto3" json:"cluster_pool_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -69,15 +69,16 @@ func init() { } var fileDescriptor_c5699de6e686ea15 = []byte{ - // 156 bytes of a gzipped FileDescriptorProto + // 168 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0xcb, 0xa9, 0x2c, 0x49, 0xcd, 0x4c, 0xc9, 0xd1, 0x4f, 0x4c, 0xc9, 0xcd, 0xcc, 0xd3, 0x4f, 0xce, 0x29, 0x2d, 0x2e, 0x49, 0x2d, 0x8a, 0x4f, 0x2c, 0x2e, 0xce, 0x4c, 0xcf, 0xcb, 0x4d, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, - 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0x29, 0xd4, 0x03, 0x2b, 0x54, 0xb2, 0xe7, 0x12, 0x74, 0x86, + 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0x29, 0xd4, 0x03, 0x2b, 0x54, 0xf2, 0xe6, 0x12, 0x74, 0x86, 0xa8, 0x75, 0x84, 0x2b, 0x15, 0xd2, 0xe2, 0x12, 0x84, 0x19, 0x50, 0x90, 0x9f, 0x9f, 0x13, 0x9f, - 0x97, 0x98, 0x9b, 0x2a, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0xc4, 0x0f, 0x95, 0x08, 0xc8, 0xcf, - 0xcf, 0xf1, 0x4b, 0xcc, 0x4d, 0x75, 0x32, 0x8f, 0x32, 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, - 0x4b, 0xce, 0xcf, 0xd5, 0x07, 0x9b, 0x9e, 0x5f, 0x94, 0xae, 0x0f, 0x77, 0x4f, 0x7a, 0x6a, 0x9e, - 0x7e, 0x41, 0x92, 0x6e, 0x7a, 0xbe, 0x3e, 0xaa, 0x13, 0x93, 0xd8, 0xc0, 0x0e, 0x32, 0x06, 0x04, - 0x00, 0x00, 0xff, 0xff, 0xf1, 0x42, 0xf7, 0x66, 0xbb, 0x00, 0x00, 0x00, + 0x97, 0x98, 0x9b, 0x2a, 0xc1, 0xac, 0xc0, 0xa8, 0xc1, 0x19, 0xc4, 0x0f, 0x95, 0x08, 0xc8, 0xcf, + 0xcf, 0xf1, 0x4b, 0xcc, 0x4d, 0xf5, 0x62, 0xe1, 0x60, 0x14, 0x60, 0xf2, 0x62, 0xe1, 0x60, 0x12, + 0x60, 0x76, 0x32, 0x8f, 0x32, 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, + 0x07, 0xdb, 0x94, 0x5f, 0x94, 0xae, 0x0f, 0x77, 0x5b, 0x7a, 0x6a, 0x9e, 0x7e, 0x41, 0x92, 0x6e, + 0x7a, 0xbe, 0x3e, 0xaa, 0x73, 0x93, 0xd8, 0xc0, 0x8e, 0x33, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, + 0x25, 0xeb, 0xa6, 0xbd, 0xc7, 0x00, 0x00, 0x00, } diff --git a/gen/pb-java/flyteidl/admin/ClusterAssignmentOuterClass.java b/gen/pb-java/flyteidl/admin/ClusterAssignmentOuterClass.java index 9de1ccf7a..d36dcfdc8 100644 --- a/gen/pb-java/flyteidl/admin/ClusterAssignmentOuterClass.java +++ b/gen/pb-java/flyteidl/admin/ClusterAssignmentOuterClass.java @@ -19,11 +19,11 @@ public interface ClusterAssignmentOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * string cluster_pool_name = 1; + * string cluster_pool_name = 3; */ java.lang.String getClusterPoolName(); /** - * string cluster_pool_name = 1; + * string cluster_pool_name = 3; */ com.google.protobuf.ByteString getClusterPoolNameBytes(); @@ -72,7 +72,7 @@ private ClusterAssignment( case 0: done = true; break; - case 10: { + case 26: { java.lang.String s = input.readStringRequireUtf8(); clusterPoolName_ = s; @@ -110,10 +110,10 @@ private ClusterAssignment( flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.class, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder.class); } - public static final int CLUSTER_POOL_NAME_FIELD_NUMBER = 1; + public static final int CLUSTER_POOL_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object clusterPoolName_; /** - * string cluster_pool_name = 1; + * string cluster_pool_name = 3; */ public java.lang.String getClusterPoolName() { java.lang.Object ref = clusterPoolName_; @@ -128,7 +128,7 @@ public java.lang.String getClusterPoolName() { } } /** - * string cluster_pool_name = 1; + * string cluster_pool_name = 3; */ public com.google.protobuf.ByteString getClusterPoolNameBytes() { @@ -159,7 +159,7 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getClusterPoolNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterPoolName_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clusterPoolName_); } unknownFields.writeTo(output); } @@ -171,7 +171,7 @@ public int getSerializedSize() { size = 0; if (!getClusterPoolNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clusterPoolName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterPoolName_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -452,7 +452,7 @@ public Builder mergeFrom( private java.lang.Object clusterPoolName_ = ""; /** - * string cluster_pool_name = 1; + * string cluster_pool_name = 3; */ public java.lang.String getClusterPoolName() { java.lang.Object ref = clusterPoolName_; @@ -467,7 +467,7 @@ public java.lang.String getClusterPoolName() { } } /** - * string cluster_pool_name = 1; + * string cluster_pool_name = 3; */ public com.google.protobuf.ByteString getClusterPoolNameBytes() { @@ -483,7 +483,7 @@ public java.lang.String getClusterPoolName() { } } /** - * string cluster_pool_name = 1; + * string cluster_pool_name = 3; */ public Builder setClusterPoolName( java.lang.String value) { @@ -496,7 +496,7 @@ public Builder setClusterPoolName( return this; } /** - * string cluster_pool_name = 1; + * string cluster_pool_name = 3; */ public Builder clearClusterPoolName() { @@ -505,7 +505,7 @@ public Builder clearClusterPoolName() { return this; } /** - * string cluster_pool_name = 1; + * string cluster_pool_name = 3; */ public Builder setClusterPoolNameBytes( com.google.protobuf.ByteString value) { @@ -586,10 +586,10 @@ public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getDefaultIn static { java.lang.String[] descriptorData = { "\n\'flyteidl/admin/cluster_assignment.prot" + - "o\022\016flyteidl.admin\".\n\021ClusterAssignment\022\031" + - "\n\021cluster_pool_name\030\001 \001(\tB7Z5github.com/" + - "flyteorg/flyteidl/gen/pb-go/flyteidl/adm" + - "inb\006proto3" + "o\022\016flyteidl.admin\":\n\021ClusterAssignment\022\031" + + "\n\021cluster_pool_name\030\003 \001(\tJ\004\010\001\020\002J\004\010\002\020\003B7Z" + + "5github.com/flyteorg/flyteidl/gen/pb-go/" + + "flyteidl/adminb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { diff --git a/gen/pb-js/flyteidl.js b/gen/pb-js/flyteidl.js index fda483719..57f041fe3 100644 --- a/gen/pb-js/flyteidl.js +++ b/gen/pb-js/flyteidl.js @@ -17107,7 +17107,7 @@ export const flyteidl = $root.flyteidl = (() => { if (!writer) writer = $Writer.create(); if (message.clusterPoolName != null && message.hasOwnProperty("clusterPoolName")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.clusterPoolName); + writer.uint32(/* id 3, wireType 2 =*/26).string(message.clusterPoolName); return writer; }; @@ -17129,7 +17129,7 @@ export const flyteidl = $root.flyteidl = (() => { while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { - case 1: + case 3: message.clusterPoolName = reader.string(); break; default: diff --git a/gen/pb_python/flyteidl/admin/cluster_assignment_pb2.py b/gen/pb_python/flyteidl/admin/cluster_assignment_pb2.py index dad9429a4..ba21af30d 100644 --- a/gen/pb_python/flyteidl/admin/cluster_assignment_pb2.py +++ b/gen/pb_python/flyteidl/admin/cluster_assignment_pb2.py @@ -20,7 +20,7 @@ package='flyteidl.admin', syntax='proto3', serialized_options=_b('Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin'), - serialized_pb=_b('\n\'flyteidl/admin/cluster_assignment.proto\x12\x0e\x66lyteidl.admin\".\n\x11\x43lusterAssignment\x12\x19\n\x11\x63luster_pool_name\x18\x01 \x01(\tB7Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') + serialized_pb=_b('\n\'flyteidl/admin/cluster_assignment.proto\x12\x0e\x66lyteidl.admin\":\n\x11\x43lusterAssignment\x12\x19\n\x11\x63luster_pool_name\x18\x03 \x01(\tJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\x42\x37Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') ) @@ -35,7 +35,7 @@ fields=[ _descriptor.FieldDescriptor( name='cluster_pool_name', full_name='flyteidl.admin.ClusterAssignment.cluster_pool_name', index=0, - number=1, type=9, cpp_type=9, label=1, + number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, @@ -53,7 +53,7 @@ oneofs=[ ], serialized_start=59, - serialized_end=105, + serialized_end=117, ) DESCRIPTOR.message_types_by_name['ClusterAssignment'] = _CLUSTERASSIGNMENT diff --git a/protos/flyteidl/admin/cluster_assignment.proto b/protos/flyteidl/admin/cluster_assignment.proto index 867def7ff..85a6a4ef8 100644 --- a/protos/flyteidl/admin/cluster_assignment.proto +++ b/protos/flyteidl/admin/cluster_assignment.proto @@ -6,5 +6,6 @@ option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin"; // Encapsulates specifications for routing an execution onto a specific cluster. message ClusterAssignment { - string cluster_pool_name = 1; + reserved 1, 2; + string cluster_pool_name = 3; } From 5957faac5e7d4ca24e701e47839315ed8f638e4b Mon Sep 17 00:00:00 2001 From: Iaroslav Ciupin Date: Fri, 30 Sep 2022 15:07:54 +0300 Subject: [PATCH 10/10] make generate Signed-off-by: Iaroslav Ciupin --- .../service/flyteadmin/api_admin_service.go | 1974 ++++++++--------- .../service/flyteadmin/model_admin_project.go | 10 +- .../model_admin_project_attributes.go | 2 +- ...admin_project_attributes_delete_request.go | 2 +- gen/pb-go/flyteidl/service/openapi.go | 2 +- 5 files changed, 995 insertions(+), 995 deletions(-) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go b/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go index b4b759b95..cd913be16 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go @@ -11,12 +11,12 @@ package flyteadmin import ( "context" - "fmt" - "github.com/antihax/optional" "io/ioutil" "net/http" "net/url" "strings" + "fmt" + "github.com/antihax/optional" ) // Linger please @@ -26,7 +26,7 @@ var ( type AdminServiceApiService service -/* +/* AdminServiceApiService Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` Create a workflow execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -36,10 +36,10 @@ Create a workflow execution. */ func (a *AdminServiceApiService) CreateExecution(ctx context.Context, body AdminExecutionCreateRequest) (AdminExecutionCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionCreateResponse ) @@ -87,36 +87,36 @@ func (a *AdminServiceApiService) CreateExecution(ctx context.Context, body Admin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition Create and register a launch plan definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -126,10 +126,10 @@ Create and register a launch plan definition. */ func (a *AdminServiceApiService) CreateLaunchPlan(ctx context.Context, body AdminLaunchPlanCreateRequest) (AdminLaunchPlanCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanCreateResponse ) @@ -177,58 +177,58 @@ func (a *AdminServiceApiService) CreateLaunchPlan(ctx context.Context, body Admi if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + if localVarHttpResponse.StatusCode == 400 { var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + if localVarHttpResponse.StatusCode == 409 { var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. Create a node execution event recording a phase transition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -238,10 +238,10 @@ Create a node execution event recording a phase transition. */ func (a *AdminServiceApiService) CreateNodeEvent(ctx context.Context, body AdminNodeExecutionEventRequest) (AdminNodeExecutionEventResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNodeExecutionEventResponse ) @@ -289,36 +289,36 @@ func (a *AdminServiceApiService) CreateNodeEvent(ctx context.Context, body Admin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNodeExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Task` definition Create and register a task definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -328,10 +328,10 @@ Create and register a task definition. */ func (a *AdminServiceApiService) CreateTask(ctx context.Context, body AdminTaskCreateRequest) (AdminTaskCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskCreateResponse ) @@ -379,58 +379,58 @@ func (a *AdminServiceApiService) CreateTask(ctx context.Context, body AdminTaskC if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + if localVarHttpResponse.StatusCode == 400 { var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + if localVarHttpResponse.StatusCode == 409 { var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. Create a task execution event recording a phase transition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -440,10 +440,10 @@ Create a task execution event recording a phase transition. */ func (a *AdminServiceApiService) CreateTaskEvent(ctx context.Context, body AdminTaskExecutionEventRequest) (AdminTaskExecutionEventResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskExecutionEventResponse ) @@ -491,36 +491,36 @@ func (a *AdminServiceApiService) CreateTaskEvent(ctx context.Context, body Admin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition Create and register a workflow definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -530,10 +530,10 @@ Create and register a workflow definition. */ func (a *AdminServiceApiService) CreateWorkflow(ctx context.Context, body AdminWorkflowCreateRequest) (AdminWorkflowCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowCreateResponse ) @@ -581,58 +581,58 @@ func (a *AdminServiceApiService) CreateWorkflow(ctx context.Context, body AdminW if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + if localVarHttpResponse.StatusCode == 400 { var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + if localVarHttpResponse.StatusCode == 409 { var v interface{} - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. Create a workflow execution event recording a phase transition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -642,10 +642,10 @@ Create a workflow execution event recording a phase transition. */ func (a *AdminServiceApiService) CreateWorkflowEvent(ctx context.Context, body AdminWorkflowExecutionEventRequest) (AdminWorkflowExecutionEventResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowExecutionEventResponse ) @@ -693,36 +693,36 @@ func (a *AdminServiceApiService) CreateWorkflowEvent(ctx context.Context, body A if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. Delete the customized resource attributes associated with a project * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -733,10 +733,10 @@ Delete the customized resource attributes associated with a project */ func (a *AdminServiceApiService) DeleteProjectAttributes(ctx context.Context, project string, body AdminProjectAttributesDeleteRequest) (AdminProjectAttributesDeleteResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectAttributesDeleteResponse ) @@ -785,36 +785,36 @@ func (a *AdminServiceApiService) DeleteProjectAttributes(ctx context.Context, pr if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. Delete the customized resource attributes associated with a project-domain combination * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -826,10 +826,10 @@ Delete the customized resource attributes associated with a project-domain combi */ func (a *AdminServiceApiService) DeleteProjectDomainAttributes(ctx context.Context, project string, domain string, body AdminProjectDomainAttributesDeleteRequest) (AdminProjectDomainAttributesDeleteResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectDomainAttributesDeleteResponse ) @@ -879,36 +879,36 @@ func (a *AdminServiceApiService) DeleteProjectDomainAttributes(ctx context.Conte if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectDomainAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. Delete the customized resource attributes associated with a project, domain and workflow combination * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -921,10 +921,10 @@ Delete the customized resource attributes associated with a project, domain and */ func (a *AdminServiceApiService) DeleteWorkflowAttributes(ctx context.Context, project string, domain string, workflow string, body AdminWorkflowAttributesDeleteRequest) (AdminWorkflowAttributesDeleteResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowAttributesDeleteResponse ) @@ -975,36 +975,36 @@ func (a *AdminServiceApiService) DeleteWorkflowAttributes(ctx context.Context, p if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. Retrieve the active launch plan version specified by input request filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1016,10 +1016,10 @@ Retrieve the active launch plan version specified by input request filters. */ func (a *AdminServiceApiService) GetActiveLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string) (AdminLaunchPlan, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlan ) @@ -1068,36 +1068,36 @@ func (a *AdminServiceApiService) GetActiveLaunchPlan(ctx context.Context, idProj if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlan - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.Execution`. Retrieve an existing workflow execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1109,10 +1109,10 @@ Retrieve an existing workflow execution. */ func (a *AdminServiceApiService) GetExecution(ctx context.Context, idProject string, idDomain string, idName string) (AdminExecution, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecution ) @@ -1161,36 +1161,36 @@ func (a *AdminServiceApiService) GetExecution(ctx context.Context, idProject str if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. Retrieve input and output data from an existing workflow execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1202,10 +1202,10 @@ Retrieve input and output data from an existing workflow execution. */ func (a *AdminServiceApiService) GetExecutionData(ctx context.Context, idProject string, idDomain string, idName string) (AdminWorkflowExecutionGetDataResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowExecutionGetDataResponse ) @@ -1254,36 +1254,36 @@ func (a *AdminServiceApiService) GetExecutionData(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. Retrieve an existing launch plan definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1297,16 +1297,16 @@ Retrieve an existing launch plan definition. @return AdminLaunchPlan */ -type GetLaunchPlanOpts struct { +type GetLaunchPlanOpts struct { IdResourceType optional.String } func (a *AdminServiceApiService) GetLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetLaunchPlanOpts) (AdminLaunchPlan, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlan ) @@ -1359,36 +1359,36 @@ func (a *AdminServiceApiService) GetLaunchPlan(ctx context.Context, idProject st if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlan - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. Retrieve a NamedEntity object. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1401,10 +1401,10 @@ Retrieve a NamedEntity object. */ func (a *AdminServiceApiService) GetNamedEntity(ctx context.Context, resourceType string, idProject string, idDomain string, idName string) (AdminNamedEntity, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntity ) @@ -1454,36 +1454,36 @@ func (a *AdminServiceApiService) GetNamedEntity(ctx context.Context, resourceTyp if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntity - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. Retrieve an existing node execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1496,10 +1496,10 @@ Retrieve an existing node execution. */ func (a *AdminServiceApiService) GetNodeExecution(ctx context.Context, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string) (FlyteidladminNodeExecution, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue FlyteidladminNodeExecution ) @@ -1549,36 +1549,36 @@ func (a *AdminServiceApiService) GetNodeExecution(ctx context.Context, idExecuti if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v FlyteidladminNodeExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. Retrieve input and output data from an existing node execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1591,10 +1591,10 @@ Retrieve input and output data from an existing node execution. */ func (a *AdminServiceApiService) GetNodeExecutionData(ctx context.Context, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string) (AdminNodeExecutionGetDataResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNodeExecutionGetDataResponse ) @@ -1644,36 +1644,36 @@ func (a *AdminServiceApiService) GetNodeExecutionData(ctx context.Context, idExe if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNodeExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. Retrieve the customized resource attributes associated with a project * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1684,16 +1684,16 @@ Retrieve the customized resource attributes associated with a project @return AdminProjectAttributesGetResponse */ -type GetProjectAttributesOpts struct { +type GetProjectAttributesOpts struct { ResourceType optional.String } func (a *AdminServiceApiService) GetProjectAttributes(ctx context.Context, project string, localVarOptionals *GetProjectAttributesOpts) (AdminProjectAttributesGetResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectAttributesGetResponse ) @@ -1743,36 +1743,36 @@ func (a *AdminServiceApiService) GetProjectAttributes(ctx context.Context, proje if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. Retrieve the customized resource attributes associated with a project-domain combination * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1784,16 +1784,16 @@ Retrieve the customized resource attributes associated with a project-domain com @return AdminProjectDomainAttributesGetResponse */ -type GetProjectDomainAttributesOpts struct { +type GetProjectDomainAttributesOpts struct { ResourceType optional.String } func (a *AdminServiceApiService) GetProjectDomainAttributes(ctx context.Context, project string, domain string, localVarOptionals *GetProjectDomainAttributesOpts) (AdminProjectDomainAttributesGetResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectDomainAttributesGetResponse ) @@ -1844,36 +1844,36 @@ func (a *AdminServiceApiService) GetProjectDomainAttributes(ctx context.Context, if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectDomainAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Task` definition. Retrieve an existing task definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1887,16 +1887,16 @@ Retrieve an existing task definition. @return AdminTask */ -type GetTaskOpts struct { +type GetTaskOpts struct { IdResourceType optional.String } func (a *AdminServiceApiService) GetTask(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetTaskOpts) (AdminTask, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTask ) @@ -1949,36 +1949,36 @@ func (a *AdminServiceApiService) GetTask(ctx context.Context, idProject string, if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTask - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. Retrieve an existing task execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1997,16 +1997,16 @@ Retrieve an existing task execution. @return FlyteidladminTaskExecution */ -type GetTaskExecutionOpts struct { +type GetTaskExecutionOpts struct { IdTaskIdResourceType optional.String } func (a *AdminServiceApiService) GetTaskExecution(ctx context.Context, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecutionOpts) (FlyteidladminTaskExecution, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue FlyteidladminTaskExecution ) @@ -2064,36 +2064,36 @@ func (a *AdminServiceApiService) GetTaskExecution(ctx context.Context, idNodeExe if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v FlyteidladminTaskExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. Retrieve input and output data from an existing task execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2112,16 +2112,16 @@ Retrieve input and output data from an existing task execution. @return AdminTaskExecutionGetDataResponse */ -type GetTaskExecutionDataOpts struct { +type GetTaskExecutionDataOpts struct { IdTaskIdResourceType optional.String } func (a *AdminServiceApiService) GetTaskExecutionData(ctx context.Context, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecutionDataOpts) (AdminTaskExecutionGetDataResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskExecutionGetDataResponse ) @@ -2179,36 +2179,36 @@ func (a *AdminServiceApiService) GetTaskExecutionData(ctx context.Context, idNod if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Retrieve the Version (including the Build information) for FlyteAdmin service * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2217,10 +2217,10 @@ Retrieve the Version (including the Build information) for FlyteAdmin service */ func (a *AdminServiceApiService) GetVersion(ctx context.Context) (AdminGetVersionResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminGetVersionResponse ) @@ -2266,36 +2266,36 @@ func (a *AdminServiceApiService) GetVersion(ctx context.Context) (AdminGetVersio if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminGetVersionResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. Retrieve an existing workflow definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2309,16 +2309,16 @@ Retrieve an existing workflow definition. @return AdminWorkflow */ -type GetWorkflowOpts struct { +type GetWorkflowOpts struct { IdResourceType optional.String } func (a *AdminServiceApiService) GetWorkflow(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetWorkflowOpts) (AdminWorkflow, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflow ) @@ -2371,36 +2371,36 @@ func (a *AdminServiceApiService) GetWorkflow(ctx context.Context, idProject stri if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflow - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. Retrieve the customized resource attributes associated with a project, domain and workflow combination * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2413,16 +2413,16 @@ Retrieve the customized resource attributes associated with a project, domain an @return AdminWorkflowAttributesGetResponse */ -type GetWorkflowAttributesOpts struct { +type GetWorkflowAttributesOpts struct { ResourceType optional.String } func (a *AdminServiceApiService) GetWorkflowAttributes(ctx context.Context, project string, domain string, workflow string, localVarOptionals *GetWorkflowAttributesOpts) (AdminWorkflowAttributesGetResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowAttributesGetResponse ) @@ -2474,36 +2474,36 @@ func (a *AdminServiceApiService) GetWorkflowAttributes(ctx context.Context, proj if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. Fetch the active launch plan versions specified by input request filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2518,19 +2518,19 @@ Fetch the active launch plan versions specified by input request filters. @return AdminLaunchPlanList */ -type ListActiveLaunchPlansOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListActiveLaunchPlansOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListActiveLaunchPlans(ctx context.Context, project string, domain string, localVarOptionals *ListActiveLaunchPlansOpts) (AdminLaunchPlanList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanList ) @@ -2590,36 +2590,36 @@ func (a *AdminServiceApiService) ListActiveLaunchPlans(ctx context.Context, proj if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Execution`. Fetch existing workflow executions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2636,21 +2636,21 @@ Fetch existing workflow executions matching input filters. @return AdminExecutionList */ -type ListExecutionsOpts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListExecutionsOpts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListExecutions(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListExecutionsOpts) (AdminExecutionList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionList ) @@ -2716,36 +2716,36 @@ func (a *AdminServiceApiService) ListExecutions(ctx context.Context, idProject s if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. Fetch existing launch plan definition identifiers matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2761,20 +2761,20 @@ Fetch existing launch plan definition identifiers matching input filters. @return AdminNamedEntityIdentifierList */ -type ListLaunchPlanIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListLaunchPlanIdsOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String - Filters optional.String + Filters optional.String } func (a *AdminServiceApiService) ListLaunchPlanIds(ctx context.Context, project string, domain string, localVarOptionals *ListLaunchPlanIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityIdentifierList ) @@ -2837,36 +2837,36 @@ func (a *AdminServiceApiService) ListLaunchPlanIds(ctx context.Context, project if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. Fetch existing launch plan definitions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -2883,20 +2883,20 @@ Fetch existing launch plan definitions matching input filters. @return AdminLaunchPlanList */ -type ListLaunchPlansOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListLaunchPlansOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListLaunchPlans(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListLaunchPlansOpts) (AdminLaunchPlanList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanList ) @@ -2960,36 +2960,36 @@ func (a *AdminServiceApiService) ListLaunchPlans(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. Fetch existing launch plan definitions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3006,21 +3006,21 @@ Fetch existing launch plan definitions matching input filters. @return AdminLaunchPlanList */ -type ListLaunchPlans2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListLaunchPlans2Opts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListLaunchPlans2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListLaunchPlans2Opts) (AdminLaunchPlanList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanList ) @@ -3086,36 +3086,36 @@ func (a *AdminServiceApiService) ListLaunchPlans2(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. Retrieve a list of MatchableAttributesConfiguration objects. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3125,16 +3125,16 @@ Retrieve a list of MatchableAttributesConfiguration objects. @return AdminListMatchableAttributesResponse */ -type ListMatchableAttributesOpts struct { +type ListMatchableAttributesOpts struct { ResourceType optional.String } func (a *AdminServiceApiService) ListMatchableAttributes(ctx context.Context, localVarOptionals *ListMatchableAttributesOpts) (AdminListMatchableAttributesResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminListMatchableAttributesResponse ) @@ -3183,36 +3183,36 @@ func (a *AdminServiceApiService) ListMatchableAttributes(ctx context.Context, lo if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminListMatchableAttributesResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3229,20 +3229,20 @@ Retrieve a list of NamedEntity objects sharing a common resource type, project, @return AdminNamedEntityList */ -type ListNamedEntitiesOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListNamedEntitiesOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String - Filters optional.String + Filters optional.String } func (a *AdminServiceApiService) ListNamedEntities(ctx context.Context, resourceType string, project string, domain string, localVarOptionals *ListNamedEntitiesOpts) (AdminNamedEntityList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityList ) @@ -3306,36 +3306,36 @@ func (a *AdminServiceApiService) ListNamedEntities(ctx context.Context, resource if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. Fetch existing node executions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3344,7 +3344,7 @@ Fetch existing node executions matching input filters. * @param workflowExecutionIdName User or system provided value for the resource. * @param optional nil or *ListNodeExecutionsOpts - Optional Parameters: * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - + * @param "Token" (optional.String) - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. @@ -3353,21 +3353,21 @@ Fetch existing node executions matching input filters. @return AdminNodeExecutionList */ -type ListNodeExecutionsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListNodeExecutionsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String - UniqueParentId optional.String + UniqueParentId optional.String } func (a *AdminServiceApiService) ListNodeExecutions(ctx context.Context, workflowExecutionIdProject string, workflowExecutionIdDomain string, workflowExecutionIdName string, localVarOptionals *ListNodeExecutionsOpts) (AdminNodeExecutionList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNodeExecutionList ) @@ -3434,36 +3434,36 @@ func (a *AdminServiceApiService) ListNodeExecutions(ctx context.Context, workflo if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNodeExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. Fetch child node executions launched by the specified task execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3487,21 +3487,21 @@ Fetch child node executions launched by the specified task execution. @return AdminNodeExecutionList */ -type ListNodeExecutionsForTaskOpts struct { +type ListNodeExecutionsForTaskOpts struct { TaskExecutionIdTaskIdResourceType optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String + SortByDirection optional.String } func (a *AdminServiceApiService) ListNodeExecutionsForTask(ctx context.Context, taskExecutionIdNodeExecutionIdExecutionIdProject string, taskExecutionIdNodeExecutionIdExecutionIdDomain string, taskExecutionIdNodeExecutionIdExecutionIdName string, taskExecutionIdNodeExecutionIdNodeId string, taskExecutionIdTaskIdProject string, taskExecutionIdTaskIdDomain string, taskExecutionIdTaskIdName string, taskExecutionIdTaskIdVersion string, taskExecutionIdRetryAttempt int64, localVarOptionals *ListNodeExecutionsForTaskOpts) (AdminNodeExecutionList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNodeExecutionList ) @@ -3574,36 +3574,36 @@ func (a *AdminServiceApiService) ListNodeExecutionsForTask(ctx context.Context, if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNodeExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.Project` Fetch registered projects. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3617,20 +3617,20 @@ Fetch registered projects. @return AdminProjects */ -type ListProjectsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListProjectsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListProjects(ctx context.Context, localVarOptionals *ListProjectsOpts) (AdminProjects, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjects ) @@ -3691,36 +3691,36 @@ func (a *AdminServiceApiService) ListProjects(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjects - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. Fetch existing task executions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3738,20 +3738,20 @@ Fetch existing task executions matching input filters. @return AdminTaskExecutionList */ -type ListTaskExecutionsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListTaskExecutionsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListTaskExecutions(ctx context.Context, nodeExecutionIdExecutionIdProject string, nodeExecutionIdExecutionIdDomain string, nodeExecutionIdExecutionIdName string, nodeExecutionIdNodeId string, localVarOptionals *ListTaskExecutionsOpts) (AdminTaskExecutionList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskExecutionList ) @@ -3816,36 +3816,36 @@ func (a *AdminServiceApiService) ListTaskExecutions(ctx context.Context, nodeExe if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. Fetch existing task definition identifiers matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3861,20 +3861,20 @@ Fetch existing task definition identifiers matching input filters. @return AdminNamedEntityIdentifierList */ -type ListTaskIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListTaskIdsOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String - Filters optional.String + Filters optional.String } func (a *AdminServiceApiService) ListTaskIds(ctx context.Context, project string, domain string, localVarOptionals *ListTaskIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityIdentifierList ) @@ -3937,36 +3937,36 @@ func (a *AdminServiceApiService) ListTaskIds(ctx context.Context, project string if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. Fetch existing task definitions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -3983,20 +3983,20 @@ Fetch existing task definitions matching input filters. @return AdminTaskList */ -type ListTasksOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListTasksOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListTasks(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListTasksOpts) (AdminTaskList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskList ) @@ -4060,36 +4060,36 @@ func (a *AdminServiceApiService) ListTasks(ctx context.Context, idProject string if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. Fetch existing task definitions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4106,21 +4106,21 @@ Fetch existing task definitions matching input filters. @return AdminTaskList */ -type ListTasks2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListTasks2Opts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListTasks2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListTasks2Opts) (AdminTaskList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminTaskList ) @@ -4186,36 +4186,36 @@ func (a *AdminServiceApiService) ListTasks2(ctx context.Context, idProject strin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminTaskList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. Fetch an existing workflow definition identifiers matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4231,20 +4231,20 @@ Fetch an existing workflow definition identifiers matching input filters. @return AdminNamedEntityIdentifierList */ -type ListWorkflowIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String +type ListWorkflowIdsOpts struct { + Limit optional.Int64 + Token optional.String + SortByKey optional.String SortByDirection optional.String - Filters optional.String + Filters optional.String } func (a *AdminServiceApiService) ListWorkflowIds(ctx context.Context, project string, domain string, localVarOptionals *ListWorkflowIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityIdentifierList ) @@ -4307,36 +4307,36 @@ func (a *AdminServiceApiService) ListWorkflowIds(ctx context.Context, project st if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. Fetch existing workflow definitions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4353,20 +4353,20 @@ Fetch existing workflow definitions matching input filters. @return AdminWorkflowList */ -type ListWorkflowsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListWorkflowsOpts struct { + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListWorkflows(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListWorkflowsOpts) (AdminWorkflowList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowList ) @@ -4430,36 +4430,36 @@ func (a *AdminServiceApiService) ListWorkflows(ctx context.Context, idProject st if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. Fetch existing workflow definitions matching input filters. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4476,21 +4476,21 @@ Fetch existing workflow definitions matching input filters. @return AdminWorkflowList */ -type ListWorkflows2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String +type ListWorkflows2Opts struct { + IdName optional.String + Limit optional.Int64 + Token optional.String + Filters optional.String + SortByKey optional.String SortByDirection optional.String } func (a *AdminServiceApiService) ListWorkflows2(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListWorkflows2Opts) (AdminWorkflowList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowList ) @@ -4556,36 +4556,36 @@ func (a *AdminServiceApiService) ListWorkflows2(ctx context.Context, idProject s if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4595,10 +4595,10 @@ Recreates a previously-run workflow execution that will only start executing fro */ func (a *AdminServiceApiService) RecoverExecution(ctx context.Context, body AdminExecutionRecoverRequest) (AdminExecutionCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionCreateResponse ) @@ -4646,36 +4646,36 @@ func (a *AdminServiceApiService) RecoverExecution(ctx context.Context, body Admi if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. Register a project. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4685,10 +4685,10 @@ Register a project. */ func (a *AdminServiceApiService) RegisterProject(ctx context.Context, body AdminProjectRegisterRequest) (AdminProjectRegisterResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectRegisterResponse ) @@ -4736,36 +4736,36 @@ func (a *AdminServiceApiService) RegisterProject(ctx context.Context, body Admin if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectRegisterResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` Relaunch a workflow execution. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4775,10 +4775,10 @@ Relaunch a workflow execution. */ func (a *AdminServiceApiService) RelaunchExecution(ctx context.Context, body AdminExecutionRelaunchRequest) (AdminExecutionCreateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionCreateResponse ) @@ -4826,36 +4826,36 @@ func (a *AdminServiceApiService) RelaunchExecution(ctx context.Context, body Adm if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. Terminate the active workflow execution specified in the request. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4868,10 +4868,10 @@ Terminate the active workflow execution specified in the request. */ func (a *AdminServiceApiService) TerminateExecution(ctx context.Context, idProject string, idDomain string, idName string, body AdminExecutionTerminateRequest) (AdminExecutionTerminateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionTerminateResponse ) @@ -4922,36 +4922,36 @@ func (a *AdminServiceApiService) TerminateExecution(ctx context.Context, idProje if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionTerminateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. Update execution belonging to project domain. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -4964,10 +4964,10 @@ Update execution belonging to project domain. */ func (a *AdminServiceApiService) UpdateExecution(ctx context.Context, idProject string, idDomain string, idName string, body AdminExecutionUpdateRequest) (AdminExecutionUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminExecutionUpdateResponse ) @@ -5018,36 +5018,36 @@ func (a *AdminServiceApiService) UpdateExecution(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminExecutionUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -5061,10 +5061,10 @@ Update the status of an existing launch plan definition. At most one launch plan */ func (a *AdminServiceApiService) UpdateLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, body AdminLaunchPlanUpdateRequest) (AdminLaunchPlanUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminLaunchPlanUpdateResponse ) @@ -5116,36 +5116,36 @@ func (a *AdminServiceApiService) UpdateLaunchPlan(ctx context.Context, idProject if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminLaunchPlanUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. Update the fields associated with a NamedEntity * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -5159,10 +5159,10 @@ Update the fields associated with a NamedEntity */ func (a *AdminServiceApiService) UpdateNamedEntity(ctx context.Context, resourceType string, idProject string, idDomain string, idName string, body AdminNamedEntityUpdateRequest) (AdminNamedEntityUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminNamedEntityUpdateResponse ) @@ -5214,36 +5214,36 @@ func (a *AdminServiceApiService) UpdateNamedEntity(ctx context.Context, resource if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminNamedEntityUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. Update a project. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -5254,10 +5254,10 @@ Update a project. */ func (a *AdminServiceApiService) UpdateProject(ctx context.Context, id string, body AdminProject) (AdminProjectUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectUpdateResponse ) @@ -5306,36 +5306,36 @@ func (a *AdminServiceApiService) UpdateProject(ctx context.Context, id string, b if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level Update the customized resource attributes associated with a project * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -5346,10 +5346,10 @@ Update the customized resource attributes associated with a project */ func (a *AdminServiceApiService) UpdateProjectAttributes(ctx context.Context, attributesProject string, body AdminProjectAttributesUpdateRequest) (AdminProjectAttributesUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectAttributesUpdateResponse ) @@ -5398,36 +5398,36 @@ func (a *AdminServiceApiService) UpdateProjectAttributes(ctx context.Context, at if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. Update the customized resource attributes associated with a project-domain combination * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -5439,10 +5439,10 @@ Update the customized resource attributes associated with a project-domain combi */ func (a *AdminServiceApiService) UpdateProjectDomainAttributes(ctx context.Context, attributesProject string, attributesDomain string, body AdminProjectDomainAttributesUpdateRequest) (AdminProjectDomainAttributesUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminProjectDomainAttributesUpdateResponse ) @@ -5492,36 +5492,36 @@ func (a *AdminServiceApiService) UpdateProjectDomainAttributes(ctx context.Conte if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminProjectDomainAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } -/* +/* AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. Update the customized resource attributes associated with a project, domain and workflow combination * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -5534,10 +5534,10 @@ Update the customized resource attributes associated with a project, domain and */ func (a *AdminServiceApiService) UpdateWorkflowAttributes(ctx context.Context, attributesProject string, attributesDomain string, attributesWorkflow string, body AdminWorkflowAttributesUpdateRequest) (AdminWorkflowAttributesUpdateResponse, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte localVarReturnValue AdminWorkflowAttributesUpdateResponse ) @@ -5588,29 +5588,29 @@ func (a *AdminServiceApiService) UpdateWorkflowAttributes(ctx context.Context, a if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - + if localVarHttpResponse.StatusCode == 200 { var v AdminWorkflowAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr } - + return localVarReturnValue, localVarHttpResponse, newErr } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go index 66ca8d4c6..59da87f6c 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go @@ -14,10 +14,10 @@ type AdminProject struct { // Globally unique project name. Id string `json:"id,omitempty"` // Display name. - Name string `json:"name,omitempty"` - Domains []AdminDomain `json:"domains,omitempty"` - Description string `json:"description,omitempty"` + Name string `json:"name,omitempty"` + Domains []AdminDomain `json:"domains,omitempty"` + Description string `json:"description,omitempty"` // Leverage Labels from flyteidl.admin.common.proto to tag projects with ownership information. - Labels *AdminLabels `json:"labels,omitempty"` - State *ProjectProjectState `json:"state,omitempty"` + Labels *AdminLabels `json:"labels,omitempty"` + State *ProjectProjectState `json:"state,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go index e7098c6db..a719e4737 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go @@ -11,6 +11,6 @@ package flyteadmin type AdminProjectAttributes struct { // Unique project id for which this set of attributes will be applied. - Project string `json:"project,omitempty"` + Project string `json:"project,omitempty"` MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_request.go index fec33ca92..3081254e9 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_request.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_request.go @@ -10,6 +10,6 @@ package flyteadmin type AdminProjectAttributesDeleteRequest struct { - Project string `json:"project,omitempty"` + Project string `json:"project,omitempty"` ResourceType *AdminMatchableResource `json:"resource_type,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/openapi.go b/gen/pb-go/flyteidl/service/openapi.go index e9cd961ff..c9bbe0a30 100644 --- a/gen/pb-go/flyteidl/service/openapi.go +++ b/gen/pb-go/flyteidl/service/openapi.go @@ -1,6 +1,6 @@ // Code generated by go-bindata. (@generated) DO NOT EDIT. -//Package service generated by go-bindata.// sources: + //Package service generated by go-bindata.// sources: // ../service/admin.swagger.json package service